/* ==========================================================================
   ORBIT — fictional AI product · motion & WebGL showcase
   ========================================================================== */

:root {
  --bg: #F1F1EC;
  --paper: #FAFAF7;
  --ink: #0D0E10;
  --ink-2: #17181B;
  --muted: #6B6D70;
  --line: rgba(13, 14, 16, .12);
  --lime: #D2FF3A;
  --pill: #E3E3DC;

  --radius: clamp(16px, 1.8vw, 28px);
  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --f: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.is-loading { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.4;
}

.hl { color: var(--lime); }

.big {
  font-size: clamp(44px, 7.4vw, 132px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .94;
}
.huge {
  font-size: clamp(52px, 10.5vw, 190px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
}

/* line reveal wrappers */
.rl .line, .hero__title .line {
  display: block;
  overflow: hidden;
  padding: .04em 0 .1em;
  margin: -.04em 0 -.1em;
}
.rl .line > span, .hero__title .line > span { display: inline-block; }
.line--indent { padding-left: 12vw !important; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 99px;
  background: var(--pill);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.pill--ghost { background: var(--pill); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pill--dark .dot { background: var(--lime); }
@media (hover: hover) {
  .pill--ghost:hover { background: var(--ink); color: #fff; }
  .pill--dark:hover { background: #2A2B2F; }
}

/* ---------- letter roll ---------- */
.roll {
  display: inline-flex;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25;
  vertical-align: middle;
}
.roll .ch {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.25em 0 currentColor;
  transition: transform .6s var(--ease);
  transition-delay: calc(var(--i) * 16ms);
}
@media (hover: hover) {
  a:hover .roll .ch, button:hover .roll .ch { transform: translateY(-1.25em); }
}

/* ---------- loader / leave ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  clip-path: inset(0 0 0 0);
}
.loader__inner { position: relative; display: grid; place-items: center; gap: 18px; }
.loader__ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke-width: 2; }
.loader__track { stroke: rgba(255, 255, 255, .12); }
.loader__prog { stroke: var(--lime); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; stroke-linecap: round; }
.loader__num {
  position: absolute;
  top: 60px;
  left: 50%;
  translate: -50% -50%;
  font-family: var(--mono);
  font-size: 15px;
}
.loader__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

.leave {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}

/* failsafe if scripts never run */
html:not(.js-ready) .loader { animation: failsafe 0s 7s forwards; }
@keyframes failsafe { to { visibility: hidden; } }
.reduced .loader, .no-motion .loader { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid #fff;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .45s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.is-lg .cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
html:not(.has-cursor) .cursor { display: none; }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header::before {
  content: '';
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, var(--bg) 45%, rgba(241, 241, 236, 0));
  transition: opacity .4s, background .4s;
}
.header.is-scrolled::before { opacity: 1; }
.header[data-theme="dark"]::before { background: linear-gradient(to bottom, var(--ink) 45%, rgba(13, 14, 16, 0)); }
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.05em;
  color: var(--ink);
  transition: color .4s;
}
.logo svg { width: 26px; height: 26px; }
.header__tag {
  max-width: 30ch;
  margin-left: clamp(24px, 9vw, 170px);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  transition: color .4s, opacity .4s;
}
.header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pill);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: background-color .35s;
}
.menu-btn i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateX(4.5px); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateX(-4.5px); }
.header[data-theme="dark"] .logo,
.header[data-theme="dark"] .header__tag { color: #fff; }
.header[data-theme="dark"] .pill--dark { background: var(--lime); color: var(--ink); }
.header[data-theme="dark"] .pill--dark .dot { background: var(--ink); }
.header.is-scrolled .header__tag { opacity: 0; pointer-events: none; }

@media (max-width: 1100px) { .header__tag { display: none; } }
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .header { padding-top: 12px; }
  .header .pill--dark { padding: 0 16px; }
}

/* ---------- menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--pad) var(--pad);
  background: var(--ink);
  color: #fff;
  visibility: hidden;
  --r: 0px;
  clip-path: circle(var(--r) at var(--mx, 96%) var(--my, 5%));
}
.menu__links a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: .06em 0;
  font-size: clamp(44px, 8vw, 116px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}
.menu__num { font-family: var(--mono); font-size: 12px; margin-top: .9em; color: rgba(255, 255, 255, .4); letter-spacing: 0; }
.menu__links .mask { display: block; overflow: hidden; padding-bottom: .08em; }
.menu__links .mask > span { display: block; transition: color .3s, transform .5s var(--ease-out); }
@media (hover: hover) {
  .menu__links a:hover .mask > span { color: var(--lime); transform: translateX(12px); }
}
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- main stacking ---------- */
main { position: relative; z-index: 1; }
.ribbon { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding: 78px var(--pad) 0;
}
.hero__card {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  transform-origin: 50% 40%;
}
.no-webgl .hero__card { background: radial-gradient(circle at 70% 40%, #2a2c22 0%, var(--ink) 60%); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(18deg, rgba(13, 14, 16, .82) 0%, rgba(13, 14, 16, .35) 32%, rgba(13, 14, 16, 0) 55%);
}
.hero__top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 26px);
  color: rgba(255, 255, 255, .62);
  pointer-events: none;
}
.hero__hint { display: flex; align-items: center; gap: 6px; }
@media (hover: none), (max-width: 760px) { .hero__hint { display: none; } }
.hero__hint svg { width: 14px; height: 14px; }
.hero__title {
  position: absolute;
  left: clamp(16px, 2vw, 26px);
  right: clamp(16px, 2vw, 26px);
  bottom: clamp(16px, 2.2vw, 30px);
  font-size: clamp(42px, 6.6vw, 118px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .94;
  pointer-events: none;
}
.hero__under {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  color: var(--muted);
}
.hero__scroll { display: flex; align-items: center; gap: 10px; }
.hero__scroll::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { transform: translateY(-3px); opacity: .3; } 50% { transform: translateY(3px); opacity: 1; } }

/* ---------- intro ---------- */
.intro { position: relative; padding: clamp(110px, 15vw, 230px) var(--pad) clamp(110px, 13vw, 200px); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pad);
  margin-top: clamp(64px, 9vw, 140px);
  align-items: end;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; }
.stat b { display: block; font-size: clamp(52px, 5.6vw, 92px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.stat > span { display: block; max-width: 18ch; margin-top: 12px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.intro__copy { justify-self: end; max-width: 500px; }
.intro__text { margin-bottom: 28px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: 56px; }
  .intro__copy { justify-self: start; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

/* ---------- features ---------- */
.features {
  position: relative;
  height: 100vh;
  height: 100svh;
  padding: 92px var(--pad) var(--pad);
  background: var(--bg);
}
.features__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 72px);
  height: 100%;
}
.features__left { display: flex; flex-direction: column; justify-content: center; gap: 28px; color: var(--ink); }
.features__left > .mono { color: var(--muted); }
.fitem {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  opacity: .28;
  transition: opacity .5s var(--ease-out);
}
.fitem:last-child { border-bottom: 1px solid var(--line); }
.fitem .mono { padding-top: .55em; }
.fitem h3 { font-size: clamp(24px, 2.5vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.fitem p {
  max-width: 40ch;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transition: max-height .6s var(--ease-out), opacity .5s, margin .6s var(--ease-out);
}
.fitem.is-active { opacity: 1; }
.fitem.is-active p { max-height: 7em; opacity: 1; margin-top: 10px; }
.fprogress { height: 2px; background: var(--line); overflow: hidden; }
.fprogress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.app {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.app__bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.app__bar p { margin-left: auto; color: rgba(255, 255, 255, .42); }
.app__body { position: relative; flex: 1; min-height: 0; }
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(18px, 3.4vw, 56px);
  opacity: 0;
  visibility: hidden;
}
.screen:first-child { opacity: 1; visibility: visible; }

.ask {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(16px, 1.45vw, 22px);
  letter-spacing: -.01em;
}
.ask svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--lime); }
.caret { width: 2px; height: 1.15em; margin-left: -10px; background: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer { padding: 22px 24px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); }
.answer__label { color: var(--lime); margin-bottom: 10px; }
.answer__text { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .9); }
mark { background: none; color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.mail { border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.mail__row { display: flex; gap: 16px; padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 15px; }
.mail__row .mono { width: 64px; flex-shrink: 0; padding-top: 2px; color: rgba(255, 255, 255, .4); }
.mail__body { display: grid; gap: 12px; padding: 20px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.mail__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .45);
}
.send {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.send.is-sent { background: #fff; }
@media (max-width: 520px) { .mail__foot .mono { font-size: 10px; } }

.flow { display: grid; gap: 22px; width: 100%; max-width: 440px; margin: 0 auto; }
.node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .1);
}
.node .mono { color: rgba(255, 255, 255, .45); }
.node b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.node + .node::before {
  content: '';
  position: absolute;
  left: 30px;
  top: -23px;
  width: 2px;
  height: 22px;
  background: var(--lime);
  transform-origin: top;
  transform: scaleY(var(--l, 1));
}
.node--lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.node--lime .mono { color: rgba(13, 14, 16, .55); }
.flow__count { display: flex; align-items: baseline; justify-content: center; gap: 12px; color: rgba(255, 255, 255, .5); }
.flow__count b { font-size: 44px; font-weight: 500; letter-spacing: -.05em; color: #fff; }

@media (max-width: 900px) {
  .features { padding-top: 76px; }
  .features__inner { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 18px; }
  .features__left { gap: 14px; }
  .fitem { padding: 12px 0; }
  .fitem:not(.is-active) { display: none; }
  .fitem:last-child { border-bottom: 0; }
  .ask { min-height: 0; padding: 14px 16px; }
  .mail__body { padding: 14px 16px; gap: 8px; }
  .mail__row { padding: 10px 16px; }
  .flow { gap: 14px; }
  .node { padding: 11px 16px; }
  .node + .node::before { top: -15px; height: 14px; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .mail__body { gap: 8px; padding: 16px 20px; }
}

/* ---------- stack ---------- */
.stack {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg); /* backdrop for the difference-blended title */
}
.stack__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  clip-path: inset(16% 18% 16% 18% round 28px);
}
.stack__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 70vmin; height: 70vmin;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(210, 255, 58, .32) 0%, rgba(210, 255, 58, .08) 35%, rgba(210, 255, 58, 0) 65%);
}
.orbits { position: absolute; inset: 0; }
.orbits__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbits__svg ellipse { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.core {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  width: clamp(84px, 9vw, 140px);
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #F5FFC4 0%, var(--lime) 42%, #6E8F00 100%);
  box-shadow: 0 0 90px rgba(210, 255, 58, .5), inset -8px -10px 30px rgba(0, 0, 0, .25);
  color: var(--ink);
}
.core svg { width: 42%; height: 42%; }
.sat {
  position: absolute;
  left: 0; top: 0;
  padding: 10px 16px;
  border-radius: 99px;
  background: #1B1C20;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  white-space: nowrap;
  will-change: transform;
}
.stack__title {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  font-size: clamp(40px, 7.6vw, 136px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
  color: #fff;
  mix-blend-mode: difference;
}
.stack__l, .stack__r { position: absolute; white-space: nowrap; }
.stack__l { left: 9vw; top: 10%; }
.stack__r { right: 9vw; bottom: 10%; }
.stack__note {
  position: absolute;
  left: 50%;
  bottom: 4%;
  z-index: 4;
  translate: -50% 0;
  color: #fff;
  mix-blend-mode: difference;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .stack__card { clip-path: inset(20% 6% 20% 6% round 20px); }
  .stack__l { top: 9%; }
  .stack__r { bottom: 9%; }
  .sat { padding: 7px 12px; }
}

/* ---------- logos ---------- */
.logos { padding: clamp(90px, 11vw, 170px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.logos > .mono { margin-bottom: 32px; color: var(--muted); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(20px, 2.4vw, 34px) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__unit {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.6vw, 56px);
  padding-right: clamp(28px, 3.6vw, 56px);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 500;
  letter-spacing: -.045em;
  color: #A2A39F;
  white-space: nowrap;
}
.marquee__unit svg { width: .55em; height: .55em; color: var(--ink); flex-shrink: 0; }

/* ---------- quote ---------- */
.quote { padding: clamp(80px, 10vw, 160px) var(--pad); }
.quote blockquote { max-width: 1240px; margin: 0 auto; }
.quote__text {
  font-size: clamp(30px, 4.5vw, 74px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-indent: 8vw;
}
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.quote footer b { display: block; font-weight: 500; }
.quote footer .mono { color: var(--muted); }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 600; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(80px, 10vw, 160px) var(--pad) clamp(100px, 12vw, 200px); }
.pricing__head > .mono { margin-bottom: 24px; color: var(--muted); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6vw, 100px);
  perspective: 1400px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 500px;
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  will-change: transform;
}
.plan h3 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.plan header p { color: var(--muted); font-size: 15px; }
.plan__price b { display: block; font-size: clamp(56px, 5.4vw, 86px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.plan__price .mono { display: block; margin-top: 8px; color: var(--muted); }
.plan ul { display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.plan .pill { margin-top: auto; align-self: flex-start; }
.plan--hot { background: var(--ink); color: #fff; border-color: transparent; }
.plan--hot header p, .plan--hot .plan__price .mono { color: rgba(255, 255, 255, .5); }
.plan--hot li::before { background: var(--lime); }
.plan__badge {
  position: absolute;
  top: clamp(22px, 2.2vw, 32px);
  right: clamp(22px, 2.2vw, 32px);
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 12vw, 190px) var(--pad) 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ink);
  color: #fff;
}
.footer__cta > .mono { margin-bottom: 28px; color: rgba(255, 255, 255, .45); }
.signup {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .3s;
}
.signup:focus-within { border-color: var(--lime); }
.signup.is-error { border-color: #FF6B5B; }
.signup input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: none;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.signup input::placeholder { color: rgba(255, 255, 255, .4); }
.signup__note { margin-top: 16px; color: rgba(255, 255, 255, .4); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(90px, 11vw, 160px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__cols h4 { margin-bottom: 14px; color: rgba(255, 255, 255, .4); }
.footer__cols a, .footer__cols span { display: block; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .86); }
@media (hover: hover) { .footer__cols a:hover { color: var(--lime); } }
.footer__word {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-top: clamp(50px, 7vw, 100px);
  padding-top: .02em;
  font-size: 31vw;
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .76;
  color: var(--lime);
}
.footer__word .ch { display: inline-block; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .8); }
.footer__bottom u { text-underline-offset: 3px; }
@media (hover: hover) { .footer__bottom a:hover { color: var(--lime); } }
@media (max-width: 760px) {
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .signup { flex-direction: column; border-radius: 22px; }
  .signup input { height: 48px; }
  .signup .pill { justify-content: center; }
}

/* ---------- reduced motion ---------- */
.reduced .features { height: auto; }
.reduced .features__inner { height: auto; }
.reduced .app { min-height: 460px; }
.reduced .fitem { opacity: 1; display: grid; }
.reduced .fitem p { max-height: none; opacity: 1; margin-top: 10px; }
.reduced .stack__card { clip-path: none; }
.reduced .caret { animation: none; }
