/* AceFleet website. Brand: Signal (see assets/brand). */
:root {
  --midnight: #0b1220;
  --deck: #1b2538;
  --deck-line: #2a3650;
  --lime: #c6f24e;
  --cloud: #f4f6f8;
  --white: #ffffff;
  --slate: #7c879b;
  --ink: #0b1220;
  --ink-2: #3c4658;
  --ink-3: #69748a;
  --line: #e2e6ec;
  --on-dark: #f4f6f8;
  --on-dark-2: #aab4c5;
  --on-dark-3: #7d889c;
  --radius: 18px;
  --max: 1160px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.04em; margin: 0; }
p { margin: 0; }
em { font-style: normal; color: var(--lime); }
em.ink { color: var(--slate); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--lime); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

/* Buttons and form */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d4fa66; transform: translateY(-1px); box-shadow: 0 8px 24px rgb(198 242 78 / .25); }
.signup { display: flex; gap: 8px; max-width: 460px; }
.signup input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--deck-line); background: rgb(255 255 255 / .04); color: var(--on-dark); font: 400 15px var(--font-body); }
.signup input::placeholder { color: var(--on-dark-3); }
.signup input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgb(198 242 78 / .2); }
.signup-note { margin-top: 10px; font-size: 13px; color: var(--on-dark-3); min-height: 20px; }
.signup-note.ok { color: var(--lime); }
@media (max-width: 480px) { .signup { flex-direction: column; } .signup input { flex: none; } .signup .btn { width: 100%; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--midnight); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--deck-line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--on-dark-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--on-dark); }
.nav .btn { height: 40px; padding: 0 16px; font-size: 14px; color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--midnight); color: var(--on-dark); position: relative; overflow: hidden; padding: 64px 0 0; }
.sky { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M26 40l10-10 10 10' fill='none' stroke='%231b2538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 72px 72px; animation: drift 14s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
@keyframes drift { to { background-position: 0 -72px; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-bottom: 72px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--on-dark-2); padding: 6px 12px 6px 8px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--deck-line); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(198 242 78 / .18); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgb(198 242 78 / .05); } }
.hero h1 { font-size: clamp(42px, 4.8vw, 62px); line-height: 1.02; margin: 22px 0 18px; letter-spacing: -0.05em; }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--on-dark-2); margin-bottom: 30px; }

/* Hero hub: the brand at the centre, every channel around it */
.hub { background: linear-gradient(180deg, #131c2e, #0f1727); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--deck-line), 0 40px 90px rgb(0 0 0 / .5); padding: 16px; }
.hub-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 4px; font-size: 12.5px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.for-you { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-2); font-weight: 500; padding: 3px 4px 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(198 242 78 / .35); }
.for-you b { min-width: 20px; height: 20px; border-radius: 999px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 11.5px; }
.for-you b.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.board-name { margin-left: auto; color: var(--on-dark-2); font-weight: 500; white-space: nowrap; }
.board-name small { color: var(--on-dark-3); font-weight: 400; margin-left: 4px; }

.orbit { position: relative; aspect-ratio: 1.3; }
.spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spokes line { stroke: var(--deck-line); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.spokes line.hot { stroke: rgb(198 242 78 / .55); }
.core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; background: radial-gradient(circle at 50% 40%, #1e2a40, #111a2b); box-shadow: inset 0 0 0 1.5px rgb(198 242 78 / .5), 0 0 60px rgb(198 242 78 / .12); z-index: 2; }
.core img { width: 34%; height: auto; }
.core b { font: 600 12.5px var(--font-head); letter-spacing: -0.02em; color: var(--on-dark); }
.core-ring { position: absolute; inset: -9%; border-radius: 50%; border: 1.5px dashed rgb(198 242 78 / .28); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core.hit { animation: coreHit .7s var(--ease); }
@keyframes coreHit { 40% { box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 0 10px rgb(198 242 78 / .12), 0 0 70px rgb(198 242 78 / .3); } }
.node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 8px; border-radius: 999px; background: var(--deck); color: var(--on-dark-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--deck-line); transition: color .3s, box-shadow .3s, background-color .3s; z-index: 1; }
.node i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.node.hit { color: var(--on-dark); background: #223050; box-shadow: inset 0 0 0 1px var(--c), 0 0 24px color-mix(in srgb, var(--c) 35%, transparent); }
.packet { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); z-index: 3; pointer-events: none; }
.packet.back { background: var(--white); box-shadow: 0 0 12px rgb(255 255 255 / .8); }
.ticker { margin-top: 6px; height: 36px; border-radius: 10px; background: rgb(255 255 255 / .03); display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--on-dark-2); overflow: hidden; white-space: nowrap; }
.ticker span { display: inline-flex; align-items: center; gap: 8px; animation: tick .5s var(--ease); overflow: hidden; text-overflow: ellipsis; }
.ticker span::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--lime)); }
@keyframes tick { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 560px) {
  .hub { padding: 12px; }
  .orbit { aspect-ratio: 1; }
  .node { font-size: 11px; padding: 5px 8px 5px 6px; gap: 5px; }
  .node i { width: 7px; height: 7px; }
  .core b { font-size: 10.5px; }
  .board-name small { display: none; }
}
/* Persona marquee */
.marquee { position: relative; border-top: 1px solid var(--deck-line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font: 600 18px var(--font-head); letter-spacing: -0.02em; color: var(--on-dark-3); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-left: 3px solid var(--lime); border-top: 3px solid var(--lime); transform: rotate(45deg) translate(2px, 2px); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { scroll-margin-top: 68px; }
.sec { padding: 112px 0; }
@media (max-width: 760px) { .sec { padding: 80px 0; } }
.sec h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; margin-bottom: 48px; text-wrap: balance; }
.cloud { background: var(--cloud); }
.dark { background: var(--midnight); color: var(--on-dark); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }
.promise { background: var(--midnight); color: var(--on-dark); border-radius: 22px; padding: 30px 28px 32px; }
.promise h3 { font-size: 30px; line-height: 1.1; margin: 26px 0 10px; }
.promise p { color: var(--on-dark-2); font-size: 16px; }
.p-art { position: relative; height: 72px; }
.p-know i { position: absolute; left: 36px; top: 36px; width: 72px; height: 72px; margin: -36px; border-radius: 50%; border: 1.5px solid var(--deck-line); animation: converge 2.8s ease-in infinite; }
.p-know i:nth-child(2) { animation-delay: .93s; }
.p-know i:nth-child(3) { animation-delay: 1.86s; }
.p-know b { position: absolute; left: 26px; top: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 24px rgb(198 242 78 / .5); }
@keyframes converge { from { transform: scale(1.6); opacity: 0; } 40% { opacity: 1; border-color: rgb(198 242 78 / .5); } to { transform: scale(.3); opacity: 0; } }
.p-run i { position: absolute; left: 30px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--deck-line); transform: rotate(calc(var(--n) * 45deg)) translateX(30px); animation: orbitLight 3.2s linear infinite; animation-delay: calc(var(--n) * .4s); }
.p-run i:nth-child(1) { --n: 0; } .p-run i:nth-child(2) { --n: 1; } .p-run i:nth-child(3) { --n: 2; } .p-run i:nth-child(4) { --n: 3; }
.p-run i:nth-child(5) { --n: 4; } .p-run i:nth-child(6) { --n: 5; } .p-run i:nth-child(7) { --n: 6; } .p-run i:nth-child(8) { --n: 7; }
.p-run b { position: absolute; left: 26px; top: 26px; width: 20px; height: 20px; border-radius: 6px; background: var(--lime); }
@keyframes orbitLight { 0%, 10% { background: var(--lime); box-shadow: 0 0 12px var(--lime); } 25%, 100% { background: var(--deck-line); box-shadow: none; } }
.p-grow svg { width: 120px; height: 64px; }
.p-grow path { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-line { stroke-dasharray: 160; stroke-dashoffset: 160; }
.p-arrow { stroke-dasharray: 24; stroke-dashoffset: 24; }
.promise.in .p-line { animation: draw 1.6s var(--ease) .3s forwards; }
.promise.in .p-arrow { animation: draw .5s var(--ease) 1.7s forwards; }

/* Loop player */
.player { max-width: 960px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.tabs button { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; font: 600 14px var(--font-body); color: var(--ink-3); padding: 4px 2px; text-align: left; }
.tabs button i { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.tabs button i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.tabs button.done i::after { transform: scaleX(1); }
.tabs button.on { color: var(--ink); }
.tabs button.on i::after { animation: fill var(--dur, 4.2s) linear forwards; }
.player.paused .tabs button.on i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.tabs button:focus-visible { outline: 3px solid var(--lime); }
@media (max-width: 520px) { .tabs { gap: 5px; } .tabs button span { font-size: 11.5px; } }

.stage { position: relative; height: 440px; border-radius: 24px; background: var(--midnight); color: var(--on-dark); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgb(198 242 78 / .07), transparent 70%); }
.stage-tag { position: absolute; right: 14px; top: 12px; font-size: 11px; color: var(--on-dark-3); z-index: 2; }
@media (max-width: 640px) { .stage { height: 470px; } }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; padding: 36px 24px 24px; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.scene small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--on-dark-3); margin-bottom: 10px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes slideIn { to { opacity: 1; transform: none; } }
@keyframes popIn { to { transform: scale(1); } }

/* Learn */
.s-learn { grid-template-columns: 120px minmax(0, 340px) 190px; gap: 28px; justify-content: center; }
.feeds { display: grid; gap: 8px; justify-items: start; }
.feeds span { padding: 6px 11px; border-radius: 999px; background: var(--deck); color: var(--on-dark-2); font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--deck-line); opacity: 0; }
.on .feeds span { animation: feed 2.2s var(--ease) var(--d) forwards; }
@keyframes feed { 0% { opacity: 0; transform: translateX(-24px); } 25% { opacity: 1; transform: none; } 70% { opacity: 1; transform: none; } 100% { opacity: .35; transform: translateX(26px); } }
.brain { text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tiles span { display: grid; place-items: center; height: 64px; border-radius: 12px; background: var(--deck); box-shadow: inset 0 0 0 1px var(--deck-line); font-size: 12.5px; font-weight: 600; color: var(--on-dark-3); }
.on .tiles span { animation: tileFill .5s var(--ease) var(--d) forwards; }
@keyframes tileFill { to { background: var(--lime); color: var(--ink); box-shadow: 0 0 22px rgb(198 242 78 / .25); } }
.personas { display: grid; gap: 8px; }
.persona { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; background: var(--white); color: var(--ink); border-radius: 12px; padding: 9px 10px; opacity: 0; transform: translateY(10px) scale(.95); }
.persona i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--c); }
.persona b { font-size: 13.5px; line-height: 1.2; }
.persona span { font-size: 11.5px; color: var(--ink-3); line-height: 1.2; }
.on .persona { animation: slideIn .5s var(--ease) var(--d) forwards; }
@media (max-width: 760px) {
  .s-learn { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .feeds { display: none; }
  .tiles span { height: 46px; font-size: 11px; }
  .personas { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .personas small { grid-column: 1 / -1; margin-bottom: 0; text-align: center; }
  .persona { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 4px; row-gap: 4px; }
  .persona i { grid-row: auto; width: 22px; height: 22px; }
  .persona b { font-size: 11.5px; }
  .persona span { display: none; }
}

/* Plan */
.plan { width: min(540px, 100%); display: grid; gap: 18px; }
.thesis { background: var(--white); color: var(--ink); border-radius: 16px; padding: 16px 18px; opacity: 0; transform: translateY(-10px); }
.thesis small { color: var(--ink-3); margin-bottom: 4px; }
.thesis b { font: 600 22px/1.2 var(--font-head); letter-spacing: -0.03em; }
.on .thesis { animation: slideIn .5s var(--ease) forwards; }
.mix { display: grid; gap: 10px; }
.m-row { display: grid; grid-template-columns: 96px 76px 1fr; align-items: center; gap: 10px; font-size: 14px; opacity: 0; transform: translateX(-10px); }
.on .m-row { animation: slideIn .4s var(--ease) var(--d) forwards; }
.m-ch { font-weight: 600; }
.m-role { justify-self: start; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; background: var(--deck); color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--deck-line); }
.m-bar { height: 12px; border-radius: 6px; background: var(--deck); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.on .m-bar i { animation: popIn .9s var(--ease) calc(var(--d) + .3s) forwards; }
.m-row:first-child .m-role { background: var(--lime); color: var(--ink); box-shadow: none; }
.m-row.parked { color: var(--on-dark-3); }
.m-row.parked .m-bar { background: repeating-linear-gradient(-45deg, var(--deck) 0 6px, transparent 6px 12px); }
@media (max-width: 520px) { .m-row { grid-template-columns: 78px 66px 1fr; font-size: 12.5px; gap: 8px; } .thesis b { font-size: 18px; } }

/* Create */
.spark { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 40px var(--lime); opacity: 0; }
.on .spark { animation: spark 1.1s var(--ease) forwards; }
@keyframes spark { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(3); } }
.assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(640px, 100%); }
.asset { display: grid; gap: 2px; opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.3); }
.on .asset { animation: burst .7s var(--ease) var(--d) forwards; }
@keyframes burst { to { opacity: 1; transform: none; } }
.asset b { font-size: 14px; margin-top: 8px; }
.asset > span { font-size: 12px; color: var(--on-dark-3); }
.a-art { position: relative; height: 112px; border-radius: 14px; background: var(--white); padding: 14px; overflow: hidden; }
.a-art i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 8px; }
.a-post .av { display: block; width: 26px; height: 26px; border-radius: 50%; background: #e8dcc8; margin-bottom: 4px; }
.a-thread .a-art { background: #e8eeff; }
.a-thread .a-art i { height: 22px; border-radius: 8px; background: var(--white); border-left: 4px solid #9db8ff; margin-top: 6px; }
.a-thread .a-art i:first-child { margin-top: 0; }
.a-essay .bar, .a-article .bar { display: block; height: 18px; border-radius: 6px; background: #ffd28a; margin-bottom: 4px; }
.a-article .bar { background: #86e3a8; width: 80%; }
.a-article .faq { position: absolute; right: 12px; bottom: 12px; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: var(--ink); color: var(--lime); }
.a-carousel .a-art { background: transparent; padding: 0; }
.a-carousel .c1 { position: absolute; inset: 0 22% 0 0; border-radius: 14px; background: #f3ead9; color: #3b2a12; padding: 14px; font: 600 16px/1.15 var(--font-head); letter-spacing: -0.03em; z-index: 1; box-shadow: 8px 0 20px rgb(0 0 0 / .3); }
.a-carousel .c2 { position: absolute; inset: 8px 0 8px 40%; border-radius: 12px; background: #c9a77a; }
.a-reel .a-art { background: transparent; padding: 0; display: grid; place-items: center; }
.a-reel .phone { width: 64px; height: 112px; border-radius: 12px; background: linear-gradient(160deg, #3b2a12, #0f1727); display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--deck-line); color: var(--white); }
.a-reel svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .assets { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .asset { transform: scale(.3); }
  .a-art { height: 78px; padding: 10px; }
  .a-art i { margin-top: 6px; height: 6px; }
  .a-thread .a-art i { height: 14px; margin-top: 4px; }
  .a-carousel .c1 { font-size: 12.5px; padding: 10px; }
  .a-reel .phone { width: 44px; height: 78px; }
  .asset b { font-size: 12.5px; margin-top: 5px; }
  .asset > span { font-size: 11px; }
}

/* Approve */
.s-approve { align-content: center; gap: 22px; }
.queue { width: min(420px, 100%); display: grid; gap: 8px; }
.q-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--on-dark-3); padding: 0 4px 2px; }
.q-head b { color: var(--lime); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.q { display: grid; grid-template-columns: 36px 1fr 26px; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--deck); border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--deck-line); opacity: 0; transform: translateX(-16px); }
.q-thumb { grid-row: span 2; width: 36px; height: 36px; border-radius: 9px; }
.q b { font-size: 14.5px; line-height: 1.2; }
.q small { grid-column: 2; margin: 0; font-size: 11.5px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.q .mark { grid-column: 3; grid-row: 1 / span 2; }
.on .q { animation: slideIn .45s var(--ease) var(--d) forwards, approved .4s ease var(--a) forwards; }
@keyframes approved { from { opacity: 1; transform: none; } to { opacity: 1; transform: none; background: #243318; box-shadow: inset 0 0 0 1px rgb(198 242 78 / .6); } }
.mark { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--deck-line); color: var(--on-dark-3); font-weight: 700; font-size: 14px; }
.mark svg { width: 15px; height: 15px; }
.mark.ok { background: var(--lime); color: var(--ink); transform: scale(0); }
.on .mark.ok { animation: popIn .35s var(--ease) calc(var(--d) + .4s) forwards; }
.q.warn { box-shadow: inset 0 0 0 1px #f0c36d; }
.q.warn .mark { background: #f0c36d; color: var(--ink); }
.approve-wrap { position: relative; }
.approve-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--ink); font-weight: 600; padding: 12px 22px; border-radius: 12px; }
.approve-btn svg { width: 18px; height: 18px; }
.on .approve-btn { animation: press 4.2s ease forwards; }
@keyframes press { 0%, 48% { transform: none; } 53% { transform: scale(.92); box-shadow: 0 0 0 8px rgb(198 242 78 / .25); } 60%, 100% { transform: none; box-shadow: 0 0 0 0 rgb(198 242 78 / 0); } }
.cursor { position: absolute; left: 60%; top: 55%; width: 22px; height: 22px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l15 8-6.5 1.8L9.5 20z' fill='%23fff' stroke='%230b1220' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.on .cursor { animation: cursor 4.2s var(--ease) forwards; }
@keyframes cursor { 0%, 25% { opacity: 0; transform: translate(110px, 60px); } 35% { opacity: 1; } 48% { transform: none; } 53% { transform: scale(.85); } 60% { transform: none; opacity: 1; } 75%, 100% { transform: translate(50px, 30px); opacity: 0; } }

/* Launch */
.cal { display: grid; grid-template-columns: 96px repeat(5, minmax(0, 1fr)); gap: 6px; width: min(560px, 100%); }
.cal > span { height: 50px; border-radius: 10px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(42 54 80 / .7); position: relative; }
.cal > span:first-child, .cal .day, .cal .ch { background: none; box-shadow: none; height: auto; }
.cal .day { font-size: 12px; font-weight: 600; color: var(--on-dark-3); text-align: center; padding-bottom: 2px; }
.cal .ch { display: flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.cal .c::after { content: ""; position: absolute; inset: 6px; border-radius: 7px; background: var(--c); opacity: 0; transform: translateY(-18px) scale(.8); }
.on .cal .c::after { animation: drop .5s var(--ease) var(--d) forwards; }
@keyframes drop { 70% { opacity: 1; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.on .cal .c { animation: ping-cell 1.2s ease-out calc(var(--d) + .4s); }
@keyframes ping-cell { from { box-shadow: inset 0 0 0 1px var(--c), 0 0 0 0 color-mix(in srgb, var(--c) 50%, transparent); } to { box-shadow: inset 0 0 0 1px rgb(42 54 80 / .7), 0 0 0 12px transparent; } }
@media (max-width: 520px) { .cal { grid-template-columns: 70px repeat(5, minmax(0, 1fr)); gap: 4px; } .cal > span { height: 42px; } .cal .ch { font-size: 11px; } .cal .day { font-size: 10.5px; } }

/* Grow */
.s-grow { align-content: center; gap: 22px; }
.funnel { display: grid; gap: 8px; justify-items: center; width: min(520px, 100%); }
.f { width: var(--w); min-width: 150px; height: 50px; border-radius: 12px; background: var(--deck); box-shadow: inset 0 0 0 1px var(--deck-line); display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: scaleX(.6); }
.on .f { animation: slideIn .55s var(--ease) var(--d) forwards; }
.f b { font: 600 22px var(--font-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.f span { font-size: 13px; color: var(--on-dark-3); }
.f.last { background: var(--lime); color: var(--ink); box-shadow: 0 0 30px rgb(198 242 78 / .3); }
.f.last span { color: var(--ink-2); }
.lesson { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 14px; opacity: 0; transform: translateY(14px); }
.lesson b { font-weight: 600; }
.loop-ico { font-size: 18px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.on .lesson { animation: slideIn .5s var(--ease) 2.5s forwards; }
@media (max-width: 520px) { .f { height: 44px; } .f b { font-size: 18px; } .lesson { font-size: 12.5px; padding: 9px 12px; } }
/* Fleet formation */
.fleet-wrap { display: flex; flex-direction: column; align-items: center; }
.fleet-wrap h2 { margin-bottom: 40px; }
.formation { display: grid; gap: 10px; justify-items: center; }
.f-row { display: flex; gap: 10px; }
.agent { all: unset; cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font-body); color: var(--ink); background: var(--c); position: relative; transition: transform .25s var(--ease), box-shadow .25s, opacity .3s; animation: wave 4.5s ease-in-out infinite; animation-delay: var(--w); }
.agent:hover, .agent:focus-visible, .agent.sel { transform: translateY(-4px) scale(1.14); box-shadow: 0 0 0 4px var(--midnight), 0 0 0 6px var(--c), 0 12px 30px rgb(0 0 0 / .4); outline: none; z-index: 2; }
@keyframes wave { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.25) drop-shadow(0 0 12px var(--c)); } }
.agent.lead { width: 68px; height: 68px; font-size: 15px; }
.formation.filtered .agent:not(.in-squad) { opacity: .14; }
@media (max-width: 640px) {
  .formation, .f-row { gap: 5px; }
  .agent { width: 31px; height: 31px; font-size: 9.5px; }
  .agent.lead { width: 40px; height: 40px; font-size: 11px; }
  .agent:hover, .agent:focus-visible, .agent.sel { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 4px var(--c); }
}
.fleet-caption { margin-top: 32px; min-height: 30px; font-size: 18px; color: var(--on-dark-2); text-align: center; }
.fleet-caption b { color: var(--on-dark); font-family: var(--font-head); letter-spacing: -0.02em; margin-right: 8px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; max-width: 760px; }
.legend button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--deck-line); transition: background-color .2s, color .2s; }
.legend button:hover { color: var(--on-dark); background: rgb(255 255 255 / .04); }
.legend button[aria-pressed="true"] { color: var(--on-dark); background: var(--deck); box-shadow: inset 0 0 0 1px var(--c); }
.legend button:focus-visible { outline: 3px solid var(--lime); }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* Guards */
.guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .guards { grid-template-columns: repeat(2, 1fr); } }
.guard { background: var(--white); border-radius: var(--radius); padding: 32px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease); }
.guard:hover { transform: translateY(-4px); }
.guard svg { width: 64px; height: 64px; }
.guard .g-box { fill: none; stroke: var(--line); stroke-width: 3.5; }
.guard .g-draw { fill: none; stroke: var(--ink); stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.guard.in .g-draw { animation: draw 1s var(--ease) .3s forwards; }
.guard.in .g2 { animation-delay: .9s; }
.guard .g-needle { stroke: var(--ink); transform-origin: 24px 38px; }
.guard.in .g-needle { animation: draw .6s var(--ease) .3s forwards, needle 2.4s ease-in-out 1s infinite alternate; }
@keyframes needle { from { transform: rotate(-70deg); } to { transform: rotate(0deg); } }
.guard b { font: 600 17px/1.25 var(--font-head); letter-spacing: -0.02em; }

/* Final call to action */
.final { position: relative; overflow: hidden; text-align: center; padding: 140px 0; }
.flight { position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M18 32l10-10 10 10' fill='none' stroke='%231b2538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 56px 56px; animation: rise 6s linear infinite;
  mask-image: radial-gradient(ellipse at center, transparent 25%, #000 75%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 25%, #000 75%); }
@keyframes rise { to { background-position: 0 -56px; } }
.final .inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-mark { margin-bottom: 28px; animation: hover 3s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-8px); } }
.final h2 { font-size: clamp(38px, 5.4vw, 64px); max-width: 760px; margin-bottom: 36px; }
.final .signup { width: 100%; }

/* Footer */
.foot { background: var(--midnight); color: var(--on-dark-3); border-top: 1px solid var(--deck-line); padding: 28px 0; font-size: 13.5px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { height: 24px; width: auto; }

/* Reveal on scroll (hidden only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track, .core-ring, .p-know i, .p-run i { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  /* Show every end state directly instead of relying on finished animations. */
  .guard .g-draw, .p-line, .p-arrow { stroke-dashoffset: 0; }
  .p-know i { opacity: .6; }
  .feeds span, .persona, .thesis, .m-row, .asset, .q, .f, .lesson { opacity: 1; transform: none; }
  .tiles span { background: var(--lime); color: var(--ink); }
  .m-bar i, .mark.ok { transform: none; }
  .cal .c::after { opacity: 1; transform: none; }
}
