/* =========================================================
   EQTY — Cinematic launch site
   ========================================================= */

:root {
  /* App color system */
  --bg:           #12161C;  /* App background */
  --surf-card:    #1B2432;  /* Surface / Card */
  --surf-active:  #1A2A42;  /* Active surface */
  --fg:           #F2F4F6;  /* Primary */
  --fg-secondary: #B4BCC6;  /* Secondary */
  --divider:      #6F7782;  /* Divider / Border */
  --accent:       #FFD500;  /* Primary accent */
  --accent-soft:  #FFF6CC;  /* Accent soft */
  --on-accent:    #111317;  /* Text on accent */
  --error:        #FF8A80;  /* Error */
  --bg-deep:      #0F141B;  /* Deep section background */

  /* Site utilities */
  --fg-dim: rgba(242, 244, 246, 0.55);
  --rule:   rgba(242, 244, 246, 0.12);

  --ease: cubic-bezier(.6,.05,.2,1);
  --pad: clamp(20px, 4vw, 80px);

  --cursor-col: #FFD500; /* flipped to dark fg when bg is yellow */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}

.hv2-content,
.hv2-scene,
.hv2-world,
.hv2-artwork,
.phone__shell,
.screen,
.show__rail {
  backface-visibility: hidden;
}

.hv2-content,
.hv2-scene,
.phone__shell,
.screen,
.show__rail {
  transform: translateZ(0);
  will-change: transform, opacity;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

::selection { background: var(--accent); color: var(--on-accent); }

/* Grain overlay for depth on dark sections */
.sec--hero::before,
.sec--ai::before,
.sec--vision::before,
.sec--what::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.4'/></svg>");
  opacity: .028;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   Type scale
   ========================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: var(--t-eyebrow-ls);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-dim);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.sec__num {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--accent);
  display: inline-block;
}
.philo__num, .cta__num { color: var(--on-accent); }
.sec--philo .sec__num,
.sec--philo .sec__kicker,
.sec--brand .sec__kicker {
  color: rgba(17,19,23,.5);
}
.sec--philo .sec__num {
  color: var(--on-accent);
}

.sec__kicker {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 12px 0 36px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  pointer-events: none;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--rule);
}
.nav__logo {
  pointer-events: auto;
  display: block;
  color: var(--fg);
  width: 36px;
}
.nav__logo svg { width: 100%; height: auto; }
.nav__links {
  pointer-events: auto;
  display: flex; align-items: center; gap: 36px;
  list-style: none;
  font-size: var(--t-eyebrow);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--fg-dim);
}
.nav__links li { display: flex; align-items: center; }
.nav__links a {
  position: relative;
  padding-bottom: 3px;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--accent);
  transition: left .3s var(--ease), right .3s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { left: 0; right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--fg);
  line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav__cta::after { display: none; }
.nav__links .nav__cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: 0 0 20px rgba(255,213,0,.25); }

@media (max-width: 720px) {
  .nav__links li:nth-last-child(n + 3) { display: none; }
}

/* =========================================================
   Rail (right-side progress indicator)
   ========================================================= */
.rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; align-items: center; gap: 14px;
  pointer-events: none;
  color: var(--fg);
}
.rail__track {
  width: 1px; height: 220px;
  background: var(--rule);
  position: relative;
}
.rail__dot {
  position: absolute;
  right: 28px;
  top: calc(50% - 110px);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transition: top .5s var(--ease), background .5s var(--ease);
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 10px var(--accent); }
  50% { box-shadow: 0 0 22px var(--accent), 0 0 42px rgba(255,213,0,.25); }
}
.rail__label {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-size: var(--t-eyebrow);
  position: absolute;
  right: 28px;
  top: calc(50% + 120px);
}
.rail__label-text,
.rail__label-num {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  line-height: 1;
}
.rail__label-text {
  letter-spacing: .3em;
  color: var(--fg-dim);
}
.rail__label-num {
  letter-spacing: .18em;
  color: var(--fg);
}
@media (max-width: 900px) { .rail { display: none; } }

/* =========================================================
   Section base
   ========================================================= */
.sec {
  position: relative;
  padding: clamp(80px, 12vh, 180px) var(--pad);
  min-height: 100vh;
}
.pin-section { padding: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .55s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,213,0,.3); }
.btn--primary:hover::after { transform: translateX(100%); }

.btn--ghost { border: 1px solid var(--rule); color: var(--fg); }
.btn--ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }

/* =========================================================
   HERO
   ========================================================= */
.sec--hero {
  background: var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90vh;
  background:
    radial-gradient(40% 60% at 50% 60%, rgba(255,213,0,.15), transparent 70%),
    radial-gradient(60% 80% at 30% 30%, rgba(80,120,180,.08), transparent 70%),
    radial-gradient(60% 80% at 75% 35%, rgba(80,80,160,.08), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.35'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  width: clamp(220px, 32vw, 520px);
  top: 18%;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: .12;
  pointer-events: none;
}
.hero__mark svg { width: 100%; height: auto; }

.hero__content {
  position: relative;
  max-width: 1180px;
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 80px 0;
}
.hero__h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h1);
  line-height: var(--t-h1-lh);
  letter-spacing: var(--t-h1-ls);
  margin-top: 16px;
  text-wrap: balance;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__line > span { display: inline-block; transform: translateY(110%); }
.hero__sub {
  font-family: var(--sans);
  font-size: var(--t-bodyL);
  font-weight: 300;
  line-height: var(--t-bodyL-lh);
  max-width: 540px;
  color: var(--fg-dim);
  margin-top: 12px;
}
.hero__cta { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.hero__cta .btn {
  height: 44px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: var(--t-body);
  letter-spacing: normal;
}
.hero__cta .btn--primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--on-accent);
}
.hero__cta .btn--primary::after { display: none; }
.hero__cta .btn--primary:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--fg);
  box-shadow: none;
}
.hero__cta .btn--ghost {
  border-color: var(--accent);
  color: var(--fg);
  background: transparent;
}
.hero__cta .btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-size: var(--t-eyebrow);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scrollLine {
  width: 1px; height: 50px;
  background: var(--rule);
  position: relative; overflow: hidden;
}
.hero__scrollLine i {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--accent);
  animation: rail 2.6s var(--ease) infinite;
}
@keyframes rail { 0% { top: -40%; } 100% { top: 100%; } }

/* =========================================================
   PROBLEM
   ========================================================= */
.pin-wrap--problem { height: 400vh; }
.prob__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: 28vh var(--pad) 0;
}
.prob__stage .prob__inner,
.prob__after .prob__inner {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.prob__platform {
  position: relative;
  display: inline-block;
  line-height: 1.08;
  height: 1.08em;
  padding-bottom: 0.08em;
  overflow: hidden;
  vertical-align: baseline;
}
.prob__platform-word {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
}
.prob__platform-word:first-child {
  position: relative;
}
.prob__after {
  padding: clamp(60px, 10vh, 140px) var(--pad) clamp(80px, 14vh, 200px);
}
.prob__inner { max-width: 1280px; margin: 0 auto; position: relative; }
.prob__h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: var(--t-display-ls);
  margin-top: 6px;
}
.prob__h .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.prob__h .line > * { display: inline-block; }
.prob__list {
  margin-top: clamp(60px, 12vh, 160px);
  display: grid;
  gap: clamp(10px, 2vh, 28px);
}
.prob__word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fg);
  opacity: 0;
  transform: translateY(40px);
}
.prob__word[data-i="0"] { padding-left: 0; color: var(--error); }
.prob__word[data-i="1"] { padding-left: 8%; color: var(--fg-secondary); }
.prob__word[data-i="2"] { padding-left: 18%; color: var(--divider); }
.prob__word[data-i="3"] { padding-left: 4%; color: var(--fg-secondary); }
.prob__word[data-i="4"] { padding-left: 24%; color: var(--divider); }
.prob__shift {
  margin-top: clamp(80px, 14vh, 200px);
  display: flex; align-items: center; gap: 24px;
}
.shift__rule { display: block; height: 1px; width: 120px; background: var(--accent); }
.prob__shift p {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h2);
  letter-spacing: -.02em;
}

/* =========================================================
   PIN section base + Phone
   ========================================================= */
.pin-wrap {
  position: relative;
  height: 220vh; /* drives scroll */
}
.pin-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
  padding: 0 var(--pad);
  overflow: hidden;
}

.what__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(255,213,0,.06), transparent 70%),
    radial-gradient(50% 60% at 15% 60%, rgba(80,120,180,.06), transparent 70%);
  pointer-events: none;
}

.what__left {
  display: grid; gap: 18px;
  max-width: 460px;
  justify-self: end;
}
.what__h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh);
  letter-spacing: var(--t-h2-ls);
}
.what__stats {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px;
}
.stat { display: grid; gap: 4px; }
.stat__n {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1;
  color: var(--accent);
}
.stat__l {
  font-size: var(--t-eyebrow); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-dim);
}

.what__right {
  max-width: 340px;
  justify-self: start;
}
.not__tag {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.not__tag::before {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(255, 213, 0, .55);
}
.not__list { list-style: none; display: grid; gap: 16px; }
.not__list li {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1;
  letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 14px;
  color: var(--fg);
}
.not__icon {
  color: var(--error);
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-top: 2px;
}

/* PHONE */
.phone {
  --phone-w: 320px;
  --phone-h: 660px;
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  justify-self: center;
  perspective: 1200px;
}
@media (max-width: 1280px) { .phone { --phone-w: 280px; --phone-h: 580px; } }
@media (max-width: 900px)  { .phone { --phone-w: 240px; --phone-h: 500px; } }

.phone__shell {
  position: relative;
  width: 100%; height: 100%;
  background: #050709;
  border-radius: 42px;
  border: 2px solid #1F242C;
  box-shadow:
    0 60px 90px -30px rgba(0,0,0,.6),
    0 30px 60px -20px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.04);
  padding: 9px;
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone__home {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
  z-index: 3;
}
.phone__shadow {
  position: absolute;
  bottom: -40px; left: 10%; right: 10%;
  height: 60px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(0,0,0,.5), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
}

.phone--image-mode .phone__shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.phone--image-mode .phone__screen {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.phone--image-mode .phone__notch,
.phone--image-mode .phone__home,
.phone--image-mode .phone__shadow {
  display: none;
}

/* SCREENS */
.screen {
  position: absolute; inset: 0;
  padding: 38px 14px 14px;
  display: flex; flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: scale(.96);
  color: var(--fg);
  font-family: var(--sans);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.screen.is-on { opacity: 1; transform: scale(1); z-index: 2; }

.screen--image {
  padding: 0;
  gap: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.screen__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.s-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--t-eyebrow); color: var(--fg-secondary);
  padding: 0 8px;
}
.s-status__dots {
  display: inline-block; width: 28px; height: 8px;
  background:
    radial-gradient(2px 2px at 4px 4px, currentColor 99%, transparent 100%),
    radial-gradient(2px 2px at 12px 4px, currentColor 99%, transparent 100%),
    radial-gradient(2px 2px at 20px 4px, currentColor 99%, transparent 100%);
}
.s-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 8px;
  font-size: var(--t-eyebrow);
}
.s-chev { color: var(--accent); font-size: var(--t-body); }
.s-title { font-family: var(--serif); font-weight: 700; font-size: var(--t-eyebrow); letter-spacing: .02em; }
.s-prof { color: var(--fg-secondary); }

.s-tabs {
  display: flex; gap: 8px;
  background: var(--surf-card); border-radius: 999px;
  padding: 4px;
  font-size: var(--t-eyebrow);
}
.s-tabs span {
  flex: 1; text-align: center; padding: 6px 8px;
  color: var(--fg-secondary); border-radius: 999px;
}
.s-tabs span.on { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.s-tabs--pill { padding: 3px; font-size: var(--t-eyebrow); }

.s-section { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.s-theme {
  font-size: var(--t-eyebrow); letter-spacing: .2em; text-transform: uppercase;
  color: var(--divider); padding: 4px 4px 0;
}
.s-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--surf-card); border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--surf-active);
}
.s-row .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #374151; flex: 0 0 auto; margin-top: 2px;
  border: 1px solid var(--divider);
}
.s-row .dot--y { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 6px var(--accent); }
.s-row b { display: block; font-size: var(--t-eyebrow); font-weight: 600; }
.s-row i {
  display: block; font-style: normal; font-size: var(--t-eyebrow); color: var(--divider); margin-top: 2px;
}
.s-row p { font-size: var(--t-eyebrow); color: var(--fg-secondary); margin-top: 2px; line-height: 1.35; }

.s-nav {
  margin-top: auto;
  display: flex; justify-content: space-around;
  padding: 10px 4px 14px;
  font-size: var(--t-eyebrow); color: var(--divider);
  border-top: 1px solid var(--surf-active);
}
.s-nav .on { color: var(--accent); }

/* Video screen */
.s-videowrap { display: grid; gap: 10px; margin-top: 4px; }
.s-vid {
  height: 130px;
  background: linear-gradient(135deg, var(--surf-card), var(--bg-deep));
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--surf-active);
  display: grid; place-items: center;
}
.s-vid::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(255,213,0,.1), transparent 70%);
  border-radius: 16px;
}
.s-vid__play {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  font-size: var(--t-body); padding-left: 3px;
  position: relative; z-index: 1;
}
.s-vid__meta { padding: 8px 4px; display: grid; gap: 6px; }
.s-vid__meta b { font-family: var(--serif); font-weight: 700; font-size: var(--t-body); }
.s-vid__meta p { font-size: var(--t-eyebrow); color: var(--fg-secondary); line-height: 1.4; }
.s-yellow {
  margin-top: 6px;
  background: var(--accent); color: var(--on-accent);
  border-radius: 999px; padding: 9px 14px;
  font-size: var(--t-eyebrow); font-weight: 600;
}
.s-yellow--btm { margin-top: auto; margin-bottom: 8px; }

/* Swipe / card screen */
.s-card {
  background: var(--surf-card);
  border: 1px solid var(--surf-active);
  border-radius: 16px;
  padding: 14px;
  display: grid; gap: 8px;
}
.s-card--main { margin-top: 4px; }
.s-card__step { font-size: var(--t-eyebrow); letter-spacing: .22em; color: var(--accent); }
.s-card__h { font-family: var(--serif); font-weight: 700; font-size: var(--t-bodyL); line-height: 1.15; }
.s-card__body { font-size: var(--t-eyebrow); color: var(--fg-secondary); line-height: 1.45; }
.s-card__cta { font-size: var(--t-eyebrow); color: var(--accent); margin-top: 4px; }

.s-cardstack {
  display: grid; gap: 6px; margin-top: 6px;
}
.s-mini {
  background: var(--surf-card); border: 1px solid var(--surf-active);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: var(--t-eyebrow); color: var(--fg-secondary);
  display: flex; align-items: center; gap: 8px;
}
.s-mini::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--divider);
}
.s-mini.on { color: var(--accent); border-color: var(--accent); }
.s-mini.on::before { background: var(--accent); border-color: var(--accent); }

/* Reflect screen */
.s-card--ref textarea {
  width: 100%; min-height: 90px;
  background: var(--bg-deep); border: 1px solid var(--surf-active);
  border-radius: 8px;
  padding: 8px;
  color: var(--fg);
  font: 400 var(--t-eyebrow) var(--sans);
  resize: none;
}

/* Glossary */
.s-search {
  background: var(--surf-card); border: 1px solid var(--surf-active);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: var(--t-eyebrow); color: var(--divider);
}
.s-glossary { display: grid; gap: 6px; margin-top: 4px; }

/* Done */
.s-done {
  display: grid; place-items: center; gap: 12px;
  text-align: center;
  margin: auto 12px;
  padding: 12px;
}
.s-done__check {
  width: 60px; height: 60px;
  background: var(--accent); border-radius: 50%;
  display: grid; place-items: center;
}
.s-done__check svg { width: 32px; height: 32px; }
.s-done h3 { font-family: var(--serif); font-weight: 700; font-size: var(--t-h3); }
.s-done p { font-size: var(--t-eyebrow); color: var(--fg-secondary); line-height: 1.5; }

/* Onboarding */
.s-onb { display: grid; gap: 16px; margin-top: 10px; }
.s-onb__num { font-size: var(--t-eyebrow); letter-spacing: .25em; color: var(--accent); }
.s-onb h3 { font-family: var(--serif); font-weight: 700; font-size: var(--t-bodyL); line-height: 1.15; }
.s-onb__opts { display: grid; gap: 8px; }
.s-onb__opt {
  background: var(--surf-card); border: 1px solid var(--surf-active);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: var(--t-eyebrow);
}
.s-onb__opt.on { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   LEARNING section
   ========================================================= */
.pin-wrap--learning {
  height: 360vh;
}
.learn__layout {
  position: sticky; top: 0; height: 100vh;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
  padding: 0 var(--pad);
}
.learn__copy {
  flex-shrink: 0;
  display: grid;
  gap: 10px;
  width: min(460px, 35vw);
}
.learn__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
}
.learn__steps {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  width: 100%;
}
.lstep {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.lstep:hover { border-color: rgba(255,255,255,.2); }
.lstep:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lstep span {
  display: block;
  width: 100%;
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-body);
  color: var(--fg-dim);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.lstep > div {
  min-width: 0;
}
.lstep b {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-bodyL);
}
.lstep p { font-size: var(--t-eyebrow); color: var(--fg-dim); line-height: 1.5; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin-top .4s var(--ease); }
.lstep.on {
  background: linear-gradient(90deg, rgba(255,213,0,.08) 0%, rgba(255,213,0,.02) 60%, transparent 100%);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(255,213,0,.06);
}
.lstep.on span { color: var(--accent); }
.lstep.on p { max-height: 60px; }

.learn__phone-slot {
  flex: 1;
  display: flex;
  justify-content: center;
  /* invisible, the global phone is positioned over this column via JS */
}

/* =========================================================
   AI
   ========================================================= */
.sec--ai { padding-top: 18vh; padding-bottom: 18vh; }
.ai__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.ai__pulse {
  position: absolute;
  top: 30%; left: 20%;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,213,0,.08), transparent 60%);
  filter: blur(20px);
  animation: pulse 9s ease-in-out infinite;
}
.ai__pulse--2 {
  top: 50%; left: 60%;
  background: radial-gradient(circle at center, rgba(80,120,200,.10), transparent 60%);
  animation-delay: -3s; animation-duration: 12s;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.2); opacity: 1; } }

.ai__inner { width: 100%; max-width: none; margin: 0; position: relative; }
.ai__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
  text-wrap: balance;
}
.ai__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 980px) { .ai__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai__grid { grid-template-columns: 1fr; } }
.ai__card {
  background: rgba(27,36,50,.5);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 244px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.ai__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,213,0,.06), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.ai__card:hover { transform: translateY(-4px); border-color: rgba(255,213,0,.45); box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 40px rgba(255,213,0,.07); }
.ai__card:hover::after { opacity: 1; }
.ai__icon {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: var(--t-body); color: var(--accent);
}
.ai__card b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--t-bodyL);
  line-height: 1.2;
}
.ai__card p {
  font-size: var(--t-body);
  color: var(--fg-dim);
  line-height: 1.5;
}
.ai__foot {
  margin-top: 60px;
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  letter-spacing: -.02em;
  text-align: center;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   PHILOSOPHY (light section)
   ========================================================= */
.sec--philo { padding-top: 22vh; padding-bottom: 22vh; }
.philo__inner { width: 100%; max-width: none; margin: 0; }
.philo__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
  text-wrap: balance;
}
.philo__cols {
  margin-top: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(17,19,23,.08);
  border-top: 1px solid rgba(17,19,23,.08);
  border-bottom: 1px solid rgba(17,19,23,.08);
}
@media (max-width: 720px) { .philo__cols { grid-template-columns: 1fr; } }
.philo__col {
  background: #F2F4F6;
  padding: 36px 0;
}
.col__label {
  font-size: var(--t-eyebrow); letter-spacing: .25em; text-transform: uppercase;
  color: rgba(17,19,23,.5);
  margin-bottom: 28px;
}
.philo__col ul { list-style: none; display: grid; gap: 18px; }
.philo__col li {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h3);
  letter-spacing: -.015em;
}
.philo__col--neg li { color: rgba(17,19,23,.35); text-decoration: line-through; text-decoration-color: rgba(255,138,128,.6); }
.philo__col--pos li { color: var(--on-accent); }
.philo__col--pos { padding-left: 36px; }
.philo__quote {
  margin-top: 100px;
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h1);
  line-height: 1; letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
  position: relative;
  padding: 48px 0;
}
.philo__quote::before,
.philo__quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,19,23,.25), transparent);
}
.philo__quote::before { top: 0; }
.philo__quote::after  { bottom: 0; }
.philo__quote-mark {
  display: block;
  font-size: var(--t-display);
  line-height: .6;
  color: var(--accent);
  margin-bottom: 0;
  opacity: .6;
}

/* =========================================================
   SHOWCASE (horizontal scroll)
   ========================================================= */
.sec--showcase {
  position: relative;
  background: var(--bg);
  padding: 0;
  height: 320vh;
  overflow: clip;
  z-index: 1;
}
.show__head {
  position: absolute; top: 16vh; left: var(--pad);
  z-index: 2;
  max-width: 540px;
}
.show__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
}
.show__track {
  height: 100vh;
  overflow: hidden;
  display: flex; align-items: center;
}
.show__rail {
  display: flex; align-items: center;
  gap: 32px;
  padding: 0 8vw 0 50vw;
  will-change: transform;
}
.show__card {
  flex: 0 0 auto;
  width: 460px;
  height: 60vh;
  min-height: 460px;
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  background: rgba(27,36,50,.4);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.show__card--light { background: #F8FAFD; color: var(--on-accent); border-color: rgba(17,19,23,.08); }
.show__cap { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--t-eyebrow); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.show__card--light .show__cap { color: rgba(17,19,23,.55); }
.show__cap span { color: var(--accent); }
.show__card--light .show__cap span { color: var(--on-accent); }
.show__cap i { font-style: normal; }
.show__phone {
  position: relative;
  background: #050709;
  border: 2px solid #1F242C;
  border-radius: 28px;
  padding: 8px;
  width: 240px; height: 100%;
  justify-self: center;
}
.show__phone--light { background: #DCE1E7; border-color: var(--fg-secondary); }
.show__media {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.show__frame {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.mini-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 22px;
  padding: 32px 12px 12px;
  display: grid;
  gap: 6px;
  align-content: start;
  color: var(--fg);
}
.mini-top { font-family: var(--serif); font-weight: 700; font-size: var(--t-body); padding: 0 4px 8px; }
.mini-row { background: var(--surf-card); border: 1px solid var(--surf-active); border-radius: 10px; padding: 10px; font-size: var(--t-eyebrow); display: flex; gap: 10px; align-items: center; }
.mini-row span { width: 8px; height: 8px; border-radius: 50%; background: #374151; border: 1px solid var(--divider); }
.mini-row.on span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 6px var(--accent); }

.mini-screen--gloss { background: #F8FAFD; color: var(--on-accent); padding-top: 32px; }
.mini-top--light { color: var(--on-accent); }
.mini-term { font-family: var(--serif); font-weight: 700; font-size: var(--t-h3); padding: 6px 4px 0; }
.mini-def { font-size: var(--t-eyebrow); color: #374151; line-height: 1.5; padding: 0 4px; }
.mini-tag { margin-top: auto; align-self: end; font-size: var(--t-eyebrow); letter-spacing: .2em; text-transform: uppercase; color: var(--divider); padding: 4px; }

/* Typography card */
.show__big { display: grid; grid-template-rows: 1fr auto; align-items: center; padding: 12px 0; }
.show__big-display {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-display);
  line-height: .8;
  color: var(--accent);
  text-align: center;
  letter-spacing: -.04em;
}
.show__big-spec { display: grid; gap: 8px; margin-top: 16px; }
.show__big-spec div { display: flex; justify-content: space-between; font-size: var(--t-eyebrow); }
.show__big-spec b { font-family: var(--serif); font-weight: 700; }
.show__big-spec span { color: var(--fg-dim); }

/* Motion card */
.show__motion { display: grid; gap: 18px; align-content: center; padding: 12px 0; }
.motion-btn {
  background: var(--accent); color: var(--on-accent);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  animation: btnPress 3s ease-in-out infinite;
}
.motion-btn i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--on-accent); opacity: .25;
  display: block;
}
@keyframes btnPress {
  0%, 80%, 100% { transform: scale(1); filter: brightness(1); }
  85% { transform: scale(.96); filter: brightness(.9); }
}
.motion-toggle {
  width: 56px; height: 30px; border-radius: 999px;
  background: var(--accent);
  padding: 3px;
  display: flex;
  position: relative;
}
.motion-toggle span {
  width: 24px; height: 24px; border-radius: 50%; background: var(--on-accent);
  animation: tog 3s ease-in-out infinite;
}
@keyframes tog {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(26px); }
}
.motion-chip {
  display: inline-block;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(27,36,50,.6); border: 1px solid var(--rule);
  font-size: var(--t-eyebrow); color: var(--fg-dim);
  width: max-content;
}
.motion-chip--on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Wrong answer micro-interaction card */
.motion-rank-label {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-bodyL); line-height: 1.2;
  margin-bottom: 2px;
}
.motion-rank-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(27,36,50,.8); border: 1.5px solid var(--rule);
  border-radius: 10px; padding: 10px 12px;
}
.motion-rank-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.motion-rank-text { flex: 1; font-size: 13px; font-weight: 500; }
.motion-rank-del {
  font-size: 11px; color: var(--fg-dim);
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.06);
}
.motion-rank-del--wrong {
  background: #E8600A; color: #fff;
  animation: delWrong 5s ease-in-out infinite;
}
.motion-rank-item--wrong { animation: wrongItem 5s ease-in-out infinite; }
.motion-hint {
  font-size: var(--t-eyebrow); color: #E8600A;
  opacity: 0;
  animation: hintAppear 5s ease-in-out infinite;
}
@keyframes wrongItem {
  0%, 18%  { background: rgba(27,36,50,.8); border-color: var(--rule); }
  22%      { background: rgba(255,213,0,.05); border-color: rgba(255,213,0,.4); transform: scale(.98); }
  26%, 70% { background: rgba(255,213,0,.05); border-color: var(--accent); transform: scale(1); }
  84%, 100% { background: rgba(27,36,50,.8); border-color: var(--rule); }
}
@keyframes delWrong {
  0%, 22%  { background: rgba(255,255,255,.06); color: var(--fg-dim); transform: scale(1); }
  26%      { transform: scale(1.2); }
  30%, 70% { background: #E8600A; color: #fff; transform: scale(1); }
  84%, 100% { background: rgba(255,255,255,.06); color: var(--fg-dim); }
}
@keyframes hintAppear {
  0%, 24%  { opacity: 0; transform: translateY(4px); }
  32%, 70% { opacity: 1; transform: translateY(0); }
  84%, 100% { opacity: 0; transform: translateY(4px); }
}

/* Design system card */
.show__ds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds-swatch {
  background: var(--c);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  height: 110px;
  display: grid;
  align-content: end;
}
.ds-swatch span { font-size: var(--t-eyebrow); letter-spacing: var(--t-eyebrow-ls); text-transform: uppercase; font-weight: 500; }
.ds-swatch i { font-style: normal; font-size: var(--t-eyebrow); letter-spacing: var(--t-eyebrow-ls); opacity: .7; }
.ds-swatch--y { color: var(--on-accent); }
.ds-swatch--y2 { color: var(--on-accent); }

/* =========================================================
   BRAND
   ========================================================= */
.sec--brand {
  position: relative;
  z-index: 3;
  background: #F8FAFD;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(88px, 11vh, 128px) var(--pad);
}
.brand__inner { width: 100%; max-width: none; margin: 0; }
.brand__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
  margin-bottom: 64px;
}
.brand__h em { color: var(--on-accent); opacity: .35; }
.brand__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 240px 298px;
  grid-auto-rows: 298px;
  gap: 1px;
  background: rgba(17,19,23,.1);
  border: 1px solid rgba(17,19,23,.1);
}
.brand__cell {
  background: #F2F4F6;
  position: relative;
  padding: 24px;
  display: grid;
  grid-template-rows: 1fr auto;
}
.brand__lbl {
  font-size: var(--t-eyebrow); letter-spacing: .26em; text-transform: uppercase;
  color: rgba(17,19,23,.5);
}
.brand__lbl--inv { color: rgba(255,255,255,.7); }

.brand__cell--mark { grid-column: span 2; background: #F2F4F6; }
.brand__cell--markY { grid-column: span 2; background: var(--on-accent); }
.brand__cell--markY .brand__lbl { color: rgba(255,255,255,.5); }
.brand__cell--word { grid-column: span 2; }
.brand__cell--colors { grid-column: span 3; }
.brand__cell--type { grid-column: span 1; background: #FFD500; }
.brand__cell--type .brand__lbl { color: rgba(17,19,23,.6); }
.brand__cell--type2 { grid-column: span 2; }
.brand__cell--type,
.brand__cell--type2 {
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

@media (max-width: 900px) {
  .brand__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 240px;
  }
  .brand__cell--mark, .brand__cell--markY, .brand__cell--word, .brand__cell--colors, .brand__cell--type2 { grid-column: span 2; }
  .brand__cell--type { grid-column: span 2; }
}

.brand__mark {
  display: grid; place-items: center;
  align-self: center;
  width: 100%; height: 100%;
}
.brand__mark svg { width: 60%; height: 60%; }
.brand__mark img { width: 60%; height: 60%; object-fit: contain; }

.brand__word { display: grid; place-items: center; align-self: center; height: 100%; }
.brand__word svg { width: 50%; height: 70%; }

.brand__cell--colors {
  display: grid;
  padding: 24px;
  align-content: start;
}
.brand__cell--colors .brand__lbl {
  align-self: start;
  margin-bottom: 14px;
}
.brand__palette { align-self: end; }

.brand__type-d {
  font-family: var(--serif); font-weight: 700;
  line-height: .78;
  color: var(--on-accent);
  text-align: center;
  align-self: center;
  justify-self: center;
  letter-spacing: -.05em;
  max-width: 100%;
  white-space: nowrap;
}
.brand__cell--type .brand__type-d { font-size: clamp(6.8rem, 8.8vw, 9.2rem); }
.brand__cell--type2 .brand__type-d { font-size: clamp(8.2rem, 10.5vw, 12rem); }
.brand__type-d--inter {
  font-family: var(--sans); font-weight: 700;
  color: var(--on-accent);
}
.brand__type-name {
  font-size: var(--t-eyebrow);
  color: rgba(17,19,23,.6);
  position: relative;
  z-index: 1;
}

/* =========================================================
   VISION
   ========================================================= */
.sec--vision { padding: 22vh var(--pad); }
.vision__inner { width: 100%; max-width: none; margin: 0; }
.vision__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
}
.vline {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}
.vline--accent { color: rgba(242,244,246,.45); }
.vline--accent em { color: var(--accent); }
.vision__sub {
  margin-top: 60px;
  font-size: var(--t-bodyL);
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 560px;
}

/* =========================================================
   CTA
   ========================================================= */
.sec--cta {
  background: var(--accent);
  color: var(--on-accent);
  padding: 22vh var(--pad) 0;
  position: relative;
  overflow: hidden;
}
.cta__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.cta__logo {
  width: min(220px, 44vw);
  margin: 24px auto 0;
  color: #fff;
}
.cta__logo svg { display: block; width: 100%; height: auto; }
.cta__h {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh); letter-spacing: var(--t-h2-ls);
  margin-top: 28px;
}
.cta__h em { color: #fff; }
.cta__sub {
  margin-top: 28px;
  font-size: var(--t-bodyL);
  color: rgba(17,19,23,.7);
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.cta__form {
  margin-top: 48px;
  display: flex; gap: 0;
  background: var(--on-accent); color: var(--fg);
  border-radius: 999px;
  padding: 6px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 20px;
  color: #fff;
  font: 400 var(--t-body) var(--sans);
  outline: none;
}
.cta__form input::placeholder { color: rgba(255,255,255,.68); }
.cta__form button {
  background: var(--accent); color: var(--on-accent);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: var(--t-eyebrow);
  transition: background .25s var(--ease);
}
.cta__form button:hover { background: #fff; }
.cta__done {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--on-accent); border-radius: 999px;
  color: var(--accent);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.cta__form.done .cta__done { opacity: 1; }

.cta__alt { margin-top: 18px; font-size: var(--t-eyebrow); }
.cta__alt a { border-bottom: 1px solid rgba(17,19,23,.4); padding-bottom: 2px; }

.foot {
  margin-top: 16vh;
  border-top: 1px solid rgba(17,19,23,.15);
  padding: 28px 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--t-eyebrow);
  color: rgba(17,19,23,.65);
  flex-wrap: wrap;
  gap: 16px;
}
.foot__l { display: flex; align-items: center; gap: 12px; }
.foot__l span {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--t-eyebrow-ls);
}
.foot__mark { width: 24px; height: 18px; }
.foot__r { display: flex; gap: 22px; }
.foot__r a:hover { color: var(--on-accent); }

/* =========================================================
   Custom cursor (desktop / fine-pointer only)
   ========================================================= */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }

/* Both wrappers are zero-size fixed anchors; GSAP moves them via x/y */
.cur,
.cur-ring {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

/* Visible dot — centered on parent via translate(-50%,-50%) */
.cur__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--cursor-col);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width  .18s cubic-bezier(.2,.7,.2,1),
    height .18s cubic-bezier(.2,.7,.2,1),
    opacity .18s,
    background-color .5s var(--ease);
}

/* Visible ring — centered on parent via translate(-50%,-50%) */
.cur-ring__track {
  position: absolute;
  width: 28px; height: 28px;
  border: 1.5px solid color-mix(in srgb, var(--cursor-col) 48%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width  .38s cubic-bezier(.2,.7,.2,1),
    height .38s cubic-bezier(.2,.7,.2,1),
    opacity .3s,
    border-color .5s var(--ease);
}

/* Hover state: dot disappears, ring expands */
.has-custom-cursor.cur-hover .cur__dot    { width: 0; height: 0; opacity: 0; }
.has-custom-cursor.cur-hover .cur-ring__track { width: 48px; height: 48px; border-color: color-mix(in srgb, var(--cursor-col) 35%, transparent); }

/* Click state: brief inversion */
.has-custom-cursor.cur-click .cur__dot       { width: 10px; height: 10px; }
.has-custom-cursor.cur-click .cur-ring__track { width: 14px; height: 14px; opacity: 1; }

/* =========================================================
   RESPONSIVE — Mobile & Tablet
   ========================================================= */

/* ---- Nav hamburger ---- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  pointer-events: auto;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .5s var(--ease);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  /* Hide the existing simplified link list; replace with the full overlay */
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 80px var(--pad) 44px;
    background: var(--bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 28px;
    font-size: 18px;
    letter-spacing: .04em;
    transform: translateY(-110%);
    transition: transform .42s var(--ease);
    z-index: 99;
    border-bottom: 1px solid var(--rule);
    pointer-events: none;
  }
  .nav--open .nav__links {
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Show ALL items on mobile */
  .nav__links li { display: block !important; }

  /* Hamburger → X */
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---- General section spacing on mobile ---- */
@media (max-width: 768px) {
  .sec { padding: clamp(64px, 12vh, 140px) var(--pad); }
}

/* ---- Problem section — compact stage on mobile ---- */
@media (max-width: 768px) {
  /* Shrink stage to content height — kills the 100vh void under the heading */
  .prob__stage {
    height: auto;
    overflow: visible;
    padding-top: 10vh;
    padding-bottom: 20px;
  }
  /* Keep enough scroll travel for platform cycling + word reveals */
  .pin-wrap--problem { height: 200vh; }

  /* Reduced word offsets for narrow screens */
  .prob__word[data-i="1"] { padding-left: 4%; }
  .prob__word[data-i="2"] { padding-left: 8%; }
  .prob__word[data-i="3"] { padding-left: 2%; }
  .prob__word[data-i="4"] { padding-left: 10%; }

  .prob__list { margin-top: 16px; gap: 10px; }
  .prob__shift { margin-top: 32px; }
  .prob__after { padding: 8px var(--pad) 48px; }
}
@media (max-width: 480px) {
  .prob__word[data-i="1"] { padding-left: 2%; }
  .prob__word[data-i="2"] { padding-left: 5%; }
  .prob__word[data-i="3"] { padding-left: 0; }
  .prob__word[data-i="4"] { padding-left: 5%; }
}

/* ---- WHAT section — unpin and stack on tablet/mobile ---- */
@media (max-width: 1023px) {
  .sec--what .pin-wrap {
    height: auto;
    padding: clamp(64px, 10vh, 100px) 0;
  }
  .pin-stage {
    position: relative;
    height: auto;
    grid-template-columns: 1fr;
    padding: 0 var(--pad);
    gap: 48px;
    overflow: visible;
  }
  .what__left {
    justify-self: start;
    max-width: 100%;
  }
  .phone {
    justify-self: center;
  }
  .what__right {
    justify-self: start;
    max-width: 100%;
  }
  .not__list li {
    font-size: var(--t-h2);
  }
  .what__stats {
    margin-top: 24px;
    gap: 18px 24px;
  }
}

/* ---- LEARNING section — unpin and stack on tablet/mobile ---- */
@media (max-width: 1023px) {
  .sec--learning .pin-wrap--learning {
    height: auto;
  }
  .learn__layout {
    position: relative;
    height: auto;
    flex-direction: column;
    padding: clamp(64px, 10vh, 100px) var(--pad);
    gap: 48px;
    align-items: flex-start;
  }
  .learn__copy {
    width: 100%;
  }
  .learn__phone-slot {
    display: none;
  }
  /* Step cards: always show description */
  .lstep p { max-height: none; }
  /* Screenshot below each card */
  .lstep__preview {
    display: block;
    height: 340px;
    width: auto;
    margin: 4px auto 16px;
    border-radius: 16px;
  }
}

/* ---- SHOWCASE section — vertical cards on tablet/mobile ---- */
@media (max-width: 1023px) {
  .sec--showcase {
    height: auto;
    overflow: visible;
    padding: clamp(64px, 10vh, 120px) var(--pad) clamp(80px, 12vh, 140px);
  }
  .show__head {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    max-width: 100%;
    margin-bottom: 48px;
  }
  .show__track {
    height: auto;
    overflow: visible;
    display: block;
  }
  .show__rail {
    flex-direction: column;
    padding: 0;
    gap: 24px;
    transform: none !important; /* prevent any GSAP inline transform */
    will-change: auto;
  }
  .show__card {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 320px;
    flex-shrink: 1;
  }
  .show__ds { grid-template-columns: 1fr 1fr; }
  .ds-swatch { height: 90px; }
}

@media (max-width: 540px) {
  .show__card { min-height: 280px; }
  .show__ds { grid-template-columns: 1fr; }
  .ds-swatch { height: 80px; }
}

/* ---- AI section ---- */
@media (max-width: 768px) {
  .sec--ai { padding-top: 12vh; padding-bottom: 12vh; }
  .ai__grid { margin-top: 48px; }
  .ai__card { min-height: 180px; padding: 20px; }
  .ai__foot { margin-top: 40px; }
}

/* ---- Philosophy section ---- */
@media (max-width: 768px) {
  .sec--philo { padding-top: 14vh; padding-bottom: 14vh; }
  .philo__cols { margin-top: 48px; }
  .philo__quote { margin-top: 60px; font-size: var(--t-h2); }
  .philo__quote-mark { font-size: var(--t-h1); }
}

/* ---- Brand section ---- */
@media (max-width: 768px) {
  .brand__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .brand__cell--mark,
  .brand__cell--markY,
  .brand__cell--word,
  .brand__cell--colors,
  .brand__cell--type,
  .brand__cell--type2 { grid-column: span 2; }
  .brand__cell--mark,
  .brand__cell--markY,
  .brand__cell--word { min-height: 200px; }
  .brand__cell--type,
  .brand__cell--type2 { min-height: 180px; }
  .brand__palette { grid-template-columns: 1fr 1fr; }
  .ds-swatch { height: 80px; }
  .brand__h { margin-bottom: 40px; }
}

/* ---- Vision section ---- */
@media (max-width: 768px) {
  .sec--vision { padding: 14vh var(--pad); }
  .vision__sub { margin-top: 36px; max-width: 100%; }
}

/* ---- CTA section ---- */
@media (max-width: 768px) {
  .sec--cta { padding-top: 14vh; }
  .cta__sub { max-width: 100%; }
}

@media (max-width: 480px) {
  .cta__form {
    flex-direction: column;
    border-radius: 18px;
    padding: 8px;
    gap: 6px;
    max-width: 100%;
  }
  .cta__form input {
    padding: 12px 16px;
    border-radius: 12px;
  }
  .cta__form button {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    text-align: center;
  }
  .cta__done { border-radius: 18px; }
}

/* ---- Footer ---- */
@media (max-width: 768px) {
  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 12vh;
  }
  .foot__r {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

/* ---- Phone sizing on tablet/mobile ---- */
@media (max-width: 1023px) {
  .phone { --phone-w: 280px; --phone-h: 580px; }
}
@media (max-width: 768px) {
  .phone { --phone-w: 260px; --phone-h: 540px; }
}
@media (max-width: 480px) {
  .phone { --phone-w: 230px; --phone-h: 475px; }
}

/* ---- Launch nav link ---- */
.nav__launch {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: var(--t-eyebrow);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--fg-dim);
  padding: 0 0 3px;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  transition: color .25s var(--ease);
}
.nav__launch::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--accent);
  transition: left .3s var(--ease), right .3s var(--ease);
}
.nav__launch:hover { color: var(--fg); }
.nav__launch:hover::after { left: 0; right: 0; }

/* =========================================================
   DEMO PAGE
   ========================================================= */
.demo-page {
  min-height: 100vh;
  background: #05070A;
  color: #F2F4F6;
}
.demo {
  height: 100vh;
  padding: 92px 28px 32px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.demo__video {
  display: block;
  width: min(100%, 64vh);
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #05070A;
}

@media (max-width: 768px) {
  .demo {
    padding: 78px 14px 22px;
  }
  .demo__video {
    width: min(100%, 58vh);
  }
}
