/* Polite AI — premium edition
   Layout: Stripe-inspired marketing system. An atmospheric gold/teal/navy mesh
   washes the top of every hero; thin oversized type floats over it; product
   "composites" (live call console, run logs) carry the argument; deep-navy
   featured surfaces mark the one thing per band that matters. */

/* ───────── Tokens ───────── */
:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-warm: #fbf5ea;
  --surface: #ffffff;
  --surface-2: #f7f9fb;

  /* ink — deep navy, never black */
  --ink: #0b1f3a;
  --ink-2: #3a4b63;
  --ink-3: #66768c;
  --line: #e4e9f0;
  --line-strong: #d2dae5;

  /* brand */
  --gold: #e4aa4e;
  --gold-hover: #eebb68;
  --gold-ink: #0b1826;
  --gold-text: #8a5a12;
  --gold-soft: rgba(228, 170, 78, 0.14);
  --gold-line: rgba(196, 136, 40, 0.38);
  --teal: #3f8798;
  --ok: #1d8a58;
  --ok-soft: rgba(29, 138, 88, 0.08);
  --ok-line: rgba(29, 138, 88, 0.24);

  /* featured navy surface (same in both themes) */
  --navy: #0b1826;
  --navy-2: #10233a;

  /* mesh stops */
  --m1: #f7e3bb;  /* cream */
  --m2: #f0b75a;  /* gold */
  --m3: #e8915a;  /* ember */
  --m4: #5fa3b3;  /* logo teal */
  --m5: #22406e;  /* navy blue */
  --mesh-opacity: 1;

  --shadow-1: 0 1px 3px rgba(11, 31, 58, 0.06), 0 1px 1px rgba(11, 31, 58, 0.03);
  --shadow-2: 0 18px 36px -12px rgba(11, 31, 58, 0.16), 0 6px 14px -6px rgba(11, 31, 58, 0.08);
  --shadow-3: 0 40px 80px -24px rgba(11, 31, 58, 0.32), 0 14px 32px -12px rgba(11, 31, 58, 0.14);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font: "Hanken Grotesk", "SF Pro Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);

  --z-nav: 20;
  --z-skip: 30;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08131f;
    --bg-soft: #0c1a2a;
    --bg-warm: #141a20;
    --surface: #0f2033;
    --surface-2: #13273d;
    --ink: #eef2f6;
    --ink-2: #b6c3d0;
    --ink-3: #8d9eb1;
    --line: rgba(214, 226, 240, 0.09);
    --line-strong: rgba(214, 226, 240, 0.17);
    --gold-text: #ebb763;
    --gold-soft: rgba(228, 170, 78, 0.13);
    --gold-line: rgba(228, 170, 78, 0.34);
    --ok: #7fd3a8;
    --ok-soft: rgba(127, 211, 168, 0.08);
    --ok-line: rgba(127, 211, 168, 0.26);
    --navy: #050d17;
    --navy-2: #0c1b2c;
    --m1: #3a2c14;
    --m2: #a87425;
    --m3: #8a4a28;
    --m4: #2b6573;
    --m5: #142a4a;
    --mesh-opacity: 0.85;
    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 36px -14px rgba(0, 0, 0, 0.6);
    --shadow-3: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -24px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08131f;
  --bg-soft: #0c1a2a;
  --bg-warm: #141a20;
  --surface: #0f2033;
  --surface-2: #13273d;
  --ink: #eef2f6;
  --ink-2: #b6c3d0;
  --ink-3: #8d9eb1;
  --line: rgba(214, 226, 240, 0.09);
  --line-strong: rgba(214, 226, 240, 0.17);
  --gold-text: #ebb763;
  --gold-soft: rgba(228, 170, 78, 0.13);
  --gold-line: rgba(228, 170, 78, 0.34);
  --ok: #7fd3a8;
  --ok-soft: rgba(127, 211, 168, 0.08);
  --ok-line: rgba(127, 211, 168, 0.26);
  --navy: #050d17;
  --navy-2: #0c1b2c;
  --m1: #3a2c14;
  --m2: #a87425;
  --m3: #8a4a28;
  --m4: #2b6573;
  --m5: #142a4a;
  --mesh-opacity: 0.85;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 36px -14px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -24px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* Featured navy surfaces re-scope the ink tokens so every child reads on navy */
.on-navy, .cta-band, .pkg.best, .plan.best, .proof, .custom, .console {
  --ink: #eef2f6;
  --ink-2: #b9c6d3;
  --ink-3: #8fa1b5;
  --line: rgba(214, 226, 240, 0.1);
  --line-strong: rgba(214, 226, 240, 0.18);
  --surface: rgba(214, 226, 240, 0.04);
  --surface-2: rgba(214, 226, 240, 0.06);
  --gold-text: #ecb865;
  --gold-soft: rgba(228, 170, 78, 0.14);
  --gold-line: rgba(228, 170, 78, 0.36);
  --ok: #7fd3a8;
  --ok-soft: rgba(127, 211, 168, 0.08);
  --ok-line: rgba(127, 211, 168, 0.26);
  color: var(--ink);
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 88px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, iframe, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h4 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(228, 170, 78, 0.35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
a, button { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.06; }
.lede { color: var(--ink-2); font-size: 1.15rem; line-height: 1.55; max-width: 56ch; margin-top: 18px; font-weight: 400; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.icon { width: 22px; height: 22px; flex: none; display: inline-block; }
.icon svg { width: 100%; height: 100%; fill: currentColor; }

.eyebrow, .proof .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: var(--z-skip);
  background: var(--gold); color: var(--gold-ink); font-weight: 600;
  padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ───────── Buttons (pills) ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font: 500 0.9688rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 16px -6px rgba(196, 136, 40, 0.55); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn .icon { width: 16px; height: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--gold-hover); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 22px -8px rgba(196, 136, 40, 0.6); }
  .btn-secondary:hover { border-color: var(--ink-3); background: var(--surface-2); }
  .btn:hover .icon-arrow { transform: translateX(3px); }
}
.icon-arrow { transition: transform 200ms var(--ease-out); }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-nav);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.025em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--gold-text); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 0; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:not(.btn):hover { color: var(--ink); } }
@media (max-width: 860px) { .nav-links li:not(:last-child) { display: none; } }

/* ───────── Mesh (signature backdrop) ───────── */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: 0; top: -140px; height: calc(100% + 60px);
  opacity: var(--mesh-opacity);
  background:
    radial-gradient(42% 60% at 92% 18%, var(--m5) 0%, transparent 70%),
    radial-gradient(38% 55% at 70% 8%, var(--m4) 0%, transparent 72%),
    radial-gradient(40% 60% at 52% 32%, var(--m3) 0%, transparent 70%),
    radial-gradient(48% 70% at 34% 6%, var(--m2) 0%, transparent 72%),
    radial-gradient(60% 80% at 6% 20%, var(--m1) 0%, transparent 75%);
  filter: blur(28px) saturate(115%);
  transform: skewY(-7deg);
  transform-origin: 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 92%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
.page-hero::before { height: calc(100% + 20px); }
@keyframes mesh-drift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; filter: blur(28px) saturate(115%) hue-rotate(0deg); }
  100% { background-position: -60px 20px, 40px -10px, -30px 30px, 50px 0, -20px 10px; filter: blur(32px) saturate(125%) hue-rotate(-8deg); }
}
/* Pull the mesh behind the transparent nav */
.nav + div + main > .hero:first-child,
.nav + div + main > .page-hero:first-child { margin-top: -72px; padding-top: calc(72px + clamp(48px, 7vw, 96px)); }

/* ───────── Home hero ───────── */
.hero { padding-bottom: clamp(72px, 9vw, 120px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.25rem); font-weight: 300;
  letter-spacing: -0.045em; line-height: 0.98;
}
.hero h1 span { color: var(--gold-text); display: block; }
.hero .lede { font-size: clamp(1.12rem, 1.6vw, 1.28rem); margin-top: 26px; max-width: 38ch; color: var(--ink-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.9375rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { width: 17px; height: 17px; color: var(--ok); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .lede { max-width: 46ch; }
}

/* Hero composite: live call console + floating notifications */
.stage { position: relative; margin: 0; padding: 40px 0 28px; min-width: 0; }
.console {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(214, 226, 240, 0.1);
  box-shadow: var(--shadow-3);
  max-width: 460px; margin-left: auto;
}
.console-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font: 500 0.78rem/1 var(--mono); color: var(--ink-3); letter-spacing: 0.02em;
}
.console-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.console-top .live i { width: 8px; height: 8px; border-radius: 50%; background: #e5584f; box-shadow: 0 0 0 0 rgba(229, 88, 79, 0.6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 88, 79, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(229, 88, 79, 0); } }
.console-body { padding: 18px 20px 52px; display: grid; gap: 16px; }
.console-agent { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; }
.console-logo { position: relative; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #0b1826; }
.logo-loop { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); }
.console-agent strong { display: block; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.console-agent small { display: block; color: var(--ink-3); font-size: 0.875rem; margin-top: 2px; }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; margin-top: 12px; }
.wave i { flex: 1; max-width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), #c98a2e); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.3s; background: linear-gradient(180deg, #7fbccb, var(--teal)); }
.wave i:nth-child(4n+1) { animation-delay: -0.6s; }
.wave i:nth-child(5n+2) { animation-delay: -0.9s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.line b { font: 500 0.72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.line.ai { color: var(--ink); }
.line.ai b { color: var(--gold-text); }
.console .motion-toggle {
  position: absolute; left: 82px; top: 82px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #eef2f6;
  background: rgba(5, 13, 23, 0.7); border: 1px solid rgba(214, 226, 240, 0.22);
  opacity: 0; transition: opacity 200ms ease, transform 160ms var(--ease-out);
}
.console-logo:hover .motion-toggle, .console .motion-toggle:focus-visible { opacity: 1; }
@media (hover: none) { .console .motion-toggle { opacity: 0.85; } }
.motion-toggle .icon { width: 14px; height: 14px; }
.motion-toggle:active { transform: scale(0.94); }
.motion-toggle [data-play] { display: none; }
.motion-toggle[aria-pressed="true"] [data-play] { display: block; }
.motion-toggle[aria-pressed="true"] [data-pause] { display: none; }

.float {
  position: absolute; z-index: 2;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  font-size: 0.875rem; line-height: 1.35; color: var(--ink-2);
  max-width: 270px;
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.float .float-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float .float-ico .icon { width: 20px; height: 20px; }
.float-book { left: -8px; bottom: 0; }
.float-book .float-ico { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok-line); }
.float-text { right: -28px; top: -30px; animation-delay: -3s; }
.float-text .float-ico { background: var(--gold-soft); color: var(--gold-text); border: 1px solid var(--gold-line); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 960px) { .console { margin: 0 auto; } .float-text { right: 0; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .console { border-color: rgba(214, 226, 240, 0.16); } }
:root[data-theme="dark"] .console { border-color: rgba(214, 226, 240, 0.16); }
@media (max-width: 560px) {
  .stage { padding: 0; display: grid; gap: 12px; }
  .float { position: static; max-width: none; animation: none; }
  .console-body { padding-bottom: 22px; }
  .float-text { order: -1; }
  .console-agent { grid-template-columns: 84px minmax(0, 1fr); }
  .console-logo { width: 84px; height: 84px; }
  .console .motion-toggle { left: 58px; top: 58px; }
}

/* ───────── Conversation component ───────── */
.convo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.convo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.convo-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.convo-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-text); display: grid; place-items: center; border: 1px solid var(--gold-line); }
.convo-avatar .icon { width: 18px; height: 18px; }
.convo-who strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.convo-who small { display: block; font-size: 0.78rem; color: var(--ink-3); font-family: var(--mono); }
.tag { font: 500 0.7rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); border: 1px solid var(--line-strong); padding: 6px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.convo-body { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 318px; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.45; }
.msg-in { align-self: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.msg-out { align-self: flex-end; background: var(--gold-soft); border: 1px solid var(--gold-line); border-bottom-right-radius: 5px; color: var(--ink); }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.4; animation: blink 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.convo-foot { display: flex; align-items: center; gap: 10px; margin: 8px 18px 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ok-line); background: var(--ok-soft); color: var(--ink); font-size: 0.875rem; font-weight: 500; }
.convo-foot .icon { width: 18px; height: 18px; color: var(--ok); }
.convo.static .convo-body { min-height: 0; padding-bottom: 14px; }

.js .convo [data-step] { opacity: 0; transform: translateY(8px); }
.js .convo [data-step].on { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.js .convo .convo-foot[data-step] { transform: translateY(6px) scale(0.97); }
.js .convo .convo-foot[data-step].on { transform: none; }
.typing[hidden] { display: none; }

/* ───────── Channels / logo strip ───────── */
.channels { border-block: 1px solid var(--line); background: var(--bg); }
.channels-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding: 26px var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.channels p { color: var(--ink-3); font-size: 0.9375rem; }
.channels ul { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.channels li { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 0.9688rem; font-weight: 500; letter-spacing: -0.01em; }
.channels li .icon { width: 18px; height: 18px; color: var(--teal); }

/* ───────── Services bento ───────── */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "agents agents flows" "web web flows"; }
.tile {
  position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-width: 0;
}
.tile h3 { font-size: 1.55rem; font-weight: 400; letter-spacing: -0.025em; }
.tile p { color: var(--ink-2); font-size: 1rem; max-width: 48ch; }
.tile-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-text); border: 1px solid var(--gold-line); margin-bottom: 8px; }
.tile-icon .icon { width: 21px; height: 21px; }
.tile-head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t-agents { grid-area: agents; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; background: linear-gradient(160deg, var(--bg-warm), var(--surface) 60%); }
.t-flows { grid-area: flows; background: var(--surface); }
.t-web { grid-area: web; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.tile, .tries li, .ind { transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
@media (max-width: 1100px) { .t-agents, .t-web { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "agents agents" "flows web"; } }
@media (max-width: 680px) { .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "agents" "flows" "web"; } }

.tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--gold-text); font-weight: 600; font-size: 0.9688rem; text-decoration: none; min-height: 44px; }
.tile-link .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile-link:hover .icon { transform: translateX(3px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; }

/* Run log */
.run { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.run-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 500 0.8125rem/1.2 var(--mono); color: var(--ink-2); background: var(--surface-2); }
.run-steps { list-style: none; margin: 0; padding: 14px 14px 6px; display: flex; flex-direction: column; }
.run-step { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; padding-bottom: 14px; }
.run-step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 1px; background: var(--line-strong); }
.run-dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: #fff; background: var(--surface); transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out); }
.run-dot .icon { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.run-step strong { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.run-step span { display: block; font-size: 0.875rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.run-step time { font: 400 0.75rem/1 var(--mono); color: var(--ink-3); float: right; margin-left: 8px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.run-step.done .run-dot { background: var(--ok); border-color: var(--ok); }
.run-step.done .run-dot .icon { opacity: 1; transform: none; }
.run-step.active .run-dot { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.js .run .run-step:not(.done):not(.active) strong, .js .run .run-step:not(.done):not(.active) span { opacity: 0.45; }
.run-step strong, .run-step span { transition: opacity 220ms var(--ease-out); }

/* Included-items list */
.incl { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 4px 18px; list-style: none; margin: 0; min-width: 0; }
.incl li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink); }
.incl li:last-child { border-bottom: 0; }
.incl li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.incl li span small { display: block; color: var(--ink-3); font-size: 0.8125rem; margin-top: 2px; }

/* ───────── Alternating bands ───────── */
.process { background: var(--bg-soft); border-block: 1px solid var(--line); }
.process + .process { border-top: 0; padding-top: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line-strong) 70%); }
.step { position: relative; padding-top: 52px; counter-increment: step; min-width: 0; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--gold-line); color: var(--gold-text);
  font: 500 0.8125rem/1 var(--mono);
}
.step h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: 1rem; margin-top: 10px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { left: 15px; right: auto; top: 16px; bottom: 16px; width: 1px; height: auto; background: var(--line-strong); }
  .step { padding: 2px 0 0 52px; }
}

/* Automations grid */
.autos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.auto { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.auto h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.auto-top { display: flex; }
.auto .tag { color: var(--gold-text); border-color: var(--gold-line); background: var(--gold-soft); white-space: normal; line-height: 1.3; }
.auto .run-steps { padding: 4px 0 0; }
.auto .run-step:last-child { padding-bottom: 4px; }
.auto-out { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.auto-out .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
@media (max-width: 1000px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .autos { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Featured navy surfaces ───────── */
.cta-band, .proof, .custom, .pkg.best, .plan.best {
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(228, 170, 78, 0.22), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(63, 135, 152, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(214, 226, 240, 0.1);
  box-shadow: var(--shadow-3);
}
.cta-band { border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band > div { min-width: 0; flex: 1 1 380px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.06; }
.cta-band p { color: var(--ink-2); margin-top: 12px; max-width: 52ch; font-size: 1.0625rem; }

.proof { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); }
.proof h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; margin-top: 16px; max-width: 24ch; }
.proof-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof-cols h3 { font: 500 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-text); }
.proof-cols p { color: var(--ink-2); margin-top: 10px; font-size: 1rem; }
@media (max-width: 760px) { .proof-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ───────── Demo ───────── */
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.tries { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tries li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 0.9375rem; color: var(--ink-2); }
.tries li .icon { width: 18px; height: 18px; color: var(--gold-text); margin-top: 3px; }
.tries li q { color: var(--ink); quotes: "\201C" "\201D"; }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.frame iframe { width: 100%; height: 620px; border: 0; }
.frame-alt { grid-column: 2; margin-top: -8px; color: var(--ink-3); font-size: 0.875rem; }
.frame-alt a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1fr); } .frame-alt { grid-column: auto; } }

/* ───────── About strip (home) ───────── */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about p { color: var(--ink-2); font-size: 1.0938rem; }
.about p + p { margin-top: 16px; }
.about .facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* ───────── FAQ ───────── */
.faq-list { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-text); font: 400 1.125rem/1 var(--mono); transition: transform 220ms var(--ease-out), background-color 200ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--gold-soft); }
.faq-list details p { padding: 0 48px 24px 2px; color: var(--ink-2); font-size: 1rem; max-width: 70ch; }

/* ───────── Book ───────── */
.book { text-align: center; }
.book .section-head { margin-left: auto; margin-right: auto; }
.book .lede { margin-left: auto; margin-right: auto; }
.expect { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; list-style: none; margin: 28px 0 0; padding: 0; }
.expect li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.expect .icon { width: 18px; height: 18px; color: var(--gold-text); }
.cal { max-width: 880px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.cal iframe { width: 100%; min-height: 680px; border: 0; }
.book-alt { margin-top: 24px; color: var(--ink-3); font-size: 0.9375rem; }
.book-alt a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--gold-line); }
.embed-ph { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 32px; color: var(--ink-2); font-size: 0.9375rem; background: radial-gradient(60% 80% at 50% 0%, var(--gold-soft), transparent 70%), var(--surface); }
.embed-ph strong { color: var(--ink); font-size: 1.125rem; font-weight: 500; }
.embed-ph span { max-width: 38ch; }

/* ───────── Subpage hero ───────── */
.page-hero { padding-bottom: clamp(64px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1; max-width: 16ch; }
.page-hero h1 span { color: var(--gold-text); }
.page-hero .lede { font-size: clamp(1.12rem, 1.6vw, 1.25rem); margin-top: 24px; max-width: 54ch; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.crumbs { font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }

/* ───────── Feature / value / industry grids ───────── */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature, .value, .ind { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature h3, .value h3, .ind h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.015em; }
.feature p, .value p, .ind p { color: var(--ink-2); font-size: 0.9875rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { gap: 8px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ind { text-decoration: none; color: var(--ink); }
.ind .tile-link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .ind:hover, .tries li:hover { border-color: var(--gold-line); transform: translateY(-3px); box-shadow: var(--shadow-2); }
}
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.promise, .budget { border: 1px solid var(--gold-line); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--bg-warm), var(--surface) 70%); box-shadow: var(--shadow-2); padding: clamp(24px, 3vw, 34px); min-width: 0; }
.promise strong { display: block; font-size: 1.3rem; line-height: 1.4; font-weight: 400; letter-spacing: -0.015em; margin-top: 14px; }
.promise p { color: var(--ink-2); margin-top: 12px; font-size: 0.9875rem; }
.budget h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.02em; margin-top: 14px; }
.budget p { color: var(--ink-2); margin-top: 10px; font-size: 0.9875rem; }
.budget p + p { margin-top: 12px; }

/* ───────── Pricing / packages ───────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan, .pkg { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan h3 { font-size: 1.45rem; font-weight: 400; letter-spacing: -0.025em; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan > p { color: var(--ink-2); font-size: 0.9875rem; }
.plan .incl { margin-top: 6px; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pkg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pkg h3 { font-size: 1.65rem; font-weight: 400; letter-spacing: -0.03em; }
.pkg .kind { display: block; font: 500 0.75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-top: 8px; }
.pkg > p { color: var(--ink-2); font-size: 1rem; }
.pkg .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pkg .incl { margin-top: 4px; }
.pkg .tile-link { margin-top: auto; padding-top: 6px; }
.pkg.best .incl, .plan.best .incl { background: rgba(214, 226, 240, 0.03); }
.pkg.best .tag, .plan.best .tag { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.pkg.best .chip, .plan.best .chip { background: rgba(214, 226, 240, 0.06); }
.pkg.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 48px; align-items: start; }
.pkg.wide > .incl { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
@media (max-width: 860px) { .pkgs { grid-template-columns: minmax(0, 1fr); } .pkg.wide { display: flex; } }

.custom { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.custom > div { min-width: 0; }
.custom h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -0.04em; margin-top: 16px; line-height: 1.04; }
.custom .lede { margin-top: 16px; color: var(--ink-2); }
.custom h3 { font: 500 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-text); margin: 30px 0 12px; }
.custom .incl { background: rgba(214, 226, 240, 0.03); }
.custom .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.phases li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.phases li:last-child { border-bottom: 0; }
.phases b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold-text); background: var(--gold-soft); font: 500 0.875rem/1 var(--mono); }
.phases strong { display: block; font-weight: 500; font-size: 1.0625rem; }
.phases span { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 900px) { .custom { grid-template-columns: minmax(0, 1fr); } }

.every { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.every div { border-top: 1px solid var(--gold-line); padding-top: 18px; min-width: 0; }
.every strong { display: block; font-weight: 500; font-size: 1.0625rem; }
.every span { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 860px) { .every { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .every { grid-template-columns: minmax(0, 1fr); } }

/* ───────── About page ───────── */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story > div { min-width: 0; }
.story .prose p { color: var(--ink-2); font-size: 1.125rem; line-height: 1.65; max-width: 62ch; }
.story .prose p + p { margin-top: 20px; }
.story .prose strong { color: var(--ink); font-weight: 600; }
.factcard { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); padding: 24px 26px; position: sticky; top: 96px; }
.factcard dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 22px; }
.factcard dt { font: 500 0.72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); }
.factcard dd { margin: 0; color: var(--ink); font-size: 0.9688rem; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } .factcard { position: static; } }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack .chip { font-size: 0.875rem; padding: 8px 14px; color: var(--ink); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.areas .chip { color: var(--ink); }
.band { margin-top: 16px; }
.contact-line { color: var(--ink-2); font-size: 0.9375rem; margin-top: 10px; }
.contact-line span { color: var(--ink); user-select: all; }

/* ───────── Footer ───────── */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 36px; }
.foot > div:first-child { min-width: 0; max-width: 340px; }
.foot p { color: var(--ink-2); font-size: 0.9375rem; margin-top: 12px; max-width: 36ch; }
.foot address { font-style: normal; color: var(--ink-3); font-size: 0.9375rem; margin-top: 12px; line-height: 1.6; }
.foot address a { color: var(--ink-2); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.foot-cols h4 { margin: 0 0 6px; font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.foot nav ul, .foot-cols nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.foot nav a { display: inline-block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--ink); } }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.875rem; }

/* ───────── Reveal on scroll (content visible by default) ───────── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.settled { transition-delay: 0ms; }
.js .tile.reveal, .js .ind.reveal { transition-property: opacity, transform, border-color, box-shadow; }
@media (hover: hover) and (pointer: fine) {
  .js .tile.reveal.in:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); transition-duration: 220ms; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::before { animation: none; }
  .wave i, .float, .console-top .live i { animation: none; }
  .wave i { height: 60%; }
  .js .reveal { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .js .tile.reveal.in:hover { transform: none; }
  .js .convo [data-step], .js .convo .convo-foot[data-step] { transform: none !important; transition: opacity 200ms ease !important; }
  .run-dot, .run-dot .icon { transition: none !important; }
  .typing i { animation: none; }
  .btn:active { transform: none; }
  .ind:hover, .tries li:hover { transform: none !important; }
  .icon-arrow { transition: none; }
}


/* ───────── Legal pages ───────── */
.legal-section { padding-top: clamp(24px, 4vw, 48px); }
.legal-doc { max-width: 72ch; margin: 0 auto; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.legal-doc h2 { color: var(--ink); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 44px 0 12px; }
.legal-doc p, .legal-doc ul { margin: 0 0 16px; }
.legal-doc ul { padding-left: 1.25em; }
.legal-doc li { margin: 6px 0; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--gold-text); text-underline-offset: 3px; }

/* ───────── Phone menu ───────── */
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav-inner { position: relative; }
  .nav-links { margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  .menu-btn .mb-close { display: none; }
  .nav.open .menu-btn .mb-open { display: none; }
  .nav.open .menu-btn .mb-close { display: block; }
  .nav.open { background: var(--bg); border-bottom-color: var(--line); }
  .nav.open .nav-links {
    position: absolute; top: 72px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 22px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
  }
  .nav.open .nav-links li:not(:last-child) { display: block; }
  .nav.open .nav-links a:not(.btn) { display: block; padding: 15px 0; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links li:last-child { margin-top: 18px; }
  .nav.open .nav-links li:last-child .btn { width: 100%; justify-content: center; }
}
