/* Green Room: quiet Apple-style neutrals, one green accent. */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --green-900: #1d1d1f;
  --green-700: #0f7a44;
  --green-500: #1fa35f;
  --mint: #30d158;
  --mint-ink: #12884b;
  --orange: #c4620a;
  --cta: #1fa35f;
  --cta-ink: #ffffff;
  --cta-hover: #1b9254;
  --menu: rgba(246, 246, 248, 0.92);
  --menu-ink: #1d1d1f;
  --menu-muted: #6e6e73;
  --menu-orange: #d26a00;
  --control: #ffffff;
  --control-line: rgba(0, 0, 0, 0.12);
  --mac-accent: #0a84ff;
  --code-bg: #1d1d1f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --mint-ink: #30d158;
    --orange: #ff9f0a;
    --cta: #30d158;
    --cta-ink: #04210f;
    --cta-hover: #4cdb6f;
    --menu: rgba(44, 44, 46, 0.92);
    --menu-ink: #f5f5f7;
    --menu-muted: #a1a1a6;
    --menu-orange: #ff9f0a;
    --control: rgba(255, 255, 255, 0.12);
    --control-line: rgba(255, 255, 255, 0.1);
    --code-bg: #1c1c1e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  /* Soft glows behind the nav and hero, like the other apps' sites. */
  background:
    radial-gradient(560px 420px at 10% 0, rgba(48, 209, 88, 0.16), transparent 70%) no-repeat,
    radial-gradient(620px 460px at 92% 120px, rgba(10, 132, 255, 0.10), transparent 70%) no-repeat,
    var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
code { font: 0.86em var(--mono); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(34px, 4.6vw, 52px); text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }
h1 em, h2 em { color: var(--mint-ink); font-style: normal; }
p { margin: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
section { padding: clamp(64px, 8vw, 96px) 0; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.section-lede { color: var(--muted); font-size: 20px; line-height: 1.5; max-width: 38em; margin-top: 18px; }

/* Nav: a floating frosted pill */
.nav { position: sticky; top: 12px; z-index: 10; padding: 0 12px; }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px; max-width: 980px; padding: 0 10px 0 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav nav a:not(.pill) { text-decoration: none; color: var(--muted); transition: color 0.15s; }
.nav nav a:not(.pill):hover { color: var(--ink); }
@media (max-width: 680px) { .nav nav a:not(.pill) { display: none; } }

/* Buttons: the CTA color lives here and almost nowhere else */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--cta); color: var(--cta-ink); text-decoration: none;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 6px 16px color-mix(in srgb, var(--cta) 30%, transparent);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pill:hover { background: var(--cta-hover); }
.pill.big { padding: 14px 24px 14px 20px; font-size: 17px; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pill.ghost { padding: 14px 24px; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, 0.04); }
.pill.ghost:hover { background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 20px; }
.actions.center, .hero .actions { justify-content: center; }
.fineprint { color: var(--muted); font-size: 14px; line-height: 1.7; }
.fineprint a { color: inherit; }
.fineprint code { display: inline-block; max-width: 100%; overflow-x: auto; white-space: nowrap; vertical-align: bottom; background: var(--surface); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }

/* Hero */
.hero {
  padding-top: 48px; padding-bottom: clamp(56px, 7vw, 88px); overflow: hidden;
}
.hero-grid { display: grid; gap: 56px; justify-items: center; }
.hero-copy { min-width: 0; text-align: center; display: grid; justify-items: center; }
.hero .mirror { width: 100%; max-width: 820px; }
.hero .panel { margin-right: 32px; }
@media (min-width: 980px) { .hero { padding-top: 80px; } }
@media (max-width: 600px) { .hero .panel { margin-right: 8px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 24px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); }
h1 { font-size: clamp(42px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
h1 em { display: block; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); margin-top: 24px; max-width: 32em; }

.hero-prompt { margin-top: 20px; width: 100%; max-width: 520px; }
.hero-prompt-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.hero-prompt-box { text-align: left; display: flex; align-items: center; gap: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 14px; padding: 8px 8px 8px 16px; }
.hero-prompt-box code { flex: 1; min-width: 0; color: var(--muted); font: 13px/1.4 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-prompt-box .copy { flex: none; padding: 6px 14px; font-size: 13px; border: 0; cursor: pointer; font-family: inherit; background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.hero-prompt-box .copy:hover { background: var(--line); }
.hero-prompt-more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* A Mac desktop with a soft wallpaper */
.mirror { position: relative; min-width: 0; border-radius: 22px; box-shadow: var(--shadow); }
.screen {
  position: relative; overflow: hidden; border-radius: 22px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(70% 60% at 15% 85%, rgba(48, 209, 88, 0.45), transparent 70%),
    radial-gradient(60% 60% at 90% 10%, rgba(10, 132, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #dff3e8, #cfe3f7);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
  .screen { background: radial-gradient(70% 60% at 15% 85%, rgba(48, 209, 88, 0.35), transparent 70%), radial-gradient(60% 60% at 90% 10%, rgba(10, 132, 255, 0.3), transparent 70%), linear-gradient(160deg, #10241a, #0e1a2a); }
}
.menubar {
  display: flex; justify-content: space-between; align-items: center;
  height: 28px; padding: 0 12px; font-size: 13px; color: #1d1d1f;
  background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(20px);
}
.mb-left, .mb-right { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.mb-left span:not(.apple) { opacity: 0.85; }
.apple { width: 11px; height: 13px; background: #1d1d1f; border-radius: 6px 6px 7px 7px; opacity: 0.9; }
.mb-item { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 5px; }
.mb-item.active { background: rgba(0, 0, 0, 0.1); }
.mb-item svg { width: 17px; height: 15px; }
.warn-fill { fill: #1d1d1f; stroke: #1d1d1f; stroke-width: 1.6; stroke-linejoin: round; }
.warn-mark { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
@media (prefers-color-scheme: dark) {
  .menubar { color: #f5f5f7; background: rgba(0, 0, 0, 0.3); }
  .apple { background: #f5f5f7; }
  .mb-item.active { background: rgba(255, 255, 255, 0.18); }
  .menubar .warn-fill { fill: #f5f5f7; stroke: #f5f5f7; }
  .menubar .warn-mark { stroke: #1d1d1f; }
}
@media (max-width: 420px) { .mb-left span:not(.apple):not(b) { display: none; } }

/* The panel, drawn to match the app's SwiftUI layout */
.panel {
  align-self: flex-end;
  width: min(340px, calc(100% - 16px));
  margin: 6px 8px 22px;
  padding: 16px;
  display: grid; gap: 14px;
  background: var(--menu); color: var(--menu-ink);
  backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-radius: 12px; font-size: 13px; line-height: 1.35;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.12), 0 12px 28px rgba(0, 0, 0, 0.25), 0 30px 60px rgba(0, 0, 0, 0.25);
}
.p-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.p-title.warn { color: var(--menu-orange); }
.p-title svg { width: 17px; height: 15px; }
.p-title .warn-fill { fill: var(--menu-orange); stroke: var(--menu-orange); }
.p-title .warn-mark { stroke: #fff; }
.p-head p { margin-top: 4px; font-size: 13px; }
.p-group { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.p-label { font-size: 11px; color: var(--menu-muted); }
.popup {
  position: relative; display: inline-flex; align-items: center; max-width: 100%;
  padding: 3px 26px 3px 9px; border-radius: 6px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--control); box-shadow: 0 0 0 0.5px var(--control-line), 0 1px 1.5px rgba(0, 0, 0, 0.12);
}
.popup i {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 4px; background: var(--mac-accent);
}
.popup i::before, .popup i::after {
  content: ""; position: absolute; left: 5px; width: 4px; height: 4px;
  border: solid #fff; border-width: 1.5px 1.5px 0 0;
}
.popup i::before { top: 4px; transform: rotate(-45deg); }
.popup i::after { bottom: 4px; transform: rotate(135deg); }

.cam {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 82% 18%, rgba(255, 214, 150, 0.55), transparent 60%),
    linear-gradient(180deg, #2f5a48 0%, #24473a 62%, #1a3329 62%, #15291f 100%);
}
.cam-lamp { position: absolute; right: 9%; top: 8%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff3d6 0 22%, rgba(255, 210, 140, 0.55) 42%, transparent 70%); }
.cam-frame { position: absolute; left: 9%; top: 14%; width: 15%; aspect-ratio: 4 / 5; border-radius: 2px; background: linear-gradient(160deg, #6fae8a, #2f6b4c); box-shadow: 0 0 0 3px #c9a46a, 0 4px 8px rgba(0, 0, 0, 0.3); }
.cam-plant { position: absolute; left: 4%; bottom: 0; width: 12%; height: 44%; border-radius: 50% 50% 8% 8% / 60% 60% 8% 8%; background: radial-gradient(60% 50% at 50% 30%, #4f9d6c, #2b5f40 80%); }
.cam-body {
  position: absolute; left: 50%; bottom: -4%; width: 50%; height: 36%; transform: translateX(-50%);
  border-radius: 46% 46% 0 0 / 80% 80% 0 0;
  background: linear-gradient(180deg, #3c4f63, #26343f);
}
.cam-neck { position: absolute; left: 50%; bottom: 26%; width: 9%; height: 14%; transform: translateX(-50%); border-radius: 0 0 40% 40%; background: #b98563; }
.cam-head {
  position: absolute; left: 50%; top: 18%; width: 19%; aspect-ratio: 0.8; transform: translateX(-50%);
  border-radius: 48% 48% 44% 44% / 52% 52% 48% 48%;
  background:
    radial-gradient(120% 60% at 50% -5%, #2a1b12 55%, transparent 57%),
    radial-gradient(70% 70% at 42% 42%, #e2b28b, #b98563 85%);
  box-shadow: -1px 2px 6px rgba(0, 0, 0, 0.25);
}
.meter { width: 100%; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--menu-ink) 12%, transparent); overflow: hidden; }
.meter span { display: block; height: 100%; width: 58%; border-radius: inherit; background: #30d158; transform-origin: left; animation: talk 2.4s ease-in-out infinite; }
.meter.still span { animation: none; }
@keyframes talk {
  0%, 100% { transform: scaleX(0.55); } 12% { transform: scaleX(0.95); } 24% { transform: scaleX(0.7); }
  38% { transform: scaleX(1.05); } 52% { transform: scaleX(0.4); } 66% { transform: scaleX(0.85); } 80% { transform: scaleX(0.6); }
}
@media (prefers-reduced-motion: reduce) { .meter span { animation: none; } }
.p-row { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.p-row .p-group { flex: 1; }
.mac-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 3px 10px; border-radius: 6px; font-size: 13px;
  background: var(--control); box-shadow: 0 0 0 0.5px var(--control-line), 0 1px 1.5px rgba(0, 0, 0, 0.12);
}
.mac-btn svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.missing { display: grid; gap: 2px; }
.missing b { font-weight: 600; font-size: 13px; }
.missing .orange { color: var(--menu-orange); font-size: 11.5px; }
.missing .muted { color: var(--menu-muted); font-size: 11.5px; }
.p-sep { height: 1px; background: color-mix(in srgb, var(--menu-ink) 12%, transparent); }
.p-foot { display: flex; gap: 8px; align-items: center; }
.gear { margin-left: auto; width: 18px; height: 18px; color: var(--menu-muted); }
.gear svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* How */
.how { padding-top: clamp(40px, 5vw, 64px); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 8px; font: 500 12px var(--mono); color: var(--muted); background: var(--bg); box-shadow: 0 0 0 1px var(--line); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Two-column sections */
.two { display: grid; gap: 48px; align-items: center; }
.two > div { min-width: 0; }
@media (min-width: 980px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; } }
.two > div > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 18px; }
.two > div > h2 + p { margin-top: 22px; }

.states { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 15px; }
.states li { display: flex; align-items: center; gap: 12px; }
.state-icon { display: grid; place-items: center; width: 40px; height: 28px; border-radius: 8px; background: var(--ink); flex: none; }
.state-icon svg { width: 20px; height: 18px; }
.cam-outline { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.cam-solid { fill: #fff; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.state-icon .warn-fill { fill: #fff; stroke: #fff; }
.state-icon .warn-mark { stroke: var(--ink); }
@media (prefers-color-scheme: dark) { .state-icon { background: #3a3a3c; } .state-icon .warn-mark { stroke: #3a3a3c; } }

.desk {
  display: grid; gap: 12px; padding: 28px 20px; border-radius: 22px;
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(48, 209, 88, 0.4), transparent 70%),
    radial-gradient(60% 60% at 100% 0%, rgba(10, 132, 255, 0.3), transparent 70%),
    linear-gradient(160deg, #dff3e8, #cfe3f7);
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) {
  .desk { background: radial-gradient(70% 60% at 0% 100%, rgba(48, 209, 88, 0.3), transparent 70%), radial-gradient(60% 60% at 100% 0%, rgba(10, 132, 255, 0.25), transparent 70%), linear-gradient(160deg, #10241a, #0e1a2a); }
}
@media (min-width: 600px) { .desk { padding: 36px 32px; } }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px;
  background: var(--menu); color: var(--menu-ink); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.12), 0 14px 30px rgba(0, 0, 0, 0.2);
  font-size: 13.5px; line-height: 1.35;
}
.toast img { width: 38px; height: 38px; flex: none; }
.toast > div { min-width: 0; display: grid; gap: 1px; }
.toast b { font-weight: 650; }
.toast > div > span:last-child { color: var(--menu-ink); opacity: 0.85; }
.t-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--menu-muted); }
.t-top b { font-weight: 500; }
@media (min-width: 980px) { .toast:nth-child(2) { margin-left: 24px; } .toast:nth-child(3) { margin-left: 48px; } }

/* Diagnoses */
.backstage { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diag { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 860px) { .diag { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.diag article { padding: 24px; border-radius: var(--radius); background: var(--bg); }
.tag { display: inline-block; font: 700 11px var(--font); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-bottom: 14px; }
.tag.usb { color: var(--muted); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.tag.bt { color: #0a6fd6; background: rgba(10, 132, 255, 0.1); }
.diag h3 { font-size: 20px; color: var(--orange); margin-bottom: 10px; }
.diag .means { font-size: 16px; }
.diag .try { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.diag .try b { color: var(--ink); font-weight: 600; }
.day-one { margin-top: 32px; max-width: 46em; color: var(--muted); font-size: 16px; }
.day-one b { color: var(--ink); font-weight: 600; }

/* During the call */
.live-dot { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--menu-muted); }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #30d158; }
.call-mode { background: color-mix(in srgb, var(--menu-orange) 9%, var(--menu)); }
.cm-title { display: flex; gap: 6px; align-items: center; font-weight: 600; color: var(--menu-orange); font-size: 13px; }
.cm-title svg { width: 14px; height: 13px; flex: none; }
.cm-title .warn-fill { fill: var(--menu-orange); stroke: var(--menu-orange); }
.cm-title .warn-mark { stroke: #fff; }
.cm-body { font-size: 12px; color: var(--menu-muted); }
.t-action { align-self: center; flex: none; margin-left: auto; padding: 4px 10px; border-radius: 7px; font-size: 12px; background: var(--control); box-shadow: 0 0 0 0.5px var(--control-line); }
@media (max-width: 520px) { .t-action { display: none; } }

/* Mic warnings */
.meters { display: grid; gap: 12px; }
.meter-card {
  display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: 14px;
  background: var(--menu); color: var(--menu-ink); font-size: 13px; line-height: 1.35;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), var(--shadow);
}
@media (min-width: 980px) { .meter-card:nth-child(2) { margin-left: 28px; margin-right: -28px; } }
.popup.static { font-size: 13px; }
.m-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--menu-orange); font-size: 12px; }
.m-warn svg { width: 14px; height: 13px; flex: none; margin-top: 1px; }
.m-warn .warn-fill { fill: var(--menu-orange); stroke: var(--menu-orange); }
.m-warn .warn-mark { stroke: #fff; }

/* Agent + CLI */
.agent { }
.agent .wrap > p:not(.eyebrow):not(.section-lede):not(.fineprint) { color: var(--muted); margin-top: 14px; }
.agent p code { font-size: 0.9em; }
.agent-sub { margin: 56px 0 4px; font-size: 24px; }
.prompt { position: relative; margin: 20px 0 8px; }
.prompt pre {
  margin: 0; background: var(--code-bg); color: #e5e5ea; border-radius: var(--radius);
  padding: 50px 20px 18px; font: 13px/1.6 var(--mono); overflow-x: auto; white-space: pre;
}
#agent-rule { white-space: pre-wrap; }
.prompt .copy { position: absolute; top: 10px; right: 10px; padding: 6px 14px; font-size: 13px; border: 0; cursor: pointer; font-family: inherit; background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.prompt .copy:hover { background: rgba(255, 255, 255, 0.22); }
@media (prefers-color-scheme: dark) { .prompt pre, .terminal { box-shadow: 0 0 0 1px var(--line); } }

.terminal { margin: 22px 0 8px; border-radius: 14px; overflow: hidden; background: #1d1d1f; box-shadow: var(--shadow); }
.term-bar { position: relative; display: flex; gap: 7px; align-items: center; height: 32px; padding: 0 12px; background: #2c2c2e; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; color: #8e8e93; pointer-events: none; }
.terminal pre { margin: 0; padding: 18px 20px; color: #e5e5ea; font: 13px/1.6 var(--mono); overflow-x: auto; white-space: pre; }
.terminal .ps { color: var(--mint); }
.terminal .bad { color: #ffb35c; font-weight: 700; }
.terminal .warn { color: #ffb35c; }
.terminal .dim { color: #8e8e93; }

.cmds { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cmds li { display: grid; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .cmds li { grid-template-columns: 180px 1fr; } }
.cmds code { font-size: 14px; font-weight: 600; color: var(--ink); }
.cmds span { color: var(--muted); font-size: 16px; }
.agent .fineprint { margin-top: 18px; }
.agent .fineprint code { white-space: normal; overflow-wrap: anywhere; display: inline; }

/* Before you go on */
.extras .trust-grid { margin-top: 40px; }
.extras .day-one { margin-top: 36px; }

/* Trust */
.trust h2 { max-width: 14em; }
.trust-grid { display: grid; gap: 36px; margin-top: 48px; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trust-grid > div { padding-top: 24px; border-top: 1px solid var(--line); }
.trust-grid svg { width: 28px; height: 28px; fill: none; stroke: var(--green-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.trust-grid h3 { margin-bottom: 8px; }
.trust-grid p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq h2 { margin-bottom: 32px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--mint-ink); }
details p { color: var(--muted); margin-top: 12px; }

/* CTA + footer */
.cta { text-align: center; background: radial-gradient(480px 260px at 50% 40%, rgba(48, 209, 88, 0.12), transparent 70%); }
.cta img { margin: 0 auto 24px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15)); }
.cta .actions { margin-top: 28px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { white-space: nowrap; color: var(--muted); text-decoration-color: color-mix(in srgb, var(--muted) 40%, transparent); }
footer a:hover { color: var(--ink); }
.prompt.plain pre { padding-top: 18px; }
