/* DeepStack / Lodestar marketing site. System fonts only (fast, no third-party requests). */
:root {
  --navy-950: #050d1c;
  --navy-900: #0b1f3a;
  --navy-800: #12294b;
  --navy-700: #1c3a66;
  --gold: #f5b301;
  --gold-soft: #ffd76a;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6474;
  --line: #e2e6ee;
  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --ok: #067647;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.10);
  --wrap: 72rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---- header ---- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 58, 0.96); color: #fff; backdrop-filter: saturate(140%) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.logo { display: flex; align-items: center; gap: 0.55rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; margin-right: auto; }
.logo img { width: 32px; height: 32px; }
.logo span em { font-style: normal; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { color: #dbe4f3; text-decoration: none; padding: 0.6rem 0.75rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); }
.nav .btn { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--navy-900); padding: 0.5rem 1.25rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 0.5rem; font-size: 1.05rem; }
  .nav .btn { margin: 0.5rem 0 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---- hero ---- */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(245,179,1,0.18), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; padding: 4rem 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .hero { padding: 2.5rem 0 3.5rem; } }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: rgba(245,179,1,0.14); color: var(--gold-soft); border: 1px solid rgba(245,179,1,0.35); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,179,1,0.25); }
.hero h1 { margin: 1rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: #d3dcec; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.5rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: #c3cee2; font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 0.4rem; }

/* phone mock-up */
.phone { width: min(320px, 82vw); margin: 0 auto; background: #0a1426; border-radius: 42px; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 2px rgba(255,255,255,0.08); }
.phone-screen { background: #f6f7fb; color: var(--ink); border-radius: 30px; overflow: hidden; min-height: 540px; display: flex; flex-direction: column; }
.ph-top { background: var(--navy-900); color: #fff; padding: 1.4rem 1rem 0.8rem; display: flex; align-items: center; gap: 0.5rem; font-weight: 800; }
.ph-top img { width: 22px; height: 22px; }
.ph-top b { color: var(--gold); font-weight: 700; }
.ph-body { padding: 0.9rem; display: grid; gap: 0.6rem; flex: 1; font-size: 0.85rem; }
.ph-h { font-weight: 800; font-size: 1rem; margin: 0.2rem 0; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.65rem 0.75rem; display: grid; gap: 0.15rem; }
.ph-card .t { display: flex; justify-content: space-between; font-weight: 700; }
.ph-card .s { color: var(--muted); }
.tag { display: inline-block; font-size: 0.7rem; font-weight: 800; padding: 0.1rem 0.5rem; border-radius: 999px; background: #e8f5ee; color: var(--ok); }
.tag.due { background: #fff4e5; color: #8a5a00; }
.ph-nova { background: var(--navy-900); color: #fff; border-radius: 14px 14px 4px 14px; padding: 0.6rem 0.75rem; margin-left: 2rem; }
.ph-me { background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 0.6rem 0.75rem; margin-right: 2rem; }
.ph-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); background: #fff; padding: 0.7rem 0 0.9rem; font-weight: 700; font-size: 0.8rem; color: var(--muted); }
.ph-tabs .on { color: #b77f00; }

/* ---- sections ---- */
.section { padding: 5rem 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--navy-900); color: #fff; }
.section.dark p, .section.dark li { color: #d3dcec; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #b77f00; margin-bottom: 0.6rem; }
.section.dark .eyebrow { color: var(--gold); }
.head { max-width: 46rem; margin-bottom: 2.5rem; }
.head p { font-size: 1.1rem; color: var(--ink-2); }
.section.dark .head p { color: #c3cee2; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 3.5rem 0; } }

.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.card p { color: var(--ink-2); }
.card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.card li { margin: 0.25rem 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }
.status { font-size: 0.75rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 999px; background: #e8f5ee; color: var(--ok); }
.status.soon { background: #eef1f6; color: var(--muted); }
.product .tagline { font-weight: 700; color: var(--ink); }

/* pains */
.pain { border-left: 4px solid var(--gold); padding: 0.25rem 0 0.25rem 1rem; }
.pain h3 { margin-bottom: 0.3rem; }
.pain p { margin: 0; color: var(--ink-2); }

/* Nova chat */
.nova-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .nova-grid { grid-template-columns: 1fr; } }
.chat { background: var(--navy-950); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.75rem; }
.bubble { padding: 0.75rem 1rem; border-radius: 16px; max-width: 88%; }
.bubble.me { background: #fff; color: var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.bubble.nova { background: var(--navy-700); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 0.75rem; font-weight: 800; color: var(--gold); margin-bottom: 0.2rem; }
.bubble .who.dark { color: #b77f00; }
.chat-actions { display: flex; gap: 0.5rem; justify-self: end; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-weight: 900; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.25rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* UK rules timeline */
.rules { display: grid; gap: 1rem; }
.rule { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.rule strong { color: var(--navy-900); }
.rule .when { font-weight: 800; color: #b77f00; }
@media (max-width: 640px) { .rule { grid-template-columns: 1fr; gap: 0.25rem; } }
.small { font-size: 0.85rem; color: var(--muted); }

/* pilot */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .pilot { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.form label { font-weight: 700; display: grid; gap: 0.35rem; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; min-height: 48px; padding: 0.6rem 0.8rem; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.form textarea { min-height: 6rem; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 700; margin-bottom: 0.35rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks label { font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; cursor: pointer; }
.checks input { width: auto; min-height: 0; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* solutions teaser */
.teaser { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius); padding: 2.5rem; }
.teaser p { color: #d3dcec; }
.teaser .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; padding: 1.75rem; } }

/* faq */
.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #b77f00; font-weight: 900; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); }

/* ERP page */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.25rem; }
.pillar .n { font-weight: 900; color: #b77f00; font-size: 0.9rem; }
.pillar p { color: var(--ink-2); font-size: 0.95rem; margin: 0.25rem 0 0.6rem; }
.chips-dark { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips-dark span { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; background: #eef1f6; color: var(--ink-2); }
.timeline { display: grid; gap: 1rem; counter-reset: phase; }
.phase { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.phase::before { counter-increment: phase; content: "0" counter(phase); width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy-900); color: var(--gold); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.phase h3 { margin-bottom: 0.2rem; }
.phase p { margin: 0; color: var(--ink-2); }
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; padding: 3.5rem 0; }
.page-hero p { color: #d3dcec; font-size: 1.15rem; max-width: 44rem; }
.crumbs { font-size: 0.9rem; margin-bottom: 1rem; }
.crumbs a { color: var(--gold-soft); }

/* footer */
.footer { background: var(--navy-950); color: #aab6cb; padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; margin: 0 0 0.75rem; font-size: 0.95rem; }
.footer a { color: #aab6cb; text-decoration: none; display: block; padding: 0.2rem 0; }
.footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* gentle reveal (only when JS has run; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.mt { margin-top: 1rem; }
.eyebrow.gold { color: var(--gold); }
.section.dark .form, .section.dark .form li { color: var(--ink); }
.section.dark .form .form-note { color: var(--muted); }
.form [aria-invalid="true"] { border-color: #b42318; }
.page-hero h1 { margin-top: 1rem; }

/* =================== Motion & tech layer =================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), #ffe7a3, #5ec8ff); }

/* hero sky */
.hero { position: relative; isolation: isolate; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-aurora { position: absolute; inset: -20% -10% auto -10%; height: 70%; z-index: -2; background:
  radial-gradient(40% 60% at 75% 30%, rgba(245,179,1,0.22), transparent 70%),
  radial-gradient(35% 50% at 20% 10%, rgba(94,200,255,0.16), transparent 70%);
  filter: blur(20px); animation: aurora 14s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(-4%, 4%, 0) scale(1.08); } }

.shine { background: linear-gradient(100deg, var(--gold) 20%, #fff3c4 40%, var(--gold) 60%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.rotator { display: inline-block; color: var(--gold-soft); font-weight: 700; border-bottom: 2px solid rgba(245,179,1,0.5); transition: opacity 0.25s, transform 0.25s; }
.rotator.out { opacity: 0; transform: translateY(-6px); }

.btn-glow { position: relative; box-shadow: 0 0 0 0 rgba(245,179,1,0.5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,179,1,0.45); } 70% { box-shadow: 0 0 0 16px rgba(245,179,1,0); } 100% { box-shadow: 0 0 0 0 rgba(245,179,1,0); } }
.btn { transition: transform 0.15s ease, background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }

/* orbiting product planets around the phone = the ecosystem */
.orbit-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(245,179,1,0.28); transform: translate(-50%, -50%); animation: spin linear infinite; }
.ring-1 { width: min(430px, 33vw); height: min(430px, 33vw); animation-duration: 38s; }
.ring-2 { width: min(540px, 40vw); height: min(540px, 40vw); animation-duration: 60s; animation-direction: reverse; border-color: rgba(94,200,255,0.22); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.planet { position: absolute; width: 0; height: 0; }
.planet i { position: absolute; transform: translate(-50%, -50%); font-style: normal; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; color: var(--navy-950); background: var(--gold); padding: 0.3rem 0.65rem; border-radius: 999px; box-shadow: 0 0 18px rgba(245,179,1,0.55); white-space: nowrap; animation: spin-back linear infinite; }
.ring-1 .planet i { animation-duration: 38s; animation-direction: reverse; }
.ring-2 .planet i { animation-duration: 60s; animation-direction: normal; background: #bfe9ff; box-shadow: 0 0 18px rgba(94,200,255,0.55); }
@keyframes spin-back { to { transform: translate(-50%, -50%) rotate(360deg); } }
.p-orbit { top: 0; left: 50%; } .p-vault { bottom: 0; left: 50%; }
.p-beacon { top: 50%; left: 0; } .p-cargo { top: 14.6%; right: 14.6%; } .p-launch { bottom: 14.6%; right: 14.6%; }
.ring-1 .planet i, .ring-2 .planet i { will-change: transform; }
.phone { position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .orbit-stage { min-height: 560px; }
  .ring-1 { width: min(380px, 70vw); height: min(380px, 70vw); } .ring-2 { width: min(480px, 86vw); height: min(480px, 86vw); }
}
@media (max-width: 520px) {
  .orbit-stage { min-height: 520px; overflow: hidden; margin: 0 -1.25rem; }
  .ring-1 { width: 330px; height: 330px; } .ring-2 { display: none; }
}

/* live phone feed */
.ph-live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #7ee2a8; }
.ph-live span { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,0.6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.ph-feed { display: grid; gap: 0.6rem; }
.ph-card.enter { animation: slide-in 0.5s cubic-bezier(.2,.8,.2,1); border-color: var(--gold); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-12px) scale(0.97); } }
.tag.new { background: #e6f3ff; color: #0b5cad; }

/* trades marquee */
.marquee { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); overflow: hidden; padding: 0.9rem 0; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { color: #9fb0cc; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; white-space: nowrap; }
.marquee span::before { content: "✦"; color: var(--gold); margin-right: 2.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* spotlight cards: gradient border + cursor glow */
.glow-card { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.glow-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(245,179,1,0.9), rgba(94,200,255,0.4) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.glow-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,58,0.16); }
.glow-card:hover::before { opacity: 1; }

/* tech grid backdrop on dark sections */
.section.dark { position: relative; overflow: hidden; }
.section.dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.section.dark > .wrap { position: relative; }

/* Nova typing */
.js [data-chat].armed > .bubble, .js [data-chat].armed > .chat-actions { display: none; }
.js [data-chat] > .shown { display: flex !important; animation: pop 0.35s ease; }
.js [data-chat] > .bubble.shown { display: block !important; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.typing { justify-self: end; background: var(--navy-700); border-radius: 16px; padding: 0.7rem 0.9rem; display: inline-flex; gap: 0.3rem; }
.typing.me-typing { justify-self: start; background: #fff; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; transform: translateY(-2px); } }

/* step numbers glow, rule rows slide */
.step::before { box-shadow: 0 0 0 6px rgba(245,179,1,0.18); }
.rule { transition: transform 0.2s, border-color 0.2s; }
.rule:hover { transform: translateX(6px); border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .ring, .planet i, .phone, .marquee-track, .shine, .btn-glow, .hero-aurora { animation: none !important; }
}

/* logo lockup */
.logo img { width: 40px; height: 40px; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 10px rgba(245,179,1,0.35)); }
.logo:hover img { transform: rotate(-20deg) scale(1.06); }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.wordmark small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb0cc; margin-top: 2px; }
