/* ==========================================================================
   Lynnx — marketing components (home, products, product pages, about)
   Requires base.css.
   ========================================================================== */

main { position: relative; display: block; }
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.hairline-top { border-top: 1px solid var(--line); }

.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sec-head--row > div { display: grid; gap: 16px; max-width: 680px; }

/* ---------- backgrounds ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* aceternity spotlight */
.spotlight {
  position: absolute; pointer-events: none; z-index: 0;
  top: -40%; left: -10%; width: 140%; height: 170%;
  opacity: 0; animation: spotlight 2.2s var(--ease-out) 0.4s forwards;
}
@keyframes spotlight {
  from { opacity: 0; transform: translate(-72%, -62%) scale(0.5); }
  to   { opacity: 1; transform: translate(-50%, -40%) scale(1); }
}

/* beams svg */
.beams { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.7;
  -webkit-mask-image: radial-gradient(ellipse 42% 30% at 50% 30%, transparent 30%, #000 85%); mask-image: radial-gradient(ellipse 42% 30% at 50% 30%, transparent 30%, #000 85%); }
.beams path.track { stroke: rgba(255,255,255,0.045); stroke-width: 1; fill: none; }
.beams path.beam { fill: none; stroke-width: 1.4; stroke-linecap: round; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(140px, 18vh, 200px) 0 0;
}
.hero__inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 28px; }
.hero__title { max-width: 980px; }
.hero__lede { max-width: 640px; text-align: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.meta-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
}
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.meta-row span + span::before { content: '/'; color: var(--line-3); margin-right: 12px; }

.announce {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 6px 0 6px; border-radius: var(--r-pill);
  font-size: 13px; color: var(--fg-2); isolation: isolate; overflow: hidden;
  transition: color 250ms var(--ease);
}
.announce::before {
  content: ''; position: absolute; inset: -200%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 280deg, #38bdf8 310deg, #c084fc 345deg, transparent 360deg);
  animation: spin 4s linear infinite;
}
.announce::after { content: ''; position: absolute; inset: 1px; border-radius: inherit; background: #0b0b0c; z-index: -1; box-shadow: inset 0 0 0 1px var(--line); }
.announce:hover { color: var(--fg); }
.announce__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-pill); background: rgba(56,189,248,0.14); color: #7dd3fc;
}
.announce__icon { width: 20px; height: 20px; border-radius: 6px; }
.announce svg { width: 14px; height: 14px; margin-right: 6px; transition: transform 300ms var(--ease); }
.announce:hover svg { transform: translateX(3px); }

/* text generate effect */
.tgen .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(8px); transition: opacity 900ms var(--ease), filter 900ms var(--ease), transform 900ms var(--ease); }
.tgen.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease) forwards; }
.fade-up[data-d="1"] { animation-delay: 0.5s; }
.fade-up[data-d="2"] { animation-delay: 0.7s; }
.fade-up[data-d="3"] { animation-delay: 0.9s; }
.fade-up[data-d="4"] { animation-delay: 1.1s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ==========================================================================
   COVERFLOW
   ========================================================================== */
.cf { overflow-x: clip; position: relative; z-index: 1; margin-top: clamp(48px, 8vw, 88px); user-select: none; -webkit-user-select: none; }
.cf__stage {
  position: relative; height: calc(clamp(240px, 26vw, 320px) * 1.3333 + 40px);
  perspective: 1400px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab;
}
.cf__stage.is-dragging { cursor: grabbing; }
.cf__item {
  --w: clamp(240px, 26vw, 320px);
  position: absolute; left: 50%; top: 0;
  width: var(--w); aspect-ratio: 3 / 4; margin-left: calc(var(--w) / -2);
  transform-style: preserve-3d; will-change: transform, opacity;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease), filter 700ms var(--ease);
  -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(0,0,0,0.16));
}
.cf__stage.is-dragging .cf__item { transition: none; }
.cf__item:not(.is-active) .cover { cursor: pointer; }
.cf__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(129,140,248,0.10), transparent 70%);
  pointer-events: none;
}
.cf__caption { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; text-align: center; margin-top: 56px; min-height: 120px; }
.cf__caption h3 { font-size: 24px; letter-spacing: -0.025em; }
.cf__caption p { color: var(--fg-2); max-width: 520px; }
.cf__caption .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cf__caption [data-cf-swap] { transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.cf__caption.is-swapping [data-cf-swap] { opacity: 0; transform: translateY(6px); }
.cf__controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.cf__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); color: var(--fg); cursor: pointer;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), transform 300ms var(--ease);
}
.cf__arrow:hover { background: rgba(255,255,255,0.08); border-color: var(--line-3); }
.cf__arrow:active { transform: scale(0.94); }
.cf__arrow svg { width: 18px; height: 18px; }
.cf__dots { display: flex; gap: 6px; }
.cf__dots button {
  width: 6px; height: 6px; padding: 0; border-radius: var(--r-pill); border: 0; background: var(--line-3); cursor: pointer;
  transition: width 500ms var(--ease), background-color 300ms var(--ease);
}
.cf__dots button.is-active { width: 22px; background: var(--fg); }

/* ---------- product cover (used in coverflow) ---------- */
.cover {
  --tint: 129, 140, 248;
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--tint), 0.28), transparent 60%),
    linear-gradient(180deg, #121214 0%, #08080a 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(var(--tint), 0.06);
}
.cover__head { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 16px 0; }
.cover__icon { width: 34px; height: 34px; border-radius: 9px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); object-fit: cover; background: #111; }
.cover__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; line-height: 1.1; }
.cover__plat { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 3px; }
.cover__new { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #0a0a0a; background: #7dd3fc; padding: 3px 7px; border-radius: 5px; }
.cover__art { position: relative; flex: 1; min-height: 0; margin-top: 14px; }
.cover__art--phone img {
  position: absolute; left: 50%; top: 4px; width: 66%; transform: translateX(-50%);
  border-radius: 18px; box-shadow: 0 0 0 5px #1b1b1f, 0 0 0 6px rgba(255,255,255,0.12), 0 30px 60px -20px rgba(0,0,0,0.8);
}
.cover__art--mac img {
  position: absolute; left: 14px; top: 18px; width: 150%; max-width: none; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 30px 60px -20px rgba(0,0,0,0.8);
}
.cover__shade { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, #08080a 90%); z-index: 1; pointer-events: none; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative; overflow: hidden; padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--fg-3); white-space: nowrap; letter-spacing: 0.02em; transition: color 250ms var(--ease); }
.marquee__item:hover { color: var(--fg); }
.marquee__item i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SPOTLIGHT CARD + BENTO
   ========================================================================== */
.card {
  --mx: 50%; --my: 50%; --tint: 255, 255, 255;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: border-color 300ms var(--ease), transform 500ms var(--ease);
}
.card::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--tint), 0.10), transparent 60%);
  transition: opacity 400ms var(--ease);
}
.card::after { /* glowing border under cursor */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--tint), 0.55), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 400ms var(--ease);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { border-color: var(--line-2); }
a.card:hover { transform: translateY(-2px); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > .card { min-height: 340px; display: flex; flex-direction: column; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.card__body { position: relative; z-index: 2; display: grid; gap: 8px; padding: 28px; align-content: start; }
.card__top { display: flex; align-items: center; gap: 12px; }
.card__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); object-fit: cover; background: #111; flex: none; }
.card__title { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.card__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.card__desc { font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 46ch; }
.card__go {
  position: absolute; top: 24px; right: 24px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--fg-2);
  transition: transform 500ms var(--ease), color 250ms var(--ease), background-color 250ms var(--ease);
}
.card__go svg { width: 16px; height: 16px; }
.card:hover .card__go { color: var(--fg-inv); background: var(--fg); transform: rotate(-45deg); }
.card:hover .card__go.is-ext { transform: none; }
.card__art { position: relative; flex: 1; min-height: 180px; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3 { grid-column: span 1; }
  .span-4, .span-6 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
}

/* ---------- device frames ---------- */
.phone {
  position: relative; width: 240px; aspect-ratio: 600 / 1304; border-radius: 38px; padding: 7px;
  background: linear-gradient(145deg, #2a2a2e, #0e0e10 40%, #1d1d21);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.06), 0 50px 100px -30px rgba(0,0,0,0.9);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #000; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.phone__screen img:not(.is-on) { opacity: 0; transform: scale(1.03); }
.phone__island { position: absolute; top: 12px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 3; }

.window {
  position: relative; border-radius: 14px; overflow: hidden; background: #0c0c0e;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 50px 100px -30px rgba(0,0,0,0.9);
}
.window__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #161618; border-bottom: 1px solid rgba(255,255,255,0.06); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3e; }
.window__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.window__body { position: relative; }
.window__body img { width: 100%; transition: opacity 900ms var(--ease); }
.window__body img + img { position: absolute; inset: 0; }
.window__body img:not(.is-on) { opacity: 0; }

/* ==========================================================================
   TAGLINE WORD REVEAL
   ========================================================================== */
.say { max-width: 1040px; margin: 0 auto; text-align: center; }
.say p { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; }
.say .w { color: rgba(237,237,237,0.18); transition: color 700ms var(--ease); }
.say .w.is-on { color: var(--fg); }
.say .w.hl.is-on { background: var(--beam); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ==========================================================================
   SERVICES — sticky split + tracing beam
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__sticky { position: sticky; top: 120px; display: grid; gap: 20px; }
.trace { position: relative; padding-left: 40px; }
.trace__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.trace__fill { position: absolute; left: 7px; top: 8px; width: 1px; height: 0; background: linear-gradient(180deg, #38bdf8, #818cf8, #c084fc); box-shadow: 0 0 12px rgba(129,140,248,0.6); }
.trace__item { position: relative; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.trace__item:first-of-type { padding-top: 0; }
.trace__item::before {
  content: ''; position: absolute; left: -37px; top: 34px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-3); transition: background-color 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.trace__item:first-of-type::before { top: 6px; }
.trace__item.is-lit::before { background: #a5b4fc; border-color: #a5b4fc; box-shadow: 0 0 12px #818cf8; }
.trace__item h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 12px; }
.trace__item h3 small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--fg-3); letter-spacing: 0.06em; }
.trace__item p { color: var(--fg-2); max-width: 56ch; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 28px; display: grid; gap: 12px; align-content: start; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.1em; }
.step h3 { font-size: 20px; }
.step p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px; display: grid; gap: 10px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat__n small { font-size: 0.5em; color: var(--fg-2); margin-left: 2px; letter-spacing: -0.02em; }
.stat__l { font-size: 14px; color: var(--fg-2); max-width: 30ch; }
.stat__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   LAMP CTA + FORM
   ========================================================================== */
.lamp { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 14vw, 180px) 0 var(--section); }
.lamp__light { position: absolute; top: 0; left: 50%; width: min(900px, 100%); height: 420px; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.lamp__bar {
  position: absolute; top: 0; left: 50%; height: 2px; width: 30%; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #a5b4fc, #7dd3fc, #a5b4fc, transparent);
  box-shadow: 0 0 24px 2px rgba(129,140,248,0.7);
  transition: width 1.4s var(--ease);
}
.lamp__cone {
  position: absolute; top: 0; left: 50%; width: 30%; height: 100%; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 140deg, rgba(129,140,248,0.22) 165deg, rgba(56,189,248,0.18) 180deg, rgba(129,140,248,0.22) 195deg, transparent 220deg);
  -webkit-mask-image: linear-gradient(#000 0%, transparent 85%); mask-image: linear-gradient(#000 0%, transparent 85%);
  filter: blur(8px); opacity: 0.6;
  transition: width 1.4s var(--ease), opacity 1.4s var(--ease);
}
.lamp.is-in .lamp__bar { width: 62%; }
.lamp.is-in .lamp__cone { width: 90%; opacity: 1; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; text-align: left; }
.contact-card { padding: 32px; display: grid; gap: 16px; align-content: start; }
.contact-card .big { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.03em; font-weight: 500; }
.contact-card .big:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.contact-list li { display: flex; gap: 12px; font-size: 15px; color: var(--fg-2); }
.contact-list li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--fg-3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--fg);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: var(--r-md);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), background-color 250ms var(--ease);
}
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.select option { background: #111; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(129,140,248,0.18); background: rgba(255,255,255,0.05); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #f87171; }
.field__err { font-size: 13px; color: #fca5a5; min-height: 0; }
.form__status { font-size: 14px; color: var(--fg-2); min-height: 20px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE HERO (secondary pages)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(150px, 20vh, 210px) 0 clamp(56px, 8vw, 96px); }
.page-hero__inner { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }
.page-hero--center .page-hero__inner { justify-items: center; text-align: center; }

/* prose (legal + long text) */
.prose { max-width: 720px; color: var(--fg-2); font-size: 16px; line-height: 1.7; }
.prose h2 { color: var(--fg); font-size: 22px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose h3 { color: var(--fg); font-size: 17px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.prose a:hover { text-decoration-color: var(--fg); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--fg); font-weight: 500; }
.prose-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }

/* ==========================================================================
   PRODUCT SCENES — em-based so one scene scales from cover (12px) to
   feature size (16px+). Set font-size on .scene to scale.
   ========================================================================== */
.scene { position: absolute; inset: 0; font-size: 12px; overflow: hidden; }
.scene--lg { font-size: clamp(13px, 1.25vw, 16px); }
.panel {
  background: rgba(18,18,20,0.92); border: 1px solid rgba(255,255,255,0.09); border-radius: 1em;
  box-shadow: 0 2em 4em -2em rgba(0,0,0,0.8);
}
.mono-xs { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* --- Corven: working-paper review --- */
.sc-corven .panel { position: absolute; left: 1.4em; right: 1.4em; top: 0.6em; bottom: -1em; padding: 1.1em; overflow: hidden; }
.sc-corven .doc-row { display: flex; align-items: center; gap: 0.7em; padding: 0.62em 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.95em; color: rgba(255,255,255,0.75); }
.sc-corven .doc-row b { font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-corven .doc-row i { font-style: normal; font-family: var(--mono); font-size: 0.8em; color: rgba(255,255,255,0.4); }
.sc-corven .ln { height: 0.45em; border-radius: 1em; background: rgba(255,255,255,0.10); }
.sc-corven .flag { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.6em; border-radius: 0.4em; white-space: nowrap; }
.sc-corven .flag--warn { color: #fcd34d; background: rgba(252,211,77,0.10); box-shadow: inset 0 0 0 1px rgba(252,211,77,0.25); }
.sc-corven .flag--bad { color: #fca5a5; background: rgba(248,113,113,0.10); box-shadow: inset 0 0 0 1px rgba(248,113,113,0.25); }
.sc-corven .flag--ok { color: #86efac; background: rgba(74,222,128,0.08); box-shadow: inset 0 0 0 1px rgba(74,222,128,0.22); }
.sc-corven .scan {
  position: absolute; left: 0; right: 0; height: 5em; top: -5em;
  background: linear-gradient(180deg, transparent, rgba(52,211,153,0.12) 80%, rgba(52,211,153,0.55) 100%);
  border-bottom: 1px solid rgba(110,231,183,0.8);
  animation: scan 4.8s var(--ease) infinite;
}
@keyframes scan { 0% { top: -5em; } 70%, 100% { top: 105%; } }
.sc-corven .doc-row .flag { animation: flagIn 4.8s var(--ease) infinite both; }
.sc-corven .doc-row:nth-child(3) .flag { animation-delay: 0.5s; }
.sc-corven .doc-row:nth-child(5) .flag { animation-delay: 1.3s; }
.sc-corven .doc-row:nth-child(7) .flag { animation-delay: 2.1s; }
@keyframes flagIn { 0%, 12% { opacity: 0; transform: translateX(0.6em); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* --- Diteen: QR → feedback stream --- */
.sc-diteen .qr { position: absolute; left: 1.4em; top: 0.8em; width: 7.4em; padding: 0.7em; border-radius: 0.9em; background: #f5f5f4; box-shadow: 0 1.5em 3em -1.5em rgba(0,0,0,0.8); }
.sc-diteen .qr svg { width: 100%; height: auto; }
.sc-diteen .qr span { display: block; margin-top: 0.4em; text-align: center; font-family: var(--mono); font-size: 0.62em; letter-spacing: 0.08em; color: #57534e; text-transform: uppercase; }
.sc-diteen .stream { position: absolute; right: 1.2em; left: 9.8em; top: 0.8em; bottom: 0; display: grid; gap: 0.6em; align-content: start; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.sc-diteen .fb { padding: 0.75em 0.85em; border-radius: 0.8em; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: grid; gap: 0.35em; animation: fbIn 9s var(--ease) infinite both; }
.sc-diteen .fb:nth-child(2) { animation-delay: 0.6s; }
.sc-diteen .fb:nth-child(3) { animation-delay: 1.2s; }
.sc-diteen .fb:nth-child(4) { animation-delay: 1.8s; }
@keyframes fbIn { 0% { opacity: 0; transform: translateY(1.2em) scale(0.97); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sc-diteen .stars { color: #fdba74; letter-spacing: 0.1em; font-size: 0.85em; }
.sc-diteen .fb p { font-size: 0.92em; line-height: 1.35; color: rgba(255,255,255,0.8); }
.sc-diteen .fb .tag { justify-self: start; font-family: var(--mono); font-size: 0.66em; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2em 0.5em; border-radius: 0.35em; }
.sc-diteen .tag--follow { color: #fdba74; background: rgba(251,146,60,0.12); }
.sc-diteen .tag--done { color: #86efac; background: rgba(74,222,128,0.1); }

/* --- OpenSight: dot plate with sweeping correction --- */
.sc-opensight { display: grid; place-items: center; }
.plate { position: relative; width: 78%; max-width: 22em; aspect-ratio: 1; }
.plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate .plate__sim { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.plate__divider { position: absolute; top: -4%; bottom: -4%; left: var(--split, 50%); width: 1px; background: rgba(255,255,255,0.85); box-shadow: 0 0 12px rgba(255,255,255,0.6); }
.plate__divider::after { content: ''; position: absolute; top: 50%; left: 50%; width: 1.6em; height: 1.6em; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0.4em 1em rgba(0,0,0,0.5); }
.plate__lbl { position: absolute; bottom: -2.2em; font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.plate__lbl--l { left: 0; } .plate__lbl--r { right: 0; }

/* --- Pilotpod: terminal + phone approval --- */
.sc-pilotpod .term { position: absolute; left: 1.2em; right: 3.5em; top: 0.6em; bottom: 1.2em; padding: 0.9em 1em; font-family: var(--mono); font-size: 0.82em; line-height: 1.75; color: rgba(255,255,255,0.6); overflow: hidden; }
.sc-pilotpod .term .l { white-space: nowrap; opacity: 0; animation: termIn 8s var(--ease) infinite both; }
.sc-pilotpod .term .ok { color: #86efac; } .sc-pilotpod .term .dim { color: rgba(255,255,255,0.35); } .sc-pilotpod .term .hl { color: #93c5fd; }
@keyframes termIn { 0% { opacity: 0; transform: translateX(-0.4em); } 4%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sc-pilotpod .term .l:nth-child(2){animation-delay:.45s}.sc-pilotpod .term .l:nth-child(3){animation-delay:.9s}.sc-pilotpod .term .l:nth-child(4){animation-delay:1.35s}.sc-pilotpod .term .l:nth-child(5){animation-delay:1.8s}.sc-pilotpod .term .l:nth-child(6){animation-delay:2.25s}.sc-pilotpod .term .l:nth-child(7){animation-delay:2.7s}.sc-pilotpod .term .l:nth-child(8){animation-delay:3.15s}.sc-pilotpod .term .l:nth-child(9){animation-delay:3.6s}
.sc-pilotpod .approve {
  position: absolute; right: 1em; bottom: 1.2em; width: 13.5em; padding: 0.95em; border-radius: 1.1em;
  background: rgba(28,28,32,0.92); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2em 4em -1.5em rgba(0,0,0,0.9), 0 0 0 1px rgba(96,165,250,0.15);
  display: grid; gap: 0.6em; animation: approveIn 8s var(--ease) infinite both;
}
@keyframes approveIn { 0%, 42% { opacity: 0; transform: translateY(1.4em) scale(0.96); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(0.6em); } }
.sc-pilotpod .approve__head { display: flex; align-items: center; gap: 0.6em; }
.sc-pilotpod .approve__head img { width: 1.9em; height: 1.9em; border-radius: 0.5em; }
.sc-pilotpod .approve__head b { font-size: 0.95em; font-weight: 600; display: block; }
.sc-pilotpod .approve code { display: block; font-family: var(--mono); font-size: 0.8em; padding: 0.5em 0.6em; border-radius: 0.5em; background: rgba(0,0,0,0.5); color: #fcd34d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-pilotpod .approve__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; }
.sc-pilotpod .approve__btns span { text-align: center; font-size: 0.85em; font-weight: 500; padding: 0.55em 0; border-radius: 0.6em; background: rgba(255,255,255,0.07); }
.sc-pilotpod .approve__btns span:last-child { background: #3b82f6; color: #fff; animation: tap 8s var(--ease) infinite; }
@keyframes tap { 0%, 70% { transform: none; box-shadow: none; } 74% { transform: scale(0.94); box-shadow: 0 0 0 0.4em rgba(59,130,246,0.35); } 80%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(59,130,246,0); } }

/* --- Toolkit: tile wall --- */
.sc-toolkit { display: grid; place-items: center; perspective: 900px; }
.tk-wall { display: grid; grid-template-columns: repeat(3, 5.4em); gap: 0.7em; transform: rotateX(18deg) rotateZ(-8deg); }
.tk-wall > div {
  aspect-ratio: 1; border-radius: 1em; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.85);
  font-family: var(--mono); font-size: 1.05em; font-weight: 500;
  animation: bob 5s var(--ease) infinite alternate;
}
.tk-wall > div:nth-child(2n) { animation-delay: -1.4s; }
.tk-wall > div:nth-child(3n) { animation-delay: -2.6s; }
.tk-wall > div svg { width: 2.2em; height: 2.2em; }
.tk-wall > div.is-hot { background: linear-gradient(180deg, rgba(129,140,248,0.35), rgba(129,140,248,0.08)); border-color: rgba(165,180,252,0.5); }
@keyframes bob { from { transform: translateZ(0); } to { transform: translateZ(1.6em) translateY(-0.3em); } }

/* ---------- home bento specifics ---------- */
.home-chair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 100%; }
.home-chair .card__body { align-content: start; }
.home-chair__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.home-chair__stats b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.home-chair__stats span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.home-chair__phones { position: relative; min-height: 380px; }
.home-chair__phones .phone { position: absolute; width: 188px; transition: transform 800ms var(--ease); }
.home-chair__phones .phone:first-child { right: 150px; top: 36px; transform: rotate(-6deg); z-index: 2; }
.home-chair__phones .phone:last-child { right: 8px; top: 72px; transform: rotate(5deg); }
.card:hover .home-chair__phones .phone:first-child { transform: rotate(-8deg) translateY(-10px); }
.card:hover .home-chair__phones .phone:last-child { transform: rotate(7deg) translateY(-4px); }
.home-window { position: absolute; left: 28px; right: -80px; top: 8px; transition: transform 800ms var(--ease); }
.card:hover .home-window { transform: translate(-8px, -6px); }
.home-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; height: 100%; }
.home-mini .phone { width: 168px; margin: 76px 40px -120px 0; align-self: start; transition: transform 800ms var(--ease); }
.card:hover .home-mini .phone { transform: translateY(-10px); }
@media (max-width: 760px) {
  .home-chair { grid-template-columns: 1fr; }
  .home-chair__phones { min-height: 340px; }
  .home-chair__phones .phone { width: 160px; }
  .home-chair__phones .phone:first-child { right: auto; left: 12%; }
  .home-mini .phone { width: 130px; margin-right: 16px; }
}

/* ==========================================================================
   PRODUCTS PAGE
   ========================================================================== */
/* 3D marquee of screenshots */
.m3d { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.m3d__plane {
  position: absolute; top: 50%; left: 68%; width: 1300px; height: 1300px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start;
  transform: translate(-50%, -50%) rotateX(48deg) rotateZ(-36deg); transform-origin: center; transform-style: preserve-3d;
}
.m3d__col { display: grid; gap: 22px; animation: m3dUp 60s linear infinite; }
.m3d__col:nth-child(even) { animation-name: m3dDown; animation-duration: 70s; }
.m3d__col img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 30px 60px -20px rgba(0,0,0,0.8); }
@keyframes m3dUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes m3dDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.m3d::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(0,0,0,0.94) 46%, rgba(0,0,0,0.3) 72%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.p-hero { min-height: min(92vh, 880px); display: flex; align-items: center; }
.p-hero .page-hero__inner > * { max-width: 640px; }

/* index list */
.pfilter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pfilter button {
  height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent;
  color: var(--fg-2); font-size: 14px; cursor: pointer; transition: all 250ms var(--ease);
}
.pfilter button:hover { color: var(--fg); border-color: var(--line-3); }
.pfilter button[aria-pressed="true"] { background: var(--fg); color: var(--fg-inv); border-color: var(--fg); }
.pfilter button span { font-family: var(--mono); font-size: 11px; opacity: 0.6; margin-left: 6px; }
.plist { list-style: none; border-top: 1px solid var(--line); }
.plist li { border-bottom: 1px solid var(--line); transition: opacity 400ms var(--ease); }
.plist li.is-hidden { display: none; }
.plist a {
  display: grid; grid-template-columns: 48px 44px minmax(0, 1.1fr) minmax(0, 2fr) auto; align-items: center; gap: 20px;
  padding: 20px 8px; position: relative; transition: padding 500ms var(--ease), background-color 300ms var(--ease);
}
.plist a:hover { padding-left: 20px; background: rgba(255,255,255,0.02); }
.plist__n { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.plist__icon { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); background: #111; }
.plist__name { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.plist__tag { color: var(--fg-2); font-size: 15px; }
.plist__plat { display: flex; gap: 6px; }
.plist__arrow { width: 18px; height: 18px; color: var(--fg-3); transition: transform 500ms var(--ease), color 250ms var(--ease); }
.plist a:hover .plist__arrow { color: var(--fg); transform: translateX(4px); }
@media (max-width: 900px) {
  .plist a { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; }
  .plist__n, .plist__plat { display: none; }
  .plist__tag { grid-column: 2 / 3; margin-top: -10px; font-size: 14px; }
  .plist__arrow { grid-row: 1; grid-column: 3; }
}
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 220px; aspect-ratio: 3/4; pointer-events: none;
  border-radius: 16px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 40px 80px -20px rgba(0,0,0,0.9);
  background: #0c0c0e;
}
.hover-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (pointer: coarse) { .hover-preview { display: none; } }

/* chapters */
.chapter { position: relative; padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter:nth-of-type(even) .chapter__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter:nth-of-type(even) .chapter__text { order: 2; }
.chapter__text { display: grid; gap: 20px; align-content: start; }
.chapter__id { display: flex; align-items: center; gap: 14px; }
.chapter__id img, .chapter__id .ico { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); object-fit: cover; background: #111; }
.chapter__id b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.chapter__id span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.chapter__count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.feat { list-style: none; display: grid; gap: 12px; }
.feat li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.feat li svg { width: 18px; height: 18px; margin-top: 2px; color: rgb(var(--tint)); }
.feat li b { color: var(--fg); font-weight: 500; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.chapter__visual {
  --tint: 255,255,255;
  position: relative; height: clamp(440px, 46vw, 600px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 70% at 50% 100%, rgba(var(--tint), 0.16), transparent 70%),
    linear-gradient(180deg, #0d0d0f, #060607);
  border: 1px solid var(--line);
}
.chapter__visual .bg-dots { opacity: 0.6; }
.chapter__glow { position: absolute; left: 50%; bottom: -30%; width: 70%; height: 60%; transform: translateX(-50%); background: rgba(var(--tint), 0.35); filter: blur(90px); border-radius: 50%; z-index: -1; }
.fan { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.fan .phone { position: absolute; bottom: -18%; width: clamp(180px, 18vw, 250px); transition: transform 900ms var(--ease); }
.fan .phone:nth-child(1) { transform: translateX(-62%) rotate(-9deg) translateY(30px); }
.fan .phone:nth-child(2) { z-index: 2; transform: translateY(-6%); }
.fan .phone:nth-child(3) { transform: translateX(62%) rotate(9deg) translateY(30px); }
.chapter__visual:hover .fan .phone:nth-child(1) { transform: translateX(-72%) rotate(-12deg) translateY(10px); }
.chapter__visual:hover .fan .phone:nth-child(3) { transform: translateX(72%) rotate(12deg) translateY(10px); }
.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(20,20,24,0.78); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.9); font-size: 13px; white-space: nowrap;
  animation: floaty 6s var(--ease) infinite alternate;
}
.float-chip b { font-weight: 600; }
.float-chip small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.float-chip .badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: 13px; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.chapter__visual .window { position: absolute; left: 7%; top: 12%; width: 120%; }
.chapter__visual .scene { font-size: clamp(13px, 1.3vw, 17px); }
.plate-ctl { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(320px, 80%); display: grid; gap: 8px; z-index: 3; }
.plate-ctl label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line-2); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.15); cursor: grab; }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; cursor: grab; }
@media (max-width: 900px) {
  .chapter__grid, .chapter:nth-of-type(even) .chapter__grid { grid-template-columns: 1fr; }
  .chapter:nth-of-type(even) .chapter__text { order: 0; }
  .m3d__plane { left: 60%; opacity: 0.5; }
}
@media (max-width: 640px) {
  .meta-row { flex-direction: column; align-items: center; gap: 6px; }
  .meta-row span + span::before { display: none; }
}

/* ==========================================================================
   HERO v2 — split copy + launch card, dot field background
   ========================================================================== */
.dotfield {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 85%);
}
.hero__split { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy .hero__title { max-width: 760px; }
.hero__copy .lede { max-width: 600px; }
.hero__copy .cta-row, .hero__copy .meta-row { justify-content: flex-start; }

.launch {
  position: relative; display: grid; gap: 14px; align-content: start; isolation: isolate; overflow: hidden;
  min-height: 460px; padding: 28px; border-radius: 28px;
  transition: transform 700ms var(--ease);
}
.launch::before {
  content: ''; position: absolute; inset: -150%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 290deg, #7dd3fc 315deg, #a78bfa 340deg, transparent 360deg);
  animation: spin 5s linear infinite;
}
.launch::after {
  content: ''; position: absolute; inset: 1px; z-index: -1; border-radius: 27px;
  background:
    radial-gradient(90% 60% at 80% 100%, rgba(124,92,255,0.40), transparent 70%),
    radial-gradient(70% 50% at 0% 0%, rgba(56,189,248,0.12), transparent 70%),
    linear-gradient(180deg, #120d33 0%, #08071a 100%);
}
.launch:hover { transform: translateY(-4px) rotate(-0.4deg); }
.launch__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.launch__tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #bae6fd; background: rgba(125,211,252,0.12); box-shadow: inset 0 0 0 1px rgba(125,211,252,0.3); }
.launch__plat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.launch__icon { width: 64px; height: 64px; border-radius: 16px; margin-top: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 20px 40px -12px rgba(167,139,250,0.6); }
.launch__name { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, #fff, #c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.launch__desc { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 24ch; }
.launch__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; justify-self: start; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: #000; font-size: 14px; font-weight: 500; }
.launch__cta svg { width: 15px; height: 15px; transition: transform 300ms var(--ease); }
.launch:hover .launch__cta svg { transform: translateX(3px); }
.launch__phone { position: absolute; right: -36px; bottom: -150px; z-index: -1; transform: rotate(-8deg); transition: transform 900ms var(--ease); }
.launch__phone .phone { width: 210px; }
.launch:hover .launch__phone { transform: rotate(-5deg) translateY(-18px); }
.launch__chip { position: absolute; left: 28px; bottom: 28px; padding: 8px 12px; border-radius: 12px; font-size: 13px; color: rgba(255,255,255,0.8); background: rgba(20,16,44,0.7); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: floaty 6s var(--ease) infinite alternate; }
.launch__chip b { color: #c4b5fd; margin-right: 4px; }
@media (max-width: 960px) {
  .hero__split { grid-template-columns: 1fr; }
  .launch { min-height: 380px; }
}
@media (max-width: 640px) {
  .hero__copy .meta-row { align-items: flex-start; }
  .launch__phone .phone { width: 170px; }
  .launch__chip { display: none; }
}
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stats--3 { grid-template-columns: 1fr; } .stats--3 .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }
.p-note { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.p-note .dot { background: var(--fg-3); box-shadow: none; }
.hero__copy .hero__lede { text-align: left; }
.launch > *:not(.launch__phone):not(.launch__chip) { position: relative; z-index: 1; }
.launch__phone { z-index: 0; }
.launch__chip { z-index: 1; }
.hero__copy .meta-row { gap: 8px 22px; }
.hero__copy .meta-row span + span::before { display: none; }
.hero__copy .meta-row span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
.launch__desc { max-width: 19ch; }
.launch__phone { right: -70px; bottom: -205px; }
.launch__phone .phone { width: 190px; }
.hero__copy .meta-row span + span::before { display: inline-block; content: ''; width: 4px; height: 4px; margin-right: 0; border-radius: 50%; background: var(--fg-3); }
@media (max-width: 640px) {
  .launch__desc { max-width: 15ch; }
  .launch__phone { right: -84px; bottom: -235px; }
}
