/* Direction 01 — Editorial (Apple-classic, light, animated) */
@import url('tokens.css');

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.display em { font-style: normal; color: var(--ink-3); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  background: oklch(0.99 0.003 250 / 0.62);
  border-bottom: 1px solid transparent;
  transition: background .4s cubic-bezier(0.16,1,0.3,1), border-color .4s;
}
.nav.scrolled {
  background: oklch(0.99 0.003 250 / 0.85);
  border-bottom-color: var(--hairline-2);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.02em; font-size: 17px; transition: opacity .2s; }
.nav-brand:hover { opacity: 0.7; }
.nav-brand svg { width: 18px; height: 18px; fill: var(--ink); }
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 2px;
  align-items: center;
  pointer-events: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .25s, color .25s;
  position: relative;
}
.nav-link:hover { background: var(--bg-3); color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 500; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-login {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-login:hover { color: var(--ink); background: var(--bg-3); }
.nav-cta {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg) !important;
  transition: background .2s, transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .3s;
  will-change: transform;
}
.nav-cta:hover { background: var(--ink-2); box-shadow: 0 8px 24px -10px rgba(17,24,39,0.4); }
.nav-mobile-btn {
  display: none; width: 36px; height: 36px; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface);
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-mobile-btn:hover { background: var(--bg-3); }
.nav-mobile-btn svg { width: 14px; height: 14px; }
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* ============ HERO ============ */
.hero {
  padding: 140px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  --mx: 50%; --my: 30%;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  vertical-align: middle;
  margin: 0 10px 2px 0;
  box-shadow: 0 0 12px oklch(0.68 0.16 160 / 0.5);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 auto 36px;
  max-width: 16ch;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--ink-3); }
.hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 auto 48px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s, background .2s, box-shadow .3s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(17,24,39,0.4); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--bg-3); border-color: var(--ink-4); transform: translateY(-1px); }
.btn .arr { width: 12px; height: 12px; }

/* Hero ambience — pale drifting washes */
.hero-ambience {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.hero-ambience::after {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), oklch(0.88 0.06 245 / 0.35), transparent 60%);
  pointer-events: none;
  transition: background 0.3s;
}
.hero-ambience .wash {
  position: absolute; border-radius: 50%; filter: blur(110px);
}
.hero-ambience .w1 { width: 45vw; height: 45vw; top: -12vw; left: -8vw; background: var(--wash-blue); opacity: .8; animation: drift 24s ease-in-out infinite alternate; }
.hero-ambience .w2 { width: 38vw; height: 38vw; top: 30%; right: -8vw; background: var(--wash-purple); opacity: .7; animation: drift 32s ease-in-out infinite alternate-reverse; }
.hero-ambience .w3 { width: 30vw; height: 30vw; bottom: -10vw; left: 30%; background: var(--wash-emerald); opacity: .5; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(3vw, -2vw) scale(1.06); }
  100% { transform: translate(-2vw, 3vw) scale(0.96); }
}

/* tiny stars */
.starfield { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.starfield i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.25; transform: scale(1); }
}

/* ============ SECTION SHELL ============ */
section { position: relative; }
.sec-label {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-label::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-3);
}
.sec-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.sec-h em { font-style: italic; color: var(--ink-3); }
.sec-p {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Word-level stagger reveal — slide-up (Apple-style) */
.word-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
h1.reveal .word, .sec-h.reveal .word, .reveal-words .word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.82s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--d, 0s);
  will-change: transform;
}
h1.reveal.in .word, .sec-h.reveal.in .word, .reveal-words.in .word {
  transform: translateY(0);
}

/* Scroll-scaled + parallax hooks */
[data-scroll-scale] { transform: scale(var(--sc, 1)); transition: transform 0.1s linear; will-change: transform; }
[data-parallax] { transform: translate3d(0, var(--py, 0), 0); will-change: transform; }

/* Shot hover — no tilt, just glow + cursor */
.shot {
  transform: scale(var(--sc-shot, 1));
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.5s, box-shadow 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, filter;
  box-shadow: 0 40px 80px -24px rgba(20,30,80,0.18), 0 0 0 1px rgba(0,0,0,0.03);
}
.shot:hover {
  filter: brightness(1.03) contrast(1.02);
  box-shadow: 0 60px 120px -30px rgba(20,30,80,0.28), 0 0 0 1px rgba(0,0,0,0.06);
}
/* Specular highlight layer */
.shot::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    400px circle at var(--gx, 50%) var(--gy, 50%),
    oklch(1 0 0 / 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}
.shot:hover::before { opacity: 1; }
/* Glow beneath */
.shot-wrap::after {
  content: '';
  position: absolute;
  inset: 10% 8% -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, oklch(0.65 0.18 245 / 0.18), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.6s, transform 0.7s cubic-bezier(0.16,1,0.3,1);
  z-index: -1;
  pointer-events: none;
}
.shot-wrap:hover::after { opacity: 1; transform: translateY(8px); }


/* Hairline separator */
.rule {
  height: 1px; background: var(--hairline); margin: 0 auto; max-width: 1280px;
}
.rule-fancy {
  height: 1px; background: linear-gradient(90deg, transparent, var(--ink-4), transparent);
  max-width: 320px; margin: 0 auto;
}

/* ============ MARQUEE ============ */
.marquee {
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 64px; align-items: center;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex; align-items: center; gap: 64px;
}
.marquee-item::after { content: '✦'; font-family: var(--font-ui); font-style: normal; color: var(--ink-5); font-size: 14px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ STATS / NUMBERS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat {
  padding: 56px 24px;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat .n sup { font-size: 0.45em; vertical-align: top; color: var(--ink-3); font-style: italic; }
.stat .l {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
}
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .stat:last-child { border-bottom: 0; }
}

/* ============ FEATURE (full bleed showcase) ============ */
.feature {
  padding: 100px 0;
  position: relative;
}
.feature-head { text-align: center; margin-bottom: 72px; }
.feature-head .sec-label { justify-content: center; display: inline-flex; }
.feature-head .sec-h { margin-left: auto; margin-right: auto; }
.feature-head .sec-p { margin-left: auto; margin-right: auto; text-align: center; }

.feature-canvas {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-4), 0 0 0 1px var(--hairline-2);
  overflow: hidden;
  transform-origin: center top;
}
.feature-canvas::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, oklch(0.99 0.008 250 / 0.6), transparent 60%);
  pointer-events: none;
}

/* Split feature layout */
.split {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
  .split.reverse { direction: ltr; }
}
.split-head .sec-h { font-size: clamp(36px, 5vw, 64px); max-width: 14ch; }
.split-visual {
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-3), 0 0 0 1px var(--hairline-2);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

/* ============ PILL ROW ============ */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.pill-sm {
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: background .2s, color .2s;
}
.pill-sm:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============ FOOTER ============ */
footer.site {
  padding: 96px 0 48px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .mark { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .mark svg { width: 20px; height: 20px; fill: var(--ink); }
.footer-brand .mark span { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 34ch; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-3); margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--hairline);
  font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em;
}
.footer-bottom .legal { display: flex; gap: 24px; }
@media (max-width: 720px) { .footer-bottom { flex-direction: column; gap: 20px; text-align: center; } }

/* ============ LIGHT PRODUCT UI BASE ============ */
.p-ui {
  background: var(--surface);
  font-family: var(--font-ui);
  color: var(--ink);
  position: relative;
}
.p-ui .chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline-2);
  background: var(--bg-2);
}
.p-ui .chrome .dot { width: 11px; height: 11px; border-radius: 50%; }
.p-ui .chrome .dot.r { background: oklch(0.72 0.18 25); }
.p-ui .chrome .dot.y { background: oklch(0.82 0.16 85); }
.p-ui .chrome .dot.g { background: oklch(0.72 0.16 145); }
.p-ui .chrome .addr {
  margin-left: 20px; font-size: 11.5px; color: var(--ink-3);
  font-family: var(--font-mono); letter-spacing: 0;
}

/* ============ BIG QUOTE ============ */
.quote-sec {
  padding: 104px 0;
  text-align: center;
}
.quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 auto 40px;
  text-wrap: balance;
}
.quote em { font-style: italic; color: var(--ink-3); }
.quote-who {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
}
.quote-who strong { color: var(--ink); font-weight: 600; margin-right: 10px; }

/* ============ LOGOS GRID ============ */
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.logo-item {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: -0.01em;
  transition: color .3s;
}
.logo-item:hover { color: var(--ink); }
@media (max-width: 720px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 48px 0; } }

/* CTA banner — Apple editorial: light, hairline, center-aligned, no heavy block */
.cta-banner {
  padding: 120px 0;
  text-align: center;
  position: relative;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
  max-width: 100%;
}
.cta-banner::before { content: none; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  color: var(--ink);
  max-width: 16ch;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.cta-banner h2 em { color: var(--ink-3); font-style: italic; }
.cta-banner p {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 48ch;
  margin: 0 auto 40px;
  line-height: 1.5;
}
/* Apple-style link — blue, arrow, underline on hover */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  color: var(--blue);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: gap .25s cubic-bezier(0.16,1,0.3,1);
}
.cta-link svg { width: 12px; height: 12px; transition: transform .25s cubic-bezier(0.16,1,0.3,1); }
.cta-link:hover { gap: 10px; }
.cta-link:hover svg { transform: translateX(2px); }

/* Page heading (for sub pages) */
.page-head {
  padding: 140px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  --mx: 50%; --my: 30%;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 auto 24px;
  text-align: center;
  text-wrap: balance;
}
.page-head h1 em { font-style: italic; color: var(--ink-3); }
.page-head p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto;
}

/* responsive tweaks */
@media (max-width: 720px) {
  .hero { padding: 100px 0 60px; }
  .page-head { padding: 100px 0 40px; }
  .feature { padding: 64px 0; }
  .quote-sec { padding: 64px 0; }
}

/* ============ PREMIUM ADDITIONS ============ */

/* Scroll progress bar */
#scroll-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), oklch(0.65 0.15 290));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
}

/* Nav hide-on-scroll */
.nav--hidden { transform: translateY(-110%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.nav { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s, border-color 0.4s; }

/* ── Right-side nav drawer (backdrop + sliding panel) ─────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}
@media (max-width: 860px) {
  .nav-overlay { visibility: visible; }
}
body.nav-open .nav-overlay {
  background: rgba(17, 24, 39, 0.2);
  pointer-events: all;
}
.nav-overlay-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 92vw);
  max-width: none;
  background: oklch(0.994 0.003 250 / 0.98);
  backdrop-filter: saturate(180%) blur(32px);
  -webkit-backdrop-filter: saturate(180%) blur(32px);
  border-left: 1px solid var(--hairline);
  box-shadow: -32px 0 80px -16px rgba(17, 24, 39, 0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 80px 28px 48px;
  transform: translateX(110%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
body.nav-open .nav-overlay-content {
  transform: translateX(0);
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  flex: 1;
}
.nav-overlay-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  display: block;
  text-align: left;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s, background 0.15s;
}
.nav-overlay-link.active { color: var(--ink-3); }
.nav-overlay-link:hover { background: var(--bg-3); }
body.nav-open .nav-overlay-link {
  opacity: 1;
  transform: translateX(0);
}
body.nav-open .nav-overlay-link:nth-child(1) { transition-delay: 0.06s; }
body.nav-open .nav-overlay-link:nth-child(2) { transition-delay: 0.11s; }
body.nav-open .nav-overlay-link:nth-child(3) { transition-delay: 0.16s; }
body.nav-open .nav-overlay-link:nth-child(4) { transition-delay: 0.21s; }
.nav-overlay-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}
body.nav-open .nav-overlay-footer {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay-login {
  display: block;
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  border: 1px solid var(--hairline);
  transition: background 0.2s, color 0.2s;
}
.nav-overlay-login:hover { background: var(--bg-3); color: var(--ink); }
.nav-overlay-cta {
  display: block;
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-overlay-cta:hover { background: oklch(0.27 0.015 260); }

/* ── Feature duo: text + shot side by side ── */
.feat-duo {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 72px;
  align-items: center;
}
.feat-duo.reversed {
  grid-template-columns: 1fr minmax(240px, 360px);
}
.feat-duo.reversed .feat-duo-text { order: 2; }
.feat-duo.reversed .feat-duo-shot { order: 1; }
@media (max-width: 900px) {
  .feat-duo, .feat-duo.reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feat-duo.reversed .feat-duo-text { order: 1; }
  .feat-duo.reversed .feat-duo-shot { order: 2; }
}
.feat-duo-text .sec-h { font-size: clamp(28px, 4vw, 52px); max-width: 15ch; }
.feat-duo-text .sec-p { max-width: 38ch; font-size: clamp(15px, 1.3vw, 17px); }


/* Smaller hero type */
.hero h1 {
  font-size: clamp(44px, 8.5vw, 108px);
}
.sec-h {
  font-size: clamp(32px, 5vw, 64px);
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
}

/* container-wide + big-shot (for full-width shots) */
.container-wide {
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}
@media (max-width: 720px) { .container-wide { padding: 0 16px; } }
.big-shot .shot {
  max-width: 1600px;
  border-radius: 18px;
  margin: 0 auto;
}

/* ============ ORBIT STAGE ============ */
.orbit-section {
  padding: 64px 0 80px;
  overflow: hidden;
}
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  user-select: none;
}
.orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orbit-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 12px 7px 8px;
  pointer-events: all;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  will-change: transform;
}
.orbit-badge.hovered {
  background: var(--surface);
  border-color: oklch(0.7 0.1 245);
  box-shadow: 0 8px 32px rgba(80,100,255,0.15);
  scale: 1.08;
  z-index: 10;
}
.orbit-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 8px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}
.orbit-info .orbit-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.orbit-info .orbit-api {
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-family: var(--font-mono);
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}
.orbit-center-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid oklch(0.65 0.1 245 / 0.2);
  animation: pulseRing 3s ease-in-out infinite;
}
.orbit-center-ring.r1 { width: 56px; height: 56px; animation-delay: 0s; }
.orbit-center-ring.r2 { width: 72px; height: 72px; animation-delay: 0.4s; opacity: 0.6; }
.orbit-center-ring.r3 { width: 90px; height: 90px; animation-delay: 0.8s; opacity: 0.3; }
@keyframes pulseRing {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: var(--o, 1); }
  50% { transform: translate(-50%,-50%) scale(1.08); opacity: calc(var(--o, 1) * 0.5); }
}
.orbit-center-inner {
  width: 44px; height: 44px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px oklch(0.65 0.1 245 / 0.15), 0 8px 24px rgba(0,0,0,0.2);
}
.orbit-center-inner svg {
  width: 16px; height: 16px; fill: var(--bg);
}
.orbit-center-inner span {
  font-size: 7px; font-weight: 600;
  color: var(--bg); letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile: scale orbit down */
@media (max-width: 600px) {
  .orbit-stage { max-width: 340px; }
  .orbit-badge { padding: 5px 8px 5px 6px; gap: 6px; }
  .orbit-dot { width: 20px; height: 20px; font-size: 6px; }
  .orbit-info .orbit-name { font-size: 9px; }
  .orbit-info .orbit-api { display: none; }
}

/* Feature head centered text */
.feature-head { text-align: center; margin-bottom: 60px; }
.feature-head .sec-h { margin-left: auto; margin-right: auto; text-align: center; }
.feature-head .sec-p { margin-left: auto; margin-right: auto; text-align: center; }

/* Shimmer on CTA heading */
.cta-banner h2 {
  background-image: linear-gradient(105deg, var(--ink) 0%, var(--ink) 38%, oklch(0.38 0.08 245) 50%, var(--ink) 62%, var(--ink) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 7s ease-in-out infinite 2s;
}
@keyframes shimmerText {
  0%, 100% { background-position: 200% center; }
  55% { background-position: -60% center; }
}

/* CTA breathe pulse */
.cta-link {
  animation: ctaBreathe 3s ease-in-out infinite;
}
@keyframes ctaBreathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

/* Feature section spacing on mobile */
@media (max-width: 720px) {
  .feature { padding: 64px 0; }
  .cta-banner { padding: 80px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
}

/* Responsive shot border-radius — images never cut off harshly on small screens */
@media (max-width: 900px) {
  .shot { border-radius: 20px !important; }
  .feature-canvas { border-radius: 20px; }
}
@media (max-width: 720px) {
  .shot { border-radius: 14px !important; }
  .feature-canvas { border-radius: 14px; }
  .big-shot .shot { border-radius: 10px !important; }
}
