/* TheONE trust site — modern stack, original visual language */
:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #767676;
  --text: #444444;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #e54b4b;
  --accent-deep: #c21f32;
  --hero-fg: #ffffff;
  --surface-dark: #000000;
  --container: 1200px;
  --font-body: "Mulish", system-ui, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;
  --radius: 0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 28px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: #fff;
  padding: 18px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand .logo-dark {
  display: none;
}

.site-header.is-scrolled .brand .logo-light {
  display: none;
}

.site-header.is-scrolled .brand .logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .site-nav a {
  color: #000;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav .nav-cta {
  padding: 8px 16px;
  border: 1px solid currentColor;
  color: #fff;
}

.site-header.is-scrolled .site-nav .nav-cta {
  color: #000;
  border-color: #000;
}

.site-nav .nav-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: #000;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--hero-fg);
  background: #000;
  margin-bottom: 100px;
  overflow: hidden;
}

.hero--sub {
  min-height: 0;
  margin-bottom: 72px;
  display: block;
  place-items: unset;
  text-align: center;
}

.hero--sub .hero-inner {
  padding: 140px 0 72px;
  margin-inline: auto;
  text-align: center;
}

.hero--sub h1 {
  margin: 0 auto 14px;
  text-align: center;
}

.hero--sub .hero-lead {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0;
  line-height: 1.7;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/light-honeycomb.png") repeat;
  opacity: 0.4;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 900px);
  margin-inline: auto;
  padding: 120px 0 140px;
  text-align: center;
}

.hero .brand-mark {
  margin: 0 auto 28px;
  height: 56px;
  width: auto;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.hero-points {
  display: grid;
  gap: 6px;
  margin: 18px 0 36px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: transparent;
  color: #fff;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn-dark {
  border-color: #000;
  color: #000;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

.hero-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  font-size: 0.95rem;
}

.hero-link:hover {
  color: #fff;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  display: inline-block;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  scroll-margin-top: 96px;
}

.section-head p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

.section-head a {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 50px;
}

.team-card {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card-media {
  position: relative;
  overflow: hidden;
}

.team-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.15);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8% 10%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  text-align: left;
}

.team-card-overlay h3 {
  color: #fff;
  font-size: 1.35rem;
  position: relative;
}

.team-card-overlay .name-shadow {
  position: absolute;
  inset: 0;
  text-transform: uppercase;
  filter: blur(4px);
  color: #1a1a1a;
  z-index: -1;
  pointer-events: none;
}

.team-card-overlay p {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
  margin-top: 8px;
  max-width: 220px;
}

.team-card-role {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Proof / feature grids */
.proof-grid,
.feature-grid,
.case-grid,
.step-grid {
  display: grid;
  gap: 24px;
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid,
.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card,
.feature-card,
.case-card,
.step-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
}

.proof-card h3,
.feature-card h3,
.case-card h3,
.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.proof-card p,
.feature-card p,
.case-card p,
.step-card p {
  color: #555;
  line-height: 1.7;
  letter-spacing: 0;
}

.proof-card a,
.feature-card a,
.case-card a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.step-card .step-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 24px 12px;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Dark band */
.band-dark {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.band-dark h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.band-dark p {
  max-width: 760px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.band-dark a {
  color: #fff;
  text-decoration: underline;
}

.band-dark img {
  margin: 0 auto;
  max-width: min(900px, 100%);
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item .faq-body {
  padding: 0 0 24px;
  color: #555;
  line-height: 1.75;
  letter-spacing: 0;
}

.faq-item .faq-body a {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy ul {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.split-copy li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  letter-spacing: 0;
}

.split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.split-media img {
  width: 100%;
  border: 1px solid var(--line);
}

/* CTA */
.final-cta {
  padding: 72px 0;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.final-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text);
}

.final-cta .hero-actions {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  position: relative;
  background: #fff;
  padding: 80px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: 50px;
  overflow: hidden;
  pointer-events: none;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand .logo-light {
  display: none;
}

.footer-brand .logo-dark {
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-meta {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
}

.footer-meta a {
  color: var(--ink);
  text-decoration: underline;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
}

.tg-link img {
  width: 18px;
  height: 18px;
}

/* Popup */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup {
  position: relative;
  width: min(100%, 1100px);
  transform: translateY(-24px);
  transition: transform 0.35s ease;
  filter: grayscale(1);
}

.overlay.is-open .popup {
  transform: translateY(0);
}

.popup video {
  width: 100%;
  max-height: 78vh;
  margin: 0 auto;
}

.popup-link {
  margin-top: 14px;
  text-align: center;
}

.popup-link a {
  color: #fff;
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #d4d4d4;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.only-mobile-video {
  display: none;
}

.only-pc-video {
  display: block;
}

/* Cursor */
.cursor-outer,
.cursor-inner {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor-outer {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
}

.cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

body.has-cursor .cursor-outer,
body.has-cursor .cursor-inner {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor-outer,
  .cursor-inner {
    display: none !important;
  }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 980px) {
  .team-grid,
  .proof-grid,
  .feature-grid,
  .case-grid,
  .step-grid,
  .stats-strip,
  .split {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: #000 !important;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-color: #000;
  }

  .hero {
    min-height: 86vh;
    margin-bottom: 56px;
  }

  .hero--sub {
    min-height: 0;
  }

  .hero--sub .hero-inner {
    padding: 120px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 640px) {
  .step-grid {
    grid-template-columns: 1fr;
  }

  .only-pc-video {
    display: none;
  }

  .only-mobile-video {
    display: block;
  }

  .team-card-overlay p {
    max-width: 70%;
  }

  .footer-inner {
    flex-direction: column;
  }
}
