/* RigMap — coming-soon showcase (2026-10-16). One dark theme on purpose: the 3D scenes are lit for a night stage. */
:root {
  --bg: #04060b;
  --bg2: #070b14;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-b: rgba(255, 255, 255, 0.09);
  --ink: #eef3fb;
  --mute: #9aa6b8;
  --blue: #3d9bff;
  --cyan: #74e6ff;
  --amber: #ffb43c;
  --green: #3ddc84;
  --red: #ff5a5f;
  --grad: linear-gradient(92deg, #57a8ff 0%, #78e8ff 45%, #ffbe55 100%);
  --r: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Sora, Inter, system-ui, sans-serif; letter-spacing: -0.02em; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 600; color: var(--cyan); margin: 0 0 14px; }
.lede { color: var(--mute); font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; margin: 18px 0 0; }

/* ── Top bar ── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.85), rgba(4, 6, 11, 0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px Sora, Inter, sans-serif; }
.brand img { border-radius: 8px; }
.top-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.top-nav a { text-decoration: none; color: var(--mute); transition: color .2s; }
.top-nav a:hover { color: var(--ink); }
.pill-soon, .soon-badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(116, 230, 255, 0.35);
  background: rgba(116, 230, 255, 0.08); color: var(--cyan); border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.pill-soon { font-size: 13px; padding: 6px 12px; }
.pill-soon i, .soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(116, 230, 255, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(116, 230, 255, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(116, 230, 255, 0); } }
/* Accounts (owner 2026-10-16: login / signup / fleet = coming soon) — shown, never clickable */
.acct { display: flex; gap: 6px; }
.acct-item { font-size: 13px; color: rgba(154, 166, 184, .75); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--panel-b); cursor: default; }
@media (max-width: 1080px) { .acct { display: none; } }
@media (max-width: 720px) { .top-nav { display: none; } .pill-soon { margin-left: auto; } }

/* ── Side rail: stays on screen; the glow glides to the section in view, items lean toward the cursor ── */
.rail { position: fixed; right: max(14px, env(safe-area-inset-right)); top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-50%); padding: 10px 8px; border-radius: 18px; background: rgba(6, 10, 20, .55); border: 1px solid var(--panel-b);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .5s; }
.rail.show { opacity: 1; pointer-events: auto; }
.rail a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; height: 30px; padding: 0 10px; border-radius: 11px;
  text-decoration: none; color: var(--mute); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: color .25s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.rail a::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: rgba(154, 166, 184, .5); transition: background .25s, box-shadow .25s; }
.rail a b { font-weight: inherit; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s ease, opacity .25s; }
.rail:hover a b { max-width: 120px; opacity: 1; }
.rail a:hover, .rail a.on { color: var(--ink); }
.rail a.on::after { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.rail-glow { position: absolute; left: 6px; right: 6px; top: 0; height: 30px; border-radius: 11px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(61, 155, 255, .10), rgba(116, 230, 255, .22)); box-shadow: 0 0 18px rgba(116, 230, 255, .18);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 900px) { .rail { display: none; } }
@media (min-width: 901px) { :root { --gutter: max(clamp(16px, 4vw, 48px), 80px); } }   /* keep content clear of the folded rail */

/* Coming-soon chip on every feature (owner: "mention all features … coming soon, don't mention already ready") */
.chip-soon { position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); padding: 4px 8px; border-radius: 999px; background: rgba(116, 230, 255, .08); border: 1px solid rgba(116, 230, 255, .28); }

/* ── Hero ── */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
#hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback {
  z-index: -1;
  background: radial-gradient(60% 50% at 60% 60%, rgba(61, 155, 255, 0.22), transparent 70%),
              radial-gradient(40% 35% at 30% 75%, rgba(255, 180, 60, 0.12), transparent 70%), var(--bg);
}
.hero-loader { position: absolute; left: 50%; top: 55%; width: 54px; height: 54px; margin: -27px 0 0 -27px; transition: opacity .6s; }
.hero-loader span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
.hero-loader.done { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy {
  position: absolute; left: var(--gutter); bottom: clamp(70px, 12vh, 120px); max-width: min(720px, 92vw); z-index: 3;
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both .2s;
}
.hero h1 { font-size: clamp(38px, 4.9vw, 74px); line-height: 1.02; font-weight: 800; }
.hero h1 .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.soon-badge { padding: 11px 18px; font-size: 15px; }
.ghost { text-decoration: none; color: var(--mute); font-size: 15px; padding: 10px 6px; }
.ghost:hover { color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) { .scroll-cue { display: none; } .hero-copy { bottom: 48px; } }

/* 3D spec chips pinned to the truck (positioned by app.js) */
.spec-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.spec {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); opacity: 0; transition: opacity .5s;
  padding: 8px 12px; border-radius: 12px; background: rgba(8, 14, 26, 0.66); border: 1px solid rgba(116, 230, 255, 0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); line-height: 1.15; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.spec b { display: block; font: 700 15px Sora, Inter, sans-serif; }
.spec span { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.spec-ok { border-color: rgba(61, 220, 132, .45); }
.spec-ok b { color: var(--green); }
.spec.on { opacity: 1; }
@media (max-width: 720px) { .spec { padding: 6px 9px; } .spec b { font-size: 13px; } .spec span { font-size: 10px; } }

/* ── Engine (3D map) ── */
.engine { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter) 90px; background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.engine-stage { position: relative; height: min(78vh, 760px); min-height: 440px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, rgba(61, 155, 255, .10), transparent 70%), #050913;
  border: 1px solid var(--panel-b); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
#map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .6s;
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: rgba(6, 10, 20, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tag::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 1px; height: 14px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); }
.tag i { width: 7px; height: 7px; border-radius: 50%; }
.tag.on { opacity: 1; }
@media (max-width: 720px) { .tag-desk { display: none; } .tag { font-size: 11px; padding: 5px 8px; } }
.tag-red i { background: var(--red); box-shadow: 0 0 10px var(--red); }
.tag-blue i { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.tag-green i { background: var(--green); box-shadow: 0 0 10px var(--green); }
.tag-amber i { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.map-note { position: absolute; left: 16px; right: 16px; bottom: 12px; margin: 0; font-size: 11px; color: rgba(154, 166, 184, .75); }
.engine-copy { max-width: 760px; margin: 56px auto 0; text-align: center; }
.engine-copy h2, .section-head h2, .agent-copy h2, .soon h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1.05; font-weight: 800; }
.engine-copy .lede { margin-inline: auto; }
.checks { list-style: none; padding: 0; margin: 30px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; text-align: left; max-width: 760px; }
.checks li { position: relative; padding: 12px 14px 12px 42px; background: var(--panel); border: 1px solid var(--panel-b); border-radius: 12px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: rgba(61, 220, 132, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%233ddc84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 56px auto 0; }
.stat { padding: 22px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--panel-b); text-align: center; }
.stat b { display: block; font: 800 clamp(28px, 3.4vw, 44px) Sora, Inter, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--mute); font-size: 14px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ── Features (3D tilt cards) ── */
.features { padding: 110px var(--gutter); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; perspective: 1200px; }
.card {
  position: relative; padding: 24px 22px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--panel-b); transform-style: preserve-3d; transition: transform .25s ease, border-color .25s, box-shadow .25s; will-change: transform;
}
.card:hover { border-color: rgba(116, 230, 255, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(116, 230, 255, .08) inset; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(116, 230, 255, .14), transparent 60%); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 18px; margin: 16px 0 6px; transform: translateZ(30px); }
.card .chip-soon { transform: translateZ(26px); }
.card p { margin: 0; color: var(--mute); font-size: 15px; transform: translateZ(20px); }
.ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; transform: translateZ(40px); }
.ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue { color: var(--blue); background: rgba(61, 155, 255, .14); box-shadow: 0 0 24px rgba(61, 155, 255, .25); }
.ic-amber { color: var(--amber); background: rgba(255, 180, 60, .14); box-shadow: 0 0 24px rgba(255, 180, 60, .22); }
.ic-green { color: var(--green); background: rgba(61, 220, 132, .14); box-shadow: 0 0 24px rgba(61, 220, 132, .22); }
.ic-red { color: var(--red); background: rgba(255, 90, 95, .14); box-shadow: 0 0 24px rgba(255, 90, 95, .22); }

/* ── Live on your map: border waits, 511 cameras, truck-route overlay ── */
.live { padding: 110px var(--gutter) 30px; }
.live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 980px) { .live-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.live-tile { position: relative; padding: 26px 22px 22px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--panel-b); overflow: hidden; min-width: 0; }
.live-tile h3 { font-size: 20px; margin: 0 0 6px; padding-right: 110px; }
.live-tile > p { margin: 0 0 18px; color: var(--mute); font-size: 15px; }
.tile-note { margin: 10px 0 0; font-size: 11px; color: rgba(154, 166, 184, .7); }
.waits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.waits li { display: grid; grid-template-columns: minmax(0, 1fr) 70px; grid-template-areas: "n m" "b b"; gap: 4px 10px; font-size: 13px; }
.waits span { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.waits b { grid-area: m; text-align: right; font-family: Sora, Inter, sans-serif; }
.waits i { grid-area: b; position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.waits i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--amber));
  transform-origin: left; animation: fillw 2.4s cubic-bezier(.2, .7, .2, 1) both, breathe 3.5s ease-in-out 2.4s infinite; }
.waits li:nth-child(4) i::after { background: linear-gradient(90deg, var(--amber), var(--red)); }
@keyframes fillw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes breathe { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.9); } }
.cams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cam { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #1a2638 0%, #121b29 55%, #0d141f 100%); }
.cam::before { content: ""; position: absolute; left: 34%; right: 34%; bottom: -10%; height: 70%; transform: perspective(60px) rotateX(38deg);
  background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, .35) 8px 12px) center / 2px 100% no-repeat, #232f40;
  animation: lane 1.2s linear infinite; }
.cam::after { content: ""; position: absolute; left: 42%; bottom: 8%; width: 4px; height: 4px; border-radius: 50%; background: #ffd27a;
  box-shadow: 8px 0 0 #ffd27a, 0 0 8px 2px rgba(255, 210, 122, .6); animation: drive 2.6s ease-in infinite; }
.cam:nth-child(2n)::after { animation-delay: -1.1s; } .cam:nth-child(3n)::after { animation-delay: -1.9s; }
@keyframes lane { from { background-position: center 0, 0 0; } to { background-position: center 12px, 0 0; } }
@keyframes drive { from { transform: translate(0, 0) scale(1.4); opacity: 1; } to { transform: translate(6px, -26px) scale(.4); opacity: 0; } }
.cam em { position: absolute; top: 5px; left: 5px; font: 700 8.5px Inter, sans-serif; font-style: normal; letter-spacing: .08em; color: #fff;
  background: var(--red); padding: 1px 4px; border-radius: 3px; animation: blink 1.6s infinite; }
.cam span { position: absolute; left: 5px; bottom: 4px; font-size: 9.5px; font-weight: 600; color: rgba(238, 243, 251, .85); }
.overlay-map { width: 100%; height: auto; display: block; border-radius: 12px; background: #070c16; border: 1px solid rgba(255, 255, 255, .07); }
.om-roads path { stroke: rgba(154, 166, 184, .18); stroke-width: 2; fill: none; }
.om-ban { stroke: var(--red); stroke-width: 3; fill: none; stroke-dasharray: 6 5; animation: march 1.2s linear infinite; }
.om-truck { stroke: var(--blue); stroke-width: 4; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(61, 155, 255, .8));
  stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 3.2s cubic-bezier(.4, .1, .2, 1) forwards; }
.om-truck2 { animation-delay: .8s; opacity: .7; }
.om-rig { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes march { to { stroke-dashoffset: -22; } }
.legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--mute); }
.legend span::before { content: ""; display: inline-block; width: 16px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.lg-blue::before { background: var(--blue); } .lg-red::before { background: var(--red); }

/* ── Agent (3D phone) ── */
.agent { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 110px var(--gutter); }
.agent-copy .lede { max-width: 46ch; }
.phone-wrap { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 600px; }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #1c2533, #0b0f17);
  box-shadow: 0 0 0 2px #2a3446, 0 50px 100px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(1deg); transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite; z-index: 1;
}
@keyframes floaty { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg) translateY(0); } 50% { transform: rotateY(-12deg) rotateX(5deg) translateY(-14px); } }
.phone-notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 70% at 50% 0%, #1b2a44, #0a0f1a 60%); }
.chat-head { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 58px 0 12px; font: 600 14px Inter, sans-serif; color: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; overflow: hidden; }
.bub { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 13px; line-height: 1.4; animation: pop .35s cubic-bezier(.2, .8, .2, 1.2) both; }
.bub.me { align-self: flex-end; background: linear-gradient(135deg, #2f7fff, #4fb0ff); color: #fff; border-bottom-right-radius: 5px; }
.bub.ai { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-bottom-left-radius: 5px; }
.bub.typing { display: inline-flex; gap: 4px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-mic { display: flex; justify-content: center; align-items: center; gap: 4px; height: 70px; }
.chat-mic span { width: 4px; border-radius: 2px; background: var(--cyan); animation: wave 1.1s ease-in-out infinite; }
.chat-mic span:nth-child(1) { height: 12px; } .chat-mic span:nth-child(2) { height: 22px; animation-delay: .1s; } .chat-mic span:nth-child(3) { height: 32px; animation-delay: .2s; }
.chat-mic span:nth-child(4) { height: 22px; animation-delay: .3s; } .chat-mic span:nth-child(5) { height: 12px; animation-delay: .4s; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.phone-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 155, 255, .35), transparent); filter: blur(10px); }
.demo-note { position: absolute; right: var(--gutter); bottom: 70px; margin: 0; font-size: 11px; color: rgba(154, 166, 184, .7); }
@media (max-width: 900px) { .agent { grid-template-columns: 1fr; text-align: center; } .agent-copy .lede { margin-inline: auto; } .demo-note { position: static; text-align: center; } }
@media (max-width: 380px) { .phone { width: 250px; height: 520px; } .phone-wrap { min-height: 540px; } }

/* ── Screens ring (CSS 3D carousel) ── */
.screens { padding: 100px var(--gutter) 120px; overflow: hidden; }
.ring-stage { position: relative; height: 560px; perspective: 1600px; }
.ring { position: absolute; left: 50%; top: 20px; width: 240px; height: 480px; margin-left: -120px; transform-style: preserve-3d; animation: turn 34s linear infinite; }
.shot { position: absolute; inset: 0; margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #0a0f1a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(4, 6, 11, .75); }
.shot:nth-child(1) { transform: rotateY(0deg) translateZ(var(--rz, 330px)); }
.shot:nth-child(2) { transform: rotateY(90deg) translateZ(var(--rz, 330px)); }
.shot:nth-child(3) { transform: rotateY(180deg) translateZ(var(--rz, 330px)); }
.shot:nth-child(4) { transform: rotateY(270deg) translateZ(var(--rz, 330px)); }
@keyframes turn { from { transform: rotateX(-6deg) rotateY(0deg); } to { transform: rotateX(-6deg) rotateY(-360deg); } }
.ring-stage:hover .ring { animation-play-state: paused; }
@media (max-width: 720px) { .ring-stage { height: 470px; } .ring { width: 190px; height: 380px; margin-left: -95px; } .shot { --rz: 230px; } }

/* ── Tested · checked · private ── */
.trust { padding: 100px var(--gutter) 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.trust-item { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--panel-b); min-width: 0; }
.trust-item b { display: block; font: 800 34px Sora, Inter, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item h3 { font-size: 19px; margin: 8px 0 6px; }
.trust-item p { margin: 0; color: var(--mute); font-size: 15px; }
.trust-item a { color: var(--cyan); }

/* ── Coming soon ── */
.soon { position: relative; text-align: center; padding: 150px var(--gutter) 160px; overflow: hidden; }
.soon .lede { margin-inline: auto; }
.acct-soon { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.acct-soon span { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 132px; padding: 12px 18px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--panel-b); font-weight: 600; }
.acct-soon small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.soon-orb { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, rgba(61, 155, 255, .0), rgba(61, 155, 255, .25), rgba(116, 230, 255, .1), rgba(255, 180, 60, .22), rgba(61, 155, 255, .0));
  filter: blur(60px); animation: spin 22s linear infinite; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--panel-b); padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom)); }
.foot-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
.foot nav a { color: var(--mute); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.fine { color: rgba(154, 166, 184, .7); font-size: 12px; margin: 14px 0 0; }

/* ── Scroll reveal: bottom-up by default, from-l / from-r slide in from the sides, --d staggers a row ── */
.js .reveal { opacity: 0; transform: translateY(40px) rotateX(8deg); transition: opacity .9s ease var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.from-l { transform: translateX(-70px) rotateY(10deg); }
.js .reveal.from-r { transform: translateX(70px) rotateY(-10deg); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
