/* AI Agent page (/ai-assistant/) — Roadcast site theme: near-black teal, teal #23BBAD / #3BEEE2, Roboto.
   Blob gradient comes from the Figma "orb-core" (#6B96F1 → #16C5BC). */

:root {
  --aa-bg: #000;
  --aa-bg-2: #050505;
  --aa-card: rgba(255, 255, 255, .035);
  --aa-card-2: rgba(255, 255, 255, .06);
  --aa-line: rgba(125, 229, 220, .14);
  --aa-line-2: rgba(255, 255, 255, .08);
  --aa-text: #F4FBFA;
  --aa-muted: #9AB1AE;
  --aa-teal: #23BBAD;
  --aa-teal-d: #198A81;
  --aa-cyan: #3BEEE2;
  --aa-mint: #7DE5DC;
  --aa-blue: #6B96F1;
  --aa-violet: #8B7CF6;
  --aa-warn: #F7A200;
  --aa-hot: #FF5A5A;
  --aa-radius: 22px;
  --aa-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.aa-body { background: var(--aa-bg); }

/* main.css sets `* { transition: all .3s !important }`, which fights GSAP on every frame. Turn it off on this page. */
.aa-page, .aa-page * { transition: none !important; }

.aa-page {
  position: relative;
  background: var(--aa-bg);
  color: var(--aa-text);
  font-family: "Roboto", sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.aa-page h1, .aa-page h2, .aa-page h3, .aa-page p { margin: 0; }
.aa-page ul, .aa-page ol { list-style: none; margin: 0; padding: 0; }

.aa-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.aa-section { position: relative; padding: 140px 0; }

/* ---------- type ---------- */
.aa-grad-text {
  background: linear-gradient(100deg, var(--aa-cyan) 0%, var(--aa-teal) 35%, var(--aa-blue) 75%, var(--aa-violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.aa-eyebrow { color: var(--aa-mint); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px !important; }
.aa-h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.aa-h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin: 6px 0 8px !important; }
.aa-lead { color: var(--aa-muted); font-size: 18px; line-height: 1.6; max-width: 620px; }
.aa-muted { color: var(--aa-muted); font-size: 15px; line-height: 1.6; }
.aa-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 64px; }
.aa-head .aa-lead { margin-top: 20px; }
.aa-display { font-size: clamp(38px, 5.6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }

/* ---------- buttons & small bits ---------- */
.aa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap; color: #fff;
}
.aa-page .aa-btn { transition: transform .35s var(--aa-ease), box-shadow .35s var(--aa-ease), background-color .35s !important; }
.aa-btn:hover { transform: translateY(-2px); }
.aa-btn:focus-visible { outline: 2px solid var(--aa-cyan); outline-offset: 3px; }
.aa-btn--primary {
  background: linear-gradient(180deg, #2FD3C4 0%, #14A99C 55%, #0E7F76 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -12px rgba(35, 187, 173, .55);
  color: #001615;
}
.aa-btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(59, 238, 226, .6), 0 16px 50px -8px rgba(35, 187, 173, .9); }
.aa-btn--ghost { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.aa-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.aa-btn--light { background: #fff; color: #031413; }
.aa-btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }

.aa-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 14px; color: #DDEDEB;
}
.aa-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aa-cyan); box-shadow: 0 0 12px var(--aa-cyan); }
.aa-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 10px; background: var(--aa-card-2); box-shadow: inset 0 0 0 1px var(--aa-line-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px !important; }
.aa-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.aa-dot--teal { background: var(--aa-teal); box-shadow: 0 0 10px var(--aa-teal); }
.aa-dot--blue { background: var(--aa-blue); box-shadow: 0 0 10px var(--aa-blue); }
.aa-dot--warn { background: var(--aa-warn); }
.aa-dot--hot { background: var(--aa-hot); box-shadow: 0 0 10px var(--aa-hot); }
.aa-badge { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(247, 162, 0, .14); color: #FFC75A; font-weight: 500; margin-left: 8px; vertical-align: middle; }

.aa-card {
  position: relative; border-radius: var(--aa-radius);
  background: rgba(255, 255, 255, .022);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

/* ---------- the orb (Figma orb-core, made glossy) ---------- */
.aa-orb {
  position: relative; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 30% 28%, #9FE9F3 0%, #4FC9D9 22%, #16C5BC 45%, #6B96F1 78%, #7C6EF0 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 0 40px rgba(35, 187, 173, .55), 0 0 110px rgba(107, 150, 241, .35);
}
.aa-orb__swirl {
  position: absolute; inset: -30%;
  background: radial-gradient(circle at 30% 70%, rgba(139, 124, 246, .55), rgba(139, 124, 246, 0) 42%), radial-gradient(circle at 72% 32%, rgba(59, 238, 226, .6), rgba(59, 238, 226, 0) 42%);
  animation: aa-spin 9s linear infinite;
}
.aa-orb__gloss { position: absolute; left: 14%; top: 10%; width: 38%; height: 30%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); filter: blur(2px); }
.aa-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 -10px 24px rgba(10, 30, 80, .35), inset 0 8px 16px rgba(255, 255, 255, .25); }
.aa-orb__face { position: absolute; inset: 22%; width: 56%; height: 56%; z-index: 2; filter: drop-shadow(0 2px 6px rgba(0, 40, 60, .35)); }
.aa-eyes { transform-box: fill-box; transform-origin: center; animation: aa-blink 4.2s infinite; }
@keyframes aa-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes aa-spin { to { transform: rotate(360deg); } }

.aa-mini-orb {
  display: inline-block; flex: none; width: 26px; height: 26px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 30% 28%, #9FE9F3, #16C5BC 45%, #6B96F1 85%);
  box-shadow: 0 0 14px rgba(35, 187, 173, .55);
}
.aa-mini-orb::before { content: ""; position: absolute; inset: 20%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='30 30 36 36'%3E%3Cpath fill='%23fff' d='M57.18 34.98h-7.52v-2.25a.88.88 0 0 0-.87-.88h-1.38a.88.88 0 0 0-.87.88v2.25h-7.52a5.92 5.92 0 0 0-5.92 5.91v3.53a14.62 14.62 0 0 0 14.62 14.62h1.07a.88.88 0 0 0 .87-.88v-1.37a.88.88 0 0 0-.87-.88h-1.07a11.5 11.5 0 0 1-11.5-11.5v-3.52a2.79 2.79 0 0 1 2.79-2.79h18.17a2.79 2.79 0 0 1 2.79 2.79v3.77c0 .86-.11 1.71-.31 2.54a.86.86 0 0 0 .57 1.05l1.31.42a.88.88 0 0 0 1.12-.61c.28-1.11.43-2.26.43-3.4v-3.77a5.92 5.92 0 0 0-5.92-5.91z'/%3E%3Ccircle cx='43.1' cy='45.6' r='2.5' fill='%23fff'/%3E%3Ccircle cx='53.1' cy='45.6' r='2.5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ═════════ Intro scene ═════════ */
.aa-intro { position: relative; height: 100vh; height: 100svh; }
.aa-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; isolation: isolate; }

.aa-hero-bg { position: absolute; inset: 0; z-index: 0; }
.aa-stars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* colour lives near the horizon and fades out before the nav */
.aa-aurora { position: absolute; inset: -10% -5% 0; }
.aa-aurora::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 75%; background: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0, 0, 0, .6) 48%, rgba(0, 0, 0, 0) 100%); }
.aa-pillar {
  position: absolute; bottom: 8%; width: 13vw; height: 95%; border-radius: 50%;
  filter: blur(38px); opacity: .55; transform-origin: 50% 100%;
  animation: aa-sway 9s ease-in-out infinite alternate;
}
.aa-pillar--1 { left: 2%;  width: 9vw;  background: linear-gradient(to top, rgba(139, 124, 246, .9), rgba(139, 124, 246, 0)); animation-duration: 11s; }
.aa-pillar--2 { left: 14%; width: 11vw; background: linear-gradient(to top, rgba(107, 150, 241, .85), rgba(107, 150, 241, 0)); animation-delay: -3s; }
.aa-pillar--3 { left: 30%; width: 8vw;  background: linear-gradient(to top, rgba(35, 187, 173, .95), rgba(35, 187, 173, 0)); animation-duration: 8s; animation-delay: -5s; }
.aa-pillar--4 { left: 44%; width: 12vw; background: linear-gradient(to top, rgba(59, 238, 226, 1), rgba(35, 187, 173, .25) 55%, rgba(35, 187, 173, 0)); opacity: .75; animation-duration: 10s; }
.aa-pillar--5 { left: 60%; width: 9vw;  background: linear-gradient(to top, rgba(22, 197, 188, .9), rgba(22, 197, 188, 0)); animation-delay: -6s; }
.aa-pillar--6 { left: 73%; width: 12vw; background: linear-gradient(to top, rgba(107, 150, 241, .9), rgba(107, 150, 241, 0)); animation-duration: 12s; animation-delay: -2s; }
.aa-pillar--7 { left: 88%; width: 10vw; background: linear-gradient(to top, rgba(139, 124, 246, .85), rgba(139, 124, 246, 0)); animation-duration: 9s; animation-delay: -7s; }
@keyframes aa-sway {
  0% { transform: translateX(-2vw) scaleY(.85) skewX(-4deg); opacity: .35; }
  50% { opacity: .7; }
  100% { transform: translateX(2vw) scaleY(1.05) skewX(4deg); opacity: .5; }
}

.aa-horizon { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; }
.aa-planet {
  position: absolute; left: -95vw; top: -28vh; width: 190vw; height: 190vw; border-radius: 50%;
  will-change: transform; /* moved, never resized: keep its big glow rasterised once */
  background: radial-gradient(circle at 50% 0%, #031413 0%, #000 40%);
  box-shadow:
    0 -2px 0 0 rgba(200, 255, 250, .9),
    0 -10px 30px 0 rgba(59, 238, 226, .8),
    0 -40px 90px 10px rgba(35, 187, 173, .55),
    0 -90px 200px 40px rgba(107, 150, 241, .35),
    0 -160px 300px 80px rgba(139, 124, 246, .18);
}
.aa-grain {
  display: none;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aa-hero {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 24px 40px; gap: 26px;
}
.aa-hero__title { font-size: clamp(34px, 5.2vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; max-width: 1080px; text-shadow: 0 4px 40px rgba(0, 0, 0, .45); }
.aa-hero__title .aa-grad-text { font-style: italic; font-weight: 300; padding-right: .08em; }
.aa-hero__sub { color: #C9DAD8; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; max-width: 620px; }
.aa-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.aa-blob-home { width: 112px; height: 112px; flex: none; margin-top: 6px; }
.aa-scroll-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }

.aa-mover { position: absolute; left: 0; top: 0; z-index: 6; width: 112px; height: 112px; margin: -56px 0 0 -56px; pointer-events: none; will-change: transform; }
.aa-mover .aa-orb { animation: aa-bob 5s ease-in-out infinite; }
@keyframes aa-bob { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
.aa-star { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 6px 2px #fff, 0 0 18px 6px rgba(59, 238, 226, .9), 0 0 50px 16px rgba(35, 187, 173, .45); }
.aa-star__tail { position: absolute; right: 50%; top: 50%; width: 160px; height: 2px; margin-top: -1px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(59, 238, 226, 0), rgba(200, 255, 250, .9)); border-radius: 2px; transform: scaleX(0); }

.aa-rings { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; }
/* centring uses `translate` so GSAP can own `transform` (scale) */
.aa-rings span { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; opacity: 0;
  border: 1px solid rgba(255, 255, 255, .08); }
.aa-rings span:nth-child(1) { width: 16vmax; height: 16vmax; border-color: rgba(255, 255, 255, .16); }
.aa-rings span:nth-child(2) { width: 30vmax; height: 30vmax; }
.aa-rings span:nth-child(3) { width: 46vmax; height: 46vmax; }
.aa-rings span:nth-child(4) { width: 64vmax; height: 64vmax; }
.aa-rings span:nth-child(5) { width: 84vmax; height: 84vmax; }
.aa-rings span:nth-child(6) { width: 108vmax; height: 108vmax; }
.aa-rings span:nth-child(7) { width: 136vmax; height: 136vmax; border-color: rgba(255, 255, 255, .04); }

.aa-halo { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; gap: 22px; pointer-events: none; }
.aa-halo__title { font-size: clamp(32px, 5.4vw, 76px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; max-width: 1100px; }
.aa-w { display: inline-block; opacity: 0; }
.aa-w--glow { color: #fff; text-shadow: 0 0 30px rgba(59, 238, 226, .6); }
.aa-halo__dot { display: inline-block; width: .22em; height: .22em; margin-left: .08em; vertical-align: baseline; }
.aa-halo__sub { color: var(--aa-muted); font-size: clamp(16px, 1.4vw, 19px); opacity: 0; }

.aa-warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* ask: prompt + sample questions on the left, the agent's window on the right, all on this one screen.
   The layer spans the stage, so it lets clicks through except on its own (visible) controls. */
.aa-ask { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 7fr); align-content: center; align-items: start; gap: 60px 44px; width: min(1200px, 100%); margin: 0 auto; padding: 84px 24px 28px; pointer-events: none; }
.aa-ask > * { pointer-events: auto; }
.aa-ask__left { display: flex; flex-direction: column; }
.aa-ask__title { grid-column: 1 / -1; text-align: center; font-size: clamp(30px, 3.4vw, 50px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; opacity: 0; }
.aa-prompt {
  position: relative; display: flex; align-items: center; gap: 14px; width: min(760px, 100%); min-height: 70px; padding: 12px 12px 12px 14px; border-radius: 20px; text-align: left;
  background: rgba(6, 22, 21, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px -30px rgba(35, 187, 173, .25);
  opacity: 0;
}
.aa-prompt::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: linear-gradient(110deg, rgba(59, 238, 226, .8), rgba(107, 150, 241, .3) 40%, rgba(139, 124, 246, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.aa-prompt__icon { width: 40px; height: 40px; flex: none; }
.aa-prompt__text { flex: 1; font-size: clamp(14px, 1.4vw, 17px); color: #E8F5F3; line-height: 1.45; min-height: 1.45em; }
.aa-typebox { display: grid; }
.aa-typebox > * { grid-area: 1 / 1; }
.aa-ghost { visibility: hidden; }
.aa-prompt__send { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #001615; background: linear-gradient(180deg, #3BEEE2, #14A99C); }
.aa-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--aa-cyan); animation: aa-caret 1s steps(1) infinite; }
@keyframes aa-caret { 50% { opacity: 0; } }

.aa-answer__meta { font-size: 12px; color: var(--aa-muted); margin-bottom: 6px !important; }
.aa-answer__meta span { color: var(--aa-mint); font-weight: 500; }
.aa-chip-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; color: #CFF7F2; background: rgba(35, 187, 173, .12); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .3); }
.aa-chip-action .aa-mini-orb { width: 20px; height: 20px; }
.aa-chip-action--sm { padding: 6px 12px; }

/* ═════════ 7 · steps ═════════ */
.aa-steps { background: radial-gradient(55% 45% at 50% 80%, rgba(35, 187, 173, .08), rgba(0, 0, 0, 0) 70%); }
.aa-wire { display: none; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 80%); }
.aa-steps__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* dashed links only in the gaps between the step panels (placed by JS); a sparkle runs 1 → 2 → 3 */
.aa-steps__link { position: absolute; left: 0; top: 0; height: 0; border-top: 1px dashed rgba(125, 229, 220, .35); z-index: 3; pointer-events: none; }
.aa-page .aa-step__visual { transition: box-shadow .6s ease !important; }
.aa-step__visual.is-lit { box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .55), 0 0 34px -8px rgba(59, 238, 226, .45); }
.aa-steps__comet { position: absolute; top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; z-index: 4; pointer-events: none;
  box-shadow: 0 0 8px 2px #fff, 0 0 22px 6px rgba(59, 238, 226, .8); opacity: 0; }
.aa-step { padding: 22px; z-index: 2; }
.aa-step__visual { height: 196px; border-radius: 16px; background: rgba(255, 255, 255, .015); box-shadow: inset 0 0 0 1px var(--aa-line-2); margin-bottom: 22px; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: hidden; }
.aa-step__num { color: var(--aa-mint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.aa-mock-input { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; min-height: 68px; line-height: 1.45; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; min-height: 48px; }
.aa-mock-hints { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-mock-hints span { font-size: 12px; color: var(--aa-muted); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--aa-line-2); }
.aa-plan li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--aa-muted); padding: 6px 0; opacity: .35; }
.aa-plan li i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(125, 229, 220, .4); position: relative; flex: none; }
.aa-page .aa-plan li { transition: opacity .4s ease, color .4s ease !important; }
.aa-plan li.is-done { opacity: 1; color: #E3F3F1; }
.aa-plan li.is-done i { background: var(--aa-teal); box-shadow: none; }
.aa-plan li.is-done i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #001615; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.aa-plan li.is-busy { opacity: 1; color: #fff; }
.aa-plan li.is-busy i { box-shadow: inset 0 0 0 2px rgba(125, 229, 220, .25); border-top: 2px solid var(--aa-cyan); animation: aa-spin .8s linear infinite; }
.aa-result { font-size: 14px; line-height: 1.55; color: #DCEBE9; }
.aa-result b { color: #fff; font-weight: 500; }

/* ═════════ 8 · agents ═════════ */
.aa-agents__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 60px; }
.aa-agents__lead { max-width: 440px; padding-top: 70px; }
/* five cards: 3 on top, 2 wider below */
.aa-agents__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.aa-agent { grid-column: span 2; }
.aa-agent:nth-child(n+4) { grid-column: span 3; }

.aa-art-call .aa-ring { position: absolute; left: 50%; top: 44%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); animation: aa-ping 2.6s ease-out infinite; }
.aa-art-call .aa-ring:nth-child(2) { animation-delay: .85s; }
.aa-art-call .aa-ring:nth-child(3) { animation-delay: 1.7s; }
.aa-phone { position: absolute; left: 50%; top: 44%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(180deg, #E8FFFC, #9FE9F3); box-shadow: 0 0 40px rgba(59, 238, 226, .35); animation: aa-buzz 2.6s ease-in-out infinite; }
@keyframes aa-buzz { 0%, 60%, 100% { rotate: 0deg; } 64% { rotate: -10deg; } 68% { rotate: 10deg; } 72% { rotate: -8deg; } 76% { rotate: 0deg; } }
.aa-art-call__wave { position: absolute; left: 50%; bottom: 28px; width: 120px; margin-left: -60px; height: 26px; display: flex; align-items: center; gap: 4px; z-index: 2; }
.aa-art-call__wave i { flex: 1; height: 30%; border-radius: 2px; background: rgba(200, 255, 250, .7); animation: aa-wave 1s ease-in-out infinite; }
.aa-art-call__wave i:nth-child(2n) { animation-delay: -.4s; } .aa-art-call__wave i:nth-child(3n) { animation-delay: -.7s; animation-duration: 1.3s; }
.aa-agent { padding: 16px 16px 26px; }
.aa-agent .aa-h3 { margin-top: 22px !important; padding: 0 6px; }
.aa-agent .aa-muted { padding: 0 6px; font-size: 14.5px; }
.aa-agent__art { position: relative; isolation: isolate; height: 230px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 30%, rgba(35, 187, 173, .07), rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, #0B0D0D, #030404);
  box-shadow: inset 0 0 0 1px var(--aa-line-2); }
.aa-agent__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(3, 4, 4, .8)); pointer-events: none; }
.aa-beam { position: absolute; left: 50%; top: -20%; width: 110px; height: 90%; transform: translateX(-50%);
  background: radial-gradient(ellipse 24% 100% at 50% 100%, rgba(220, 255, 252, .95), rgba(59, 238, 226, .35) 45%, rgba(59, 238, 226, 0) 80%); animation: aa-beam 3.6s ease-in-out infinite; }
@keyframes aa-beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.aa-art-report .aa-doc { position: absolute; left: 50%; bottom: 34px; width: 132px; height: 96px; margin-left: -66px; border-radius: 10px;
  background: linear-gradient(180deg, #1E2F2D, #0D1817); box-shadow: inset 0 0 0 1px rgba(125, 229, 220, .25), 0 20px 30px -10px #000; }
.aa-doc--3 { transform: translate(18px, -26px) rotate(6deg); opacity: .5; }
.aa-doc--2 { transform: translate(-14px, -14px) rotate(-5deg); opacity: .75; }
.aa-doc--1 { padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.aa-doc--1 i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.aa-doc--1 i:nth-child(2) { width: 70%; } .aa-doc--1 i:nth-child(3) { width: 85%; }
.aa-doc--1 b { display: block; height: 18px; border-radius: 4px; background: linear-gradient(90deg, rgba(59, 238, 226, .5), rgba(107, 150, 241, .3)); }
.aa-art-report .aa-scan { position: absolute; left: 50%; top: 96px; width: 160px; margin-left: -80px; height: 2px; background: var(--aa-cyan); box-shadow: 0 0 14px 3px rgba(59, 238, 226, .7); animation: aa-scan 2.8s ease-in-out infinite; z-index: 2; }
@keyframes aa-scan { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: 0 100px; opacity: 0; } }

/* the map is drawn flat and tilted as one plane, so everything on it shares the same perspective */
.aa-art-live .aa-map3d { position: absolute; left: 50%; top: 58%; width: 480px; height: 330px; margin: -165px 0 0 -240px; transform: perspective(620px) rotateX(56deg) rotateZ(-24deg); overflow: visible; }
.aa-route { animation: aa-dash 1.6s linear infinite; }
@keyframes aa-dash { to { stroke-dashoffset: -22; } }
.aa-pin { position: absolute; left: 70%; top: 34%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(59, 238, 226, .12), 0 0 0 18px rgba(59, 238, 226, .06), 0 0 30px rgba(59, 238, 226, .6); z-index: 2; }
.aa-pin span { width: 10px; height: 10px; border-radius: 50%; background: #0E7F76; }
.aa-art-live .aa-pin { z-index: 2; }
.aa-art-live .aa-pin::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; margin-left: -1px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.aa-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(59, 238, 226, .7); animation: aa-ping 2s ease-out infinite; }
@keyframes aa-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* flat, front-facing widget board; one loop: tiles assemble, bars grow, line draws, donut fills */
.aa-iso { position: absolute; left: 50%; top: 50%; width: 236px; height: 156px; transform: translate(-50%, -50%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aa-tile { border-radius: 10px; background: linear-gradient(160deg, #1D3533, #0B1514); box-shadow: inset 0 0 0 1px rgba(125, 229, 220, .3), 0 14px 26px -14px rgba(0, 0, 0, .9); padding: 10px; position: relative; animation: aa-rise 4s var(--aa-ease) infinite; }
.aa-tile:nth-child(2) { animation-delay: .2s; } .aa-tile:nth-child(3) { animation-delay: .4s; } .aa-tile:nth-child(4) { animation-delay: .6s; }
@keyframes aa-rise { 0% { opacity: 0; translate: 0 12px; scale: .96; } 12%, 86% { opacity: 1; translate: 0 0; scale: 1; } 100% { opacity: 0; translate: 0 -6px; scale: 1; } }
.aa-tile { animation-duration: 5s !important; }
.aa-tile--bars i { transform-origin: 50% 100%; animation: aa-bar 5s var(--aa-ease) infinite .3s; }
.aa-tile--bars i:nth-child(2) { animation-delay: .38s; } .aa-tile--bars i:nth-child(3) { animation-delay: .46s; } .aa-tile--bars i:nth-child(4) { animation-delay: .54s; } .aa-tile--bars i:nth-child(5) { animation-delay: .62s; }
@keyframes aa-bar { 0%, 6% { scale: 1 .15; } 24%, 100% { scale: 1 1; } }
.aa-tile--line path { stroke-dasharray: 100; animation: aa-draw 5s ease-out infinite .6s; }
@keyframes aa-draw { 0%, 8% { stroke-dashoffset: 100; } 34%, 100% { stroke-dashoffset: 0; } }
.aa-tile--donut::before { animation: aa-donut 5s ease-out infinite .4s; }
@keyframes aa-donut { 0%, 8% { rotate: -90deg; opacity: .3; } 30%, 100% { rotate: 0deg; opacity: 1; } }
.aa-tile--kpi i { transform-origin: 0 50%; animation: aa-kpi 5s ease-out infinite .2s; }
@keyframes aa-kpi { 0%, 6% { scale: .1 1; } 26%, 100% { scale: 1 1; } }
.aa-tile--kpi b { font-size: 20px; color: #fff; font-weight: 500; }
.aa-tile--kpi i { display: block; margin-top: 6px; height: 4px; width: 60%; border-radius: 2px; background: var(--aa-cyan); }
.aa-tile--bars { display: flex; align-items: flex-end; gap: 4px; }
.aa-tile--bars i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--aa-cyan), var(--aa-teal-d)); }
.aa-tile--bars i:nth-child(1) { height: 40%; } .aa-tile--bars i:nth-child(2) { height: 70%; } .aa-tile--bars i:nth-child(3) { height: 55%; } .aa-tile--bars i:nth-child(4) { height: 90%; } .aa-tile--bars i:nth-child(5) { height: 65%; }
.aa-tile--donut::before { content: ""; position: absolute; inset: 14px; margin: auto; aspect-ratio: 1; height: calc(100% - 28px); border-radius: 50%; background: conic-gradient(var(--aa-cyan) 0 62%, var(--aa-blue) 62% 84%, rgba(255, 255, 255, .15) 84%); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); mask: radial-gradient(circle, transparent 46%, #000 48%); }
.aa-tile--line svg { width: 100%; height: 100%; }
.aa-beam--diag { left: 78%; top: -30%; transform: rotate(28deg); width: 120px;
  background: radial-gradient(ellipse 26% 58% at 50% 62%, rgba(220, 255, 252, .7), rgba(59, 238, 226, .22) 48%, rgba(59, 238, 226, 0) 78%) !important; }
.aa-beam--diag::after { content: ""; position: absolute; left: 50%; bottom: 8%; width: 170px; height: 70px; margin-left: -85px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(59, 238, 226, .18), rgba(59, 238, 226, 0) 70%); }

.aa-clip { position: absolute; left: 50%; top: 50%; width: 140px; padding: 30px 14px 16px; transform: translate(-50%, -46%) rotate(-4deg); border-radius: 12px;
  background: linear-gradient(180deg, #1C302E, #0A1413); box-shadow: inset 0 0 0 1px rgba(125, 229, 220, .28), 0 24px 40px -10px #000; display: flex; flex-direction: column; gap: 10px; }
.aa-clip__top { position: absolute; left: 50%; top: -8px; width: 54px; height: 18px; margin-left: -27px; border-radius: 6px; background: #2C4A47; box-shadow: inset 0 0 0 1px rgba(125, 229, 220, .4); }
.aa-clip p { display: flex; align-items: center; gap: 8px; }
.aa-clip p span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.aa-check { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(125, 229, 220, .5); position: relative; flex: none; animation: aa-check 4s infinite; }
.aa-clip p:nth-of-type(2) .aa-check { animation-delay: .4s; } .aa-clip p:nth-of-type(3) .aa-check { animation-delay: .8s; } .aa-clip p:nth-of-type(4) .aa-check { animation-delay: 1.2s; }
@keyframes aa-check { 0%, 10% { background: transparent; } 20%, 85% { background: var(--aa-teal); box-shadow: 0 0 10px rgba(59, 238, 226, .7); } 100% { background: transparent; } }
.aa-sparkle { position: absolute; right: 22%; top: 18%; width: 22px; height: 22px; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: aa-twinkle 2.4s ease-in-out infinite; }
@keyframes aa-twinkle { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* ═════════ 9 · dashboard builder ═════════ */
.aa-dash { padding: 0; background: radial-gradient(60% 50% at 50% 65%, rgba(107, 150, 241, .07), rgba(0, 0, 0, 0) 70%); }
.aa-floor { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.aa-dash__pin { position: relative; height: 100vh; height: 100svh; display: flex; padding: clamp(124px, 17vh, 176px) 0 28px; }
.aa-dash__inner { display: flex; flex-direction: column; align-items: center; height: 100%; }
/* flags and stats share one stage, so the stats replace the widgets in place */
.aa-dash__stage { position: relative; width: 100%; flex: 1; min-height: 220px; max-height: 380px; margin-top: 24px; }
.aa-dash__stage .aa-flags { position: absolute; inset: 0; height: auto; margin-top: 0; }
.aa-dash__stage .aa-stats { position: absolute; left: 0; right: 0; top: 6%; margin-top: 0; }
@media (max-height: 760px) { .aa-dash .aa-lead { display: none; } }
.aa-dash .aa-head { margin-bottom: 26px; }
.aa-bubble { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(6, 22, 21, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 15px; color: #E3F3F1; }
.aa-flags { position: relative; width: 100%; height: 300px; margin-top: 28px; }
.aa-flag { position: absolute; left: var(--x); top: var(--y); translate: -50% 0; display: flex; flex-direction: column; align-items: center; }
.aa-flag__card { width: 168px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 26, 25, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 40px -12px rgba(0, 0, 0, .9); }
.aa-flag__card p { font-size: 12px; color: var(--aa-muted); margin-bottom: 8px !important; }
.aa-flag__card b { font-size: 24px; font-weight: 500; color: #fff; }
.aa-flag__card b small { font-size: 12px; color: var(--aa-muted); font-weight: 400; }
.aa-flag__card svg { width: 100%; height: 40px; display: block; }
.aa-flag > i { width: 1px; height: 46px; background: linear-gradient(180deg, rgba(125, 229, 220, .7), rgba(125, 229, 220, 0)); position: relative; }
.aa-flag > i::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(59, 238, 226, .8); }
.aa-up { display: inline-block; margin-left: 6px; font-size: 12px; color: #5BE3A0; }
.aa-hbars span { display: block; height: 7px; width: var(--w); margin: 5px 0; border-radius: 4px; background: linear-gradient(90deg, var(--aa-teal-d), var(--aa-cyan)); }
.aa-donut { display: block; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--aa-cyan) 0 58%, var(--aa-blue) 58% 82%, var(--aa-warn) 82%); -webkit-mask: radial-gradient(circle, transparent 50%, #000 52%); mask: radial-gradient(circle, transparent 50%, #000 52%); }
.aa-vbars { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.aa-vbars i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, var(--aa-blue), rgba(107, 150, 241, .3)); }
.aa-rows li { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin: 6px 0; }
.aa-rows li:first-child { background: rgba(255, 90, 90, .45); width: 80%; }
.aa-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; margin-top: 40px; }
.aa-stat { text-align: center; }
.aa-stat b { display: block; font-size: clamp(36px, 4.6vw, 60px); font-weight: 400; letter-spacing: -.03em; color: #fff; line-height: 1; }
.aa-stat p { color: var(--aa-muted); font-size: 14px; margin-top: 10px !important; }

/* ═════════ 10 · breaker ═════════ */
.aa-break { padding: 200px 0; background: radial-gradient(50% 60% at 50% 70%, rgba(35, 187, 173, .07), rgba(0, 0, 0, 0) 70%); overflow: hidden; text-align: center; }
.aa-break__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.aa-quote { font-size: clamp(32px, 4.8vw, 66px); line-height: 1.12; letter-spacing: -.03em; font-weight: 400; max-width: 1000px; }
.aa-break__beam { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); z-index: 1;
  background: linear-gradient(180deg, rgba(200, 255, 250, 0), rgba(200, 255, 250, .5) 40%, rgba(59, 238, 226, .15) 80%, rgba(59, 238, 226, 0)); }
.aa-break__beam::after { content: ""; position: absolute; inset: 0 -30px; background: inherit; filter: blur(24px); opacity: .6; }
.aa-break__star { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; z-index: 1;
  box-shadow: 0 0 8px 2px #fff, 0 0 30px 10px rgba(59, 238, 226, .8), 0 -60px 40px -20px rgba(200, 255, 250, .5); }

/* ═════════ 11 · forms ═════════ */
.aa-forms__stage { position: relative; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 22px; align-items: center; }
.aa-source { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.aa-source__title { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--aa-muted); margin-bottom: 6px !important; }
.aa-field-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-size: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--aa-line-2); color: #E3F3F1; }
.aa-field-chip em { font-style: normal; font-size: 11px; color: var(--aa-mint); padding: 2px 6px; border-radius: 5px; background: rgba(35, 187, 173, .14); }
.aa-field-chip.is-used { opacity: .4; }
.aa-field-chip.is-glow { box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .7), 0 0 20px rgba(59, 238, 226, .35); }
.aa-fly { position: absolute; z-index: 10; pointer-events: none; margin: 0; }
.aa-formcard { padding: 20px; background: linear-gradient(180deg, rgba(14, 24, 23, .95), rgba(4, 7, 7, .97)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -40px rgba(35, 187, 173, .25); }
.aa-formcard__prompt { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 14px; color: #E3F3F1; margin-bottom: 16px; }
.aa-formcard__title { font-size: 17px; font-weight: 500; margin-bottom: 14px !important; }
.aa-formcard__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 340px; align-content: start; }
.aa-ff { grid-column: span 2; opacity: 0; }
.aa-ff--half { grid-column: span 1; }
.aa-ff label { display: block; font-size: 12px; color: var(--aa-muted); margin-bottom: 5px; }
.aa-ff__in { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 9px; font-size: 13px; color: #7F9693; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--aa-line-2); }
.aa-ff__in--select::after { content: ""; margin-left: auto; width: 6px; height: 6px; border: solid #7F9693; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.aa-ff__in--opts i { font-style: normal; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #C6D8D6; }
.aa-ff__in--photo { justify-content: center; border: 1px dashed rgba(125, 229, 220, .35); box-shadow: none; color: var(--aa-mint); }
.aa-formcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--aa-line-2); font-size: 12px; color: var(--aa-muted); }
.aa-ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin-top: 48px !important; }
.aa-ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--aa-muted); }
.aa-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: rgba(35, 187, 173, .2); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .5); }
.aa-ticks li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 4px; height: 7px; border: solid var(--aa-cyan); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* ═════════ 12 · safety: six steps in one row (a vertical timeline on phones) ═════════ */
.aa-safety { padding: 0; background: radial-gradient(60% 45% at 50% 75%, rgba(107, 150, 241, .07), rgba(0, 0, 0, 0) 70%); }
.aa-safety__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 46px; padding: 96px 0 48px; }
.aa-flow__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; }
.aa-flow__head .aa-lead { font-size: 17px; }
.aa-flow { position: relative; z-index: 2; }
.aa-flow .aa-flow__track { position: relative; display: flex; gap: 24px; width: max-content; padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px)); } /* beats `.aa-page ol { padding: 0 }` */
.aa-flow__line { position: absolute; top: 17px; height: 2px; background: rgba(255, 255, 255, .1); }
.aa-flow__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--aa-cyan), var(--aa-blue)); box-shadow: 0 0 12px rgba(59, 238, 226, .45); transform: scaleX(0); transform-origin: 0 50%; }
.aa-flow__step { position: relative; flex: none; width: min(400px, 80vw); display: flex; flex-direction: column; gap: 18px; }
.aa-flow__node { position: relative; z-index: 1; display: flex; align-items: center; height: 36px; }
.aa-flow__node span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 500; color: var(--aa-mint); background: #000; box-shadow: inset 0 0 0 1px var(--aa-line); }
.aa-flow__node b { padding: 0 14px 0 12px; font-size: 15px; font-weight: 500; color: var(--aa-muted); background: var(--aa-bg); } /* the label sits on the line */
.aa-flow__step .aa-cell { flex: 1; opacity: .45; }
.aa-page .aa-flow__step .aa-cell, .aa-page .aa-flow__node span, .aa-page .aa-flow__node b { transition: opacity .5s, box-shadow .5s, background-color .5s, color .5s !important; }
.aa-flow__step.is-on .aa-cell { opacity: 1; box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .28); }
.aa-flow__step.is-on .aa-flow__node span { color: #031413; background: linear-gradient(135deg, var(--aa-cyan), var(--aa-teal)); box-shadow: 0 0 18px rgba(59, 238, 226, .45); }
.aa-flow__step.is-on .aa-flow__node b { color: #fff; }
@media (max-height: 800px) and (min-width: 861px) {
  .aa-safety__pin { gap: 32px; padding: 80px 0 28px; }
  .aa-flow__step .aa-cell__art { height: 190px; }
}
@media (max-width: 1100px) and (min-width: 861px) { .aa-flow__head .aa-lead { font-size: 15px; } }
@media (max-width: 860px) {
  .aa-safety__pin { min-height: 0; padding: 96px 0; gap: 36px; }
  .aa-flow__head { grid-template-columns: 1fr; }
  .aa-flow .aa-flow__track { flex-direction: column; width: auto; gap: 30px; padding: 0 24px; }
  .aa-flow__line { top: 0; left: 41px; width: 2px; height: 0; }
  .aa-flow__fill { background: linear-gradient(180deg, var(--aa-cyan), var(--aa-blue)); transform: scaleY(0); transform-origin: 50% 0; }
  .aa-flow__step { width: auto; padding-left: 50px; gap: 12px; }
  .aa-flow__node { margin-left: -50px; }
  .aa-flow__node b { padding-left: 14px; }
}
@media (max-width: 600px) {
  .aa-flow .aa-flow__track { padding: 0 16px; }
  .aa-flow__line { left: 33px; }
  .aa-flow__step { padding-left: 46px; }
  .aa-flow__node { margin-left: -46px; }
  .aa-flow__node b { padding-left: 10px; }
  .aa-flow__step .aa-cell__art { height: 200px; }
}
.aa-cell { padding: 14px 14px 22px; display: flex; flex-direction: column; }
.aa-cell > p { padding: 18px 8px 0; color: var(--aa-muted); font-size: 15px; line-height: 1.55; }
.aa-cell > p b { color: #fff; font-weight: 500; }
.aa-cell__art { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #0B0C0C, #030303); box-shadow: inset 0 0 0 1px var(--aa-line-2); }

.aa-feeds { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; }
.aa-feed { position: relative; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 30, 32, .9), rgba(3, 10, 10, .95)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px var(--aa-line-2); }
.aa-feed::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(to top, rgba(125, 229, 220, .1), transparent), conic-gradient(from 180deg at 50% 0%, transparent 150deg, rgba(125, 229, 220, .08) 170deg 190deg, transparent 210deg); }
.aa-feed::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 46%; margin-left: -1px; background: repeating-linear-gradient(to top, rgba(255, 255, 255, .35) 0 8px, transparent 8px 16px); transform: perspective(60px) rotateX(55deg); transform-origin: bottom; animation: aa-lane 1s linear infinite; }
@keyframes aa-lane { to { background-position: 0 16px; } }
.aa-rec { position: absolute; left: 8px; top: 7px; font-style: normal; font-size: 9px; letter-spacing: .1em; color: #ffb3b3; display: flex; align-items: center; gap: 4px; z-index: 2; }
.aa-rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aa-hot); animation: aa-caret 1.2s steps(1) infinite; }
.aa-feed--alert { box-shadow: inset 0 0 0 2px rgba(255, 90, 90, .8), 0 0 24px rgba(255, 90, 90, .35); animation: aa-alert 2.4s ease-in-out infinite; }
@keyframes aa-alert { 0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 90, 90, .25); } 40%, 70% { box-shadow: inset 0 0 0 2px rgba(255, 90, 90, .95), 0 0 24px rgba(255, 90, 90, .4); } }
.aa-feed--alert em { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-style: normal; font-size: 10px; padding: 3px 7px; border-radius: 5px; background: rgba(255, 90, 90, .9); color: #fff; }
.aa-feeds__scan { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(59, 238, 226, .14), transparent); animation: aa-sweep 3.4s linear infinite; }
@keyframes aa-sweep { to { top: 100%; } }

.aa-repeats { padding: 18px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.aa-repeats p { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 13px; color: #CFE0DE; }
.aa-repeats em { margin-left: auto; font-style: normal; color: var(--aa-muted); font-size: 12px; }
.aa-repeats__hot { box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .6); background: rgba(255, 90, 90, .08) !important; flex-wrap: wrap; }
.aa-repeats__hot strong { width: 100%; font-size: 12px; color: #FFB3B3; font-weight: 500; padding-left: 18px; }

.aa-call { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.aa-call__who { display: flex; align-items: center; gap: 12px; }
.aa-call__who b { display: block; font-size: 15px; font-weight: 500; }
.aa-call__who small { color: var(--aa-muted); font-size: 12px; }
.aa-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 500; background: linear-gradient(135deg, #23BBAD, #6B96F1); color: #001615; position: relative; }
.aa-avatar::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(59, 238, 226, .6); animation: aa-ping 1.8s ease-out infinite; }
.aa-wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.aa-wave i { flex: 1; height: 20%; border-radius: 3px; background: linear-gradient(180deg, var(--aa-cyan), var(--aa-blue)); animation: aa-wave 1.1s ease-in-out infinite; }
.aa-wave i:nth-child(odd) { animation-duration: .9s; }
.aa-wave i:nth-child(3n) { animation-duration: 1.4s; }
.aa-wave i:nth-child(1) { animation-delay: -.1s; } .aa-wave i:nth-child(2) { animation-delay: -.5s; } .aa-wave i:nth-child(3) { animation-delay: -.3s; } .aa-wave i:nth-child(4) { animation-delay: -.8s; }
.aa-wave i:nth-child(5) { animation-delay: -.2s; } .aa-wave i:nth-child(6) { animation-delay: -.6s; } .aa-wave i:nth-child(7) { animation-delay: -.4s; } .aa-wave i:nth-child(8) { animation-delay: -.9s; }
.aa-wave i:nth-child(9) { animation-delay: -.15s; } .aa-wave i:nth-child(10) { animation-delay: -.7s; } .aa-wave i:nth-child(11) { animation-delay: -.35s; } .aa-wave i:nth-child(12) { animation-delay: -.55s; }
.aa-wave i:nth-child(13) { animation-delay: -.25s; } .aa-wave i:nth-child(14) { animation-delay: -.65s; } .aa-wave i:nth-child(15) { animation-delay: -.45s; } .aa-wave i:nth-child(16) { animation-delay: -.05s; }
@keyframes aa-wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }

.aa-lang { padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.aa-lang__chip { align-self: flex-end; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 11px; position: relative; }
.aa-lang__chip i { font-style: normal; padding: 3px 10px; border-radius: 999px; position: relative; z-index: 1; color: var(--aa-muted); }
.aa-lang__en { background: var(--aa-cyan); color: #001615 !important; }
.aa-lang.is-hi .aa-lang__en { background: transparent; color: var(--aa-muted) !important; }
.aa-lang.is-hi .aa-lang__hi { background: var(--aa-cyan); color: #001615; }
.aa-say { max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; opacity: 0; }
.aa-say--ai { background: rgba(35, 187, 173, .14); color: #DFF7F4; border-bottom-left-radius: 4px; }
.aa-say--driver { align-self: flex-end; background: rgba(255, 255, 255, .07); color: #DCEBE9; border-bottom-right-radius: 4px; }

.aa-verify svg { position: absolute; left: 16px; right: 16px; top: 40px; width: calc(100% - 32px); height: 120px; }
.aa-verify__line { stroke-dasharray: 400; stroke-dashoffset: 400; }
.aa-resolved { position: absolute; left: 16px; bottom: 18px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #001615; background: #5BE3A0; box-shadow: 0 0 24px rgba(91, 227, 160, .45); opacity: 0; }

.aa-escalate { display: flex; align-items: center; justify-content: center; padding: 16px; }
.aa-esc { width: 100%; max-width: 560px; padding: 16px; border-radius: 14px; background: rgba(255, 90, 90, .05); box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .35); }
.aa-esc__head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px !important; color: #FFD6D6; }
.aa-esc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aa-esc__item { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px var(--aa-line-2); min-height: 108px; opacity: 0; }
.aa-esc__item b { font-size: 12px; font-weight: 500; color: #fff; }
.aa-esc__item i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.aa-esc__item i:nth-of-type(2) { width: 80%; } .aa-esc__item i:nth-of-type(3) { width: 60%; }
.aa-esc__item em { font-style: normal; font-size: 11px; color: #FFB3B3; line-height: 1.6; }
.aa-esc__video { background: linear-gradient(180deg, rgba(10, 30, 32, .9), rgba(0, 0, 0, .8)); position: relative; }
.aa-play { position: absolute; left: 50%; top: 58%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.aa-play::after { content: ""; position: absolute; left: 13px; top: 10px; border: 7px solid transparent; border-left: 11px solid #031413; border-right: 0; }

/* ═════════ 12b · intelligent layer ═════════ */
.aa-layer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aa-layer-card { padding: 16px 16px 26px; }
.aa-layer-card .aa-h3 { margin-top: 22px !important; padding: 0 6px; }
.aa-layer-card .aa-muted { padding: 0 6px; font-size: 14.5px; }
.aa-layer .aa-agent__art { height: 250px; }

/* card 1 · open box, light beam, live data rising out of it */
.aa-art-feed .aa-feed-beam { position: absolute; left: 50%; bottom: 74px; width: 90px; height: 82%; margin-left: -45px; z-index: 1;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(220, 255, 252, .95), rgba(59, 238, 226, .35) 45%, rgba(59, 238, 226, 0) 80%); animation: aa-beam 3.4s ease-in-out infinite; }
.aa-art-feed .aa-feed-beam::after { content: ""; position: absolute; inset: 0 38px; background: linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); border-radius: 8px; }
.aa-art-feed .aa-box { position: absolute; left: 50%; bottom: 12px; width: 250px; margin-left: -125px; z-index: 2; overflow: visible; }
.aa-chip-ico { position: absolute; left: 50%; top: 62%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; z-index: 3; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #23302F, #070B0B); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 18px rgba(0, 0, 0, .7); opacity: 0;
  animation: aa-chip-up 4.2s cubic-bezier(.3, .6, .4, 1) infinite; animation-delay: var(--d); }
.aa-chip-ico svg { width: 15px; height: 15px; }
@keyframes aa-chip-up { 0% { translate: var(--x) 40px; opacity: 0; scale: .7; } 18% { opacity: 1; scale: 1; } 75% { opacity: 1; } 100% { translate: calc(var(--x) * 1.6) -110px; opacity: 0; scale: .9; } }
.aa-spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; z-index: 3; animation: aa-twinkle 2.6s ease-in-out infinite; }

/* card 2 · top-down city map: blocks, river, park, pins, live vehicles driving the streets */
.aa-art-city svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* card 3 · belt of raw data in, glowing insight out */
.aa-art-belt svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aa-art-belt .aa-beam--diag { left: 70%; top: -34%; transform: rotate(32deg); width: 90px; height: 80%; z-index: 1; }
.aa-insight { position: absolute; right: 10%; top: 16%; z-index: 2; padding: 9px 12px; border-radius: 10px; font-size: 11px; color: #DFF7F4; background: rgba(8, 20, 19, .92);
  box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .45), 0 0 26px rgba(59, 238, 226, .25); animation: aa-insight 3.6s ease-in-out infinite; }
.aa-insight b { display: block; font-size: 13px; font-weight: 500; color: #fff; margin-top: 2px; }
@keyframes aa-insight { 0%, 55% { opacity: .35; translate: 0 6px; } 70%, 95% { opacity: 1; translate: 0 0; } 100% { opacity: .35; translate: 0 6px; } }

/* data-safety strip */
.aa-secure { display: grid; grid-template-columns: 150px 1fr 1.25fr; gap: 28px; align-items: center; margin-top: 20px; padding: 26px 30px; }
.aa-secure__art { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.aa-secure__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aa-secure__orbit { transform-origin: 60px 60px; animation: aa-spin 14s linear infinite; }
.aa-secure__shield { animation: aa-shield 3.2s ease-in-out infinite; }
@keyframes aa-shield { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.aa-secure__copy .aa-h3 { margin-top: 0 !important; }
.aa-secure__list li { position: relative; padding: 9px 0 9px 28px; font-size: 15px; color: #CFE0DE; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aa-secure__list li:last-child { border-bottom: 0; }
.aa-secure__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: rgba(35, 187, 173, .2); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .5); }
.aa-secure__list li::after { content: ""; position: absolute; left: 6px; top: 14px; width: 4px; height: 7px; border: solid var(--aa-cyan); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@media (max-width: 860px) {
  .aa-layer__grid { grid-template-columns: 1fr; }
  .aa-secure { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 24px 20px; }
  .aa-secure__list { text-align: left; }
}

/* ═════════ 12c · statement (cosmoq-style: words left, big blob right) ═════════ */
.aa-statement { padding: 170px 0; }
.aa-statement__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.aa-statement__text { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.16; letter-spacing: -.028em; font-weight: 400; color: #fff; max-width: 660px; }
/* no blur filters: colour comes from layered gradients, the soft edge from an inset shadow */
.aa-statement__orb { position: relative; width: min(390px, 78vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 55%, #134A63 0%, #0A2233 70%);
  box-shadow: inset 0 0 50px 14px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 90px -10px rgba(35, 187, 173, .35); }
.aa-statement__orb::before { content: ""; position: absolute; left: 16%; top: 9%; width: 44%; height: 30%; border-radius: 50%; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); }
.aa-statement__swirl { position: absolute; inset: -18%; z-index: 0; will-change: transform; /* rotated by scroll (JS) */
  background: radial-gradient(circle at 26% 40%, rgba(61, 123, 255, .95), rgba(61, 123, 255, 0) 44%),
              radial-gradient(circle at 74% 58%, rgba(22, 197, 188, .95), rgba(22, 197, 188, 0) 44%),
              radial-gradient(circle at 56% 16%, rgba(139, 124, 246, .8), rgba(139, 124, 246, 0) 38%),
              radial-gradient(circle at 40% 84%, rgba(59, 238, 226, .7), rgba(59, 238, 226, 0) 40%); }
.aa-statement__orb { animation: aa-bob 7s ease-in-out infinite; }
.aa-statement__badge { position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0, 10, 20, .35); }
.aa-statement__badge svg { width: 58px; height: 58px; }
/* words start dim and light up with scroll; ability items swap inside the orb */
.aa-js .aa-sw { color: rgba(255, 255, 255, .2); }
.aa-statement__items { position: relative; z-index: 2; width: 100%; height: 160px; }
.aa-si { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.aa-js .aa-si + .aa-si { opacity: 0; visibility: hidden; }
.aa-statement__badge svg[viewBox="0 0 24 24"] { width: 46px; height: 46px; }
.aa-statement__label { position: relative; z-index: 2; font-size: 20px; font-weight: 500; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
@media (max-width: 860px) {
  .aa-statement { padding: 110px 0; }
  .aa-statement__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .aa-statement__text { margin: 0 auto; }
  .aa-statement__orb { width: min(280px, 74vw); }
  .aa-statement__badge { width: 78px; height: 78px; }
  .aa-statement__badge svg { width: 46px; height: 46px; }
}

/* ═════════ 13 · short answers ═════════ */
.aa-short { overflow: hidden; }
.aa-short__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.aa-short__left { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.aa-short__left .aa-tag { margin-bottom: 4px !important; }
.aa-qa { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 10px 0 60px; }
.aa-qa__trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.aa-qa__trail path { stroke: rgba(125, 229, 220, .35); stroke-width: 1.2; }
.aa-qa__star { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; z-index: 3; box-shadow: 0 0 8px 2px #fff, 0 0 26px 8px rgba(59, 238, 226, .8); }
.aa-q, .aa-a { position: relative; z-index: 1; max-width: 80%; }
.aa-q { align-self: flex-end; padding: 12px 18px; border-radius: 16px 16px 4px 16px; font-size: 15px; background: rgba(35, 187, 173, .14); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .3); color: #E7FAF8; }
.aa-a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px 14px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--aa-line-2); font-size: 15px; line-height: 1.55; color: #D7E7E5; }
.aa-a .aa-mini-orb { margin-top: 1px; }
.aa-note { font-size: 12px; color: #5F7A77; margin-top: 6px !important; }

/* ═════════ final ═════════ */
.aa-final { padding: 100px 0 0; text-align: center; background: radial-gradient(40% 60% at 50% 40%, rgba(35, 187, 173, .08), rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, rgba(0, 22, 21, 0) 55%, #001615); }
/* only the top ~58% of the outlined blob shows, sitting on the footer edge */
.aa-peek { position: relative; width: min(560px, 82vw); aspect-ratio: 400 / 232; margin: 70px auto 0; overflow: hidden; }
.aa-peek svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; }
.aa-peek::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); }
#aa-peek-eyes { will-change: transform; }
/* the closing section fades into the site footer's teal; the footer itself is the shared one, styled as on the other pages */
.aa-section.aa-final { padding-bottom: 0; }
.aa-peek__blink { transform-box: fill-box; transform-origin: center; animation: aa-blink 3.8s infinite; }
.aa-final__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.aa-orb--static { width: 92px; height: 92px; margin-bottom: 10px; animation: aa-bob 5s ease-in-out infinite; }

/* reveal helper (JS adds .is-in) */
.aa-js .aa-reveal { opacity: 0; transform: translateY(30px); }

/* ═════════ responsive ═════════ */
@media (max-width: 1100px) {
  .aa-agents__grid { grid-template-columns: repeat(2, 1fr); }
  .aa-agent, .aa-agent:nth-child(n+4) { grid-column: span 1; }
  .aa-agent:last-child { grid-column: 1 / -1; }
  .aa-forms__stage { grid-template-columns: 1fr 1fr; }
  .aa-formcard { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 860px) {
  .aa-section { padding: 96px 0; }
  .aa-steps__grid { grid-template-columns: 1fr; }
  .aa-steps__link, .aa-steps__comet { display: none; }
  .aa-agents__head { flex-direction: column; gap: 10px; }
  .aa-agents__lead { padding-top: 0; }
  .aa-stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .aa-short__grid { grid-template-columns: 1fr; gap: 40px; }
  .aa-short__left { position: static; }
  .aa-q, .aa-a { max-width: 92%; }
  .aa-flag__card { width: 132px; padding: 10px; }
  .aa-flag:nth-child(n+5) { display: none; }
  .aa-flags { height: 250px; }
  .aa-esc__row { grid-template-columns: 1fr 1fr; }
  .aa-esc__video { display: none; }
}
@media (max-width: 600px) {
  .aa-wrap { padding: 0 16px; }
  .aa-agents__grid, .aa-forms__stage { grid-template-columns: 1fr; }
  .aa-hero { gap: 18px; padding-top: 80px; }
  .aa-blob-home, .aa-mover { width: 88px; height: 88px; }
  .aa-mover { margin: -44px 0 0 -44px; }
  .aa-mover .aa-orb { width: 88px; height: 88px; }
  .aa-pillar { width: 22vw !important; }
  .aa-btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .aa-ask { gap: 18px; }
  .aa-prompt { min-height: 60px; }
  .aa-flag:nth-child(n+4) { display: none; }
  .aa-flag__card { width: 112px; }
  .aa-formcard__fields { min-height: 0; }
}

/* ═════════ phones ═════════ */
@media (max-width: 600px) {
  /* halo: a bit more room so the star doesn't touch the last word */
  .aa-halo__dot { margin-left: .3em; }

  /* agents + intelligent layer: swipeable rows instead of very long stacks */
  .aa-agents__grid, .aa-layer__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; gap: 14px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .aa-agents__grid::-webkit-scrollbar, .aa-layer__grid::-webkit-scrollbar { display: none; }
  .aa-agent, .aa-agent:nth-child(n+4), .aa-agent:last-child, .aa-layer-card { flex: 0 0 84%; scroll-snap-align: start; }
  .aa-agents__head { margin-bottom: 28px; }
  .aa-agents__grid::after, .aa-layer__grid::after { content: ""; flex: 0 0 2px; } /* lets the last card snap fully into view */
  .aa-layer .aa-agent__art, .aa-agent__art { height: 210px; }

  /* dashboard builder: everything fits one pinned screen */
  .aa-dash__pin { padding: 84px 0 16px; }
  .aa-dash .aa-head { margin-bottom: 14px; }
  .aa-dash .aa-lead { font-size: 15px; margin-top: 12px; }
  .aa-dash .aa-h2 { font-size: 32px; }
  .aa-bubble { font-size: 13.5px; padding: 10px 12px 10px 10px; }
  .aa-dash__stage { margin-top: 14px; min-height: 250px; }
  .aa-flag__card { width: 136px; }
  .aa-flag:nth-child(1) { left: 27% !important; top: 2% !important; }
  .aa-flag:nth-child(2) { left: 73% !important; top: 0 !important; }
  .aa-flag:nth-child(3) { left: 50% !important; top: 46% !important; }
  .aa-flag > i { height: 30px; }
  .aa-dash__stage .aa-stats { top: 2%; row-gap: 26px; }

  /* form builder: just the form; each field says where it came from */
  .aa-source { display: none; }
  .aa-forms__stage { display: block; }
  .aa-ff label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .aa-ff label::after { content: "Standard"; font-size: 10px; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; color: #A9C1F7; background: rgba(107, 150, 241, .14); }
  .aa-ff:is([data-f="0"], [data-f="1"], [data-f="2"], [data-f="3"]) label::after { content: "Your fleet"; color: var(--aa-mint); background: rgba(35, 187, 173, .14); }
  .aa-ff--half { grid-column: span 2; }
  .aa-formcard__foot { flex-direction: column; align-items: stretch; text-align: center; }
}

/* 12d · in the app: pinned phone wireframe, AI button → panel → voice */
.aa-app { padding: 0; }
.aa-app__pin { height: 100vh; height: 100svh; display: flex; align-items: center; padding: 72px 0 24px; }
.aa-app__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(40px, 7vw, 110px); }
.aa-app__copy .aa-lead { margin-top: 20px; }
.aa-app__steps { margin-top: 40px !important; display: grid; gap: 22px; max-width: 480px; }
.aa-app__step { display: flex; gap: 18px; opacity: .3; }
.aa-page .aa-app__step { transition: opacity .45s var(--aa-ease) !important; }
.aa-app__step.is-on { opacity: 1; }
.aa-app__step > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--aa-mint); box-shadow: inset 0 0 0 1px var(--aa-line); }
.aa-app__step.is-on > span { color: #031413; background: linear-gradient(135deg, var(--aa-cyan), var(--aa-teal)); box-shadow: none; }
.aa-app__step b { display: block; font-size: 19px; font-weight: 500; margin: 5px 0 6px; }
.aa-app__step p { color: var(--aa-muted); font-size: 15px; line-height: 1.55; }
.aa-app__phone { display: block; height: min(620px, calc(100svh - 120px)); width: auto; aspect-ratio: 300 / 620; overflow: visible; filter: drop-shadow(0 40px 80px rgba(35, 187, 173, .12)); }
.aa-app__ripple { opacity: 0; }
.aa-app__halo { transform-box: fill-box; transform-origin: center; animation: aa-app-halo 2.4s ease-out infinite; }
.aa-app__halo--2 { animation-delay: 1.2s; }
@keyframes aa-app-halo { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.aa-app__wave rect { transform-box: fill-box; transform-origin: center; animation: aa-app-wave 1.1s ease-in-out infinite; }
.aa-app__wave rect:nth-child(3n) { animation-delay: -.3s; } .aa-app__wave rect:nth-child(3n+1) { animation-delay: -.65s; } .aa-app__wave rect:nth-child(4n) { animation-duration: .8s; }
@keyframes aa-app-wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@media (max-width: 900px) {
  .aa-app__pin { padding: 70px 0 16px; }
  .aa-app__grid { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
  .aa-app__copy .aa-tag { margin-bottom: 12px !important; }
  .aa-app__copy .aa-h2 { font-size: clamp(30px, 8vw, 44px); }
  .aa-app__copy .aa-lead { display: none; }
  /* one step at a time, under the phone */
  .aa-app__copy { display: contents; }
  .aa-app__device { order: 2; }
  .aa-app__steps { order: 3; position: relative; margin-top: 0 !important; width: 100%; max-width: 360px; height: 84px; display: block; }
  .aa-app__step { position: absolute; inset: 0; opacity: 0; justify-content: center; text-align: left; }
  .aa-app__step b { font-size: 17px; margin-top: 2px; }
  .aa-app__step p { font-size: 14px; }
  .aa-app__phone { height: min(560px, calc(100svh - 350px)); }
}

@media (prefers-reduced-motion: reduce) {
  .aa-pillar, .aa-orb__swirl, .aa-mover .aa-orb, .aa-orb--static, .aa-beam, .aa-scan, .aa-route, .aa-pin::after, .aa-tile, .aa-check, .aa-sparkle,
  .aa-tile--bars i, .aa-tile--line path, .aa-tile--donut::before, .aa-tile--kpi i,
  .aa-feed::after, .aa-feed--alert, .aa-feeds__scan, .aa-wave i, .aa-avatar::after, .aa-caret,
  .aa-art-call .aa-ring, .aa-phone, .aa-art-call__wave i, .aa-feed-beam, .aa-chip-ico, .aa-spark, .aa-insight,
  .aa-secure__orbit, .aa-secure__shield, .aa-statement__swirl, .aa-statement__orb { animation: none !important; }
  .aa-chip-ico { opacity: 1; }
}

/* ═════════ ask screen: sample questions run here, the code turns into the answer ═════════ */
.aa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aa-prompt { width: 100%; }
.aa-prompt__text.aa-typebox { min-height: 2.9em; } /* the hidden copies of all four questions hold the height */
.aa-try__label { margin: 24px 0 12px !important; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--aa-muted); }
.aa-try__chips { display: flex; flex-direction: column; gap: 8px; }
.aa-try__chip { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 14px; font: 400 14.5px/1.35 "Roboto", sans-serif; text-align: left; color: #DCEBE9; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); cursor: pointer; }
.aa-try__chip::after { content: "\2192"; margin-left: auto; padding-left: 10px; color: var(--aa-muted); }
.aa-try__chip svg { flex: none; }
.aa-page .aa-try__chip { transition: background-color .3s, box-shadow .3s, color .3s !important; }
.aa-try__chip svg { width: 17px; height: 17px; color: var(--aa-mint); }
.aa-try__chip:hover { background: rgba(255, 255, 255, .08); }
.aa-try__chip:focus-visible { outline: 2px solid var(--aa-cyan); outline-offset: 2px; }
.aa-try__chip[aria-pressed="true"] { color: #fff; background: rgba(35, 187, 173, .16); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .65), 0 0 24px rgba(59, 238, 226, .18); }
.aa-try__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--aa-cyan), var(--aa-blue)); transform: scaleX(0); transform-origin: 0 50%; }
.aa-js .aa-try__label, .aa-js .aa-try__chips, .aa-js .aa-try__win { opacity: 0; visibility: hidden; } /* the intro brings them in */

/* the agent's window */
.aa-try__win { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; color: #E3F3F1; text-align: left; background: linear-gradient(180deg, #0C1615, #030606 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -40px rgba(35, 187, 173, .3); }
.aa-try__top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.aa-try__top b { font-weight: 500; }
.aa-try__top .aa-mini-orb { width: 24px; height: 24px; }
.aa-try__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; font-size: 12px; color: #9AB1AE; background: rgba(255, 255, 255, .05); }
.aa-try__status i { width: 7px; height: 7px; border-radius: 50%; background: #4F6261; }
.aa-try__status.is-busy i { background: var(--aa-cyan); box-shadow: 0 0 10px var(--aa-cyan); animation: aa-caret .9s steps(1) infinite; }
.aa-try__status.is-done i { background: #5BE3A0; }
.aa-try__body { position: relative; height: 390px; overflow: hidden; }
.aa-try__code { position: absolute; inset: 22px; font: 13px/1.95 ui-monospace, SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace; color: #9AB1AE; white-space: pre-wrap; word-break: break-word; }
.aa-try__code .k { color: #3BEEE2; }
.aa-try__code .f { color: #fff; }
.aa-try__code .s { color: #A8C4FA; }
.aa-try__code .n { color: #B9ACFF; }
.aa-try__code .c { color: #56706D; }
.aa-try__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, #3BEEE2 20%, #6B96F1 80%, transparent); box-shadow: 0 0 16px 2px rgba(59, 238, 226, .45); }
.aa-try__scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 70px; background: linear-gradient(180deg, rgba(59, 238, 226, 0), rgba(59, 238, 226, .08)); }
.aa-try__res { position: absolute; inset: 22px; display: flex; flex-direction: column; gap: 14px; }
.aa-try__res[hidden] { display: none; }
.aa-rt { position: relative; display: inline-block; }
.aa-rt__g { color: transparent; }
.aa-rt__l { position: absolute; left: 0; top: 0; width: 100%; color: inherit; }

.aa-rmap { height: 150px; flex: none; border-radius: 14px; overflow: hidden; background: #081110; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.aa-rmap svg { display: block; width: 100%; height: 100%; }
.aa-res__lead { font-size: 18px; line-height: 1.45; color: #fff; }
.aa-res__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aa-res__stats > span { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.aa-res__stats b { display: block; font-size: 20px; font-weight: 500; color: #fff; }
.aa-res__stats small { font-size: 12px; color: var(--aa-muted); }
.aa-res__meta { margin-top: auto !important; font-size: 12px; color: var(--aa-muted); }
.aa-res__meta span { color: var(--aa-mint); font-weight: 500; }

.aa-res__rank { display: grid; gap: 8px; }
.aa-res__rank li { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 3px 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.aa-res__rank b { font-size: 14px; font-weight: 500; color: #fff; }
.aa-res__rank li > span { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--aa-muted); }
.aa-res__rank i { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); }
.aa-res__rank i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #3BEEE2, #6B96F1); }
.aa-res__rank em { position: absolute; right: 0; bottom: 10px; font-style: normal; font-size: 12px; color: var(--aa-mint); }
.aa-try__res .aa-chip-action { align-self: flex-start; margin-top: 0; }

.aa-res__dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aa-rw { display: flex; flex-direction: column; gap: 8px; min-height: 140px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.aa-rw p { font-size: 12px; color: var(--aa-muted); }
.aa-rw > b { font-size: 30px; font-weight: 500; line-height: 1.1; color: #fff; }
.aa-rw em { font-style: normal; font-size: 12px; }
.aa-good { color: #5BE3A0; }
.aa-rw svg { width: 100%; height: 70px; margin-top: auto; }
.aa-res__hb { display: grid; gap: 7px; margin-top: auto; }
.aa-res__hb span { position: relative; z-index: 0; padding: 4px 8px; font-size: 11.5px; color: #DDEEEC; }
.aa-res__hb span::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, rgba(59, 238, 226, .38), rgba(107, 150, 241, .22)); }
.aa-rw--donut { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 10px 14px; }
.aa-rw--donut p { grid-column: 1 / -1; }
.aa-res__donut { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(#23BBAD 0 62%, #F7A200 0 86%, #6B96F1 0);
  -webkit-mask: radial-gradient(circle, transparent 53%, #000 54%); mask: radial-gradient(circle, transparent 53%, #000 54%); }
.aa-rw--donut ul { display: grid; gap: 5px; align-content: center; font-size: 12px; color: #CFE3E0; }
.aa-rw--donut li { display: flex; align-items: center; gap: 7px; }
.aa-rw--donut .aa-dot { width: 7px; height: 7px; box-shadow: none; }

.aa-res__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.aa-res__ftitle { grid-column: 1 / -1; font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 2px !important; }

.aa-try__res .aa-ff { opacity: 1; }
.aa-try__res .aa-ff label::after { content: none; }

@media (max-height: 780px) and (min-width: 1001px) {
  .aa-ask { padding-top: 76px; }
  .aa-ask { row-gap: 36px; }
  .aa-ask__title { font-size: clamp(26px, 2.8vw, 38px); }
  .aa-try__body { height: 340px; }
  .aa-rmap { height: 110px; }
  .aa-rw { min-height: 118px; }
  .aa-rw svg { height: 52px; }
}
@media (max-width: 1000px) {
  .aa-ask { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px; padding: 74px 20px 16px; } /* minmax: the one-line chip row must not widen the column */
  .aa-ask__title { font-size: clamp(26px, 6vw, 40px); }
  .aa-try__label { display: none; }
  .aa-try__chips { flex-direction: row; overflow-x: auto; margin: 12px -20px 0; padding: 0 20px 2px; scrollbar-width: none; }
  .aa-try__chips::-webkit-scrollbar { display: none; }
  .aa-try__chip { flex: none; width: auto; min-height: 38px; padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
  .aa-try__chip::after { content: none; }
  .aa-try__body { height: 300px; }
  .aa-try__code, .aa-try__res { inset: 16px; }
  .aa-try__code { font-size: 11.5px; line-height: 1.8; }
  .aa-res__lead { font-size: 15px; }
  .aa-rmap { height: 96px; }
  .aa-res__stats b { font-size: 16px; }
  .aa-res__stats > span { padding: 9px 10px; }
  .aa-res__rank li { grid-template-columns: minmax(0, 1fr) 64px; padding: 9px 12px; }
  .aa-res__rank li > span { display: none; } /* vehicle and share only; the lead says why */
  .aa-res__dash { gap: 10px; }
  .aa-rw { min-height: 100px; padding: 12px; }
  .aa-rw > b { font-size: 22px; }
  .aa-rw svg { height: 46px; }
  .aa-rw--donut { grid-template-columns: 1fr; }
  .aa-rw--donut ul { display: none; }
  .aa-res__form { padding: 12px; gap: 8px; }
}
@media (max-width: 1000px) and (max-height: 700px) {
  .aa-ask__title { display: none; }
  .aa-try__body { height: 260px; }
  .aa-rmap { display: none; }
}
@media (prefers-reduced-motion: reduce) { .aa-try__status.is-busy i { animation: none; } }

/* ═════════ 11b · Do it: the agent works a real screen (dark, low-detail app wireframe), then asks for the go-ahead ═════════ */
.aa-new { display: inline-block; margin-left: 4px; padding: 3px 7px; border-radius: 5px; font-size: 11px; letter-spacing: .06em; color: #001615; background: linear-gradient(135deg, var(--aa-cyan), var(--aa-teal)); vertical-align: 1px; }
.aa-slash { padding: 1px 6px; border-radius: 6px; font: 500 .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--aa-mint); background: rgba(35, 187, 173, .16); }

.aa-doit__canvas { position: relative; flex: 1; min-width: 0; align-self: center; }
.aa-app2 { position: absolute; left: 0; top: 0; width: 800px; height: 600px; overflow: hidden; color: #E3F3F1; background: #122120; font-family: "Roboto", sans-serif; transform-origin: 0 0; }
.aa-ph { display: inline-block; width: var(--w, 60%); height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.aa-app2__side { position: absolute; left: 0; top: 0; bottom: 0; width: 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 12px; background: #0F1C1B; border-right: 1px solid rgba(255, 255, 255, .08); }
.aa-app2__logo { width: 30px; height: 30px; margin-bottom: 8px; border-radius: 9px; background: linear-gradient(135deg, var(--aa-blue), #16C5BC); }
.aa-app2__side i { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .05); }
.aa-app2__side i.is-on { background: rgba(35, 187, 173, .16); box-shadow: inset 0 0 0 1.5px rgba(59, 238, 226, .6); }
.aa-app2__top { position: absolute; left: 60px; right: 0; top: 0; height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 18px; font-size: 15px; background: #0F1C1B; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.aa-app2__top b { font-weight: 500; }
.aa-app2__search { display: flex; align-items: center; height: 32px; margin-left: auto; padding: 0 12px; border-radius: 9px; background: rgba(255, 255, 255, .04); }
.aa-app2__me { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2B3F63, #1A5A55); }
.aa-app2__screen { position: absolute; left: 60px; top: 52px; width: 740px; height: 548px; overflow: hidden; }
.aa-scr { position: absolute; inset: 0; }
.aa-scr[hidden] { display: none; }
.aa-app2__title { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; }
.aa-app2__btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 8px; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: #DCEBE9; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.aa-app2__btn--pri { color: #001615; background: linear-gradient(180deg, #2FD3C4, #14A99C); box-shadow: none; }
.aa-app2__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.aa-f label { display: block; margin-bottom: 5px; font-size: 11px; color: #8FA5A2; }
.aa-f__in { position: relative; display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; overflow: hidden; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.aa-f__in b { font-weight: 400; color: #F4FBFA; }
.aa-f__ph { font-style: normal; color: #5E7472; }
.aa-f.has-v .aa-f__ph { display: none; }
.aa-f__in--sel { padding-right: 26px; }
.aa-f__in--sel::after { content: ""; position: absolute; right: 11px; top: 11px; width: 6px; height: 6px; border: solid #7F9693; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.aa-f.is-focus .aa-f__in { box-shadow: inset 0 0 0 1.5px var(--aa-cyan), 0 0 0 3px rgba(59, 238, 226, .14); }
.aa-f--row { display: flex; align-items: center; justify-content: space-between; }
.aa-f--wide { grid-column: 1 / -1; }
.aa-f--lock .aa-f__in::after { content: ""; position: absolute; right: 11px; top: 10px; width: 9px; height: 7px; border-radius: 2px; background: #5E7472; box-shadow: 0 -5px 0 -1px #152422, 0 -6px 0 0 #5E7472; }
.aa-f--lock.is-flag .aa-f__in { background: rgba(247, 162, 0, .08); box-shadow: inset 0 0 0 1.5px rgba(247, 162, 0, .8), 0 0 0 3px rgba(247, 162, 0, .14); }
.aa-f--lock.is-flag .aa-f__ph { color: #FFC75A; }
.aa-tog { position: relative; width: 28px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .15); }
.aa-tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.aa-tog.is-on { background: var(--aa-teal); }
.aa-tog.is-on::after { left: 14px; }
.aa-f__chips { display: flex; gap: 6px; }
.aa-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; color: #CFE3E0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.aa-chip.is-on { color: #fff; background: rgba(35, 187, 173, .18); box-shadow: inset 0 0 0 1.5px rgba(59, 238, 226, .65); }
.aa-chip--ok { color: #7FE8B4; background: rgba(91, 227, 160, .12); box-shadow: none; }
.aa-chip--idle { color: #FFC75A; background: rgba(247, 162, 0, .12); box-shadow: none; }
.aa-chip--stop { color: #FF9A9A; background: rgba(255, 90, 90, .12); box-shadow: none; }
.aa-seg { display: flex; height: 32px; padding: 3px; border-radius: 8px; font-size: 12px; background: rgba(255, 255, 255, .05); }
.aa-seg span { flex: 1; display: grid; place-items: center; border-radius: 6px; color: #8FA5A2; }
.aa-seg span.is-on { color: #fff; background: rgba(35, 187, 173, .2); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .65); }
.aa-done-ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(91, 227, 160, .14); }
.aa-done-ico::after { content: ""; position: absolute; left: 36%; top: 24%; width: 24%; height: 40%; border: solid #5BE3A0; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* geofence screen */
.aa-geo__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.aa-geo__list { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 14px; border-radius: 12px; font-size: 13px; background: #152422; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 24px -10px rgba(0, 0, 0, .7); }
.aa-geo__list b, .aa-list__head b { font-weight: 500; }
.aa-geo__list em, .aa-list__head em { margin-left: 4px; font-style: normal; font-weight: 400; color: #7F9693; }
.aa-geo__tools { position: absolute; left: 237px; bottom: 16px; display: flex; align-items: center; gap: 6px; margin-left: -150px; padding: 7px 10px; border-radius: 12px; background: #152422; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 24px -10px rgba(0, 0, 0, .7); }
.aa-geo__tools i { width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .05); }
.aa-geo__tools u { width: 1px; height: 18px; margin: 0 2px; background: rgba(255, 255, 255, .1); }
.aa-geo__tools .aa-geo__tool-circle { background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFE3E0' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.aa-geo__tools .is-on { background-color: rgba(35, 187, 173, .2); box-shadow: inset 0 0 0 1.5px rgba(59, 238, 226, .65); }
.aa-geo__hint { position: absolute; left: 237px; top: 124px; margin-left: -116px; padding: 6px 12px; border-radius: 8px; font-size: 12px; white-space: nowrap; color: #E3F3F1; background: rgba(20, 34, 33, .95); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); opacity: 0; }
.aa-geo__spot { position: absolute; left: 300px; top: 290px; width: 2px; height: 2px; }
.aa-geo__panel { position: absolute; right: 16px; top: 16px; bottom: 16px; width: 250px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; background: #152422; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 16px 40px -16px rgba(0, 0, 0, .7); }

/* list + drawer screens (vehicles, users) */
.aa-list { position: absolute; inset: 16px; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #152422; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.aa-list__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 15px; }
.aa-list__row { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; align-items: center; gap: 16px; height: 46px; padding: 0 12px; border-radius: 10px; }
.aa-list__row:nth-child(odd) { background: rgba(255, 255, 255, .02); }
.aa-list__row .aa-chip { justify-self: start; }
.aa-list__row--th { height: 30px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #5E7472; background: none !important; }
.aa-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; }
.aa-drawer { position: absolute; right: 0; top: 0; bottom: 0; width: 350px; display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #152422; border-left: 1px solid rgba(255, 255, 255, .08); box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .8); }
.aa-x { position: relative; width: 14px; height: 14px; }
.aa-x::before, .aa-x::after { content: ""; position: absolute; left: 6px; top: -1px; width: 2px; height: 16px; border-radius: 1px; background: #7F9693; transform: rotate(45deg); }
.aa-x::after { transform: rotate(-45deg); }
.aa-stepper { display: flex; gap: 6px; font-size: 10.5px; color: #5E7472; }
.aa-stepper li { flex: 1; padding-top: 8px; border-top: 3px solid rgba(255, 255, 255, .08); }
.aa-stepper li.is-on { color: var(--aa-mint); border-color: var(--aa-cyan); }
.aa-drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aa-drawer__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 16px; background: #152422; opacity: 0; visibility: hidden; }
.aa-drawer__done b { font-weight: 500; }

/* working state: frame glow, status pill, toast, the agent's cursor */
.aa-app2__glow { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(59, 238, 226, .75), inset 0 0 44px rgba(59, 238, 226, .2); opacity: 0; }
.aa-app2__pill { position: absolute; left: 200px; top: 76px; translate: -50% 0; display: flex; align-items: center; gap: 9px; padding: 7px 8px 7px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; color: #E3F3F1; background: rgba(18, 32, 31, .96); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; }
.aa-app2__pill i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #5BC8F5; box-shadow: 0 0 8px #5BC8F5; animation: aa-caret 1s steps(1) infinite; }
.aa-app2__pill b { position: relative; width: 18px; height: 18px; flex: none; border-radius: 6px; background: rgba(255, 90, 90, .2); }
.aa-app2__pill b::after { content: ""; position: absolute; inset: 5px; border-radius: 2px; background: var(--aa-hot); }
/* pill and toast sit over the free part of each screen (left of the side panel / drawer) */
.aa-app2__toast { position: absolute; left: 200px; top: 74px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 12px; font-size: 13px; font-weight: 500; white-space: nowrap; background: #0F1C1B; box-shadow: inset 0 0 0 1px rgba(91, 227, 160, .35), 0 16px 36px -12px rgba(0, 0, 0, .8); opacity: 0; }
.aa-app2__toast .aa-done-ico { width: 26px; height: 26px; }
.aa-app2__cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: 0; }
.aa-app2__cursor .aa-mini-orb { width: 26px; height: 26px; box-shadow: 0 0 0 2px #031413, 0 0 18px rgba(59, 238, 226, .55); }
.aa-ripple { position: absolute; z-index: 19; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--aa-cyan); pointer-events: none; }

/* the AI Agent panel */
.aa-chat { position: relative; flex: none; width: 330px; display: flex; flex-direction: column; font-size: 13px; color: #DCEBE9; background: #0F1C1B; border-left: 1px solid rgba(59, 238, 226, .18); }
.aa-chat__head { display: flex; align-items: center; gap: 10px; height: 52px; flex: none; padding: 0 16px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aa-chat__head b { font-weight: 500; color: #fff; }
.aa-chat__head .aa-mini-orb { width: 24px; height: 24px; }
.aa-chat__head i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.aa-chat__head i:first-of-type { margin-left: auto; }
.aa-chat__body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 476px; padding: 14px; }
.aa-chat__me { align-self: flex-end; max-width: 94%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; line-height: 1.45; color: #E8F5F3; background: rgba(35, 187, 173, .14); opacity: 0; }
.aa-task { padding: 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); opacity: 0; }
.aa-page .aa-task { transition: box-shadow .4s !important; }
.aa-task.is-working { box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .5), 0 0 0 4px rgba(59, 238, 226, .07), 0 0 30px rgba(59, 238, 226, .12); }
.aa-task__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.aa-task__head b { font-weight: 500; color: #fff; }
.aa-task__status { margin-left: auto; font-size: 11px; color: var(--aa-mint); }
.aa-task__stop { position: relative; width: 18px; height: 18px; flex: none; border-radius: 5px; background: rgba(255, 90, 90, .15); }
.aa-task__stop::after { content: ""; position: absolute; inset: 5.5px; border-radius: 1.5px; background: var(--aa-hot); }
.aa-task:not(.is-working) .aa-task__stop { visibility: hidden; }
.aa-task__steps { display: grid; gap: 7px; }
.aa-task__steps li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #CFE3E0; opacity: 0; }
.aa-task__steps .n { position: relative; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 10px; color: #8FA5A2; background: rgba(255, 255, 255, .06); }
.aa-task__steps li.is-done .n { font-size: 0; background: var(--aa-teal); }
.aa-task__steps li.is-done .n::after { content: ""; width: 4px; height: 7px; margin-top: -2px; border: solid #031413; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.aa-task__steps li.is-skip .n { font-size: 0; background: rgba(247, 162, 0, .16); }
.aa-task__steps li.is-skip .n::after { content: ""; width: 8px; height: 2px; border-radius: 1px; background: #FFC75A; }
.aa-ok { padding: 12px; border-radius: 14px; background: rgba(247, 162, 0, .07); box-shadow: inset 0 0 0 1px rgba(247, 162, 0, .4); opacity: 0; }
.aa-ok__eyebrow { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #FFC75A; }
.aa-ok__q { margin: 4px 0 10px !important; color: #E8F5F3; }
.aa-ok__btns { display: flex; justify-content: flex-end; gap: 8px; }
.aa-ok__deny, .aa-ok__allow { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: #DCEBE9; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.aa-ok__allow { color: #001615; background: linear-gradient(180deg, #2FD3C4, #14A99C); box-shadow: none; }
.aa-ok.is-allowed { background: rgba(91, 227, 160, .07); box-shadow: inset 0 0 0 1px rgba(91, 227, 160, .35); }
.aa-ok.is-allowed .aa-ok__eyebrow { color: #7FE8B4; }
.aa-chat__ai { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; opacity: 0; }
.aa-chat__ai .aa-mini-orb { width: 22px; height: 22px; }
.aa-chat__input { display: flex; align-items: flex-end; gap: 8px; min-height: 42px; margin: 0 14px 14px; padding: 9px 8px 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: #E8F5F3; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.aa-chat__input em { font-style: normal; color: #5E7472; }
.aa-chat__input b { width: 26px; height: 26px; flex: none; margin-left: auto; border-radius: 8px; background: linear-gradient(180deg, var(--aa-cyan), #14A99C); }
.aa-chat__pointer { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) { .aa-app2__pill i { animation: none; } }

/* ═════════ 8b · time saved: two cards, the same four jobs without and with the AI Agent ═════════ */
.aa-save__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aa-save__card { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.aa-save__card--ai { background: linear-gradient(180deg, rgba(35, 187, 173, .08), rgba(255, 255, 255, .02) 60%); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .35), 0 40px 90px -50px rgba(35, 187, 173, .5); }
.aa-save__top { display: flex; align-items: center; gap: 16px; }
.aa-save__top .aa-mini-orb { width: 46px; height: 46px; }
.aa-save__clock { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(247, 162, 0, .55); }
.aa-save__clock i { position: absolute; left: 50%; top: 50%; width: 2px; height: 15px; margin-left: -1px; border-radius: 1px; background: #FFC75A; translate: 0 -100%; transform-origin: 50% 100%; animation: aa-spin 3s linear infinite; }
.aa-save__who { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--aa-muted); }
.aa-save__total { margin-top: 2px !important; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.02em; color: #fff; }
.aa-save__total b { font-weight: 500; }
.aa-save__card--old .aa-save__total b { color: #FFC75A; }
/* both bars share one scale: three working days fill the track, three minutes is a dot */
.aa-save__bar { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.aa-save__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; transform-origin: 0 50%; }
.aa-save__card--old .aa-save__bar i { width: 100%; background: linear-gradient(90deg, rgba(247, 162, 0, .55), #F7A200 70%, #FF7A45); }
.aa-save__card--ai .aa-save__bar i { width: 10px; background: var(--aa-cyan); box-shadow: 0 0 14px var(--aa-cyan); }
.aa-save__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.aa-save__list b { display: block; font-size: 16px; font-weight: 500; color: #F4FBFA; }
.aa-save__list small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--aa-muted); }
.aa-save__list em { flex: none; padding: 6px 12px; border-radius: 999px; font-style: normal; font-size: 15px; font-weight: 500; white-space: nowrap; }
.aa-save__card--old .aa-save__list b { color: #DCEBE9; }
.aa-save__card--old .aa-save__list em { color: #FFC75A; background: rgba(247, 162, 0, .1); }
.aa-save__card--ai .aa-save__list em { color: #031413; background: linear-gradient(135deg, var(--aa-cyan), var(--aa-teal)); }
.aa-save__note { margin-top: 18px !important; text-align: center; }
@media (max-width: 860px) {
  .aa-save__grid { grid-template-columns: 1fr; }
  .aa-save__card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .aa-save__clock i { animation: none; } }

/* ═════════ depth: faint sky behind every section, soft glows behind the graphics ═════════ */
.aa-sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.aa-agents { background: radial-gradient(40% 40% at 20% 70%, rgba(107, 150, 241, .07), rgba(0, 0, 0, 0) 70%), radial-gradient(35% 35% at 85% 35%, rgba(35, 187, 173, .06), rgba(0, 0, 0, 0) 70%); }
.aa-save { background: radial-gradient(35% 45% at 74% 60%, rgba(35, 187, 173, .1), rgba(0, 0, 0, 0) 70%), radial-gradient(30% 40% at 26% 60%, rgba(247, 162, 0, .035), rgba(0, 0, 0, 0) 70%); }
.aa-forms { background: radial-gradient(45% 40% at 50% 62%, rgba(35, 187, 173, .08), rgba(0, 0, 0, 0) 70%); }
.aa-statement { background: radial-gradient(35% 45% at 72% 50%, rgba(107, 150, 241, .08), rgba(0, 0, 0, 0) 70%); }
.aa-layer { background: radial-gradient(50% 40% at 50% 55%, rgba(35, 187, 173, .06), rgba(0, 0, 0, 0) 70%); }
.aa-app { background: radial-gradient(30% 45% at 72% 52%, rgba(35, 187, 173, .09), rgba(0, 0, 0, 0) 70%); }
.aa-short { background: radial-gradient(35% 45% at 75% 50%, rgba(107, 150, 241, .07), rgba(0, 0, 0, 0) 70%); }

/* time saved (experiment): each AI row shows that job's graphic from "Five jobs" */
.aa-save__list li { min-height: 96px; }
.aa-save__thumb { position: relative; flex: none; width: 112px; height: 72px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .25); }
.aa-save__thumb > .aa-agent__art { position: absolute; left: 0; top: 0; width: 350px; height: 225px; margin: 0; transform: scale(.32); transform-origin: 0 0; }
.aa-save__card--ai .aa-save__list li > div { flex: 1; }
@media (max-width: 600px) {
  .aa-save__thumb { width: 84px; height: 54px; }
  .aa-save__thumb > .aa-agent__art { transform: scale(.24); }
}

/* hero planet: a canvas over the visible part of the planet (it is 190vw across, centred; this covers the middle 100vw of its top) */
.aa-globe { position: absolute; left: 45vw; top: 0; width: 100vw; height: 52vh; pointer-events: none; }

/* risky driving: the live demo (same overlay as the homepage popup) */
.aa-flow__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; }
.aa-flow__cta .aa-btn { height: 46px; padding: 0 20px 0 16px; font-size: 15px; }
@media (max-height: 800px) and (min-width: 861px) { .aa-flow__head .aa-lead { font-size: 15px; } .aa-flow__cta { margin-top: 14px; } }

.aa-section[hidden] { display: none; }

/* ═════════ Do it layout: headline row, one row of task tabs, then the app in a browser window (screen + docked AI panel) ═════════ */
.aa-doit__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.aa-doit__head .aa-display { font-size: clamp(36px, 4.8vw, 68px); }
.aa-doit__lead { max-width: 430px; padding-bottom: 6px; }
.aa-doit__tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.aa-doit__tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 10px; border: 0; border-radius: 14px; font: 500 15px/1 "Roboto", sans-serif; color: #CFE3E0; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: pointer; white-space: nowrap; }
.aa-page .aa-doit__tab { transition: background-color .3s, box-shadow .3s, color .3s !important; }
.aa-doit__tab:hover { background: rgba(255, 255, 255, .06); }
.aa-doit__tab:focus-visible { outline: 2px solid var(--aa-cyan); outline-offset: 2px; }
.aa-doit__tab[aria-selected="true"] { color: #fff; background: rgba(35, 187, 173, .14); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .55), 0 14px 34px -20px rgba(35, 187, 173, .8); }
.aa-doit__num { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 11.5px; color: var(--aa-mint); box-shadow: inset 0 0 0 1px var(--aa-line); }
.aa-doit__tab[aria-selected="true"] .aa-doit__num { color: #031413; background: linear-gradient(135deg, var(--aa-cyan), var(--aa-teal)); box-shadow: none; }
.aa-doit__stage { position: relative; isolation: isolate; }
.aa-doit__window { border-radius: 20px; overflow: hidden; background: #13211F; box-shadow: 0 0 0 1px rgba(59, 238, 226, .2), 0 0 24px rgba(59, 238, 226, .1), 0 0 70px rgba(59, 238, 226, .05); }
.aa-doit__bar { position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #0F1C1B; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.aa-doit__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.aa-doit__bar span { position: absolute; left: 50%; translate: -50% 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 5px 16px; border-radius: 8px; font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #7F9693; background: rgba(255, 255, 255, .04); }
.aa-doit__bar b { font-weight: 400; color: #CFE3E0; }
.aa-doit__frame { display: flex; background: #13211F; }
.aa-doit__frame .aa-doit__canvas { align-self: stretch; }
.aa-doit__frame .aa-chat { width: 340px; }
.aa-doit__frame .aa-chat__body { min-height: 0; flex: 1; overflow: hidden; }
@media (max-width: 1180px) {
  .aa-doit__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .aa-doit__frame { flex-direction: column; }
  .aa-doit__frame .aa-doit__canvas { flex: none; }
  .aa-doit__frame .aa-chat { width: auto; border-left: 0; border-top: 1px solid rgba(59, 238, 226, .22); }
  .aa-doit__frame .aa-chat__body { min-height: 430px; }
}
@media (max-width: 860px) {
  .aa-doit__tabs { overflow-x: auto; margin: 0 -24px 18px; padding: 2px 24px; scrollbar-width: none; }
  .aa-doit__tabs::-webkit-scrollbar { display: none; }
  .aa-doit__tab { flex: none; }
  .aa-doit__bar span { display: none; }
}
@media (max-width: 600px) {
  .aa-doit__tabs { margin: 0 -16px 16px; padding: 2px 16px; }
  .aa-doit__tab { height: 42px; font-size: 13.5px; padding-right: 16px; }
}
.aa-ok.is-allowed .aa-ok__btns { display: none; } /* once allowed, the box shrinks to its label */
.aa-ok.is-allowed .aa-ok__q { margin-bottom: 0 !important; }

/* ═════════ phones: tighter rhythm, smaller body copy, roomier rows ═════════ */
.aa-br-m { display: none; }
@media (max-width: 600px) {
  .aa-section { padding: 72px 0; }
  .aa-safety__pin { padding: 72px 0; gap: 28px; }
  .aa-head { margin-bottom: 36px; }
  .aa-tag { margin-bottom: 18px !important; font-size: 12px; }
  .aa-h2 { font-size: 32px; line-height: 1.1; }
  .aa-display, .aa-doit__head .aa-display { font-size: 34px; line-height: 1.05; }
  .aa-lead, .aa-flow__head .aa-lead { font-size: 16px; line-height: 1.55; }
  .aa-head .aa-lead { margin-top: 14px; }
  .aa-agents__head { margin-bottom: 28px; gap: 14px; }
  .aa-br-m { display: block; }

  /* Do it: less empty panel under the app */
  .aa-doit__head { gap: 14px; margin-bottom: 26px; }
  .aa-doit__frame .aa-chat__body { min-height: 330px; padding: 12px; }

  /* time saved: on the AI side the time drops under the text, so the text gets the width */
  .aa-save__card { padding: 20px 18px; gap: 16px; }
  .aa-save__total { font-size: 26px; }
  .aa-save__list li { min-height: 0; padding: 14px 0; gap: 12px; }
  .aa-save__list b { font-size: 15px; }
  .aa-save__list small { font-size: 13px; }
  .aa-save__list em { font-size: 13.5px; padding: 5px 10px; }
  .aa-save__card--ai .aa-save__list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; column-gap: 14px; row-gap: 8px; }
  .aa-save__card--ai .aa-save__thumb { grid-row: 1 / span 2; width: 76px; height: 50px; }
  .aa-save__card--ai .aa-save__thumb > .aa-agent__art { transform: scale(.218); }
  .aa-save__card--ai .aa-save__list em { grid-column: 2; justify-self: start; }

  /* statement + closing */
  .aa-statement__text { font-size: 27px; }
  .aa-final { padding-top: 72px; }
  .aa-final .aa-h2 { font-size: 30px; }
}

/* footer: same look as the other pages (site teal, its own spacing), drawn above the page's fixed sky */
.aa-body footer { position: relative; z-index: 1; background: #001615; }

/* Shared site button, as used on the redesigned pages (main.css keeps the older size for the rest of the site). */
.custom-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; line-height: 1.2; padding: 12px 20px; }
