/* ===========================================================
   Agentum landing page — the whole visual design for `/`.

   Loaded ONLY by home/index (via content_for :head), not by the marketing
   layout: it carries unlayered global resets (`a { color: inherit }`, the
   body background, the h1–h4 family) that would otherwise win the cascade
   against Tailwind's `@layer utilities` on /privacy and /terms, which share
   this layout. Add landing-only rules here; anything an inner page also
   needs belongs in app/assets/tailwind/application.css.

   The type it uses (Satoshi, Playfair Display) is self-hosted and declared
   in tailwind/application.css so every page gets the same faces.
   =========================================================== */

:root {
  --surface: #111413;
  --surface-lowest: #090d0d;
  --surface-low: #151a19;
  --surface-container-low: #181f1d;
  --surface-container: #202725;
  --surface-container-high: #29322f;

  --text-main: #F7F1E8;
  --text-accent: #C8A96A;
  --text-body: #DADADA;
  --text-label: rgba(247, 241, 232, 0.58);
  --on-primary: #171006;
  --primary: var(--text-accent);
  --muted-soft: rgba(218, 218, 218, 0.72);
  --line: rgba(200, 169, 106, 0.16);
  --ok: #9dd4a8;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Satoshi", "Avenir Next", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #050606; overflow-x: clip; }

/* Background copied value-for-value from theagentum.com's computed style,
   including the 448px/480px radial stops — not re-derived. */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-body);
  background-color: #050505;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  line-height: 1.62;
}
/* Ambient gradients painted once at the top of the page, in the normal flow.
   A fixed layer (or background-attachment: fixed) gave the compositor an extra
   full-viewport layer to keep rastered; on a busy machine that showed up as
   black unpainted rectangles until the next scroll. */
body {
  background-image:
    radial-gradient(circle at 78% 13%, rgba(200, 169, 106, 0.10), rgba(0,0,0,0) 448px),
    radial-gradient(circle at 14% 34%, rgba(38, 70, 104, 0.10), rgba(0,0,0,0) 480px),
    linear-gradient(180deg, #050505 0%, #080908 38%, #050606 70%, #050505 100%);
  /* Explicitly override fixed backgrounds from shared site stylesheets. */
  background-attachment: scroll;
  background-size: 100% 100vh;
  background-repeat: no-repeat;
}
body::selection { background: rgba(233, 193, 118, 0.28); }

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { background: none; border: 0; color: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; margin: 0; }
p { margin: 0; }

.shell { max-width: 74rem; margin: 0 auto; padding: 0 1.5rem; }
.shell-narrow { max-width: 52rem; margin: 0 auto; padding: 0 1.5rem; }

/* ── Nav ──────────────────────────────────────────────── */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid rgba(233, 193, 118, 0.06);
  /* An opaque header avoids re-blurring the page on every scroll frame. */
  background: #050606;
  backdrop-filter: none;
  transition: transform 180ms ease-out, border-color 180ms ease;
}
.site-nav--hidden { transform: translateY(-100%); }
.site-nav--menu-open { transform: none; }
.site-nav--scrolled {
  border-bottom-color: rgba(233, 193, 118, 0.14);
  background: #050606;
  backdrop-filter: none;
}
@media (max-width: 860px) {
  .site-nav, .site-nav--scrolled {
    background: rgba(5, 6, 6, 0.96);
    backdrop-filter: none;
  }
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 87.5rem; margin: 0 auto; padding: 0.9rem 1.5rem; }
@media (min-width: 768px) { .nav-shell { padding: 1rem 3rem; } }

/* Lockup — exact spec from theagentum.com. The wordmark is Playfair
   Display 600, UPPERCASE, tracked -0.02em at 0.76em; the mark is sized
   off the lockup's own font-size (1.38em tall, width auto — it is not
   square). Footer lockup is the same 1.4rem, not smaller. */
.logo-lockup {
  display: inline-flex; align-items: center; gap: 0.42rem;
  line-height: 1; color: var(--text-main); font-size: 1.4rem;
}
.logo-lockup .lockup-mark { display: block; height: 1.38em; width: auto; }
.logo-lockup .lockup-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.76em; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--text-main);
}
.logo-lockup--footer { font-size: 1.4rem; }

.nav-links { display: none; gap: clamp(2.05rem, 3.3vw, 3.7rem); align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  color: var(--text-label); font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; letter-spacing: normal; text-transform: uppercase;
  transition: color 160ms ease;
}
.nav-link:hover { color: var(--primary); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3.05rem;
  padding: 0.625rem 1.25rem; border-radius: 6px;
  background: linear-gradient(135deg, rgba(200,169,106,0.18), rgba(0,0,0,0.16) 52%, rgba(200,169,106,0.12));
  border: 1px solid rgba(200,169,106,0.78);
  color: #C8A96A;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 1.2rem rgba(200,169,106,0.08);
  font-size: 0.9rem; font-weight: 500; letter-spacing: normal; text-transform: none;
  transition: background 200ms ease;
}
.nav-cta:hover { background: linear-gradient(135deg, rgba(200,169,106,0.34), rgba(200,169,106,0.10) 52%, rgba(200,169,106,0.22)); color: #C8A96A; }
.nav-cta { white-space: nowrap; }

/* Right-hand group: the account control (Account when signed in, Sign in
   when not) sits beside the CTA. Devise's OmniAuth route is POST-only, so
   "Sign in" is a button_to — a <form> wrapping a <button> — and has to be
   made to sit on the baseline like the anchor next to it. */
.nav-actions { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav-signin { display: contents; }
.nav-link--account { display: none; }
@media (min-width: 900px) { .nav-link--account { display: inline-flex; align-items: center; } }

/* On a phone the CTA wrapped to two lines and squeezed the logo against
   the hamburger. Drop it — the menu's last item is Request access, and
   the hero's primary button is one screen away. */
@media (max-width: 700px) {
  .nav-cta { display: none; }
  .nav-shell { padding: 0.75rem 1.1rem; }
  .logo-lockup { font-size: 1.2rem; }
}

/* Mobile menu — below 900px the link row is hidden, so the nav needs
   a way through. Panel slides under the bar. */
.nav-menu-btn {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; margin-right: -0.5rem;
  color: var(--text-label); transition: color 180ms ease;
}
.nav-menu-btn:hover { color: var(--primary); }
.nav-menu-btn svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-menu-btn .icon-close { display: none; }
.nav-menu-btn[aria-expanded="true"] .icon-open { display: none; }
.nav-menu-btn[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 900px) { .nav-menu-btn { display: none; } }

.site-nav__mobile {
  border-top: 1px solid rgba(233,193,118,0.12);
  background: rgba(5,6,6,0.96); backdrop-filter: blur(14px);
  overflow: hidden; max-height: 0;
  transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav__mobile.is-open { max-height: 26rem; }
.site-nav__mobile div { display: flex; flex-direction: column; padding: 0.4rem 1.5rem 1.1rem; }
.site-nav__mobile a {
  padding: 0.85rem 0; color: var(--text-label);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.045);
}
.site-nav__mobile a:last-child { border-bottom: 0; }
/* The mobile panel's Sign in is a button_to for the same POST-only reason;
   `display: contents` on the form lets the button inherit the row rules. */
.site-nav__mobile .nav-signin button {
  width: 100%; text-align: left;
  padding: 0.85rem 0; color: var(--text-label);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.045);
}
.site-nav__mobile .nav-signin button:hover { color: var(--primary); }
.site-nav__mobile a:hover { color: var(--primary); }
@media (min-width: 900px) { .site-nav__mobile { display: none; } }

/* Keyboard focus remains visible throughout the site, including controls
   whose component styles intentionally remove the browser's default ring. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ── Buttons ──────────────────────────────────────────── */

.hero-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0.9rem 1.35rem; border-radius: 6px;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.78rem;
  letter-spacing: normal; text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.hero-link--primary { background: linear-gradient(135deg, var(--primary), #d7a75a); color: var(--on-primary); }
.hero-link--secondary { border: 1px solid rgba(233,193,118,0.34); color: var(--primary); background: rgba(255,255,255,0.015); }
.hero-link:hover { opacity: 0.9; transform: translateY(-1px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ── Section rhythm ───────────────────────────────────── */

.band { position: relative; padding: clamp(5rem, 12vh, 9rem) 0; }
.band--deep { background: linear-gradient(180deg, #050606 0%, #080909 18%, #0c0e0d 50%, #080909 84%, #050606 100%); }
.band--edge::before,
.band--edge::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.24), transparent);
}
.band--edge::before { top: 0; }
.band--edge::after { bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-soft, #f2d68b); font-family: var(--font-sans); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }

.band-h2 {
  margin: 0.9rem 0 0; color: var(--text-main);
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02;
}
.band-h2 span, .band-h2 em { display: block; color: var(--text-accent); font-style: italic; font-weight: 400; }
.band-lede { max-width: 38rem; margin: 1.2rem 0 0; color: var(--text-body); font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.68; }
.band-intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }

/* ── Product-led hero ───────────────────────────────────
   The landing view shows the actual Agentum interaction: one request becomes
   coordinated work. It is intentionally static, apart from normal hover states. */

.hero-new {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 58rem);
  display: flex; align-items: center;
  padding: clamp(8rem, 14vh, 10rem) 0 clamp(4.5rem, 9vh, 6rem);
  background:
    radial-gradient(circle at 82% 24%, rgba(35, 92, 139, 0.18), transparent 28rem),
    radial-gradient(circle at 68% 76%, rgba(200, 169, 106, 0.08), transparent 24rem),
    linear-gradient(145deg, #050606 0%, #060a10 55%, #07111d 100%);
}
.hero-new::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.30), transparent);
}
.hero-new__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(54vw, 48rem); aspect-ratio: 1; right: -8rem; top: 50%;
  transform: translateY(-50%); border-radius: 50%; opacity: 0.74;
  background:
    radial-gradient(circle at 38% 34%, rgba(233,193,118,0.13), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(32,91,142,0.24), transparent 64%),
    radial-gradient(circle, rgba(7,17,29,0.28), transparent 72%);
}
.hero-new__layout {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(21rem,0.72fr);
  gap: 1.5rem clamp(3rem, 8vw, 8rem); align-items: center;
}
.hero-new__layout > .phone-showcase { grid-column: 2; grid-row: 1 / span 2; }
.hero-new__copy { max-width: 35rem; }
.hero-new__eyebrow { margin-bottom: 1.1rem; }
.hero-new__title {
  max-width: 39rem; margin: 0;
  color: var(--text-main); font-size: clamp(2.45rem, 3.7vw, 3.4rem);
  line-height: 1.09; letter-spacing: -0.015em;
}
.hero-new__title > span { display: block; }
.hero-new__title em {
  display: block; max-width: 31rem; margin-top: 0.7em; color: var(--text-accent);
  font-size: 0.5em; line-height: 1.3; letter-spacing: 0;
  font-weight: 400; font-style: italic;
}
.hero-new__lede {
  max-width: 32rem; margin-top: 1.45rem; color: var(--text-body);
  font-size: clamp(1rem, 1.38vw, 1.15rem); line-height: 1.64;
}

/* ── Hero proof strip ─────────────────────────────────
   The four reasons to pick Agentum, on the first screen as one quiet line
   rather than four paragraphs. Each label links to the section that backs it
   up; the sentence lives there (and in the title tooltip). A grid item of its
   own so it sits under the copy on desktop and under the handset on a phone. */
.hero-proof {
  grid-column: 1; align-self: start;
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0.7rem 2.4rem;
  margin: 0; padding: 1.35rem 0 0; list-style: none;
  border-top: 1px solid rgba(200,169,106,0.14);
}
.hero-proof li { opacity: 0; transform: translateY(0.4rem); animation: hero-proof-in 700ms cubic-bezier(0.18, 1, 0.22, 1) forwards; animation-delay: calc(var(--i, 0) * 80ms + 360ms); }
@keyframes hero-proof-in { to { opacity: 1; transform: none; } }
.hero-proof a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--muted-soft); font-family: var(--font-sans); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: color 200ms ease;
}
.hero-proof__icon {
  width: 1.55rem; height: 1.55rem; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(200,169,106,0.28); color: var(--text-accent);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.hero-proof__icon svg { width: 0.8rem; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-proof a:hover { color: var(--text-main); }
.hero-proof a:hover .hero-proof__icon { border-color: rgba(200,169,106,0.7); background: rgba(200,169,106,0.1); }
@media (prefers-reduced-motion: reduce) { .hero-proof li { opacity: 1; transform: none; animation: none; } }

/* The hero handset is deliberately built from CSS and HTML. It stays crisp,
   costs almost nothing to paint, and demonstrates the actual mobile handoff. */
.phone-showcase {
  position: relative; width: min(100%, 21rem); justify-self: center;
  display: grid; place-items: center;
}
.phone-showcase__halo {
  position: absolute; z-index: -1; width: 155%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 101, 155, 0.24) 0 22%, rgba(17, 48, 77, 0.13) 42%, transparent 69%);
  filter: blur(0.3rem);
}
.phone-device {
  position: relative; width: 100%; max-width: 18.75rem; aspect-ratio: 9 / 18.9;
  padding: 0.55rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 2.9rem;
  background: linear-gradient(145deg, #262b31, #07090b 48%, #20252a);
  box-shadow:
    0 2.8rem 6rem rgba(0,0,0,0.54),
    0 0 0 0.22rem rgba(3,5,7,0.94),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.phone-device__speaker {
  position: absolute; z-index: 4; top: 0.9rem; left: 50%; width: 5.3rem; height: 1.35rem;
  transform: translateX(-50%); border-radius: 999px; background: #050607;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
.phone-screen {
  height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 2.38rem; background: #0b0b0d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-statusbar {
  height: 2rem; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0.22rem 1rem 0; color: rgba(244,243,240,0.78); background: #121214;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.02em;
}
.phone-statusbar span:last-child { font-size: 0.47rem; letter-spacing: 0; }
.phone-appbar {
  min-height: 3.75rem; flex: none; display: grid; grid-template-columns: auto 1fr auto;
  gap: 0.65rem; align-items: center; padding: 0.56rem 0.78rem;
  border-bottom: 1px solid #1c1c1f; background: #121214;
}
.phone-appbar img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
.phone-appbar strong {
  display: block; color: #f4f3f0; font-size: 0.76rem; line-height: 1.1; font-weight: 650;
}
.phone-appbar small {
  display: block; margin-top: 0.22rem; color: #5f5e5b; font-size: 0.55rem; line-height: 1;
}
.phone-appbar__actions { display: flex; gap: 0.3rem; align-items: center; }
.phone-appbar__agents,
.phone-appbar__icon {
  min-height: 1.72rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #1c1c1f; border-radius: 0.5rem; background: #1a1a1d; color: #c8a96a;
}
.phone-appbar__agents { gap: 0.24rem; padding: 0 0.43rem; border-radius: 999px; }
.phone-appbar__icon { width: 1.72rem; }
.phone-appbar__actions svg { width: 0.78rem; height: 0.78rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-appbar__agents b { color: #c8a96a; font-size: 0.48rem; font-weight: 700; }
.phone-lensbar {
  flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.24rem;
  padding: 0.4rem 0.62rem 0.46rem; border-bottom: 1px solid #1c1c1f; background: #121214;
}
.phone-lensbar > span {
  min-height: 1.7rem; display: flex; align-items: center; justify-content: center; gap: 0.32rem;
  border: 1px solid transparent; border-radius: 0.48rem; color: #8c8b88;
  font-size: 0.56rem; font-weight: 650;
}
.phone-lensbar > span.is-selected { border-color: rgba(200,169,106,0.34); background: #1a1a1d; color: #f4f3f0; }
.phone-lensbar i {
  min-width: 1rem; height: 1rem; display: inline-grid; place-items: center; padding: 0 0.25rem;
  border-radius: 999px; background: rgba(200,169,106,0.16); color: #c8a96a;
  font-size: 0.45rem; font-style: normal; font-weight: 700;
}
.phone-chat {
  min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 0.34rem;
  padding: 0.58rem 0.62rem 0.68rem; overflow: hidden; background: #0b0b0d;
}
.phone-chat__date {
  align-self: center; padding: 0.18rem 0.55rem; border: 1px solid #1c1c1f; border-radius: 999px;
  background: #1a1a1d; color: #8c8b88; font-size: 0.46rem; font-weight: 600;
}
.phone-thread-message { width: 86%; align-self: flex-start; margin: 0.12rem 0 0.18rem; }
.phone-agenthead { display: flex; align-items: center; gap: 0.34rem; margin: 0 0.3rem 0.22rem; color: #c8a96a; }
.phone-agenthead--scout { color: #5fbfb0; }
.phone-agenthead--post { color: #d08fc8; }
.phone-agenthead--podcast { color: #e3a566; }
.phone-agentpic {
  width: 1.08rem; height: 1.08rem; flex: none; display: grid; place-items: center;
  border: 1px solid rgba(200,169,106,0.25); border-radius: 50%; background: #1a1a1d;
}
.phone-agentpic svg { width: 0.72rem; height: 0.72rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.phone-agentpic .phone-agentpic__fill { fill: currentColor; stroke: none; }
.phone-agenthead strong { font-size: 0.48rem; font-weight: 800; line-height: 1.1; }
.phone-thread-bubble {
  padding: 0.48rem 0.62rem; overflow: hidden; border: 1px solid #1c1c1f;
  border-radius: 0.78rem; border-top-left-radius: 0.26rem;
  background: #17171a; color: #f4f3f0; font-size: 0.58rem; line-height: 1.4;
}
.phone-thread-bubble > strong { display: block; font-size: 0.61rem; line-height: 1.3; }
.phone-thread-bubble > span { display: block; margin-top: 0.2rem; color: #8c8b88; font-size: 0.51rem; line-height: 1.35; }
.phone-thread-bubble time { display: block; margin: 0.2rem 0 -0.05rem; color: #5f5e5b; font-size: 0.42rem; line-height: 1; text-align: right; }
.phone-thread-actions { display: grid; margin: 0.3rem 0.1rem 0; }
.phone-thread-actions span {
  min-height: 1.45rem; display: grid; place-items: center; border: 1px solid #1c1c1f; border-radius: 0.5rem;
  background: #1a1a1d; color: #c8a96a; font-size: 0.49rem; font-weight: 600;
}
.phone-thread-audio {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 0.42rem; align-items: center;
  margin-top: 0.42rem; padding: 0.38rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.58rem;
  background: rgba(255,255,255,0.04);
}
.phone-thread-audio > i {
  width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(200,169,106,0.45); color: #c8a96a; font-size: 0.44rem; font-style: normal;
}
.phone-thread-audio b { display: block; color: #f4f3f0; font-size: 0.48rem; }
.phone-thread-audio small { display: block; margin-top: 0.05rem; color: #5f5e5b; font-size: 0.4rem; }
.phone-compose {
  min-height: 3.35rem; flex: none; display: flex; align-items: center; gap: 0.6rem;
  margin: 0; padding: 0.55rem 0.62rem 0.7rem; border-top: 1px solid #1c1c1f;
  background: #121214;
}
.phone-compose > span {
  min-width: 0; flex: 1; padding: 0.58rem 0.72rem; border: 1px solid #1c1c1f; border-radius: 999px;
  color: #5f5e5b; background: #1a1a1d; font-size: 0.6rem;
}
.phone-compose i {
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; flex: none; border-radius: 50%;
  border: 1px solid rgba(200,169,106,0.78); color: #c8a96a;
  background: linear-gradient(135deg,rgba(200,169,106,0.18),rgba(0,0,0,0.16) 52%,rgba(200,169,106,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06),0 0 1.2rem rgba(200,169,106,0.08);
  font-style: normal;
}
.phone-compose i svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }

@media (max-width: 900px) {
  .hero-new { min-height: auto; padding: 7.2rem 0 4.5rem; }
  .hero-new__layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-new__copy { max-width: 40rem; justify-self: center; text-align: center; }
  .hero-new__title { max-width: 40rem; font-size: clamp(2.4rem, 6.3vw, 3.4rem); }
  .hero-new__title em { margin-inline: auto; }
  .hero-new__lede { margin-inline: auto; }
  .hero-new__copy .hero-actions { justify-content: center; }
  .hero-new__glow { width: 40rem; right: 50%; top: 72%; transform: translate(50%,-50%); opacity: 0.56; }
  .phone-showcase { width: 19rem; }
  .hero-new__layout > .phone-showcase { grid-column: 1; grid-row: auto; }
  .hero-proof { grid-column: 1; justify-self: center; justify-content: center; max-width: 40rem; margin-top: 0.2rem; grid-template-columns: repeat(4, max-content); gap: 0.7rem 1.6rem; }
}

@media (max-width: 600px) {
  .hero-new { min-height: 100svh; padding: 6rem 0 2.8rem; align-items: flex-start; }
  .hero-new__layout { gap: 1.65rem; }
  .hero-new__title { font-size: clamp(2rem, 9.3vw, 2.45rem); line-height: 1.04; }
  .hero-new__lede { max-width: 22rem; margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.5; }
  .hero-new__copy .hero-actions { margin-top: 1.2rem; gap: 0.55rem; }
  .hero-new__copy .hero-link { min-height: 2.8rem; padding: 0.72rem 0.95rem; font-size: 0.75rem; }
  .phone-showcase { width: 15rem; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 0.5rem; width: 100%; padding-top: 1.1rem; }
  .hero-proof a { font-size: 0.74rem; }
  .hero-proof__icon { width: 1.4rem; height: 1.4rem; }
  .phone-device { border-radius: 2.45rem; padding: 0.45rem; }
  .phone-device__speaker { top: 0.72rem; width: 4.5rem; height: 1.08rem; }
  .phone-screen { border-radius: 2.05rem; }
  .phone-statusbar { height: 1.65rem; padding-inline: 0.78rem; font-size: 0.5rem; }
  .phone-statusbar span:last-child { font-size: 0.4rem; }
  .phone-appbar { min-height: 3.1rem; gap: 0.48rem; padding: 0.42rem 0.62rem; }
  .phone-appbar img { width: 1.45rem; height: 1.45rem; }
  .phone-appbar strong { font-size: 0.66rem; }
  .phone-appbar small { font-size: 0.47rem; }
  .phone-appbar__agents,
  .phone-appbar__icon { min-height: 1.4rem; }
  .phone-appbar__agents { padding-inline: 0.34rem; }
  .phone-appbar__icon { width: 1.4rem; }
  .phone-appbar__actions svg { width: 0.64rem; height: 0.64rem; }
  .phone-appbar__agents b { font-size: 0.4rem; }
  .phone-lensbar { gap: 0.18rem; padding: 0.3rem 0.48rem 0.34rem; }
  .phone-lensbar > span { min-height: 1.4rem; font-size: 0.46rem; }
  .phone-lensbar i { min-width: 0.82rem; height: 0.82rem; font-size: 0.36rem; }
  .phone-chat { gap: 0.2rem; padding: 0.38rem 0.44rem 0.46rem; }
  .phone-chat__date { padding: 0.13rem 0.44rem; font-size: 0.37rem; }
  .phone-thread-message { margin: 0.08rem 0 0.12rem; }
  .phone-agenthead { gap: 0.27rem; margin: 0 0.24rem 0.15rem; }
  .phone-agentpic { width: 0.86rem; height: 0.86rem; }
  .phone-agentpic svg { width: 0.58rem; height: 0.58rem; }
  .phone-agenthead strong { font-size: 0.39rem; }
  .phone-thread-bubble { padding: 0.34rem 0.44rem; border-radius: 0.63rem; border-top-left-radius: 0.22rem; font-size: 0.47rem; }
  .phone-thread-bubble > strong { font-size: 0.49rem; }
  .phone-thread-bubble > span { margin-top: 0.14rem; font-size: 0.41rem; }
  .phone-thread-bubble time { margin-top: 0.14rem; font-size: 0.35rem; }
  .phone-thread-actions { margin: 0.2rem 0.08rem 0; }
  .phone-thread-actions span { min-height: 1.12rem; border-radius: 0.42rem; font-size: 0.4rem; }
  .phone-thread-audio { gap: 0.32rem; margin-top: 0.28rem; padding: 0.25rem; border-radius: 0.46rem; }
  .phone-thread-audio > i { width: 1rem; height: 1rem; font-size: 0.35rem; }
  .phone-thread-audio b { font-size: 0.39rem; }
  .phone-thread-audio small { font-size: 0.33rem; }
  .phone-compose { min-height: 2.8rem; padding: 0.4rem 0.48rem 0.55rem; }
  .phone-compose > span { padding: 0.45rem 0.58rem; font-size: 0.49rem; }
  .phone-compose i { width: 1.55rem; height: 1.55rem; font-size: 0.75rem; }
}

@media (max-width: 360px) {
  .hero-new { padding-top: 5.6rem; }
  .hero-new__layout { gap: 1.35rem; }
  .hero-new__lede { font-size: 0.84rem; }
  .hero-new__copy .hero-actions { flex-wrap: nowrap; margin-top: 1rem; }
  .hero-new__copy .hero-link { padding-inline: 0.62rem; font-size: 0.7rem; }
  .phone-showcase { width: 14.3rem; }
}

/* Content is visible immediately as it enters the viewport. Scroll-triggered
   fades made the page appear to lag behind the user's scrolling. Keep the
   state classes compatible with the existing scene/observer code. */
.reveal-enabled .reveal-heading,
.reveal-enabled .reveal-card {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ── Feature rows ─────────────────────────────────────── */

.feature-points { display: grid; gap: 0.55rem; margin: 1.3rem 0 0; padding: 0; color: var(--text-label); list-style: none; font-size: 0.95rem; }
.feature-points li { display: flex; gap: 0.6rem; align-items: baseline; }
.feature-points li::before { content: ""; flex: none; width: 0.35rem; height: 0.35rem; margin-top: 0.5rem; border-radius: 50%; background: var(--text-accent); box-shadow: 0 0 0.85rem rgba(200,169,106,0.30); }


/* ── Marketplace strip under the job cards ─────────────── */
.more-strip {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
  margin-top: 1.6rem; padding: 1.4rem 1.7rem; border-radius: 10px;
  border: 1px solid rgba(200,169,106,0.16);
  background: radial-gradient(circle at 90% 20%, rgba(200,169,106,0.10), transparent 14rem), rgba(255,255,255,0.015);
}
.more-strip::before {
  content: ""; width: 2.6rem; height: 2.6rem; border-radius: 9px;
  border: 1px solid rgba(200,169,106,0.3); background: rgba(200,169,106,0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A96A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='2'/%3E%3Crect x='13' y='4' width='7' height='7' rx='2'/%3E%3Crect x='4' y='13' width='7' height='7' rx='2'/%3E%3Cpath d='M16.5 13.5v6M13.5 16.5h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 1.2rem;
}
.more-strip h3 { margin: 0; color: var(--text-main); font-size: 1.35rem; line-height: 1.15; }
.more-strip p { max-width: 40rem; margin-top: 0.35rem; color: var(--text-label); font-size: 0.95rem; line-height: 1.55; }
.faq details:target summary { color: var(--primary); }
@media (max-width: 700px) {
  .more-strip { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.3rem 1.2rem; margin-top: 1.4rem; }
  .more-strip h3 { font-size: 1.2rem; }
}

/* ── Scenes (the Tuesday switcher) ────────────────────── */

/* Tight enough that the first scene is visible with the heading, rather
   than a screen of title followed by a screen of example. */
#tuesday .band-intro { margin-bottom: 0; }
#tuesday .band-lede { margin-top: 0.8rem; }
.scene-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.scene-tab {
  position: relative; padding: 0.7rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(200,169,106,0.22); background: rgba(255,255,255,0.012);
  color: var(--text-label); font-family: var(--font-sans); font-weight: 600;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.scene-tab:hover { color: var(--text-main); border-color: rgba(200,169,106,0.5); }
.scene-tab.is-on {
  color: var(--on-primary); border-color: transparent;
  background: linear-gradient(135deg, #f1d18d, #c99341);
  box-shadow: 0 0 1.6rem rgba(200,169,106,0.24);
}

/* Carousel controls — same treatment as the live "Inside" section:
   round glass arrows either side, a dot rail underneath. Below 1024px
   the arrows drop into a bottom bar flanking the dots so they can never
   sit on top of the copy. */
.scene-stage { position: relative; padding-bottom: 3.6rem; }

.scene-arrow {
  position: absolute; top: 50%; z-index: 6;
  display: grid; place-items: center;
  width: 3rem; height: 3rem; padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(233,193,118,0.34); border-radius: 999px;
  background: rgba(5,6,6,0.6); color: var(--text-accent);
  backdrop-filter: blur(6px);
  transition: opacity 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 160ms ease;
}
.scene-arrow:hover { background: rgba(13,17,24,0.82); border-color: rgba(233,193,118,0.62); }
.scene-arrow:active { transform: translateY(-50%) scale(0.93); }
.scene-arrow svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-arrow--prev { left: clamp(-1.5rem, -2.4vw, 0rem); }
.scene-arrow--next { right: clamp(-1.5rem, -2.4vw, 0rem); }
@media (min-width: 1024px) { .scene-arrow { display: none; } }

.scene-dots {
  position: absolute; left: 50%; bottom: 0.6rem; z-index: 6;
  display: flex; gap: 0.5rem; transform: translateX(-50%);
}
/* Dots paint at 0.5rem but carry a finger-sized hit area via padding
   (content-box + background-clip keeps the visual dot small). */
.scene-dot { display: grid; place-items: center; padding: 0.85rem 0.6rem; border: 0; background: none; }
.scene-dot::before {
  content: ""; display: block;
  width: 0.5rem; height: 0.5rem; border-radius: 999px;
  background: rgba(233,193,118,0.3);
  transition: background-color 240ms ease, width 240ms ease;
}
.scene-dot:hover::before { background: rgba(233,193,118,0.55); }
.scene-dot.is-current::before { width: 1.4rem; background: var(--text-accent); }

@media (max-width: 1023px) {
  .scene-arrow {
    top: auto; bottom: 0; transform: none;
    width: 2.6rem; height: 2.6rem;
  }
  .scene-arrow:active { transform: scale(0.92); }
  .scene-arrow svg { width: 1.25rem; height: 1.25rem; }
  .scene-arrow--prev { left: calc(50% - 5.6rem); right: auto; }
  .scene-arrow--next { right: calc(50% - 5.6rem); left: auto; }
  .scene-dots { bottom: 1.05rem; }
}
.scene {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 880px) { .scene { grid-template-columns: 1fr; } }
.scene[hidden] { display: none; }
.scene.is-entering > * { animation: scene-in 720ms cubic-bezier(0.18, 1, 0.22, 1) both; }
.scene.is-entering > *:nth-child(2) { animation-delay: 90ms; }
@keyframes scene-in { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

.scene-kicker { color: var(--text-label); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; }
.scene-head { margin: 0.8rem 0 0; color: var(--text-main); font-family: var(--font-display); font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.12; }
.scene-body { margin: 1.1rem 0 0; color: var(--text-body); line-height: 1.68; max-width: 30rem; }
.scene-body + .scene-body { margin-top: 0.9rem; color: var(--text-label); font-size: 0.95rem; }
.scene-counter { display: none; }

@media (max-width: 899px) {
  #tuesday { min-height: 100svh; padding: 3.4rem 0; }
  #tuesday .band-intro { max-width: 20rem; }
  #tuesday .band-h2 { margin-top: 0.65rem; font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.01; }
  #tuesday .scene-tabs { display: none; }
  #tuesday .scene-stage {
    height: clamp(31rem, calc(100svh - 12rem), 38rem);
    margin-top: 1.4rem; padding-bottom: 0;
  }
  #tuesday .scene {
    height: 100%; min-height: 0; padding-bottom: 3.7rem;
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr);
    gap: 1rem; align-items: stretch;
  }
  #tuesday .scene > div:first-child { align-self: start; }
  #tuesday .scene-kicker { font-size: 0.59rem; letter-spacing: 0.19em; }
  #tuesday .scene-head { margin-top: 0.45rem; font-size: clamp(1.38rem, 6.5vw, 1.72rem); line-height: 1.08; }
  #tuesday .scene-body { margin-top: 0.55rem; font-size: 0.82rem; line-height: 1.48; }
  #tuesday .scene-body--detail { display: none; }
  #tuesday .scene > .chat,
  #tuesday .scene > .brief {
    height: 100%; min-height: 0; overflow: hidden;
    padding: 0.8rem; border-radius: 11px;
    box-shadow: 0 1.2rem 2.8rem rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.035);
  }
  #tuesday .chat-top { margin-bottom: 0.65rem; padding-bottom: 0.6rem; font-size: 0.62rem; }
  #tuesday .bub { max-width: 94%; margin-bottom: 0.42rem; padding: 0.55rem 0.68rem; font-size: 0.72rem; line-height: 1.4; }
  #tuesday .bub .stamp { margin-bottom: 0.2rem; font-size: 0.57rem; }
  #tuesday .bub-actions { margin-top: 0.45rem; }
  #tuesday .bub-actions span { padding: 0.25rem 0.45rem; font-size: 0.58rem; }
  #tuesday .brief-head { padding-bottom: 0.65rem; }
  #tuesday .brief-av { width: 2rem; height: 2rem; font-size: 0.67rem; }
  #tuesday .brief-head strong { font-size: 0.83rem; }
  #tuesday .brief-head small { font-size: 0.67rem; }
  #tuesday .chip { padding: 0.2rem 0.42rem; font-size: 0.52rem; }
  #tuesday .brief-sec { margin-top: 0.62rem; font-size: 0.55rem; }
  #tuesday .brief ul { margin-top: 0.3rem; font-size: 0.71rem; line-height: 1.35; }
  #tuesday .brief li { margin-bottom: 0.16rem; }
  #tuesday .plan { margin-top: 0.48rem; }
  #tuesday .plan-row { gap: 0.48rem; padding: 0.38rem 0; }
  #tuesday .plan-num { width: 1.05rem; height: 1.05rem; font-size: 0.55rem; }
  #tuesday .plan-row strong { font-size: 0.7rem; }
  #tuesday .plan-row span { font-size: 0.63rem; }
  #tuesday .asks { gap: 0.4rem; }
  #tuesday .ask { padding: 0.5rem 0.65rem; font-size: 0.68rem; }
  #tuesday .scene-mobile-extra { display: none; }
  #tuesday .scene.is-entering > * { animation-duration: 360ms; }
  #tuesday .scene-arrow { bottom: 0.28rem; width: 2.45rem; height: 2.45rem; backdrop-filter: none; }
  #tuesday .scene-arrow--prev { left: 0; }
  #tuesday .scene-arrow--next { right: 0; }
  #tuesday .scene-dots { bottom: 0.72rem; }
  #tuesday .scene-counter {
    display: block; position: absolute; right: 3.15rem; bottom: 1.05rem;
    color: var(--text-label); font-size: 0.63rem; font-variant-numeric: tabular-nums;
  }
}

@media (max-width: 360px) {
  #tuesday { padding: 2.5rem 0; }
  #tuesday .scene-stage { height: 30rem; margin-top: 1rem; }
  #tuesday .scene { gap: 0.75rem; }
  #tuesday .scene-head { font-size: 1.28rem; }
  #tuesday .scene-body { font-size: 0.75rem; line-height: 1.4; }
  #tuesday .scene > .chat,
  #tuesday .scene > .brief { padding: 0.62rem; }
  #tuesday .bub { padding: 0.45rem 0.56rem; font-size: 0.66rem; line-height: 1.34; }
  #tuesday .scene-mobile-narrow-extra { display: none; }
  #tuesday .brief-sec { margin-top: 0.46rem; }
  #tuesday .brief ul { font-size: 0.66rem; }
  #tuesday .brief li:nth-child(n+2) { display: none; }
  #tuesday .plan-row { padding: 0.3rem 0; }
  #tuesday .plan-row div > span { display: none; }
  #tuesday .ask { padding: 0.42rem 0.52rem; font-size: 0.62rem; }
  #tuesday .ask:nth-child(4) { display: none; }
}

/* ── How it works ─────────────────────────────────────── */

.how-steps { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: clamp(1.6rem, 3.5vh, 2.6rem); counter-reset: how; }
.how-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.how-step__num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9; color: var(--text-accent); font-variant-numeric: tabular-nums;
  opacity: 0.45; transition: opacity 700ms ease;
}
.how-step.is-shown .how-step__num { opacity: 1; }
.how-step h3 { color: var(--text-main); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.15; }
.how-step p { margin-top: 0.6rem; color: var(--text-label); line-height: 1.7; max-width: 40rem; }
.reveal-enabled .how-step { opacity: 1; transform: none; transition: none; }
.reveal-enabled .how-step.is-shown { opacity: 1; transform: none; }

/* ── Chat mock ────────────────────────────────────────── */

.chat {
  width: 100%;
  border: 1px solid rgba(200,169,106,0.14); border-radius: 12px;
  background: linear-gradient(150deg, rgba(20,21,20,0.94), rgba(9,10,10,0.97));
  box-shadow: 0 2rem 4.5rem rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 1.1rem;
}
.chat-top {
  display: flex; align-items: center; gap: 0.55rem;
  padding-bottom: 0.85rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  color: var(--text-label); font-size: 0.72rem; letter-spacing: 0.1em;
}
.chat-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0.5rem rgba(157,212,168,0.7); animation: dot-pulse 2.6s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.chat-top span:last-child { margin-left: auto; opacity: 0.55; }

.bub {
  max-width: 86%; padding: 0.75rem 0.95rem; border-radius: 12px; margin-bottom: 0.6rem;
  font-size: 0.9rem; line-height: 1.55; color: var(--text-body);
}
.bub--them { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.05); border-bottom-left-radius: 4px; }
.bub--me { margin-left: auto; background: rgba(200,169,106,0.13); border: 1px solid rgba(200,169,106,0.26); border-bottom-right-radius: 4px; color: #f3ecdf; }
.bub--faint { opacity: 0.5; }
.bub b { color: var(--primary); font-weight: 600; }
.bub .stamp { display: block; margin-bottom: 0.35rem; color: rgba(218,218,218,0.4); font-size: 0.68rem; letter-spacing: 0.08em; }
.bub-actions { display: flex; gap: 0.4rem; margin-top: 0.7rem; flex-wrap: wrap; }
.bub-actions span { padding: 0.35rem 0.7rem; border-radius: 6px; border: 1px solid rgba(200,169,106,0.3); color: var(--primary); font-size: 0.7rem; transition: background 180ms ease; }
.bub-actions span:hover { background: rgba(200,169,106,0.1); }

/* staggered bubble entrance, driven by --i */
.chat--anim .bub { opacity: 0; transform: translateY(0.7rem); }
.chat--anim.is-live .bub { animation: bub-in 620ms cubic-bezier(0.18, 1, 0.22, 1) forwards; animation-delay: calc(var(--i, 0) * 150ms + 120ms); }
@keyframes bub-in { to { opacity: 1; transform: none; } }
.chat--anim.is-live .bub--faint { animation-name: bub-in-faint; }
@keyframes bub-in-faint { to { opacity: 0.5; transform: none; } }

/* "…or you" scene — example asks + a live-looking input */
.asks { display: grid; gap: 0.45rem; margin: 0.9rem 0; }
.ask {
  padding: 0.6rem 0.85rem; border-radius: 10px;
  border: 1px dashed rgba(200,169,106,0.24); background: rgba(200,169,106,0.035);
  color: var(--text-label); font-size: 0.88rem; line-height: 1.5;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.ask:hover { border-color: rgba(200,169,106,0.5); color: var(--text-body); background: rgba(200,169,106,0.08); }
.bub--typing { min-width: 8rem; min-height: 2.4rem; display: flex; align-items: center; }
.caret { display: inline-block; width: 2px; height: 1.05rem; background: var(--primary); animation: caret-blink 1.1s step-end infinite; }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.typing { display: inline-flex; gap: 3px; align-items: center; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); opacity: 0.5; animation: typing 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%,60%,100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* ── Plan block (used inside bubbles) ─────────────────── */

.plan { margin-top: 0.75rem; padding-top: 0.7rem; border-top: 1px dashed rgba(200,169,106,0.2); display: grid; gap: 0.55rem; }
.plan-row { display: flex; gap: 0.65rem; align-items: flex-start; }
.plan-num {
  flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; border-radius: 5px;
  background: rgba(200,169,106,0.14); border: 1px solid rgba(200,169,106,0.3);
  color: var(--primary); font-size: 0.66rem; font-weight: 700;
  display: grid; place-items: center;
}
.plan-row strong { display: block; color: var(--text-main); font-weight: 600; font-size: 0.86rem; }
.plan-row span { color: var(--text-label); font-size: 0.8rem; }

/* ── Brief mock ───────────────────────────────────────── */

.brief { width: 100%; border: 1px solid rgba(200,169,106,0.14); border-radius: 12px; padding: 1.3rem; background: linear-gradient(150deg, rgba(20,21,20,0.94), rgba(9,10,10,0.97)); box-shadow: 0 2rem 4.5rem rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04); }
.brief-head { display: flex; gap: 0.75rem; align-items: center; padding-bottom: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.055); }
.brief-av { width: 2.5rem; height: 2.5rem; flex: none; border-radius: 0.6rem; display: grid; place-items: center; background: rgba(200,169,106,0.14); border: 1px solid rgba(200,169,106,0.28); color: var(--primary); font-weight: 700; font-size: 0.8rem; }
.brief-head strong { display: block; color: var(--text-main); font-size: 0.98rem; font-weight: 600; }
.brief-head small { color: var(--text-label); font-size: 0.8rem; }
.brief-sec { margin-top: 1rem; color: var(--primary); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }
.brief ul { margin: 0.45rem 0 0; padding-left: 1.1rem; color: var(--text-body); font-size: 0.88rem; }
.brief li { margin-bottom: 0.25rem; }
.chip { padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(157,212,168,0.12); border: 1px solid rgba(157,212,168,0.28); color: var(--ok); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Card grid ────────────────────────────────────────── */

.cards { display: grid; gap: 1px; background: rgba(200,169,106,0.12); border: 1px solid rgba(200,169,106,0.12); border-radius: 8px; overflow: hidden; }
.cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .cards--3, .cards--4 { grid-template-columns: 1fr; } }
.cell { padding: 1.6rem 1.5rem; background: linear-gradient(160deg, rgba(24,25,24,0.9), rgba(11,12,11,0.95)); transition: background 260ms ease; }
.cell:hover { background: linear-gradient(160deg, rgba(32,34,32,0.94), rgba(15,16,15,0.96)); }
.cell h3 { color: var(--text-main); font-size: 1.24rem; margin-bottom: 0.4rem; }
.cell p { color: var(--text-label); font-size: 0.9rem; line-height: 1.62; }

/* ── Agent list — mirrors the marketplace's monogram wells
   (agent.icon_url is null across the core fleet, so the app and the
   web store both render the initial in a square well). ──────────── */

/* Icon wells use the app's own agent icons (src/renderer/components/
   agentIcons.tsx) rather than emoji, so the site and the product agree. */
.cell-icon {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 0.65rem;
  background: linear-gradient(150deg, rgba(200,169,106,0.18), rgba(200,169,106,0.05));
  border: 1px solid rgba(200,169,106,0.26);
  color: var(--primary);
}
.cell-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cell-note { margin-top: 0.9rem; color: var(--text-label); font-size: 0.82rem; }

.card-rail-controls { display: none; }

@media (max-width: 899px) {
  .cards--mobile-rail {
    display: flex; gap: 0.9rem; overflow-x: auto; overflow-y: hidden;
    margin-right: -1.5rem; margin-left: -1.5rem;
    padding: 0 max(1.5rem, 8vw) 0.8rem;
    scroll-padding-inline: max(1.5rem, 8vw);
    scroll-snap-type: x mandatory; overscroll-behavior-inline: contain;
    background: none; border: 0; border-radius: 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cards--mobile-rail::-webkit-scrollbar { display: none; }
  .cards--mobile-rail:focus-visible { outline: 1px solid rgba(200,169,106,0.62); outline-offset: 4px; }
  .cards--mobile-rail .cell {
    flex: 0 0 min(82vw, 21rem); min-height: 21rem;
    display: flex; flex-direction: column;
    scroll-snap-align: center; scroll-snap-stop: always;
    border: 1px solid rgba(200,169,106,0.16); border-radius: 14px;
    background:
      radial-gradient(circle at 82% 8%, rgba(35,92,139,0.12), transparent 9rem),
      linear-gradient(155deg, rgba(25,28,27,0.96), rgba(9,11,11,0.98));
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.035);
  }
  .cards--mobile-rail .cell h3 { font-size: 1.35rem; }
  .cards--mobile-rail .cell p,
  .cards--mobile-rail .cell-points { font-size: 0.85rem; line-height: 1.52; }
  .cards--mobile-rail .cell-points { gap: 0.72rem; }
  .cards--mobile-rail .cell-note { display: block; margin-top: auto; padding-top: 1rem; font-size: 0.76rem; }
  .card-rail-controls {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin-top: 0.25rem; color: var(--text-label); font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
  }
  .card-rail-controls button {
    display: grid; place-items: center; width: 2.65rem; height: 2.65rem;
    border: 1px solid rgba(200,169,106,0.28); border-radius: 50%;
    color: var(--text-accent); font-size: 1rem;
  }
  .card-rail-controls button:disabled { opacity: 0.28; cursor: default; }
  .card-rail-controls b { color: var(--text-main); font-weight: 650; }
  #yours .cards--mobile-rail .cell { min-height: 19rem; }
}

/* ── Modal — keeps explanation on the page. The docs live behind a
   sign-in wall, so a public page must never send a prospect there for
   something they need in order to buy. ─────────────────────────────── */

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vh, 3rem) 1rem;
  /* A plain dark scrim. Blurring the whole page behind the modal
     (backdrop-filter) re-rendered every frame of the fade and made opening
     it stutter on phones. */
  background: rgba(3, 4, 4, 0.86);
  opacity: 0; visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
  position: relative;
  width: min(52rem, 100%); max-height: 100%;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(200,169,106,0.24); border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at 84% 0%, rgba(200,169,106,0.10), transparent 22rem),
    linear-gradient(160deg, rgba(20,21,20,0.98), rgba(8,9,9,0.99));
  box-shadow: 0 3rem 6rem rgba(0,0,0,0.7);
  transform: translateY(1.4rem) scale(0.985);
  transition: transform 340ms cubic-bezier(0.18, 1, 0.22, 1);
}
.modal.is-open .modal__panel { transform: none; }

.modal__close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  border: 1px solid rgba(200,169,106,0.24);
  color: var(--text-label); font-size: 1.1rem; line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.modal__close:hover { color: var(--text-main); background: rgba(200,169,106,0.1); border-color: rgba(200,169,106,0.5); }

.modal__eyebrow { color: var(--primary); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.modal__title { margin-top: 0.7rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; color: var(--text-main); padding-right: 2.5rem; }
.modal__title em { color: var(--text-accent); font-style: italic; font-weight: 400; }
.modal__lede { margin-top: 1rem; color: var(--text-body); font-size: 1.02rem; line-height: 1.72; }
.modal__rule { height: 1px; margin: 1.7rem 0; background: linear-gradient(90deg, rgba(200,169,106,0.34), transparent); }
.modal__h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--text-main); margin-bottom: 0.4rem; }
.modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 640px) { .modal__grid { grid-template-columns: 1fr; } }
.modal__cell { padding: 1.1rem 1.2rem; border-radius: 10px; border: 1px solid rgba(200,169,106,0.14); background: rgba(255,255,255,0.015); }
.modal__cell--lead { border-color: rgba(200,169,106,0.4); background: rgba(200,169,106,0.06); }
.modal__cell p { color: var(--text-label); font-size: 0.9rem; line-height: 1.62; }
.modal__cell p + p { margin-top: 0.6rem; }
.modal__foot { margin-top: 1.5rem; color: var(--text-label); font-size: 0.88rem; line-height: 1.68; }

body.modal-open { overflow: hidden; }

/* Why-Agentum modal: the label you tapped as the heading, a small line
   sketch, one sentence. Fits a phone screen without scrolling. */
.modal--why .modal__panel { width: min(36rem, 100%); }
.modal--why .modal__title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.modal__sketch { margin: 1.2rem auto 0; width: min(100%, 17rem); color: var(--text-accent); }
.modal__sketch svg { display: block; width: 100%; height: auto; }
.modal__sketch-dim { opacity: 0.45; }
.modal__sentence { margin-top: 1rem; color: var(--text-body); font-size: 1.08rem; line-height: 1.6; }
.modal--why .modal__foot { margin-top: 0.9rem; }
.modal--why .modal__foot a { color: var(--primary); }
@media (max-width: 640px) {
  .modal--why .modal__panel { padding: 1.4rem 1.2rem 0.9rem; }
  .modal__sketch { width: min(100%, 14rem); margin-top: 0.9rem; }
  .modal__sentence { font-size: 1rem; }
}

/* Paginated panes — the panel used to scroll with no cue that there was
   more below it. Three fixed panes with arrows means nothing hides. */
.modal__slides { position: relative; }
.modal__slide { display: none; }
.modal__slide.is-on { display: block; animation: modal-slide 420ms cubic-bezier(0.18, 1, 0.22, 1) both; }
@keyframes modal-slide { from { opacity: 0; transform: translateX(1.2rem); } to { opacity: 1; transform: none; } }
.modal__slide.is-back.is-on { animation-name: modal-slide-back; }
@keyframes modal-slide-back { from { opacity: 0; transform: translateX(-1.2rem); } to { opacity: 1; transform: none; } }

/* Sticks to the bottom of the scrolling panel so the controls are on
   screen even when a pane is taller than the viewport (which the
   four-card pane is on a phone). */
.modal__nav {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.6rem; padding: 1rem 0 0.2rem;
  border-top: 1px solid rgba(200,169,106,0.14);
  /* Solid, not a gradient — a translucent bar let the copy behind it
     show through the arrows and read as a rendering fault. */
  background: #0b0c0b;
}
.modal__nav::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 2.6rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,11,0), #0b0c0b);
}
.modal__arrow {
  display: grid; place-items: center; flex: none;
  width: 2.8rem; height: 2.8rem; border-radius: 999px;
  border: 1px solid rgba(200,169,106,0.34);
  background: rgba(5,6,6,0.6); color: var(--primary);
  transition: opacity 220ms ease, border-color 220ms ease, background 220ms ease, transform 160ms ease;
}
.modal__arrow svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal__arrow:hover:not([disabled]) { background: rgba(200,169,106,0.14); border-color: rgba(200,169,106,0.65); }
.modal__arrow:active:not([disabled]) { transform: scale(0.93); }
.modal__arrow[disabled] { opacity: 0.24; cursor: default; }

.modal__dots { display: flex; gap: 0.45rem; align-items: center; }
/* Hit area comes from padding; the visible dot is a pseudo-element, so
   it stays round. (background-clip: content-box paints the *unrounded*
   content box — it renders as a square.) */
.modal__dot { display: grid; place-items: center; padding: 0.7rem 0.3rem; border: 0; background: none; }
.modal__dot::before {
  content: ""; display: block;
  width: 0.5rem; height: 0.5rem; border-radius: 999px;
  background: rgba(200,169,106,0.32);
  transition: background-color 240ms ease, width 240ms ease;
}
.modal__dot:hover::before { background: rgba(200,169,106,0.6); }
.modal__dot.is-on::before { width: 1.5rem; background: var(--primary); }
.modal__count { color: var(--text-label); font-size: 0.76rem; letter-spacing: 0.14em; }

@media (max-width: 640px) {
  .modal__panel { padding: 1.4rem 1.1rem 0.9rem; }
  .modal__grid { gap: 0.6rem; }
  .modal__nav { margin-top: 1.1rem; }
  /* Denser cells so a pane needs less scrolling in the first place. */
  .modal__cell { padding: 0.85rem 0.95rem; }
  .modal__cell .modal__h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
  .modal__cell p { font-size: 0.86rem; line-height: 1.55; }
  .modal__title { font-size: 1.5rem; padding-right: 2.6rem; }
  .modal__lede { font-size: 0.95rem; }
}

/* ── FAQ ──────────────────────────────────────────────── */

.faq { border-top: 1px solid rgba(200,169,106,0.12); }
.faq details { border-bottom: 1px solid rgba(200,169,106,0.12); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.4rem 2.6rem 1.4rem 0; color: var(--text-main); font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.28rem); transition: color 200ms ease; }
.faq summary:hover { color: var(--primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%); color: var(--primary); font-family: var(--font-sans); font-size: 1.3rem; line-height: 1; transition: transform 260ms ease; }
/* tailwind/application.css draws this glyph with a ::before ("+", swapped for
   an en dash on open) because the inner pages leave the span empty. The
   landing's own markup carries the "+" and turns it into a × by rotating it,
   so the pseudo-element renders a second one — the FAQ read "++", and "–+"
   once open. Suppress it here rather than touching the shared rule, which
   /pricing still uses. The `details` in the middle is load-bearing: the
   shared open-state rule is `details[open] .faq-plus::before`, and a plain
   `.faq .faq-plus::before` is one specificity point short of it. */
.faq details .faq-plus::before { content: none; }
.faq details[open] .faq-plus { transform: translateY(-50%) rotate(135deg); }
.faq .answer { padding: 0 0 1.5rem; max-width: 46rem; color: var(--text-label); font-size: 0.96rem; line-height: 1.7; animation: answer-in 420ms ease both; }
.answer p + p { margin-top: 0.9rem; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-0.4rem); } to { opacity: 1; transform: none; } }

/* ── Footer ───────────────────────────────────────────── */

.site-foot { border-top: 1px solid rgba(200,169,106,0.12); padding: 2.6rem 0 5.5rem; }
.foot-shell { max-width: 87.5rem; margin: 0 auto; padding: 0 1.5rem; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-links a { color: rgba(218,218,218,0.5); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; transition: color 180ms ease; }
.foot-links a:hover { color: var(--primary); }
.foot-note { color: rgba(218,218,218,0.34); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-enabled .reveal-heading, .reveal-enabled .reveal-card { opacity: 1; transform: none; }
  .chat--anim .bub { opacity: 1; transform: none; }
}


/* ===========================================================
   Request-access form — the multi-step card in #apply.
   Kept at the end of this file rather than in its own stylesheet so the
   landing ships one request; the utilities its markup also uses (bg-*,
   text-*, spacing) come from Tailwind, which loads before this file.
   =========================================================== */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-list { display: grid; gap: 0.75rem; }
.choice-card { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem; border: 1px solid rgba(233,193,118,0.18); border-radius: 6px; background: rgba(9, 13, 13, 0.64); cursor: pointer; }
.choice-card:hover, .choice-card:has(input:checked) { border-color: rgba(233,193,118,0.48); background: rgba(233,193,118,0.06); }
.choice-card input { flex: none; margin-top: 0.18rem; accent-color: var(--primary); }
.choice-card__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.choice-card__title { color: var(--on-surface, var(--text-main)); font-size: 0.95rem; line-height: 1.35; }
.choice-card__meta { color: var(--text-body); font-size: 0.82rem; line-height: 1.55; }
.conditional-panel { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(233,193,118,0.18); border-radius: 6px; background: rgba(9, 13, 13, 0.64); }


/* ===== "What happens next" list on the final step ===== */
.next-steps { display: grid; gap: 0.85rem; margin-top: 0.25rem; }
.next-step { display: flex; gap: 0.85rem; align-items: flex-start; }
/* Badge is sized to the title's line box (0.88rem x 1.4 = 1.232rem) so the
   digit sits on the same optical line as the heading beside it. */
.next-step__n {
  flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px; box-sizing: border-box;
  border: 1px solid rgba(200,169,106,0.3); background: rgba(200,169,106,0.1);
  color: var(--primary); font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; text-align: center;
}
/* Scope to the copy wrapper: a bare `.next-step span` also matches the number
   badge and, being one specificity point higher than `.next-step__n`, silently
   overrode its display/margin/font-size and knocked the digits out of line. */
.next-step > div > strong { display: block; color: var(--text-main); font-weight: 600; font-size: 0.88rem; line-height: 1.4; }
.next-step > div > span { display: block; margin-top: 0.15rem; color: var(--text-label); font-size: 0.8rem; line-height: 1.6; }
.next-step a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.next-step a:hover { text-decoration: none; }
.next-foot { margin-top: 1.25rem; color: var(--text-label); font-size: 0.78rem; line-height: 1.65; }
.next-foot a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.next-foot a:hover { text-decoration: none; }
.next-note {
  margin-top: 1.1rem; padding: 0.7rem 0.9rem; border-radius: 6px;
  border-left: 2px solid rgba(200,169,106,0.5); background: rgba(200,169,106,0.06);
  color: var(--text-label); font-size: 0.78rem; line-height: 1.6;
}
.next-note strong { color: var(--text-main); font-weight: 600; }

.form-progress { margin-bottom: 1.25rem; }
.form-progress__steps { display: flex; gap: 0.5rem; }
.form-progress__seg { flex: 1; height: 4px; border-radius: 2px; background: rgba(200,169,106,0.14); overflow: hidden; }
.form-progress__seg span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f1d18d, #c99341); transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.form-progress__seg.is-done span, .form-progress__seg.is-current span { width: 100%; }
.form-progress__label { margin-top: 0.7rem; display: flex; justify-content: space-between; align-items: baseline; }
.form-progress__count { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--text-label); }
.form-progress__name { font-size: 0.82rem; color: var(--text-main); font-weight: 600; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.reveal-enabled .form-step.is-active { animation: form-step-in 380ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes form-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-step > * + * { margin-top: 0.9rem; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.form-nav--end { justify-content: flex-end; }
.form-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 6px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-label); background: transparent; border: 1px solid rgba(200,169,106,0.32); cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.form-btn-secondary:hover { color: var(--primary); border-color: rgba(200,169,106,0.6); background: rgba(200,169,106,0.06); }
/* Primary form button styled like the nav "Request Access" (outlined gold,
   inline auto width, proper padding, hover) — not the old stretched bar. */
.form-btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem;
  padding: 0.85rem 1.75rem; border-radius: 6px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; letter-spacing: 0;
  color: #C8A96A; border: 1px solid rgba(200,169,106,0.78);
  background: linear-gradient(135deg, rgba(200,169,106,0.18), rgba(0,0,0,0.16) 52%, rgba(200,169,106,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 1.2rem rgba(200,169,106,0.08);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}
.form-btn-primary:hover {
  background: linear-gradient(135deg, rgba(200,169,106,0.34), rgba(200,169,106,0.10) 52%, rgba(200,169,106,0.22));
  border-color: rgba(200,169,106,0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 1.6rem rgba(200,169,106,0.16);
}
.form-btn-primary:active { transform: scale(0.98); }
.form-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .form-progress__seg span { transition: none; }
  .reveal-enabled .form-step.is-active { animation: none; }
}

/* ===== Inline form validation ===== */
.field-error { display: none; margin-top: 0.4rem; font-size: 0.75rem; color: var(--danger, #e39a8e); }
.field-error.is-shown { display: block; }
.input-invalid, .choice-card.input-invalid { border-color: var(--danger, #e39a8e) !important; }
.choice-group-invalid { outline: 1px solid rgba(248,113,113,0.5); outline-offset: 6px; border-radius: 10px; }

