/* Hallmark · macrostructure: Split Studio · nav: N5 floating pill · footer: Ft2 inline
 * H2 Split Diptych knobs: ratio=7/5, right=proof column, divider=negative space
 */

/* ============================================================
   Nav — N5 Floating pill (detached, blur backdrop)
   ============================================================ */

.nav {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-sticky);
  width: calc(100% - var(--space-xl));
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md);
  background: color-mix(in oklch, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

.nav-logo {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-accent { color: var(--accent-ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out);
}

.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-cta { flex-shrink: 0; }

/* ============================================================
   Hero — H2 Split Diptych 7/5, title+lede left / proof right
   ============================================================ */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--space-4xl) + var(--space-xl)) var(--space-xl) var(--space-3xl);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-inner { max-width: 34rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--space-lg);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
  text-wrap: balance;
}

.hero-title u {
  text-decoration: none;
  color: var(--accent-ink);
  box-shadow: inset 0 -0.12em 0 var(--accent-wash);
}

.hero-sub {
  font-size: var(--text-md);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-note {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--ink-3);
}

/* Proof panel (right half) — the read-only scope, shown not claimed */
.hero-proof {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.hero-proof-head {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-2);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--line);
}

.hero-proof-head svg {
  width: 15px; height: 15px;
  stroke: var(--accent); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero-proof-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
}

.hero-proof-key { color: var(--ink-2); }
.hero-proof-val {
  font-family: var(--font-mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-proof-val.ok { color: var(--accent-ink); }
.hero-proof-val.no { color: var(--ink-3); }

/* ============================================================
   Proof strip — T2 logo-wall style, hairline, facts not logos
   ============================================================ */

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.proof-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.proof-item svg {
  width: 16px; height: 16px;
  stroke: var(--accent); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============================================================
   Section scaffold
   ============================================================ */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.section-head { max-width: 44rem; margin-bottom: var(--space-2xl); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}

.section-sub {
  font-size: var(--text-md);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 54ch;
}

/* ============================================================
   Split Studio modules — alternating text / proof
   ============================================================ */

.splits { display: flex; flex-direction: column; gap: var(--space-3xl); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split:nth-child(even) .split-text { order: 2; }

.split-index {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  margin-bottom: var(--space-sm);
}

.split-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.split-desc {
  font-size: var(--text-md);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: var(--space-md);
}

/* ============================================================
   How it works — F4 step sequence (vertical, numbered)
   ============================================================ */

.hiw { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step { position: relative; padding-top: var(--space-lg); border-top: 2px solid var(--line-2); }

.step-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  margin-bottom: var(--space-sm);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.step-desc { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   Pricing — asymmetric: statement left, single card right
   ============================================================ */

.pricing { background: var(--paper-2); border-top: 1px solid var(--line); }

.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pricing-free-note {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--ink-2);
  margin-top: var(--space-md);
}

.pricing-free-note svg {
  width: 15px; height: 15px;
  stroke: var(--accent); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   FAQ — Conversational, hairline rows
   ============================================================ */

.faq { max-width: 760px; margin: 0 auto; padding: var(--space-3xl) var(--space-xl); }

/* ============================================================
   Final CTA strip — one button
   ============================================================ */

.cta-strip {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cta-strip-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.cta-strip-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.cta-strip-sub {
  font-size: var(--text-md);
  color: var(--ink-2);
  margin-bottom: var(--space-xl);
  max-width: 48ch;
  margin-inline: auto;
}

/* ============================================================
   SEO internal links
   ============================================================ */

.seo-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  border-top: 1px solid var(--line);
}

/* ============================================================
   Footer — Ft2 inline single line
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.footer-brand span { color: var(--accent-ink); }

.footer-sep { color: var(--ink-3); }

.footer-legal-link { color: var(--ink-2); transition: color var(--dur-micro) var(--ease-out); }
.footer-legal-link:hover { color: var(--ink); }

.footer-meta { margin-left: auto; color: var(--ink-3); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 60rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: calc(var(--space-4xl));
  }
  .split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .split:nth-child(even) .split-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .pricing-inner { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .nav { padding-left: var(--space-sm); gap: var(--space-sm); }
  .nav-links { display: none; }
  .section, .hero, .pricing-inner, .faq, .cta-strip-inner, .footer-inner, .seo-links, .proof-strip-inner {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }
  .footer-meta { margin-left: 0; width: 100%; }
}

/* ============================================================
   Compatibility layer — SEO / legal / blog pages not yet migrated
   to the Split Studio structure still use these legacy classes.
   Mapped onto the Teal Instrument tokens so they render correctly
   until each page is rebuilt. Remove once migration is complete.
   ============================================================ */

/* Legacy flat footer (no .footer-inner wrapper) */
.footer:not(:has(.footer-inner)) {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.footer:not(:has(.footer-inner)) .footer-meta { margin-left: auto; color: var(--ink-3); }

/* Legacy eyebrow */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-sm);
}

/* Legacy reveal variants collapse onto the single reveal */
.reveal-up { transform: translateY(8px); }

@media (max-width: 40rem) {
  .footer:not(:has(.footer-inner)) {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }
  .footer:not(:has(.footer-inner)) .footer-meta { margin-left: 0; width: 100%; }
}
