/* ==========================================================================
   Lil AI — site.css
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050403;
  --bg-2: #0c0a08;
  --ink: #f6f0e8;
  --ink-2: rgba(246, 240, 232, .66);
  --ink-3: rgba(246, 240, 232, .42);
  --line: rgba(246, 240, 232, .09);
  --line-2: rgba(246, 240, 232, .16);
  --orange: #ff8f3a;
  --orange-2: #ffb15c;
  --eye: #fed277;
  --ai-violet: #7b4dff;
  --ai-green: #36f0b0;
  --gs-peach: #ff9a6b;
  --gs-gold: #ffd08a;

  --sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant", "Cormorant Garamond", ui-serif, Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: clamp(24px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; padding: 0; }
ol { list-style: none; }
::selection { background: var(--orange); color: #1a0d03; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
.dim { color: var(--ink-3); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #000; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* film grain */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.section-title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 640;
}

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, box-shadow .4s var(--ease), color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: var(--ink); color: #0b0612; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn--light:hover { box-shadow: 0 16px 44px -10px rgba(190, 160, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn--glow {
  background: linear-gradient(180deg, #ffa24f, #ff7a1f); color: #1d0c00;
  box-shadow: 0 0 0 1px rgba(255, 200, 140, .4) inset, 0 12px 40px -8px rgba(255, 122, 31, .6);
}
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(255, 220, 170, .6) inset, 0 18px 60px -6px rgba(255, 122, 31, .8); }
.btn--glow svg { stroke-width: 1.6; }
.btn--glow:hover svg { transform: none; }
.btn--ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); font-weight: 500; transition: color .25s; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .45s var(--ease); padding-bottom: 2px; }
.link:hover { color: var(--ink); background-size: 100% 1px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--pad);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; height: 56px; padding: 0 8px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s, box-shadow .5s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(14, 11, 9, .62);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; font-size: 17px; }
.nav__brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: color .25s, background-color .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav__mail {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 143, 58, .12); border: 1px solid rgba(255, 143, 58, .28); color: #ffd3ac;
  font-size: 15px; font-weight: 550; transition: background-color .3s, border-color .3s, transform .5s var(--ease);
}
.nav__mail:hover { background: rgba(255, 143, 58, .2); border-color: rgba(255, 143, 58, .5); }
.nav__mail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px 2px rgba(255, 143, 58, .7); animation: pulse 2.4s var(--ease-in-out) infinite; }
.nav__mail-short { display: none; }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 4px 1px rgba(255, 143, 58, .4); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 90px; isolation: isolate; overflow: clip;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at var(--gx, 72%) var(--gy, 48%), rgba(255, 120, 30, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 140, 60, .08), transparent 70%),
    radial-gradient(50% 50% at 90% 100%, rgba(120, 60, 255, .06), transparent 70%);
  transition: opacity 1.6s var(--ease);
}
.is-booting .hero__glow { opacity: 0; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-size: clamp(44px, 6.1vw, 90px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 680;
}
.hero__title .line { display: block; overflow: clip; overflow-clip-margin: 0.12em; padding-bottom: .06em; }
.hero__title .w { display: inline-block; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(.35s + var(--i) * .075s); }
.hero__title .accent {
  background: linear-gradient(100deg, #ff9b45 10%, #ffcf86 45%, #ff8a2b 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s var(--ease-in-out) infinite;
}
@keyframes sheen { 50% { background-position: 100% 0; } }
.is-booting .hero__title .w { transform: translateY(105%); opacity: 0; filter: blur(8px); }

.hero__sub { margin-top: 26px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 30ch; line-height: 1.45; letter-spacing: -.01em; }

.boot-in { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-booting .boot-in { opacity: 0; transform: translateY(14px); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chip {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.chip img { width: 40px; height: 40px; border-radius: 11px; }
.chip span { display: flex; flex-direction: column; line-height: 1.15; }
.chip strong { font-weight: 620; font-size: 16px; letter-spacing: -.01em; }
.chip em { font-style: normal; color: var(--ink-3); font-size: 13.5px; }
.chip__arrow { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease), stroke .3s; }
.chip:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); border-color: var(--line-2); }
.chip:hover .chip__arrow { transform: translateY(3px); stroke: var(--ink); }

.hero__help { margin-top: 26px; color: var(--ink-3); font-size: 15px; }
.hero__help a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.hero__help a:hover { color: var(--ink); border-color: var(--ink-2); }

.hero__stage { position: relative; display: grid; place-items: center; }

.hero__cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid var(--line-2); display: grid; justify-items: center; padding-top: 8px;
}
body.is-scrolled .hero__cue { opacity: 0; pointer-events: none; }
.hero__cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--ink-2); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ==========================================================================
   ROBOT
   ========================================================================== */
.robot {
  --size: min(42vw, 560px);
  position: relative; width: var(--size); aspect-ratio: 1; container-type: inline-size;
}
.robot__halo {
  position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 120, 30, .22), rgba(255, 90, 10, .07) 55%, transparent);
  filter: blur(10px); transition: opacity 1.4s var(--ease) .6s;
}
.robot__body {
  position: absolute; inset: 0;
  transform: translate(var(--rx-t, 0px), var(--ry-t, 0px)) rotate(var(--rot, 0deg));
  transition: filter 1.2s var(--ease);
  animation: float 7s var(--ease-in-out) infinite;
}
@keyframes float { 50% { translate: 0 -1.6%; } }
.robot__img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.robot__orb {
  position: absolute; left: 50%; top: 20.65%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 120, .55), rgba(255, 110, 20, .25) 45%, transparent 75%);
  mix-blend-mode: screen; pointer-events: none;
  animation: orb 3.2s var(--ease-in-out) infinite;
  transition: opacity .6s var(--ease);
}
@keyframes orb { 50% { transform: scale(1.18); opacity: .6; } }
.robot__visor {
  position: absolute; left: 27.6%; top: 46.6%; width: 44.8%; height: 20.4%;
  border-radius: 26% / 46%; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 60% 72% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 72% at 50% 52%, #000 62%, transparent 100%);
}
.robot__eye {
  --ex: 0px; --ey: 0px; --blink: 1;
  position: absolute; top: 23.5%; width: 14.2%; height: 60.6%; border-radius: 999px;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, #ffe3a8, #fed277 55%, #fbc561 100%);
  box-shadow: 0 0 2.2cqw .4cqw rgba(255, 150, 50, .55), 0 0 7cqw 2.4cqw rgba(255, 96, 10, .28);
  transform: translate(var(--ex), var(--ey)) scaleY(var(--blink));
  transition: opacity .1s, border-radius .35s var(--ease), height .35s var(--ease), top .35s var(--ease);
}
.robot__eye--l { left: 20.2%; }
.robot__eye--r { left: 65.6%; }
.robot.is-happy .robot__eye { height: 26%; top: 40%; border-radius: 999px 999px 30% 30% / 999px 999px 20% 20%; }
.robot__shadow {
  position: absolute; left: 22%; right: 22%; bottom: 2%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 120, 30, .2), transparent);
  filter: blur(6px); animation: shadow 7s var(--ease-in-out) infinite;
}
@keyframes shadow { 50% { transform: scaleX(.88); opacity: .7; } }

/* boot sequence: body dim → orb → eyes flicker on */
.is-booting .robot--hero .robot__body { filter: brightness(.35) saturate(.6); }
.is-booting .robot--hero .robot__halo { opacity: 0; }
.is-booting .robot--hero .robot__orb { opacity: 0; }
.is-booting .robot--hero .robot__eye { opacity: 0; }
.robot--hero .robot__eye { animation: eyes-on 1s steps(1) .9s backwards; }
@keyframes eyes-on { 0% { opacity: 0; } 18% { opacity: 1; } 26% { opacity: .1; } 38% { opacity: 1; } 46% { opacity: .3; } 56%, 100% { opacity: 1; } }

.robot--mini { --size: 132px; margin: 0 auto 18px; }
.robot--mini .robot__body { animation-duration: 5s; }

/* ==========================================================================
   APPS
   ========================================================================== */
.apps { display: grid; gap: clamp(20px, 2.4vw, 32px); padding: 40px var(--pad) 0; max-width: calc(var(--wrap) + 80px); margin: 0 auto; }
.app {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); overflow: clip; isolation: isolate;
  padding: clamp(32px, 5.2vw, 80px);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.app::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.app:hover::after { opacity: 1; }
.app__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.app__bg i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }

.app__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.app__grid--flip .app__copy { order: 2; }
.app__tag { display: flex; align-items: center; gap: 10px; font-weight: 620; font-size: 17px; letter-spacing: -.01em; }
.app__tag img { width: 28px; height: 28px; border-radius: 8px; }
.app__tag span:last-child { color: var(--ink-3); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-left: 2px; }
.app__tag .serif { font-size: 22px; font-weight: 500; }
.app__title { margin-top: 22px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.048em; font-weight: 660; text-wrap: balance; }
.app__title em { font-style: italic; font-size: 1.12em; letter-spacing: -.01em; }
.app__lede { margin-top: 20px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 38ch; text-wrap: pretty; }
.app__quote { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--q, var(--line-2)); max-width: 44ch; }
.app__quote blockquote { font-size: 17px; line-height: 1.5; color: var(--ink); letter-spacing: -.005em; }
.app__quote figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.app__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.app__fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.app__fine span { margin: 0 6px; opacity: .6; }
.app__ph { margin-top: 24px; }
.app__ph a { display: inline-block; border-radius: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.app__ph a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9); }
.app__ph img { height: 48px; width: auto; }
.app__disclaimer { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); opacity: .8; }
.appstore { display: inline-block; border-radius: 12px; transition: transform .5s var(--ease), box-shadow .4s; }
.appstore img { height: 56px; width: auto; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.appstore:hover { box-shadow: 0 14px 40px -10px rgba(255, 154, 107, .6); }

.app__demo { position: relative; display: grid; justify-items: center; gap: 22px; }
.scrub__hint { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.scrub__hint::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Afterimage theme ---------- */
.app--afterimage { background: linear-gradient(160deg, #150b33 0%, #0b0520 55%, #07041a 100%); --q: rgba(54, 240, 176, .5); }
.app--afterimage .app__bg i:nth-child(1) { width: 60%; height: 70%; left: 45%; top: -20%; background: rgba(123, 77, 255, .45); animation: drift1 18s var(--ease-in-out) infinite; }
.app--afterimage .app__bg i:nth-child(2) { width: 45%; height: 40%; left: 60%; top: 45%; background: rgba(54, 240, 176, .22); animation: drift2 22s var(--ease-in-out) infinite; }
.app--afterimage .app__bg i:nth-child(3) { width: 40%; height: 50%; left: -10%; top: 60%; background: rgba(80, 100, 255, .18); animation: drift1 26s var(--ease-in-out) infinite reverse; }
@keyframes drift1 { 50% { transform: translate(-12%, 10%) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(10%, -18%) scale(.85); } }

.ghosts { translate: -16% 0; position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1; }
.ghost { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease), opacity .6s; }
.ghost--0 { z-index: 3; filter: drop-shadow(0 30px 40px rgba(20, 0, 60, .6)); animation: float 6s var(--ease-in-out) infinite; }
.ghost--1 { z-index: 2; opacity: .42; filter: blur(1px) saturate(.9); transform: translate3d(calc(var(--gx1, 0px) + 26%), var(--gy1, 0px), 0) scale(.9); }
.ghost--2 { z-index: 1; opacity: .18; filter: blur(2.5px); transform: translate3d(calc(var(--gx2, 0px) + 48%), var(--gy2, 0px), 0) scale(.8); }

.moment {
  display: flex; align-items: center; gap: 14px; width: min(100%, 440px); padding: 14px 18px 14px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.moment__glyph {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 700; font-size: 17px; color: #fff; background: var(--glyph, #27a14f);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15), 0 6px 16px -6px var(--glyph, #27a14f);
  transition: background-color .3s;
}
.moment__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.moment__body strong { font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment__body small { color: var(--ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment__when { flex: none; font-size: 12.5px; color: var(--ai-green); font-variant-numeric: tabular-nums; }
.moment.is-swap .moment__body, .moment.is-swap .moment__when { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }

.scrub { position: relative; width: min(100%, 480px); height: 44px; cursor: grab; touch-action: pan-y; outline-offset: 6px; }
.scrub:active { cursor: grabbing; }
.scrub__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -50%; display: flex; gap: 5px; }
.scrub__track i { display: block; height: 100%; border-radius: 4px; background: var(--c); opacity: .55; transition: opacity .3s, transform .3s var(--ease); }
.scrub__track i.is-on { opacity: 1; transform: scaleY(1.8); box-shadow: 0 0 12px var(--c); }
.scrub__head { position: absolute; top: 0; bottom: 0; left: 62%; width: 2px; translate: -50% 0; pointer-events: none; }
.scrub__head span { position: absolute; inset: 8px 0; border-radius: 2px; background: var(--orange); box-shadow: 0 0 14px 2px rgba(255, 143, 58, .8); }
.scrub__head::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 143, 58, .35), transparent); }

/* ---------- Glowscroll theme ---------- */
.app--glowscroll { background: linear-gradient(165deg, #0d1130 0%, #1c1638 45%, #2c1a33 100%); --q: rgba(255, 154, 107, .6); }
.app--glowscroll .app__bg i:nth-child(1) { width: 70%; height: 60%; left: -10%; bottom: -30%; background: rgba(255, 140, 90, .28); animation: drift2 20s var(--ease-in-out) infinite; }
.app--glowscroll .app__bg i:nth-child(2) { width: 40%; height: 40%; right: 0; top: -10%; background: rgba(120, 110, 255, .16); animation: drift1 24s var(--ease-in-out) infinite; }

.phone {
  position: relative; width: clamp(250px, 24vw, 300px); aspect-ratio: 300 / 620; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2b2a33, #0d0c12 40%, #1d1c24);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(255, 140, 90, .35);
  transform: rotate(-2deg);
  transition: transform 1s var(--ease);
}
.app--glowscroll:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone__screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #0f1233; isolation: isolate; }
.phone__sky { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, #0f1233 0%, #241f4a 45%, #4b3058 72%, #6b3f5c 100%); }
.phone__sun {
  position: absolute; z-index: -2; left: 50%; top: 66%; width: 130%; aspect-ratio: 1.6; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 160, .55), rgba(255, 140, 110, .25) 45%, transparent 75%);
  animation: sun 6s var(--ease-in-out) infinite;
}
@keyframes sun { 50% { opacity: .65; transform: scale(1.06); } }
.phone__hills { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.phone__island { position: absolute; left: 50%; top: 10px; translate: -50% 0; width: 32%; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.phone__streak {
  position: absolute; z-index: 3; right: 14px; top: 46px; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(10, 10, 30, .4); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px;
}
.phone__streak svg { width: 10px; height: 13px; }
.phone__streak b { font-weight: 650; font-variant-numeric: tabular-nums; transition: transform .4s var(--spring); }
.phone__streak b.is-bump { transform: scale(1.35); }

.feed {
  cursor: pointer; user-select: none; -webkit-user-select: none;
  position: absolute; inset: 70px 0 128px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}
.feed::-webkit-scrollbar { display: none; }
.verse { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; }
.verse p { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.1vw, 26px); line-height: 1.18; color: #fff; text-wrap: balance; }
.verse small { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.verse small::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.verse p, .verse small { transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.verse:not(.is-in) p, .verse:not(.is-in) small { opacity: 0; transform: translateY(16px); filter: blur(4px); }

.phone__actions { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 66px; display: flex; gap: 8px; }
.phone__actions > span { height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: rgba(20, 14, 34, .55); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 550; }
.pill-ico { width: 36px; }
.pill-txt { padding: 0 14px; }
.phone__actions svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.phone__tabs { position: absolute; z-index: 3; left: 50%; bottom: 14px; translate: -50% 0; display: flex; padding: 4px; border-radius: 999px; background: rgba(10, 8, 18, .7); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 600; }
.phone__tabs span { padding: 7px 16px; border-radius: 999px; color: rgba(255, 255, 255, .55); }
.phone__tabs .is-on { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- next ---------- */
.next { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px; color: var(--ink-3); font-size: 15px; text-align: center; }
.next strong { color: var(--ink-2); font-weight: 600; }
.next__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px 2px rgba(255, 143, 58, .7); animation: pulse 2.4s var(--ease-in-out) infinite; }

/* ==========================================================================
   KIND WORDS
   ========================================================================== */
.words { padding-top: clamp(100px, 14vw, 180px); }
.words__grid { margin-top: clamp(40px, 5vw, 64px); columns: 3 300px; column-gap: 20px; }
.word {
  break-inside: avoid; margin-bottom: 20px; padding: 28px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .6s var(--ease), border-color .4s, background-color .4s;
}
.word::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 80% at 0% 0%, var(--tint), transparent 60%); opacity: .5; }
.word:hover { transform: translateY(-4px); border-color: var(--line-2); }
.word--gs { --tint: rgba(255, 154, 107, .16); }
.word--ai { --tint: rgba(123, 77, 255, .2); }
.word--stat { --tint: rgba(255, 143, 58, .2); }
.word blockquote { position: relative; font-size: 18px; line-height: 1.45; letter-spacing: -.01em; }
.word blockquote strong { font-weight: 620; display: block; margin-bottom: 4px; }
.word figcaption { position: relative; margin-top: 20px; display: flex; align-items: center; gap: 10px; font-weight: 580; font-size: 15px; flex-wrap: wrap; }
.word figcaption small { flex-basis: 100%; margin-left: 42px; margin-top: -8px; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 650; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
.word--gs .av { background: rgba(255, 154, 107, .18); color: #ffd0b8; }
.word--ai .av { background: rgba(123, 77, 255, .22); color: #d6c8ff; }
.stars { position: relative; color: #ffc04d; letter-spacing: .14em; font-size: 15px; margin-bottom: 12px; }
.stat { display: flex; align-items: baseline; gap: 4px; position: relative; }
.stat b { font-size: 76px; font-weight: 680; letter-spacing: -.05em; line-height: 1; }
.stat span { font-size: 22px; color: var(--ink-3); }
.word--stat p:last-child { position: relative; margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.words__note { margin-top: 8px; font-size: 13px; color: var(--ink-3); max-width: 70ch; }

/* ==========================================================================
   PROMISES
   ========================================================================== */
.promises { padding-top: clamp(100px, 14vw, 180px); }
.promises__list { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.promises__list li { padding: 34px 28px 10px 0; position: relative; }
.promises__list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.promises__list svg { width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.promises__list svg .fill { fill: var(--orange); stroke: none; }
.promises__list h3 { font-size: 21px; font-weight: 620; letter-spacing: -.02em; }
.promises__list p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 26ch; }
.promises__list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--orange), transparent); transition: width 1.4s var(--ease) .2s; }
.promises__list li + li::before { left: -1px; }
.promises__list li.is-in::before { width: 70%; }

/* ==========================================================================
   SUPPORT
   ========================================================================== */
.support { position: relative; margin-top: clamp(100px, 14vw, 180px); padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 70px); isolation: isolate; }
.support::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 50% 20%, rgba(255, 120, 30, .13), transparent 70%), linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 30%, transparent);
  border-top: 1px solid var(--line);
}
.support__head { text-align: center; display: grid; justify-items: center; }
.support__head .eyebrow { margin-bottom: 18px; }
.support__lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

.mail { margin-top: clamp(40px, 5vw, 60px); text-align: center; display: grid; justify-items: center; }
.mail__addr {
  position: relative; display: inline-block; font-size: clamp(38px, 8.4vw, 120px); font-weight: 650; letter-spacing: -.055em; line-height: 1.02;
  background: linear-gradient(180deg, #fff 30%, #ffc79a); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .06em .08em; word-break: break-word;
  transition: filter .4s var(--ease);
}
.mail__addr::after {
  content: ""; position: absolute; left: .06em; right: .06em; bottom: .02em; height: max(2px, .035em); border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent); transform: scaleX(.2); opacity: .4; transition: transform .8s var(--ease), opacity .5s;
}
.mail__addr:hover { filter: drop-shadow(0 0 30px rgba(255, 143, 58, .35)); }
.mail__addr:hover::after { transform: scaleX(1); opacity: 1; }
.mail__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mail__note { margin-top: 20px; color: var(--ink-3); font-size: 15px; }

.faq { margin: clamp(70px, 9vw, 110px) auto 0; max-width: 820px; }
.faq__title { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.tabs { position: relative; margin: 22px auto 0; display: flex; width: max-content; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px 0 12px; border-radius: 999px; font-weight: 580; font-size: 15.5px; color: var(--ink-2); transition: color .3s; }
.tabs button img { width: 22px; height: 22px; border-radius: 6px; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .55s var(--ease), width .55s var(--ease); }
.tabpanel { margin-top: 30px; }
.tabpanel:not([hidden]) { animation: panel-in .6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  padding: 22px 4px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 560; letter-spacing: -.01em; transition: color .25s;
}
.qa__q::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 10px no-repeat;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.qa__q:hover::after { border-color: var(--ink-3); }
.qa__q[aria-expanded="true"]::after { transform: rotate(135deg); background-color: rgba(255, 143, 58, .15); border-color: rgba(255, 143, 58, .4); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 60px 24px 4px; color: var(--ink-2); font-size: 16.5px; max-width: 64ch; opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.qa__a b { color: var(--ink); font-weight: 560; }
.qa__a a, .faq__care a { color: #ffc89c; border-bottom: 1px solid rgba(255, 200, 156, .35); }
.qa__q[aria-expanded="true"] + .qa__a { grid-template-rows: 1fr; }
.qa__q[aria-expanded="true"] + .qa__a p { opacity: 1; transform: none; transition-delay: .08s; }
.faq__care { margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.faq__links { margin-top: 22px; display: flex; gap: 22px; justify-content: center; font-size: 14.5px; }
.faq__links a { color: var(--ink-3); transition: color .2s; }
.faq__links a:hover { color: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { position: relative; padding: 20px 0 calc(40px + env(safe-area-inset-bottom)); overflow: clip; }
.foot__big {
  font-size: clamp(110px, 25vw, 380px); font-weight: 720; letter-spacing: -.07em; line-height: .8; text-align: center;
  background: radial-gradient(40% 90% at var(--fx, 50%) 30%, rgba(255, 170, 100, .5), transparent 70%), linear-gradient(180deg, rgba(255, 236, 220, .2), rgba(255, 255, 255, 0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; margin-bottom: 8px; padding-top: .05em;
}
.foot__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.foot__mail { font-size: 22px; font-weight: 600; letter-spacing: -.02em; transition: color .2s; }
.foot__mail:hover { color: var(--orange-2); }
.foot__col p { margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.foot__nav { display: flex; gap: 56px; }
.foot__nav div { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.foot__nav b { font-weight: 600; margin-bottom: 4px; }
.foot__nav a { color: var(--ink-3); transition: color .2s; }
.foot__nav a:hover { color: var(--ink); }
.foot__legal { margin-top: 36px; font-size: 12px; color: var(--ink-3); opacity: .75; max-width: 90ch; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; translate: -50% 0;
  padding: 12px 20px; border-radius: 999px; background: rgba(28, 22, 18, .9); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 15px; font-weight: 550;
  opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s var(--ease), transform .5s var(--spring); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__stage { order: -1; margin-bottom: -10px; }
  .robot--hero { --size: min(62vw, 340px); }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  .hero__cue { display: none; }
  .app__grid, .app__grid--flip { grid-template-columns: 1fr; }
  .app__grid--flip .app__copy { order: 0; }
  .app__demo { margin-top: 8px; }
  .promises__list { grid-template-columns: 1fr 1fr; }
  .promises__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .promises__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .br-wide { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 10px 12px; }
  .nav__inner { padding: 0 6px 0 10px; height: 52px; }
  .nav__links { display: none; }
  .nav__mail-long { display: none; }
  .nav__mail-short { display: inline; }
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero__copy .eyebrow { margin-bottom: 18px; }
  .chips { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
  .chip { padding-right: 16px; }
  .chip__arrow { margin-left: auto; }
  .apps { padding-left: 12px; padding-right: 12px; }
  .app { padding: 30px 22px 36px; border-radius: 28px; }
  .app__cta .btn { width: 100%; }
  .app__cta { gap: 16px; }
  .promises__list { grid-template-columns: 1fr; }
  .promises__list li, .promises__list li + li { padding: 28px 0 8px; border-left: 0; }
  .promises__list li + li { border-top: 1px solid var(--line); }
  .promises__list li + li::before { left: 0; }
  .mail__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; justify-content: center; padding: 0 12px; }
  .qa__a p { padding-right: 8px; }
  .foot__nav { gap: 40px; }
  .word { padding: 24px; }
}

@media (hover: none) {
  .app::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
