/* ===== Reset & base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --grey-900: #2a2a2a;
  --grey-700: #4a4a4a;
  --grey-500: #6e6e6e;
  --grey-300: #c8c8c8;
  --grey-200: #e4e4e4;
  --grey-100: #f2f2f2;
  --grey-50:  #f8f8f7;
  --bg:       #fafaf9;
  --accent:   #1d3a8a;
  --accent-hover: #15296b;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  letter-spacing: -0.005em;
  padding-top: 60px;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.nav.scrolled {
  border-bottom-color: rgba(0,0,0,0.06);
  background: rgba(250, 250, 249, 0.85);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.nav-brand:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  color: var(--grey-700);
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  color: #fff;
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  body { padding-top: 56px; }
  .nav-inner { padding: 12px 20px; gap: 12px; }
  .nav-brand { font-size: 14px; }
  .nav-links { gap: 14px; }
  .nav-link:not(.nav-cta) { display: none; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children within a section */
.stats .reveal:nth-child(2) { transition-delay: 80ms; }
.stats .reveal:nth-child(3) { transition-delay: 160ms; }
.layers .reveal:nth-child(2) { transition-delay: 80ms; }
.layers .reveal:nth-child(3) { transition-delay: 160ms; }
.layers .reveal:nth-child(4) { transition-delay: 240ms; }
.fit-grid .reveal:nth-child(2) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Layout ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 720px;
}

section {
  padding: 120px 0;
}

@media (max-width: 720px) {
  section { padding: 80px 0; }
  body { font-size: 17px; }
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

p { color: var(--grey-900); }

a { color: inherit; text-decoration: none; }

/* ===== CTA button ===== */
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 20px 36px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: background 0.25s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(29, 58, 138, 0.08);
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 58, 138, 0.22);
}

.cta:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.cta-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.cta-light:hover {
  background: #f2f2f2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

/* ===== Section title (shared) ===== */
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 32px;
  max-width: 820px;
}

/* ===== Section 1: Hero ===== */
.hero {
  padding: 160px 0 140px;
  text-align: center;
}

.hero-headline {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.hero-subline {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--grey-700);
  font-weight: 500;
  margin-bottom: 56px;
  letter-spacing: -0.015em;
}

.social-proof {
  margin-top: 36px;
  font-size: 14px;
  color: var(--grey-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== Section 2: Shift ===== */
.shift {
  background: var(--grey-100);
  padding: 100px 0;
}

.shift-line {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 980px;
}

.shift-line + .shift-line {
  margin-top: 28px;
}

/* ===== Section 3: Market ===== */
.market .section-title {
  margin-bottom: 72px;
  max-width: none;
}

@media (min-width: 720px) {
  .market .section-title { white-space: nowrap; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 80px;
}

.stat {
  border-top: 1px solid var(--grey-200);
  padding-top: 28px;
  transition: border-top-color 0.4s ease;
}

.stat:hover {
  border-top-color: var(--accent);
}

.stat-number {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat:hover .stat-number {
  transform: translateY(-3px);
}

.stat-label {
  color: var(--grey-700);
  font-size: 16px;
  font-weight: 500;
  max-width: 260px;
  line-height: 1.4;
}

.market-note {
  max-width: 760px;
  color: var(--grey-700);
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 56px;
  }
}

/* ===== Section 4: Invisible ===== */
.invisible-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 16px;
}

.invisible-text p { margin-bottom: 20px; }
.invisible-text p:last-child { margin-bottom: 0; }

.signal-list {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
}

.signal-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-200);
  color: var(--ink-soft);
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.signal-list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.screenshot-placeholder {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 30px rgba(0,0,0,0.06);
}

.screenshot-header {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}

.screenshot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-300);
}

.screenshot-body {
  padding: 28px;
  font-size: 15px;
  line-height: 1.6;
}

.screenshot-query {
  color: var(--grey-500);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-200);
}

.screenshot-answer p { margin-bottom: 14px; color: var(--ink-soft); }

.screenshot-answer ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.screenshot-answer li {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.screenshot-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
  color: var(--grey-500);
  font-style: italic;
  font-size: 14px;
}

@media (max-width: 840px) {
  .invisible-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ===== Section 5: Methodology ===== */
.methodology {
  background: var(--grey-50);
}

.layers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  margin: 48px 0;
}

.layer {
  background: #fff;
  padding: 48px;
  transition: background 0.4s ease;
}

.layer:hover {
  background: #fafaf9;
}

.layer-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.layer-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}

.layer-desc {
  color: var(--grey-700);
  font-size: 16px;
  line-height: 1.6;
}

.methodology-note {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-900);
}

@media (max-width: 720px) {
  .layers { grid-template-columns: 1fr; }
  .layer { padding: 36px 28px; }
}

/* ===== Section 6: Audit ===== */
.audit {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
}

.audit-headline {
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.audit-lead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.5;
}

.audit-subhead {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}

.audit-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: left;
}

.audit-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.audit-list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.audit-walkthrough {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.55;
}

.audit-disclaimer {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== Section 7: Founder ===== */
.founder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--grey-100);
}

.founder-text .section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 32px;
}

.founder-text p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-900);
}

.founder-close {
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: 19px !important;
  margin-top: 12px !important;
}

@media (max-width: 840px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .photo-placeholder { max-width: 320px; }
}

/* ===== Section 8: How I work ===== */
.how-i-work {
  background: var(--grey-50);
}

.how-i-work .section-title {
  margin-bottom: 36px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.how-i-work p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
}

/* ===== Section 9: Beta ===== */
.beta-box {
  border: 1px solid var(--grey-300);
  background: #fff;
  padding: 72px 56px;
  border-radius: 8px;
}

.beta-box .section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 24px;
}

.beta-lead {
  font-size: 19px;
  color: var(--grey-900);
  max-width: 760px;
  margin-bottom: 56px;
  line-height: 1.6;
}

.beta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-200);
}

.beta-col p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-900);
}

.beta-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.beta-availability {
  font-size: 16px;
  color: var(--grey-700);
  margin-bottom: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}

@media (max-width: 720px) {
  .beta-box { padding: 48px 28px; }
  .beta-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Section 10: Fit ===== */
.fit {
  background: var(--grey-50);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.fit-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.fit-col p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-900);
}

.fit-close {
  font-size: 17px;
  color: var(--grey-700);
  max-width: 720px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-200);
}

@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Section 11: Final CTA ===== */
.final-cta {
  text-align: center;
  padding: 140px 0;
}

.final-headline {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.final-line {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--grey-700);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.footer-tagline { color: rgba(255,255,255,0.6); }

.footer-transition {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 6px; }

.footer-legal {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
