:root {
  --bg: #000000;
  --surface: #0a0a0f;
  --surface-2: #11121a;
  --text: #f2f4ff;
  --muted: #a7adc7;
  --line: #1c1f2d;
  --brand: #24b8ff;
  --brand-2: #ff42b9;
  --brand-3: #7b49ff;
  --accent: #ffb01f;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input,
textarea {
  user-select: text;
  -webkit-user-select: text;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.loader-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.loader-ring {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand);
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

a { color: var(--brand); }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  border-bottom-color: var(--brand-2);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 18px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(96deg, #ffb01f 0%, #ff42b9 33%, #7b49ff 68%, #24b8ff 100%);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

main {
  padding: 0 0 56px;
}

.page-main {
  display: grid;
  gap: 48px;
  padding-top: 24px;
}

.section-spaced { margin-top: 20px; }

.hero-cinematic {
  position: relative;
  min-height: calc(100dvh - 72px);
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.12) contrast(1.05) saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.62) 56%, rgba(0,0,0,0.88) 100%);
}

.hero-glow { display: none; }

body.home-intro .hero-cinematic.reveal {
  opacity: 1;
  transform: none;
}

body.home-intro .hero-cinematic .hero-backdrop {
  transform: scale(1.08);
  filter: brightness(1.24) contrast(1.06) saturate(1.12);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 1.15s ease;
}

body.home-intro .hero-cinematic .hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.48) 56%, rgba(0,0,0,0.78) 100%);
  transition: background 1.15s ease;
}

body.home-intro .hero-cinematic .hero-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.18s, transform 0.7s ease 0.18s;
}

body.home-intro.home-intro-start .hero-cinematic .hero-backdrop {
  transform: scale(1);
  filter: brightness(1.12) contrast(1.05) saturate(1.08);
}

body.home-intro.home-intro-start .hero-cinematic .hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.62) 56%, rgba(0,0,0,0.88) 100%);
}

body.home-intro.home-intro-start .hero-cinematic .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(28px, 6vh, 58px);
  max-width: 840px;
}

.hero-content h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.04;
  font-size: clamp(1.75rem, 4.1vw, 3.3rem);
  font-family: "Archivo Black", "Sora", sans-serif;
}

.hero-content p,
.page-hero p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-script {
  display: inline;
  margin-top: 0;
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.hero-meta {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.82rem;
}

.error-eyebrow {
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.error-title {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.page-hero h1.error-title {
  font-size: clamp(1.02rem, 1.9vw, 1.28rem);
  line-height: 1.15;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-row.center { justify-content: center; }

.social-inline {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.social-inline a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.stats,
.card-grid,
.timeline,
.faq-grid,
.data-strip,
.signal-grid {
  gap: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats article,
.panel,
.info-card,
.tier-card,
.faq-item,
.owner-card,
.quote-card,
.signal-card,
.ops-list,
.metrics-banner,
.time-step,
.page-hero,
.cta-band,
.legal-doc,
.data-strip article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
  min-width: 0;
}

.stats article:hover,
.info-card:hover,
.tier-card:hover,
.faq-item:hover,
.owner-card:hover,
.quote-card:hover,
.signal-card:hover,
.time-step:hover,
.data-strip article:hover {
  transform: translateY(-4px);
  border-color: #2b3650;
}

.panel,
.page-hero,
.cta-band,
.legal-doc { padding: 30px; }

.stats article,
.info-card,
.tier-card,
.faq-item,
.owner-card,
.quote-card,
.signal-card,
.ops-list,
.metrics-banner,
.time-step,
.data-strip article { padding: 22px; }

.panel-header h2,
.split h2,
.cta-band h2,
.legal-doc h1,
.legal-doc h2 {
  margin: 0;
  font-family: "Archivo Black", "Sora", sans-serif;
}

.card-grid {
  margin-top: 18px;
  display: grid;
}

.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.info-card h3,
.tier-card h3,
.faq-item h3,
.owner-card h3,
.quote-card h3,
.signal-card h3 {
  margin: 8px 0;
  line-height: 1.2;
}

.info-card p,
.tier-card p,
.faq-item p,
.owner-card p,
.quote-card p,
.signal-card p,
.signal-card li,
.ops-list li,
.split p,
.split li,
.stats p,
.time-step p,
.data-strip p,
.cta-band p,
.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.info-card i,
.tier-card i,
.stats i,
.quote-card i { color: var(--accent); }

.stats article h3 {
  transition: transform 0.22s ease, color 0.22s ease;
  transform-origin: left center;
}

.stats article:nth-child(-n+2):hover h3 {
  transform: scale(1.16);
  color: #ffffff;
}

.tier-card ul,
.ops-list ul,
.signal-card ul,
.legal-doc ul {
  padding-left: 18px;
}

.tier-card.highlight,
.cta-band,
.time-step span {
  border-color: #3b2f73;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.founder-section {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.founder-main p {
  margin: 0 0 14px;
}

.founder-main .text-link {
  display: inline-flex;
  margin-top: 2px;
}

.timeline {
  display: grid;
}

.time-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
}

.time-step span {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(130deg, #ffb01f 0%, #ff42b9 40%, #7b49ff 72%, #24b8ff 100%);
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-list a,
.text-link {
  color: var(--text);
  text-decoration: none;
}

.text-link { color: var(--brand); font-weight: 700; }

.faq-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 28px;
  color: var(--text);
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--brand);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 12px 0 0;
}

.faq-search-wrap {
  margin-top: 14px;
  width: min(640px, 100%);
}

.faq-search-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 600;
}

.faq-search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

.faq-search-input:focus {
  outline: 1px solid var(--brand);
  border-color: var(--brand);
}

.faq-search-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-no-results {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.comparison-card ul {
  margin: 0;
  padding-left: 18px;
}

.comparison-card.improved {
  border-color: #2a4f88;
  background: linear-gradient(180deg, #0f1523 0%, #0a0a0f 100%);
}

.case-study-grid .signal-card p {
  margin: 0 0 8px;
}

.case-study-grid .signal-card p:last-child {
  margin-bottom: 0;
}

.trust-panel .panel-header {
  margin-bottom: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.data-strip h3 {
  margin: 0;
  color: var(--brand-2);
}

.metrics-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.metrics-banner strong {
  display: block;
  font-size: 1.45rem;
}

.tracker-tabs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tracker-tab {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tracker-tab:hover,
.tracker-tab.active {
  color: var(--text);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.tracker-panels {
  margin-top: 14px;
}

.tracker-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.tracker-panel h3 {
  margin: 0 0 8px;
}

.tracker-panel p {
  margin: 0 0 10px;
  color: var(--muted);
}

.tracker-panel ul {
  margin: 0;
  padding-left: 18px;
}

.estimator-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.estimator-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.estimator-field input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.estimator-field input:focus {
  outline: 1px solid var(--brand);
  border-color: var(--brand);
}

.estimator-output {
  margin-top: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.estimator-output p {
  margin: 0 0 8px;
}

.estimator-output p:last-child {
  margin-bottom: 0;
}

.estimator-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #06070d 0%, #000 55%);
  padding-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  padding-bottom: 6px;
}

.footer-grid h4 {
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}

.footer-grid p {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-grid a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.legal-footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 12px;
}

.legal-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.copyright {
  text-align: center;
  color: var(--muted);
  margin: 12px 0 0;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.reveal {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .stats,
  .card-grid.three,
  .footer-grid,
  .signal-grid,
  .data-strip,
  .metrics-banner,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .faq-grid,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .founder-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .main-nav {
    justify-self: start;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-wrap .btn { justify-self: start; }
}

@media (max-width: 720px) {
  main { padding: 0 0 44px; }

  .page-main { padding-top: 14px; gap: 28px; }

  .container {
    width: min(1140px, 94vw);
  }

  .hero-cinematic,
  .hero-content {
    min-height: calc(100dvh - 72px);
  }

  .hero-content h1 { max-width: 100%; }

  .stats,
  .card-grid.three,
  .footer-grid,
  .faq-grid,
  .signal-grid,
  .data-strip,
  .metrics-banner,
  .estimator-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .tracker-tab {
    flex: 1 1 100%;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }

  .panel,
  .page-hero,
  .cta-band,
  .legal-doc {
    padding: 18px;
  }

  .founder-section {
    gap: 14px;
  }

  .legal-footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.95rem;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 0.93rem;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .panel,
  .page-hero,
  .cta-band,
  .legal-doc,
  .stats article,
  .info-card,
  .tier-card,
  .faq-item,
  .owner-card,
  .quote-card,
  .signal-card,
  .ops-list,
  .metrics-banner,
  .time-step,
  .data-strip article {
    padding: 14px;
  }
}
