/* Layout: one calm column; the hero is the live product window; translucent nav floats over content.
   Color: white ground, cool grey bands, navy ink; violet for buttons, pills, links, labels and
   active states. The logo is the rabbit, drawn in the accent violet. Green, red and amber mean good,
   bad and needs review, and always travel with a sign or arrow. */
:root {
  --bg: #FFFFFF;          /* white, like a payments company's site */
  --surface: #FFFFFF;
  --surface-2: #F6F9FC;   /* cool grey bands */
  --fg: #0A2540;          /* deep navy ink */
  --fg-2: #425466;        /* secondary text */
  --fg-3: #5E6E85;        /* tertiary labels, still 4.5:1 on white and on the hero tint */
  --line: #E3E8EE;        /* surfaces and borders */
  --accent: #7C4AFF;      /* violet: links, labels, active states, focus */
  --accent-press: #6A36F0;
  --accent-fg: #FFFFFF;
  --accent-soft: rgba(124, 74, 255, 0.08);
  --btn: #7C4AFF;         /* primary buttons and pills are violet */
  --btn-fg: #FFFFFF;
  --btn-press: #6A36F0;
  --good: #15803D;
  --good-soft: rgba(21, 128, 61, 0.09);
  --bad: #B42318;
  --bad-soft: rgba(180, 35, 24, 0.08);
  --warn: #8F6C00;  /* flagged / investigated: the app's yellow (#C99A06), darkened just enough to read as text */
  --warn-soft: rgba(201, 154, 6, 0.12);
  --neutral-soft: rgba(11, 11, 12, 0.05);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --scrim: rgba(11, 11, 12, 0.24);
  --hl: rgba(124, 74, 255, 0.12);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  --hero-tint: #F7F4FF;   /* the faint violet behind the hero's bar chart */
  --shadow-sheet: -20px 0 60px rgba(11, 11, 12, 0.14);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 8px;
  --r-md: 8px;
  --r-lg: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110F; --surface: #1B1A17; --surface-2: #24221E;
    --fg: #F3EFE7; --fg-2: #B9B3A8; --fg-3: #9C968B;
    --line: #2F2C27;
    --accent: #A58BFF; --accent-press: #BBA6FF; --accent-fg: #12110F; --accent-soft: rgba(165, 139, 255, 0.14);
    --btn: #A58BFF; --btn-fg: #12110F; --btn-press: #BBA6FF;
    --good: #4ADE80; --good-soft: rgba(74, 222, 128, 0.12);
    --bad: #F87171; --bad-soft: rgba(248, 113, 113, 0.12);
    --warn: #FBBF24; --warn-soft: rgba(251, 191, 36, 0.12);
    --neutral-soft: rgba(243, 239, 231, 0.08);
    --nav-bg: rgba(18, 17, 15, 0.78);
    --scrim: rgba(0, 0, 0, 0.5); --hl: rgba(165, 139, 255, 0.18);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px #2F2C27;
    --shadow-sheet: -20px 0 60px rgba(0, 0, 0, 0.55);
    --hero-tint: #1A1830;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #12110F; --surface: #1B1A17; --surface-2: #24221E;
    --fg: #F3EFE7; --fg-2: #B9B3A8; --fg-3: #9C968B;
    --line: #2F2C27;
    --accent: #A58BFF; --accent-press: #BBA6FF; --accent-fg: #12110F; --accent-soft: rgba(165, 139, 255, 0.14);
    --btn: #A58BFF; --btn-fg: #12110F; --btn-press: #BBA6FF;
    --good: #4ADE80; --good-soft: rgba(74, 222, 128, 0.12);
    --bad: #F87171; --bad-soft: rgba(248, 113, 113, 0.12);
    --warn: #FBBF24; --warn-soft: rgba(251, 191, 36, 0.12);
    --neutral-soft: rgba(243, 239, 231, 0.08);
    --nav-bg: rgba(18, 17, 15, 0.78);
    --scrim: rgba(0, 0, 0, 0.5); --hl: rgba(165, 139, 255, 0.18);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px #2F2C27;
    --shadow-sheet: -20px 0 60px rgba(0, 0, 0, 0.55);
    --hero-tint: #1A1830;
    color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* .btn and friends set display, which would otherwise beat [hidden] */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.47 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Nav: translucent material ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 -1px 0 var(--line);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  height: 52px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.0625rem; color: var(--fg); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 19.5px; height: 24px; flex: none; display: block; color: var(--accent); color: color-mix(in srgb, var(--accent) 82%, var(--fg)); transform: translateY(-7.3px); }  /* the Agentlyze rabbit: head sits on the wordmark baseline; violet, a touch muted */
/* The wordmark: "Agentlyze" in Manrope Bold, slightly tight, drawn from its outlines (SIL Open Font License) so no font file loads */
.brand .word { display: inline-block; height: 19px; aspect-ratio: 464.9 / 99.2; flex: none; font-size: 0; color: transparent;
  background: var(--fg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.9 -73.6 464.9 99.2'%3E%3Cpath d='M2 0 24.7 -72H42.4L65 0H52.7L32.1 -64.6H34.8L14.4 0ZM14.7 -15.6V-26.9H52.5V-15.6ZM94.8 25.5Q90.2 25.5 86.1 24.1Q82 22.7 78.7 20.1Q75.4 17.4 73.3 13.8L84.4 8.2Q86 11.2 88.8 12.6Q91.6 14.1 94.8 14.1Q98.5 14.1 101.5 12.7Q104.5 11.4 106.1 8.8Q107.7 6.2 107.6 2.4V-13H109.1V-54H119.7V2.6Q119.7 4.7 119.5 6.5Q119.3 8.4 118.9 10.2Q117.7 15.5 114.3 18.8Q110.9 22.2 105.9 23.9Q100.8 25.5 94.8 25.5ZM93.7 1.5Q86.2 1.5 80.7 -2.2Q75.2 -6 72.1 -12.5Q69 -18.9 69 -27Q69 -35.2 72.1 -41.6Q75.2 -48.1 80.8 -51.8Q86.5 -55.5 94.2 -55.5Q101.8 -55.5 107.1 -51.8Q112.3 -48.1 115 -41.6Q117.7 -35.1 117.7 -27Q117.7 -18.9 115 -12.5Q112.3 -6 106.9 -2.2Q101.6 1.5 93.7 1.5ZM95.5 -9.3Q100.4 -9.3 103.4 -11.5Q106.3 -13.8 107.7 -17.8Q109.1 -21.8 109.1 -27Q109.1 -32.3 107.7 -36.3Q106.3 -40.2 103.4 -42.5Q100.5 -44.7 96 -44.7Q91.1 -44.7 87.9 -42.3Q84.8 -40 83.3 -35.9Q81.8 -31.9 81.8 -27Q81.8 -22.1 83.3 -18Q84.8 -14 87.8 -11.7Q90.8 -9.3 95.5 -9.3ZM156.2 1.5Q148 1.5 141.8 -2.1Q135.6 -5.6 132.1 -11.9Q128.7 -18.2 128.7 -26.4Q128.7 -35.2 132.1 -41.8Q135.5 -48.3 141.5 -51.9Q147.6 -55.5 155.5 -55.5Q163.9 -55.5 169.8 -51.6Q175.7 -47.7 178.5 -40.5Q181.4 -33.4 180.7 -23.7H168.7V-28.1Q168.7 -36.9 165.6 -40.9Q162.6 -45 156 -45Q148.6 -45 145 -40.4Q141.4 -35.8 141.4 -27Q141.4 -18.8 145 -14.3Q148.6 -9.8 155.5 -9.8Q160 -9.8 163.2 -11.8Q166.4 -13.8 168.2 -17.5L180.1 -13.9Q177 -6.6 170.5 -2.6Q164 1.5 156.2 1.5ZM137.6 -23.7V-32.8H174.8V-23.7ZM225.7 0V-26Q225.7 -28.6 225.4 -31.6Q225 -34.8 223.7 -37.6Q222.5 -40.5 219.9 -42.4Q217.4 -44.2 213.1 -44.2Q210.8 -44.2 208.6 -43.5Q206.3 -42.7 204.5 -40.9Q202.7 -39.1 201.6 -35.9Q200.5 -32.7 200.5 -27.8L193.3 -30.8Q193.3 -37.7 196 -43.3Q198.7 -48.9 203.9 -52.2Q209.1 -55.6 216.7 -55.6Q222.7 -55.6 226.6 -53.6Q230.5 -51.6 232.8 -48.5Q235.1 -45.4 236.2 -41.9Q237.3 -38.4 237.6 -35.2Q237.9 -32.1 237.9 -30.2V0ZM188.3 0V-54H199V-37.2H200.5V0ZM280.6 0Q275.2 1 270.1 0.9Q264.9 0.8 260.9 -1Q256.9 -2.8 254.8 -6.7Q252.9 -10.2 252.8 -13.8Q252.7 -17.4 252.7 -22.1V-69H264.7V-22.8Q264.7 -19.5 264.8 -17.1Q264.9 -14.6 265.8 -13.1Q267.6 -10.1 271.6 -9.7Q275.5 -9.3 280.6 -10.1ZM242.9 -44.6V-54H280.6V-44.6ZM291.2 0V-73.5H303.2V0ZM323.4 24 333.8 -4.5 333.9 3.9 310.4 -54H322.9L339.6 -11.2H336.4L352.7 -54H364.8L334.6 24ZM365.2 0V-1.7L393.8 -43.5H368.1V-54H412.6V-52.3L384.1 -10.6H411.4V0ZM442.1 1.5Q433.9 1.5 427.7 -2.1Q421.5 -5.6 418 -11.9Q414.6 -18.2 414.6 -26.4Q414.6 -35.2 418 -41.8Q421.4 -48.3 427.4 -51.9Q433.4 -55.5 441.4 -55.5Q449.8 -55.5 455.7 -51.6Q461.6 -47.7 464.4 -40.5Q467.2 -33.4 466.6 -23.7H454.6V-28.1Q454.6 -36.9 451.5 -40.9Q448.4 -45 441.9 -45Q434.5 -45 430.9 -40.4Q427.3 -35.8 427.3 -27Q427.3 -18.8 430.9 -14.3Q434.5 -9.8 441.4 -9.8Q445.9 -9.8 449.1 -11.8Q452.3 -13.8 454.1 -17.5L466 -13.9Q462.9 -6.6 456.4 -2.6Q449.9 1.5 442.1 1.5ZM423.5 -23.7V-32.8H460.7V-23.7Z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.9 -73.6 464.9 99.2'%3E%3Cpath d='M2 0 24.7 -72H42.4L65 0H52.7L32.1 -64.6H34.8L14.4 0ZM14.7 -15.6V-26.9H52.5V-15.6ZM94.8 25.5Q90.2 25.5 86.1 24.1Q82 22.7 78.7 20.1Q75.4 17.4 73.3 13.8L84.4 8.2Q86 11.2 88.8 12.6Q91.6 14.1 94.8 14.1Q98.5 14.1 101.5 12.7Q104.5 11.4 106.1 8.8Q107.7 6.2 107.6 2.4V-13H109.1V-54H119.7V2.6Q119.7 4.7 119.5 6.5Q119.3 8.4 118.9 10.2Q117.7 15.5 114.3 18.8Q110.9 22.2 105.9 23.9Q100.8 25.5 94.8 25.5ZM93.7 1.5Q86.2 1.5 80.7 -2.2Q75.2 -6 72.1 -12.5Q69 -18.9 69 -27Q69 -35.2 72.1 -41.6Q75.2 -48.1 80.8 -51.8Q86.5 -55.5 94.2 -55.5Q101.8 -55.5 107.1 -51.8Q112.3 -48.1 115 -41.6Q117.7 -35.1 117.7 -27Q117.7 -18.9 115 -12.5Q112.3 -6 106.9 -2.2Q101.6 1.5 93.7 1.5ZM95.5 -9.3Q100.4 -9.3 103.4 -11.5Q106.3 -13.8 107.7 -17.8Q109.1 -21.8 109.1 -27Q109.1 -32.3 107.7 -36.3Q106.3 -40.2 103.4 -42.5Q100.5 -44.7 96 -44.7Q91.1 -44.7 87.9 -42.3Q84.8 -40 83.3 -35.9Q81.8 -31.9 81.8 -27Q81.8 -22.1 83.3 -18Q84.8 -14 87.8 -11.7Q90.8 -9.3 95.5 -9.3ZM156.2 1.5Q148 1.5 141.8 -2.1Q135.6 -5.6 132.1 -11.9Q128.7 -18.2 128.7 -26.4Q128.7 -35.2 132.1 -41.8Q135.5 -48.3 141.5 -51.9Q147.6 -55.5 155.5 -55.5Q163.9 -55.5 169.8 -51.6Q175.7 -47.7 178.5 -40.5Q181.4 -33.4 180.7 -23.7H168.7V-28.1Q168.7 -36.9 165.6 -40.9Q162.6 -45 156 -45Q148.6 -45 145 -40.4Q141.4 -35.8 141.4 -27Q141.4 -18.8 145 -14.3Q148.6 -9.8 155.5 -9.8Q160 -9.8 163.2 -11.8Q166.4 -13.8 168.2 -17.5L180.1 -13.9Q177 -6.6 170.5 -2.6Q164 1.5 156.2 1.5ZM137.6 -23.7V-32.8H174.8V-23.7ZM225.7 0V-26Q225.7 -28.6 225.4 -31.6Q225 -34.8 223.7 -37.6Q222.5 -40.5 219.9 -42.4Q217.4 -44.2 213.1 -44.2Q210.8 -44.2 208.6 -43.5Q206.3 -42.7 204.5 -40.9Q202.7 -39.1 201.6 -35.9Q200.5 -32.7 200.5 -27.8L193.3 -30.8Q193.3 -37.7 196 -43.3Q198.7 -48.9 203.9 -52.2Q209.1 -55.6 216.7 -55.6Q222.7 -55.6 226.6 -53.6Q230.5 -51.6 232.8 -48.5Q235.1 -45.4 236.2 -41.9Q237.3 -38.4 237.6 -35.2Q237.9 -32.1 237.9 -30.2V0ZM188.3 0V-54H199V-37.2H200.5V0ZM280.6 0Q275.2 1 270.1 0.9Q264.9 0.8 260.9 -1Q256.9 -2.8 254.8 -6.7Q252.9 -10.2 252.8 -13.8Q252.7 -17.4 252.7 -22.1V-69H264.7V-22.8Q264.7 -19.5 264.8 -17.1Q264.9 -14.6 265.8 -13.1Q267.6 -10.1 271.6 -9.7Q275.5 -9.3 280.6 -10.1ZM242.9 -44.6V-54H280.6V-44.6ZM291.2 0V-73.5H303.2V0ZM323.4 24 333.8 -4.5 333.9 3.9 310.4 -54H322.9L339.6 -11.2H336.4L352.7 -54H364.8L334.6 24ZM365.2 0V-1.7L393.8 -43.5H368.1V-54H412.6V-52.3L384.1 -10.6H411.4V0ZM442.1 1.5Q433.9 1.5 427.7 -2.1Q421.5 -5.6 418 -11.9Q414.6 -18.2 414.6 -26.4Q414.6 -35.2 418 -41.8Q421.4 -48.3 427.4 -51.9Q433.4 -55.5 441.4 -55.5Q449.8 -55.5 455.7 -51.6Q461.6 -47.7 464.4 -40.5Q467.2 -33.4 466.6 -23.7H454.6V-28.1Q454.6 -36.9 451.5 -40.9Q448.4 -45 441.9 -45Q434.5 -45 430.9 -40.4Q427.3 -35.8 427.3 -27Q427.3 -18.8 430.9 -14.3Q434.5 -9.8 441.4 -9.8Q445.9 -9.8 449.1 -11.8Q452.3 -13.8 454.1 -17.5L466 -13.9Q462.9 -6.6 456.4 -2.6Q449.9 1.5 442.1 1.5ZM423.5 -23.7V-32.8H460.7V-23.7Z'/%3E%3C/svg%3E") no-repeat center / contain; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.8125rem; letter-spacing: 0; }
.nav-links a { color: var(--fg-2); }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
@media (max-width: 640px) { .nav-links { display: none; } .nav-in { justify-content: space-between; } }

/* ---------- Buttons: feedback on press ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 8px; font-size: 1.0625rem;
  transition: transform 100ms ease-out, background-color 150ms ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-press); text-decoration: none; }
.btn-plain { background: transparent; color: var(--accent); padding: 0 8px; }
.btn-plain:hover { text-decoration: underline; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 0.875rem; }
.btn-quiet { background: var(--surface-2); color: var(--fg); }
.btn-quiet:hover { background: var(--line); }
.nav .btn-sm { margin-left: 4px; }

/* ---------- Page sections ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 88px; }
.eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--fg-2); letter-spacing: 0; margin: 0 0 10px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.lede { font-size: clamp(1.1875rem, 2vw, 1.4375rem); line-height: 1.38; letter-spacing: -0.016em; color: var(--fg-2); max-width: 38ch; margin: 18px 0 0; text-wrap: pretty; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.hero { padding-block: 72px 40px; }
.hero-lede { max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center; margin-top: 28px; }
.hero-note { font-size: 0.8125rem; color: var(--fg-3); letter-spacing: 0; margin-top: 14px; }

/* ---------- Hero demo: one button, a 4-second run, the answer ---------- */
.play {
  margin: 36px auto 0; max-width: 760px; text-align: left;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 22px 20px;
}
.play-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.play-co { font-weight: 650; font-size: 0.9375rem; letter-spacing: -0.01em; }
.play-co small { display: block; font-weight: 400; color: var(--fg-2); font-size: 0.8125rem; letter-spacing: 0; }
.play-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 5px; border-radius: 980px; background: var(--surface-2); font-size: 0.8125rem; letter-spacing: -0.005em; min-width: 0; }
.fchip b { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 7px; border-radius: 980px; background: var(--good-soft); color: var(--good); }
.play-go { width: 100%; min-height: 56px; margin-top: 16px; font-size: 1.125rem; font-weight: 600; }
.play-go svg { width: 14px; height: 14px; }
.play-hint { font-size: 0.8125rem; color: var(--fg-3); margin: 10px 0 0; text-align: center; letter-spacing: 0; }
.play .steps { margin-top: 18px; }
.play .step { grid-template-columns: 22px minmax(0, 1fr); }
.answer { font-size: clamp(1.375rem, 3.2vw, 1.875rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.18; margin: 18px 0 0; }
.answer-sub { color: var(--fg-2); font-size: 1rem; margin: 8px 0 0; letter-spacing: -0.01em; }
.causes { display: grid; gap: 8px; margin-top: 16px; }
.cause {
  appearance: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline;
  padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2);
  transition: background-color 120ms ease, transform 100ms ease-out;
}
.cause:hover { background: var(--accent-soft); }
.cause:active { transform: scale(0.99); }
.cause-name { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.cause-amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cause-why { font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; }
.cause-src { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 0; margin-top: 4px; overflow-wrap: anywhere; }
.insight { margin-top: 12px; background: var(--warn-soft); border-radius: var(--r-md); padding: 12px 14px; font-size: 0.9375rem; letter-spacing: -0.008em; }
.play-foot { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-top: 16px; }
.play-foot .left { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reveal { animation: rise 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 44px auto 0; max-width: 900px; text-align: left; }
.proof > div { background: var(--surface-2); border-radius: var(--r-md); padding: 18px 18px 16px; }
.proof b { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.proof span { display: block; color: var(--fg-2); font-size: 0.875rem; margin-top: 6px; letter-spacing: -0.005em; }
.soon { font-size: 0.6875rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 980px; letter-spacing: 0; white-space: nowrap; margin-left: 6px; vertical-align: 1px; }
.plan li.later::before { content: "○"; color: var(--fg-3); }
.section-head { margin-bottom: 28px; }

/* ---------- Product window ---------- */
.window-wrap { padding-block: 8px 40px; }
.window {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 640px;
}
.side {
  background: var(--surface-2); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid var(--line);
}
.side-title { font-size: 0.6875rem; font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 10px 6px; }
.tab {
  appearance: none; border: 0; background: transparent; font: inherit; color: var(--fg); cursor: pointer;
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 0.875rem; letter-spacing: -0.005em;
  transition: transform 100ms ease-out, background-color 120ms ease;
}
.tab:active { transform: scale(0.98); }
.tab:hover { background: var(--line); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-fg); }
.tab svg { width: 16px; height: 16px; flex: none; }
.tab .count { margin-left: auto; font-size: 0.75rem; opacity: 0.7; }
.side-foot { margin-top: auto; padding: 12px 10px 4px; font-size: 0.75rem; color: var(--fg-3); line-height: 1.4; letter-spacing: 0; }

.main { min-width: 0; padding: 26px 28px 30px; position: relative; }
.view[hidden] { display: none; }
.view-head { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; justify-content: space-between; }
.view-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.view-sub { color: var(--fg-2); font-size: 0.875rem; letter-spacing: -0.005em; margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 980px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-wait { color: var(--warn); background: var(--warn-soft); }
.pill-good { color: var(--good); background: var(--good-soft); }
.pill-info { color: var(--accent); background: var(--accent-soft); }
.pill-flag { color: var(--warn); background: var(--warn-soft); }

.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-btn {
  appearance: none; border: 0; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 980px;
  font-size: 0.8125rem; letter-spacing: -0.005em; background: var(--good-soft); color: var(--good); font-weight: 600;
  transition: transform 100ms ease-out;
}
.chip-btn:active { transform: scale(0.96); }
.chip-btn svg { width: 14px; height: 14px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.kpi { background: var(--surface-2); border-radius: var(--r-md); padding: 14px 16px; min-width: 0; }
.kpi-label { font-size: 0.75rem; color: var(--fg-2); letter-spacing: 0; }
.kpi-value { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2px; line-height: 1.2; }
.kpi-delta { font-size: 0.75rem; letter-spacing: 0; margin-top: 2px; }
.fav { color: var(--good); }
.unfav { color: var(--bad); }
.muted { color: var(--fg-3); }

.table-scroll { overflow-x: auto; margin-top: 22px; -webkit-overflow-scrolling: touch; }
table.var { width: 100%; border-collapse: collapse; font-size: 0.875rem; letter-spacing: -0.005em; min-width: 620px; }
.var th { text-align: right; font-weight: 600; font-size: 0.6875rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.05em; padding: 0 10px 8px; border-bottom: 1px solid var(--line); }
.var th:first-child, .var td:first-child { text-align: left; padding-left: 4px; }
.var td { text-align: right; padding: 11px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.var tr.total td { font-weight: 700; }
.var tr.sub td { font-weight: 600; background: var(--surface-2); }
.var tr.clickable { cursor: pointer; transition: background-color 120ms ease; }
.var tr.clickable:hover td { background: var(--accent-soft); }
.var tr.clickable:active td { background: var(--hl); }
.line-name { display: inline-flex; align-items: center; gap: 8px; }
.inv-tag { font-size: 0.6875rem; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 2px 8px; border-radius: 980px; letter-spacing: 0; }
.chev { color: var(--fg-3); }

.note { margin-top: 18px; font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; }

/* Agents view */
.agent-card { margin-top: 22px; background: var(--surface-2); border-radius: var(--r-md); padding: 20px; display: grid; gap: 16px; }
.agent-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.agent-name { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.spec { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 16px; font-size: 0.875rem; letter-spacing: -0.005em; margin: 0; }
.spec dt { color: var(--fg-2); }
.spec dd { margin: 0; min-width: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 0.875rem; letter-spacing: -0.005em; }
.step .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.step.done .dot { background: var(--good); border-color: var(--good); }
.step.done .dot::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--surface); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.step.active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.step .kind { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--fg-3); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Files view */
.drop {
  margin-top: 22px; border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 28px 20px; text-align: center;
  color: var(--fg-2); font-size: 0.9375rem; transition: background-color 150ms ease, border-color 150ms ease;
}
.drop.over { background: var(--accent-soft); border-color: var(--accent); }
.drop strong { color: var(--fg); font-weight: 600; }
.drop .btn { margin-top: 12px; }
.files { list-style: none; padding: 0; margin: 18px 0 0; display: grid; }
.file { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.ficon { width: 34px; height: 40px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: end center; padding-bottom: 5px; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.04em; color: var(--fg-2); }
.ficon.xlsx { color: var(--good); }
.ficon.csv { color: var(--fg-2); }
.fname { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.fmeta { font-size: 0.75rem; color: var(--fg-2); letter-spacing: 0; }

/* ---------- Sheet (spring driven) ---------- */
.scrim { position: fixed; inset: 0; background: var(--scrim); opacity: 0; z-index: 40; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41;
  width: min(560px, 100%); background: var(--surface); box-shadow: var(--shadow-sheet);
  display: flex; flex-direction: column; will-change: transform;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet[hidden], .scrim[hidden] { display: none; }  /* .sheet's display:flex would otherwise beat [hidden] */
.sheet-head {
  padding: 18px 22px 14px; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
  cursor: grab; touch-action: pan-y; user-select: none; border-bottom: 1px solid var(--line);
}
.sheet-head:active { cursor: grabbing; }
.grab { width: 5px; height: 36px; border-radius: 3px; background: var(--line); flex: none; align-self: center; margin-left: -12px; }
.sheet-title { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.sheet-sub { font-size: 0.9375rem; margin-top: 2px; letter-spacing: -0.01em; }
.close {
  appearance: none; border: 0; background: var(--surface-2); color: var(--fg-2); cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform 100ms ease-out;
}
.close:active { transform: scale(0.92); }
.close svg { width: 12px; height: 12px; }
.sheet-body { overflow-y: auto; padding: 18px 22px 28px; display: grid; gap: 20px; align-content: start; overscroll-behavior: contain; }
.sec-label { font-size: 0.6875rem; font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px; }
.summary { font-size: 0.9375rem; line-height: 1.5; margin: 0; letter-spacing: -0.008em; }
.coverage { display: grid; gap: 6px; }
.bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--good); border-radius: 3px; }
.cov-text { font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; }
.drivers { display: grid; gap: 10px; }
.driver { background: var(--surface-2); border-radius: var(--r-md); padding: 14px; display: grid; gap: 8px; }
.driver-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.driver-name { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.driver-amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.driver-why { font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; margin: 0; }
.src-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--accent);
  font-size: 0.75rem; font-family: var(--mono); letter-spacing: 0; text-align: left; padding: 0;
  overflow-wrap: anywhere;
}
.src-btn:hover { text-decoration: underline; }
.src { overflow-x: auto; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.src[hidden] { display: none; }
.src table { border-collapse: collapse; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0; width: 100%; min-width: 440px; }
.src th, .src td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.src th { color: var(--fg-3); font-weight: 600; background: var(--surface-2); }
.src td.rn, .src th.rn { color: var(--fg-3); text-align: right; width: 1%; border-right: 1px solid var(--line); }
.src tr.hit td { background: var(--hl); color: var(--fg); font-weight: 600; }
.src td.amt { text-align: right; }
.ask { background: var(--warn-soft); color: var(--fg); border-radius: var(--r-md); padding: 12px 14px; font-size: 0.875rem; letter-spacing: -0.005em; }
.ask b { color: var(--warn); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; letter-spacing: -0.005em; }
.check svg { width: 18px; height: 18px; color: var(--good); }
.check small { display: block; color: var(--fg-2); font-size: 0.75rem; letter-spacing: 0; margin-top: 2px; }

/* ---------- How it works ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 48px; counter-reset: s; }
.flow.flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow li { list-style: none; counter-increment: s; }
.flow ol { padding: 0; margin: 0; }
.flow h3 { font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1.25; margin-top: 10px; }
.flow p { color: var(--fg-2); font-size: 0.9375rem; margin: 8px 0 0; letter-spacing: -0.008em; }
.flow li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; font-weight: 700; letter-spacing: 0; }

/* ---------- Compare ---------- */
.compare { margin-top: 44px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.9375rem; letter-spacing: -0.008em; }
.compare th, .compare td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.8125rem; color: var(--fg-2); font-weight: 600; letter-spacing: 0; }
.compare thead th:last-child { color: var(--fg); }
.compare td:first-child { font-weight: 600; width: 26%; }
.compare td:nth-child(2) { color: var(--fg-2); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 44px; }
.plan { background: var(--surface); border-radius: var(--r-lg); padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 0 0 1px var(--line); }
.plan.feat { box-shadow: 0 0 0 2px var(--fg); }
.plan-name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.plan-tag { font-size: 0.75rem; font-weight: 600; color: var(--fg-2); letter-spacing: 0; min-height: 1.2em; }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.price small { font-size: 0.875rem; font-weight: 400; color: var(--fg-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; font-size: 0.875rem; color: var(--fg-2); letter-spacing: -0.005em; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 8px; }
.fine { font-size: 0.8125rem; color: var(--fg-3); margin-top: 18px; letter-spacing: 0; }

/* ---------- Waitlist ---------- */
.cta-band { background: var(--surface-2); }
.wl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.wl input {
  font: inherit; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--fg); background: var(--surface);
  min-height: 48px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--line); width: min(340px, 100%);
}
.wl input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wl .btn { min-height: 48px; }
.wl-msg { font-size: 0.875rem; color: var(--fg-2); margin-top: 14px; min-height: 1.4em; letter-spacing: -0.005em; }
.wl-msg.err { color: var(--bad); }

footer { padding-block: 36px 48px; font-size: 0.75rem; color: var(--fg-3); letter-spacing: 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  section { padding-block: 64px; }
  .window { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .side { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; overflow-x: auto; }
  .side-title, .side-foot { display: none; }
  .tab { flex: none; }
  .main { padding: 20px 16px 24px; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .spec dd { margin-bottom: 10px; }
  .grab { display: none; }
}
@media (max-width: 720px) {
  .flow.flow-3 { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .play { padding: 18px 16px 16px; margin-top: 28px; }
  .hero { padding-block: 36px 32px; }
  .hero .display { font-size: 2.375rem; }
  .hero-lede { font-size: 1.0625rem; }
  .fchip { height: 28px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .kpi-value { font-size: 1.25rem; }
}

/* ---------- Theme switch: minimal on/off, the icon inside shows the current mode ---------- */
.switch {
  appearance: none; border: 0; padding: 0; cursor: pointer; flex: none;
  width: 52px; height: 26px; border-radius: 13px; position: relative;
  background: var(--line); color: var(--fg-2); font: inherit; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em;
  transition: background-color 200ms ease; -webkit-tap-highlight-color: transparent;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 260ms cubic-bezier(0.3, 1.3, 0.5, 1), width 120ms ease;
}
.switch:active::after { width: 24px; }
.switch .ico { position: absolute; top: 6px; width: 14px; height: 14px; color: var(--fg-2); }
.switch .ico-sun { right: 7px; }
.switch .ico-moon { left: 7px; display: none; }
.switch[aria-checked="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
.switch[aria-checked="true"]:active::after { transform: translateX(22px); }
.switch[aria-checked="true"] .ico-sun { display: none; }
.switch[aria-checked="true"] .ico-moon { display: block; }
@media (max-width: 640px) { .nav-in { gap: 10px; } .brand { margin-right: auto; } }
html.theme-anim, html.theme-anim * { transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease !important; }
@media (prefers-reduced-motion: reduce) {
  html.theme-anim, html.theme-anim * { transition: none !important; }
  .switch, .switch::after { transition: none; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .tab, .chip-btn, .close, .cause { transition: none; }
  .reveal { animation: none; }
  .btn:active, .tab:active, .chip-btn:active, .close:active { transform: none; opacity: 0.8; }
  .step.active .dot { animation: none; border-top-color: var(--accent); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(128, 128, 128, 0.6); }
}

/* ---------- Pages: nav, pricing, FAQ ---------- */
.nav-links a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.nav .nav-signin { white-space: nowrap; margin-left: -14px; }  /* Log in, far right, next to Start free trial */
.nav .btn-sm { white-space: nowrap; }
.demo-top { padding-top: 56px; }
.pricing-top { padding-top: 64px; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.plan-btn { margin-top: auto; width: 100%; }
.plan-note { margin: 8px 0 0; font-size: 12.5px; color: var(--fg-3); text-align: center; }
.plan ul { margin-bottom: 18px; }
.faq { max-width: 680px; margin: 64px auto 0; }
.faq-title { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 2px; }
.faq summary { cursor: pointer; font-weight: 600; letter-spacing: -0.01em; }
.faq details p { color: var(--fg-2); margin: 10px 0 0; font-size: 0.9375rem; }
.wl-label { margin: 36px 0 0; color: var(--fg-2); font-size: 0.9375rem; }
.wl-label + .wl { margin-top: 12px; }
@media (max-width: 720px) {
  .plans-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: flex; gap: 14px; margin-left: 4px; }
  .nav .switch { display: none; }
  .brand .word { display: none; }
  .brand { margin-right: 0; }
  .mark { transform: none; }  /* no wordmark to line up with: centre the rabbit */
}

/* ---------- Site v3: product menu, mobile menu ---------- */
.nav-links { align-items: center; }
.menu { position: relative; }
.menu-btn {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 0.8125rem; letter-spacing: 0;
  color: var(--fg-2); display: inline-flex; align-items: center; gap: 4px;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--fg); }
.menu-btn svg { width: 10px; height: 10px; transition: transform 160ms ease; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: calc(100% + 16px); left: -14px; width: 320px; z-index: 30;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px;
  animation: rise 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.nav-links .menu-panel a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--fg); }
.nav-links .menu-panel a:hover { background: var(--surface-2); text-decoration: none; }
.menu-panel b { display: block; font-weight: 600; font-size: 0.875rem; letter-spacing: -0.01em; }
.menu-panel small { display: block; color: var(--fg-2); font-size: 0.75rem; margin-top: 2px; }
.burger { display: none; appearance: none; border: 0; background: none; cursor: pointer; width: 36px; height: 36px; padding: 0; position: relative; flex: none; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; border-radius: 1px; background: var(--fg); transition: transform 200ms ease; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { display: grid; padding: 4px 20px 20px; max-width: 1080px; margin: 0 auto; }
.mnav a { color: var(--fg); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav a:hover { text-decoration: none; }
.mnav .btn { margin-top: 18px; border: 0; color: var(--accent-fg); font-size: 1.0625rem; }
@media (max-width: 820px) {
  .nav-links, .nav .switch, .nav-cta { display: none !important; }
  .nav .nav-signin { margin-left: auto; }  /* Log in stays at the top on phones */
  .burger { display: block; margin-left: -12px; }
  .brand .word { display: inline; }
  .mark { transform: translateY(-7.3px); }
}

/* ---------- Home sections ---------- */
.band { background: var(--surface-2); }
.works { padding-block: 8px 24px; text-align: center; }
.works p { font-size: 0.8125rem; color: var(--fg-3); letter-spacing: 0; margin: 0 0 10px; }
.works ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.works li { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; color: var(--fg-2); }
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case {
  display: flex; flex-direction: column; gap: 8px; color: var(--fg); background: var(--surface); border-radius: var(--r-lg);
  padding: 22px 20px 20px; box-shadow: 0 0 0 1px var(--line); transition: transform 160ms ease, box-shadow 160ms ease;
}
.case:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(29, 36, 48, 0.08); }
.case-k { font-size: 0.75rem; font-weight: 600; color: var(--fg-3); letter-spacing: 0; }
.case b { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.case-t { font-size: 0.9375rem; color: var(--fg-2); letter-spacing: -0.008em; }
.case-l { margin-top: auto; padding-top: 8px; font-size: 0.875rem; color: var(--accent); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-block: 44px; scroll-margin-top: 80px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature-k { font-size: 0.875rem; font-weight: 600; color: var(--accent); margin: 0 0 10px; letter-spacing: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feature li { color: var(--fg-2); padding-left: 22px; position: relative; letter-spacing: -0.01em; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.55; }
.mini { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; display: grid; gap: 10px; font-size: 0.9375rem; letter-spacing: -0.008em; }
.mini-head { font-size: 0.8125rem; font-weight: 600; color: var(--fg-2); letter-spacing: 0; margin-bottom: 2px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.mini-row b { white-space: nowrap; }
.mini-ok { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--good); }
.mini-ok svg, .all-plans svg, .sec-list svg { width: 16px; height: 16px; flex: none; color: var(--good); }
.mini-cause { display: flex; justify-content: space-between; gap: 12px; padding: 12px 12px 0; }
.mini-cause span { display: block; font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; margin-top: 2px; }
.mini-cause > b { white-space: nowrap; }
.mini-src { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 0; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.mini-src:last-child { border-bottom: 0; }
.mini-text { margin: 0; font-size: 0.9375rem; line-height: 1.5; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
/* the same Accept / Edit / Reject the app shows: on the right, in quiet green, yellow and red tints */
.mini-actions { display: flex; gap: 8px; justify-content: flex-end; }
.mini-actions span { font-size: 0.8125rem; font-weight: 500; padding: 5px 12px; border-radius: 6px;
  color: color-mix(in srgb, var(--rv) 55%, var(--fg-2)); background: color-mix(in srgb, var(--rv) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--rv) 18%, var(--line)); }
.mini-actions .ok { --rv: var(--good); } .mini-actions .ed { --rv: #C99A06; } .mini-actions .no { --rv: var(--bad); }
.mini-actions span.on { background: color-mix(in srgb, var(--rv) 13%, transparent); border-color: color-mix(in srgb, var(--rv) 32%, var(--line)); }
.mini-text { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.mini-btns { display: flex; gap: 8px; }
.mb { flex: 1; text-align: center; padding: 8px 0; border-radius: 980px; background: var(--surface-2); font-size: 0.875rem; font-weight: 600; }
.mb-ok { background: var(--accent); color: var(--accent-fg); }
.mini-note { font-size: 0.75rem; color: var(--fg-3); letter-spacing: 0; text-align: center; }
.bubble { padding: 12px 16px; border-radius: 18px; max-width: 88%; }
.bubble-q { justify-self: end; background: var(--accent); color: var(--accent-fg); border-bottom-right-radius: 6px; }
.bubble-a { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats > div { background: var(--surface); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: 0 0 0 1px var(--line); }
.stats b { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.stats span { display: block; color: var(--fg-2); font-size: 0.875rem; margin-top: 8px; letter-spacing: -0.005em; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: 0 0 0 1px var(--line); }
.card h3 { font-size: 1.1875rem; letter-spacing: -0.02em; }
.card p { color: var(--fg-2); font-size: 0.9375rem; margin: 8px 0 0; letter-spacing: -0.008em; }
.more { margin: 28px 0 0; }
#faq .faq { margin-top: 0; }
#faq .h2 { margin-bottom: 20px; }

/* ---------- Pricing v3 ---------- */
.plan { position: relative; }
.plan .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-fg); font-size: 0.6875rem; font-weight: 600; padding: 4px 10px; border-radius: 980px; letter-spacing: 0; white-space: nowrap; }
.plan.feat { box-shadow: 0 0 0 2px var(--accent); }
.per { font-size: 0.8125rem; color: var(--fg-2); letter-spacing: 0; }
.plan li.later::before { content: "○"; color: var(--fg-3); }
.plan li .soon { margin-left: 4px; }
.all-plans { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 0.9375rem; letter-spacing: -0.008em; }
.all-plans li { display: flex; align-items: center; gap: 8px; }
.pricing-top .compare { max-width: 900px; margin: 56px auto 0; }
.pricing-top .compare td:nth-child(n+2), .pricing-top .compare th:nth-child(n+2) { color: var(--fg); width: 22%; }

/* ---------- Security page ---------- */
.sec { max-width: 760px; margin: 56px auto 0; }
.sec h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 14px; }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; }
.sec-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.sec-list svg { margin-top: 4px; }
.sec-list b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.sec-list span { display: block; color: var(--fg-2); font-size: 0.9375rem; margin-top: 4px; letter-spacing: -0.008em; }
.sec-next svg { color: var(--fg-3); }
.sec-p { color: var(--fg-2); margin: 0; }

/* ---------- Footer v3 ---------- */
footer.foot { padding-block: 56px 40px; font-size: 0.8125rem; color: var(--fg-2); border-top: 1px solid var(--line); }
footer.foot .wrap { display: block; border: 0; padding-top: 0; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols h3 { font-size: 0.75rem; font-weight: 600; color: var(--fg); letter-spacing: 0; margin-bottom: 10px; }
.foot-cols a:not(.brand) { display: block; color: var(--fg-2); padding: 4px 0; }
.foot-cols a:not(.brand):hover { color: var(--fg); text-decoration: none; }
.foot-brand p { margin: 10px 0 0; max-width: 30ch; color: var(--fg-3); }
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--fg-3); }

@media (max-width: 900px) {
  .cases, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
  .plans-3 { gap: 24px; }
}
@media (max-width: 480px) {
  .cases, .stats { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .menu-panel { animation: none; }
  .case, .burger span, .menu-btn svg { transition: none; }
}

/* ---------- Site v4: Company menu, Numeric-style pricing head, company pages ---------- */
.menu-btn.menu-on { color: var(--fg); font-weight: 600; }
.menu-panel a[aria-current="page"] b { color: var(--accent); }
.pricing-head .display { color: var(--fg); }
.pricing-head .lede { max-width: 44ch; }
.sub-head { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.025em; color: var(--fg-2); margin: 64px 0 0; }
.plan-caps { text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.06em; font-weight: 700; }
.story { max-width: 760px; margin: 72px auto 0; display: grid; gap: 56px; }
.story h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; }
.story p:not(.eyebrow) { color: var(--fg-2); font-size: 1.125rem; margin: 14px 0 0; letter-spacing: -0.012em; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rel { margin-top: 56px; }
@media (max-width: 900px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cards4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Site v5: calmer headings, integrations strip with logos ---------- */
.display { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.works { padding-block: 36px 16px; }
.works p { margin-bottom: 18px; }
.works ul { gap: 20px 48px; align-items: flex-start; }
.works li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 500; letter-spacing: -0.005em; color: var(--fg-2); }
.works svg { width: 28px; height: 28px; color: var(--fg-3); transition: color 160ms ease; }
.works li:hover svg { color: var(--fg); }
@media (max-width: 720px) {
  .hero .display { font-size: 2rem; }
  .works ul { gap: 18px 28px; }
  .works svg { width: 24px; height: 24px; }
}
.works .wide svg { width: 46px; height: 46px; margin-block: -9px; }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.works svg { color: var(--brand, var(--fg-3)); }
.works li:hover svg { color: var(--fg-2); }
.works svg { width: 36px; height: 36px; }
.works .wide svg { width: 58px; height: 58px; margin-block: -11px; }
.works li { font-size: 0.875rem; }
.works .excel svg { filter: none; }
.works .excel:hover svg { filter: grayscale(1) brightness(0.6); }
@media (max-width: 720px) { .works svg { width: 30px; height: 30px; } .works .wide svg { width: 48px; height: 48px; margin-block: -9px; } }

/* Privacy Policy and Terms */
.legal { max-width: 760px; }
.legal .display { margin-top: 10px; }
.legal-lede { color: var(--fg-2); font-size: 1.125rem; margin: 16px 0 0; }
.legal-date { color: var(--fg-3); font-size: 0.875rem; margin: 8px 0 40px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--fg-2); line-height: 1.65; }
.legal ul { padding-left: 1.25rem; margin: 10px 0; }
.legal li + li { margin-top: 8px; }
.legal a, .foot-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Account emails: confirm address, new password (/account) ---------- */
.acct { display: flex; justify-content: center; padding-bottom: 96px; }
.acct-card { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.05); }
.acct-title { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
.acct-text { color: var(--fg-2); line-height: 1.6; margin: 12px 0 0; overflow-wrap: anywhere; }
.acct-form { display: grid; gap: 8px; margin-top: 24px; }
.acct-form label { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-top: 6px; }
.acct-form input { font: inherit; color: var(--fg); background: var(--surface); min-height: 46px; padding: 0 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line); width: 100%; }
.acct-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.acct-err { color: var(--bad); font-size: 0.875rem; min-height: 1.3em; margin: 4px 0 0; }
.acct-card > .btn, .acct-form .btn { margin-top: 24px; width: 100%; min-height: 46px; justify-content: center; }
.acct-form .btn { margin-top: 4px; }
.acct-help { font-size: 0.8125rem; color: var(--fg-3); margin: 24px 0 0; }
.acct-help a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 520px) { .acct-card { padding: 28px 20px; } }

/* ---------- Integrations under the hero buttons: headline, button, then "works with your books" ---------- */
/* Even rhythm: the same gap above the integrations, between them and the demo (40px desktop, 28px phone).
   On every screen they show without scrolling. */
.hero:has(.works-cta) { padding-top: 56px; }
.hero .works-cta { padding-block: 24px 0; }  /* a little air between the trial note and the logo label, no dead space */
.hero .works-cta p { margin-bottom: 14px; }
.hero:has(.works-cta) .play { margin-top: 40px; }
@media (max-width: 720px) {
  .hero:has(.works-cta) { padding-top: 32px; }
  .hero .works-cta { padding-block: 18px 0; }
  .hero:has(.works-cta) .play { margin-top: 28px; }
  .hero .works-cta ul { gap: 14px 22px; }
  .hero .works-cta svg { width: 26px; height: 26px; }
  .hero .works-cta .wide svg { width: 42px; height: 42px; margin-block: -8px; }
  .hero .works-cta li { font-size: 0.75rem; gap: 6px; }
}
@media (max-width: 430px) {  /* all five logos on one row on a phone */
  .hero .works-cta ul { gap: 12px 14px; flex-wrap: nowrap; }
  .hero .works-cta li { font-size: 0.6875rem; letter-spacing: -0.01em; white-space: nowrap; }
}
@media (max-width: 360px) {
  .hero .works-cta ul { gap: 10px 8px; }
  .hero .works-cta li { font-size: 0.625rem; letter-spacing: -0.015em; }
  .hero .works-cta svg { width: 22px; height: 22px; }
  .hero .works-cta .wide svg { width: 36px; height: 36px; margin-block: -7px; }
}
@media (max-width: 360px), (max-width: 430px) and (max-height: 600px) {  /* small or short phones (iPhone SE): keep the logos on the first screen */
  .hero:has(.works-cta) { padding-top: 22px; }
  .hero:has(.works-cta) .eyebrow { font-size: 0.8125rem; margin-bottom: 6px; }
  .hero:has(.works-cta) .display { font-size: 1.75rem; }
  .hero:has(.works-cta) .hero-lede { font-size: 0.9375rem; margin-top: 10px; }
  .hero:has(.works-cta) .hero-cta { margin-top: 18px; }
  .hero:has(.works-cta) .hero-cta { flex-wrap: nowrap; gap: 12px; }
  .hero:has(.works-cta) .hero-cta .btn { min-height: 44px; padding-inline: 16px; font-size: 0.9375rem; white-space: nowrap; }
  .hero:has(.works-cta) .hero-cta .btn-plain { padding-inline: 4px; }
  .hero:has(.works-cta) .hero-note { margin-top: 10px; font-size: 0.75rem; }
}

/* The announcement line above the home headline: "New | Agentlyze launches Athena AI Model ›", plain text, no pill */
.hero-tag { margin: 0 0 16px; }
.hero-tag a { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 500; color: var(--fg-2); text-decoration: none; }
.hero-tag a:hover { color: var(--fg); }
.hero-tag b { color: var(--accent); font-weight: 650; }
.hero-tag .sep { width: 1px; height: 14px; background: var(--line); filter: brightness(.85); }
.hero-tag .ar { color: var(--accent); transition: transform .15s; }
.hero-tag a:hover .ar { transform: translateX(2px); }
/* Even spacing, a little higher on the page: 36px above the line, 16px to the headline, 16px to the text, 28px to the buttons */
.hero:has(.works-cta) { padding-top: 36px; }
.hero:has(.works-cta) .hero-lede { margin-top: 16px; }
.hero:has(.works-cta) .hero-cta { margin-top: 28px; }
@media (max-width: 720px) { .hero:has(.works-cta) { padding-top: 24px; } }
@media (max-width: 400px) { .hero-tag a { font-size: 0.8125rem; gap: 8px; white-space: nowrap; } }
@media (max-width: 360px) { .hero-tag a { font-size: 0.75rem; gap: 6px; letter-spacing: -0.01em; } }  /* one line even at 320px */
@media (max-width: 360px), (max-width: 430px) and (max-height: 600px) {
  .hero:has(.works-cta) { padding-top: 18px; }
  .hero-tag { margin-bottom: 8px; }
  .hero:has(.works-cta) .hero-lede { margin-top: 10px; }
  .hero:has(.works-cta) .hero-cta { margin-top: 18px; }
}

/* ---------- Payments-company layout (ADR 0026) ----------
   Cool greys, pill buttons with an arrow, deep soft shadows under the product window, grey bands with angled edges.
   The home hero used to sit on a violet bar chart; ADR 0043 replaced it with a navy band, so the chart is gone. */
body { position: relative; isolation: isolate; letter-spacing: -0.005em; }
.nav-in { height: 64px; }
.nav-links { gap: 28px; }
.nav-links a, .nav-links .menu-btn { font-weight: 500; }
.btn { border-radius: 999px; font-weight: 600; min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 0.875rem; }
.nav-links, .nav-links a, .nav-links .menu-btn { font-size: 0.9375rem; }
.hero { padding-block: 64px 40px; }
.btn-primary { box-shadow: 0 2px 5px rgba(124, 74, 255, 0.25); }
.hero-cta .btn-primary::after, .nav-cta::after, .cta-band .btn-primary::after { content: "›"; font-size: 1.15em; margin-left: 4px; line-height: 1; transition: transform .15s; }
.btn-primary:hover::after { transform: translateX(3px); }
.display { font-weight: 650; letter-spacing: -0.03em; }
.h2 { font-weight: 650; letter-spacing: -0.025em; }
.eyebrow { color: var(--accent); font-weight: 600; }
.play, .window { border-radius: 8px; box-shadow: var(--shadow-lg); }
.card, .plan { border-radius: 8px; }
.band { clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); padding-block: calc(4vw + 64px); }
.pill { border-radius: 4px; }
.nowrap { white-space: nowrap; }  /* keeps "Nothing leaves your browser" on one line on phones */
/* the integration logos sit on an even grid, so the icons are spaced equally whatever the name under them */
.hero .works-cta ul { display: grid; grid-template-columns: repeat(5, 104px); justify-content: center; gap: 0 12px; }
.hero .works-cta li { min-width: 0; text-align: center; }
@media (max-width: 720px) { .hero .works-cta ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 4px; max-width: 420px; margin-inline: auto; } }

/* ---------- Framework layout (ADR 0043, Sonny 2026-11-15: "copy LangChain's format") ----------
   The format of a developer-platform site, in Agentlyze's own colours: a wide 1200px frame with hairline rails,
   gridded bands with a soft violet glow for the hero, the proof numbers and the closing call to action,
   mono capitals for small labels, large headings at a medium weight with tight tracking, square-cornered panels
   with one hairline and no floating shadow, 6px buttons, and the steps of the close as tabs. Violet is unchanged.
   This block sits last so it overrides the earlier layers in one place. */
:root {
  --frame: 1200px;
  --r-sm: 6px; --r-md: 6px; --r-lg: 8px;
}
body { margin: 0; letter-spacing: -0.006em; }
.wrap { max-width: var(--frame); padding-inline: 32px; }
section { padding-block: 96px; }
/* labels: mono capitals with a small violet square, as a developer platform marks its sections */
.eyebrow, .feature-k, .case-k, .foot-cols h3 {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
/* headings: large, medium weight, tight */
.display { font-size: clamp(2.75rem, 6.6vw, 5rem); font-weight: 560; letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1.05; }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; letter-spacing: -0.01em; }
/* section heads sit on the left of the frame; the hero and the FAQ stay centred */
main section:not(.hero):not(#faq) .center.section-head, main section:not(.hero):not(#faq) > .wrap > .center { text-align: left; }
main section:not(.hero):not(#faq) .center .lede { margin-inline: 0; }
/* Pricing stays centred: its title, cards, table and FAQ share one centre line (Sonny, 2026-11-18). */
main section#pricing:not(.hero) > .wrap > .center.pricing-head { text-align: center; }
main section#pricing:not(.hero) .center.pricing-head .lede { margin-inline: auto; }
.section-head { margin-bottom: 48px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.split-head .lede { margin: 0; max-width: 44ch; }
/* sections are framed: a hairline between each, and the frame's rails on wide screens */
main > section + section { border-top: 1px solid var(--line); }
main > section > .wrap { position: relative; }
@media (min-width: 1280px) {
  main > section:not(.hero):not(.cta-band):not(#proof) > .wrap::before { content: ""; position: absolute; inset: -96px 0; pointer-events: none;
    border-inline: 1px solid var(--line); }
}
.band { clip-path: none; padding-block: 96px; background: var(--surface-2); }

/* nav: solid, a hairline under it, quiet links, a 6px button pair */
.nav { background: var(--nav-bg); border-bottom: 1px solid var(--line); box-shadow: none; }
.nav-in { max-width: var(--frame); padding-inline: 32px; height: 64px; }
.nav-links a, .nav-links .menu-btn { font-size: 0.9375rem; font-weight: 500; color: var(--fg-2); }
.nav-links a:hover, .nav-links .menu-btn:hover { color: var(--fg); text-decoration: none; }
.menu-panel { border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(10, 37, 64, 0.12); }
.btn { border-radius: 6px; font-weight: 500; letter-spacing: -0.005em; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { background: var(--btn-press); }
.hero-cta .btn-primary::after, .nav-cta::after, .cta-band .btn-primary::after { content: none; }
.nav-signin { box-shadow: inset 0 0 0 1px var(--line); }
.btn-plain { box-shadow: inset 0 0 0 1px var(--line); padding-inline: 18px; color: var(--fg); }
.btn-plain:hover { background: var(--surface-2); text-decoration: none; }

/* feature bands: the hero, the proof numbers and the closing call to action sit on a soft violet glow, in the page's
   own white, grey and violet (Sonny: "no navy"). The hero brings back the rising bar chart from ADR 0026 in place of
   the old grid lines (Sonny: "put it instead of the gridlines"): growth, drawn as shapes, no image file. */
.hero, #proof, .cta-band {
  clip-path: none;
  background:
    radial-gradient(70% 55% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--band-bg, var(--bg));
}
.hero {
  position: relative; isolation: isolate;
  background:
    radial-gradient(70% 55% at 50% 0%, var(--accent-soft), transparent 70%),
    linear-gradient(var(--hero-tint), var(--bg) 900px);
}
/* The bars are a mask painted in the theme's own violet, so light and dark mode each get their accent with no second
   drawing. A soft clearing in the middle keeps the headline and buttons crisp; the bars rise around the copy and fade
   out before the demo card. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--accent), var(--bars-bottom, #4F7BFF));
  opacity: var(--bars-alpha, 0.85);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%20420'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'g'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.22'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.03'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D'url(%23g)'%3E%3Crect%20x%3D'20'%20y%3D'330'%20width%3D'46'%20height%3D'90'%20rx%3D'6'%2F%3E%3Crect%20x%3D'91'%20y%3D'300'%20width%3D'46'%20height%3D'120'%20rx%3D'6'%2F%3E%3Crect%20x%3D'162'%20y%3D'315'%20width%3D'46'%20height%3D'105'%20rx%3D'6'%2F%3E%3Crect%20x%3D'233'%20y%3D'270'%20width%3D'46'%20height%3D'150'%20rx%3D'6'%2F%3E%3Crect%20x%3D'304'%20y%3D'280'%20width%3D'46'%20height%3D'140'%20rx%3D'6'%2F%3E%3Crect%20x%3D'375'%20y%3D'245'%20width%3D'46'%20height%3D'175'%20rx%3D'6'%2F%3E%3Crect%20x%3D'446'%20y%3D'260'%20width%3D'46'%20height%3D'160'%20rx%3D'6'%2F%3E%3Crect%20x%3D'517'%20y%3D'210'%20width%3D'46'%20height%3D'210'%20rx%3D'6'%2F%3E%3Crect%20x%3D'588'%20y%3D'230'%20width%3D'46'%20height%3D'190'%20rx%3D'6'%2F%3E%3Crect%20x%3D'659'%20y%3D'180'%20width%3D'46'%20height%3D'240'%20rx%3D'6'%2F%3E%3Crect%20x%3D'730'%20y%3D'195'%20width%3D'46'%20height%3D'225'%20rx%3D'6'%2F%3E%3Crect%20x%3D'801'%20y%3D'150'%20width%3D'46'%20height%3D'270'%20rx%3D'6'%2F%3E%3Crect%20x%3D'872'%20y%3D'165'%20width%3D'46'%20height%3D'255'%20rx%3D'6'%2F%3E%3Crect%20x%3D'943'%20y%3D'120'%20width%3D'46'%20height%3D'300'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1014'%20y%3D'130'%20width%3D'46'%20height%3D'290'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1085'%20y%3D'90'%20width%3D'46'%20height%3D'330'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1156'%20y%3D'110'%20width%3D'46'%20height%3D'310'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1227'%20y%3D'60'%20width%3D'46'%20height%3D'360'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1298'%20y%3D'70'%20width%3D'46'%20height%3D'350'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1369'%20y%3D'30'%20width%3D'46'%20height%3D'390'%20rx%3D'6'%2F%3E%3C%2Fg%3E%3Cpolyline%20points%3D'43%2C280%20114%2C250%20185%2C265%20256%2C220%20327%2C230%20398%2C195%20469%2C210%20540%2C160%20611%2C180%20682%2C130%20753%2C145%20824%2C100%20895%2C115%20966%2C70%201037%2C80%201108%2C40%201179%2C60%201250%2C10%201321%2C20%201392%2C-20'%20fill%3D'none'%20stroke%3D'%237C4AFF'%20stroke-opacity%3D'.45'%20stroke-width%3D'2'%2F%3E%3C%2Fsvg%3E") 0 var(--bars-top, 380px) / 100% 420px no-repeat,
    radial-gradient(34% 30% at 50% 38%, transparent 35%, #000 100%);
  -webkit-mask-composite: source-in;
  mask:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%20420'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'g'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.22'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.03'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D'url(%23g)'%3E%3Crect%20x%3D'20'%20y%3D'330'%20width%3D'46'%20height%3D'90'%20rx%3D'6'%2F%3E%3Crect%20x%3D'91'%20y%3D'300'%20width%3D'46'%20height%3D'120'%20rx%3D'6'%2F%3E%3Crect%20x%3D'162'%20y%3D'315'%20width%3D'46'%20height%3D'105'%20rx%3D'6'%2F%3E%3Crect%20x%3D'233'%20y%3D'270'%20width%3D'46'%20height%3D'150'%20rx%3D'6'%2F%3E%3Crect%20x%3D'304'%20y%3D'280'%20width%3D'46'%20height%3D'140'%20rx%3D'6'%2F%3E%3Crect%20x%3D'375'%20y%3D'245'%20width%3D'46'%20height%3D'175'%20rx%3D'6'%2F%3E%3Crect%20x%3D'446'%20y%3D'260'%20width%3D'46'%20height%3D'160'%20rx%3D'6'%2F%3E%3Crect%20x%3D'517'%20y%3D'210'%20width%3D'46'%20height%3D'210'%20rx%3D'6'%2F%3E%3Crect%20x%3D'588'%20y%3D'230'%20width%3D'46'%20height%3D'190'%20rx%3D'6'%2F%3E%3Crect%20x%3D'659'%20y%3D'180'%20width%3D'46'%20height%3D'240'%20rx%3D'6'%2F%3E%3Crect%20x%3D'730'%20y%3D'195'%20width%3D'46'%20height%3D'225'%20rx%3D'6'%2F%3E%3Crect%20x%3D'801'%20y%3D'150'%20width%3D'46'%20height%3D'270'%20rx%3D'6'%2F%3E%3Crect%20x%3D'872'%20y%3D'165'%20width%3D'46'%20height%3D'255'%20rx%3D'6'%2F%3E%3Crect%20x%3D'943'%20y%3D'120'%20width%3D'46'%20height%3D'300'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1014'%20y%3D'130'%20width%3D'46'%20height%3D'290'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1085'%20y%3D'90'%20width%3D'46'%20height%3D'330'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1156'%20y%3D'110'%20width%3D'46'%20height%3D'310'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1227'%20y%3D'60'%20width%3D'46'%20height%3D'360'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1298'%20y%3D'70'%20width%3D'46'%20height%3D'350'%20rx%3D'6'%2F%3E%3Crect%20x%3D'1369'%20y%3D'30'%20width%3D'46'%20height%3D'390'%20rx%3D'6'%2F%3E%3C%2Fg%3E%3Cpolyline%20points%3D'43%2C280%20114%2C250%20185%2C265%20256%2C220%20327%2C230%20398%2C195%20469%2C210%20540%2C160%20611%2C180%20682%2C130%20753%2C145%20824%2C100%20895%2C115%20966%2C70%201037%2C80%201108%2C40%201179%2C60%201250%2C10%201321%2C20%201392%2C-20'%20fill%3D'none'%20stroke%3D'%237C4AFF'%20stroke-opacity%3D'.45'%20stroke-width%3D'2'%2F%3E%3C%2Fsvg%3E") 0 var(--bars-top, 380px) / 100% 420px no-repeat,
    radial-gradient(34% 30% at 50% 38%, transparent 35%, #000 100%);
  mask-composite: intersect;
}
:root[data-theme="dark"] .hero { --bars-alpha: 0.9; --bars-bottom: #7FA2FF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { --bars-alpha: 0.9; --bars-bottom: #7FA2FF; } }
@media (max-width: 700px) {
  /* on a phone the demo card fills the width, so fewer, wider bars rise behind the headline and stand on the card */
  .hero {
    background:
      radial-gradient(70% 55% at 50% 0%, var(--accent-soft), transparent 70%),
      linear-gradient(var(--hero-tint), var(--bg) 1000px);
  }
  .hero::before {
    -webkit-mask:
      url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20390%20420'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'g'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.16'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.02'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D'url(%23g)'%3E%3Crect%20x%3D'10'%20y%3D'300'%20width%3D'32'%20height%3D'120'%20rx%3D'5'%2F%3E%3Crect%20x%3D'58'%20y%3D'255'%20width%3D'32'%20height%3D'165'%20rx%3D'5'%2F%3E%3Crect%20x%3D'106'%20y%3D'270'%20width%3D'32'%20height%3D'150'%20rx%3D'5'%2F%3E%3Crect%20x%3D'154'%20y%3D'205'%20width%3D'32'%20height%3D'215'%20rx%3D'5'%2F%3E%3Crect%20x%3D'202'%20y%3D'220'%20width%3D'32'%20height%3D'200'%20rx%3D'5'%2F%3E%3Crect%20x%3D'250'%20y%3D'150'%20width%3D'32'%20height%3D'270'%20rx%3D'5'%2F%3E%3Crect%20x%3D'298'%20y%3D'165'%20width%3D'32'%20height%3D'255'%20rx%3D'5'%2F%3E%3Crect%20x%3D'346'%20y%3D'90'%20width%3D'32'%20height%3D'330'%20rx%3D'5'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 var(--bars-top, 165px) / 100% 380px no-repeat,
      radial-gradient(46% 16% at 50% 34%, transparent 10%, #000 100%);
    -webkit-mask-composite: source-in;
    mask:
      url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20390%20420'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'g'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.16'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%237C4AFF'%20stop-opacity%3D'.02'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D'url(%23g)'%3E%3Crect%20x%3D'10'%20y%3D'300'%20width%3D'32'%20height%3D'120'%20rx%3D'5'%2F%3E%3Crect%20x%3D'58'%20y%3D'255'%20width%3D'32'%20height%3D'165'%20rx%3D'5'%2F%3E%3Crect%20x%3D'106'%20y%3D'270'%20width%3D'32'%20height%3D'150'%20rx%3D'5'%2F%3E%3Crect%20x%3D'154'%20y%3D'205'%20width%3D'32'%20height%3D'215'%20rx%3D'5'%2F%3E%3Crect%20x%3D'202'%20y%3D'220'%20width%3D'32'%20height%3D'200'%20rx%3D'5'%2F%3E%3Crect%20x%3D'250'%20y%3D'150'%20width%3D'32'%20height%3D'270'%20rx%3D'5'%2F%3E%3Crect%20x%3D'298'%20y%3D'165'%20width%3D'32'%20height%3D'255'%20rx%3D'5'%2F%3E%3Crect%20x%3D'346'%20y%3D'90'%20width%3D'32'%20height%3D'330'%20rx%3D'5'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 var(--bars-top, 165px) / 100% 380px no-repeat,
      radial-gradient(46% 16% at 50% 34%, transparent 10%, #000 100%);
    mask-composite: intersect;
  }
}
/* nothing may push the page sideways on a phone (the announcement once did, leaving a white strip on the right) */
html, body { overflow-x: clip; }
#proof { --band-bg: var(--surface-2); }
.cta-band { --band-bg: var(--surface-2); }
.hero { padding-block: 88px 96px; }
/* the announcement is plain text on the page: no box, no wash, no motion (Sonny didn't like the fade) */
.hero-tag a { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-2);
  padding: 4px 0; border: 0; background: none; }
.hero-tag a:hover { color: var(--fg); }
.hero-tag b { color: var(--accent); font-weight: 600; }
.hero-tag a { position: relative; max-width: 100%; box-sizing: border-box; white-space: normal; text-align: left; }
.hero-tag b, .hero-tag .sep, .hero-tag .ar { flex: none; }
.hero-note { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-3); }
.hero .works p { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); }
.hero .works-cta { margin-top: 40px; padding-block: 28px 0; border-top: 1px solid var(--line); }
.hero .play { border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(10, 37, 64, 0.10); }

/* what a report finds: four cells in one framed row */
.cases { gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.case { border-radius: 0; box-shadow: none; background: var(--surface); padding: 24px; }
.case + .case { box-shadow: inset 1px 0 0 var(--line); }
.case:hover { background: var(--surface-2); text-decoration: none; }
.case b { font-weight: 560; letter-spacing: -0.035em; }

/* the steps of the close: numbered tabs over one framed panel */
.step-tabs { display: flex; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; overflow-x: auto; scrollbar-width: none; }
.step-tabs::-webkit-scrollbar { display: none; }
.step-tab { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 18px; font-size: 0.9375rem;
  font-weight: 500; color: var(--fg-2); white-space: nowrap; box-shadow: inset 0 -1px 0 var(--line); }
.step-tab + .step-tab { border-left: 1px solid var(--line); }
.step-tab:hover { color: var(--fg); background: var(--surface-2); text-decoration: none; }
.step-tab[aria-selected="true"] { color: var(--fg); background: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); }
.step-n { font-family: var(--mono); font-size: 0.6875rem; color: var(--fg-3); letter-spacing: 0.04em; }
.step-tab[aria-selected="true"] .step-n { color: var(--accent); }
.step-panels { border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: var(--surface); }
.close-steps .feature { padding: 48px; gap: 64px; }
.close-steps .feature + .feature { border-top: 1px solid var(--line); }
.close-steps.tabbed .feature + .feature { border-top: 0; }
.close-steps .feature:nth-of-type(even) .feature-text { order: 0; }
.feature-k { color: var(--accent); }
.feature h3 { font-weight: 560; letter-spacing: -0.035em; }
.feature li::before { border-radius: 0; width: 6px; height: 6px; opacity: 1; }
.mini { box-shadow: none; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.mini-row, .mini-text { border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bubble { border-radius: 8px; }

/* how it works: three numbered columns split by hairlines */
.flow.flow-3 { gap: 0; margin-top: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow li { padding: 32px 32px 36px 0; }
.flow li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(s, decimal-leading-zero); display: block; width: auto; height: auto; border-radius: 0; background: none;
  box-shadow: none; font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 0.06em; }
.flow h3 { font-size: 1.25rem; font-weight: 560; margin-top: 20px; }
#how .h2 { margin-bottom: 48px; }

/* proof: big numbers split by hairlines */
#proof .stats { gap: 0; border-top: 1px solid var(--line); }
#proof .stats > div { background: none; box-shadow: none; border-radius: 0; padding: 32px 28px 8px 0; }
#proof .stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
#proof .stats b { white-space: nowrap; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.05em; }
#proof .stats span { margin-top: 14px; }

/* cards: square-ish, one hairline, no shadow */
.card, .plan { border-radius: 8px; box-shadow: none; border: 1px solid var(--line); }
.cards3 { gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cards3 .card { border: 0; border-radius: 0; padding: 32px; }
.cards3 .card + .card { border-left: 1px solid var(--line); }
.cards3 .card h3 { font-weight: 560; letter-spacing: -0.02em; }
.more { margin-top: 28px; }

/* FAQ: plain rows */
.faq summary { font-weight: 500; }
.faq details { padding-block: 20px; }

/* closing call to action: heading on the left, buttons on the right */
.cta-band { padding-block: 112px; }
.cta-band.center { text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 48px; align-items: end; }
.cta-band .wrap > * { grid-column: 1; }
.cta-band .wrap > .hero-cta { grid-column: 2; grid-row: 1 / span 2; }
.cta-band .lede { margin-inline: 0; color: var(--fg-2); }
.cta-band .hero-cta { margin: 0; justify-content: flex-end; }

/* footer: brand on the left, link columns, a hairline bar */
footer.foot { padding-block: 72px 32px; border-top: 1px solid var(--line); }
.foot-cols h3 { margin-bottom: 14px; color: var(--fg-3); }
.foot-cols a:not(.brand) { font-size: 0.875rem; padding: 5px 0; }
.foot-bar { margin-top: 56px; }

@media (max-width: 900px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); } .case:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  #proof .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #proof .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .close-steps .feature { padding: 32px; gap: 32px; }
}
@media (max-width: 720px) {
  .wrap, .nav-in { padding-inline: 20px; }
  section, .band { padding-block: 64px; }
  .hero { padding-block: 48px 56px; }
  .section-head { margin-bottom: 32px; }
  .split-head { grid-template-columns: minmax(0, 1fr); }
  .step-tab { flex: none; padding: 14px 16px; }
  .close-steps .feature { padding: 24px 20px; gap: 24px; }
  .flow li, .flow li + li { padding: 24px 0; border-left: 0; }
  .flow li + li { border-top: 1px solid var(--line); }
  .cards3 .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .cards3 .card { padding: 24px; }
  .cta-band { padding-block: 72px; }
  .cta-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .cta-band .wrap > .hero-cta { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .cta-band .hero-cta { justify-content: flex-start; }
  .hero .works-cta { margin-top: 28px; padding-top: 22px; }
}
@media (max-width: 480px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case + .case, .case:nth-child(3), .case:nth-child(4) { box-shadow: inset 0 1px 0 var(--line); }
  #proof .stats { grid-template-columns: minmax(0, 1fr); }
  #proof .stats > div, #proof .stats > div + div { padding: 24px 0 20px; border-left: 0; }
  #proof .stats > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Book a demo: three taps, then a work email (ADR 0044) ---------- */
.ask { max-width: 560px; margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; }
.ask-bar { height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-bottom: 24px; }
.ask-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.ask-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.ask-step legend, .ask-step > label { display: block; padding: 0; margin-bottom: 16px; font-size: 1.25rem; font-weight: 560; letter-spacing: -0.02em; color: var(--fg); }
.ask-n { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); }
.ask-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ask-opt { min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg);
  font: inherit; font-size: 0.9375rem; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .12s, background-color .12s; }
.ask-opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.ask-opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ask-row { display: flex; gap: 10px; }
.ask-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--fg); }
.ask-row .btn { height: 44px; }
.ask-back { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--fg-3); font: inherit; font-size: 0.875rem; cursor: pointer; }
.ask-back:hover { color: var(--fg); }
.ask-done { margin: 0; font-size: 1.0625rem; font-weight: 500; color: var(--fg); }
.ask + .wl-msg, .ask .wl-msg:empty { display: none; }
@media (max-width: 520px) {
  .ask { padding: 20px; }
  .ask-opts { grid-template-columns: minmax(0, 1fr); }
  .ask-row { flex-direction: column; }
  .ask-row input { flex: none; }
}

/* ======================= Demo: a five-step tour of the real app (Sonny, 2026-11-18) =======================
   Like the product tours Numeric and Digits run: the app on the left, one caption on the right, one glowing spot to
   press. On a phone the caption sits under the app and nothing scrolls sideways. */
.tour-top { padding-top: 56px; padding-bottom: 72px; }
.tour-top .hidden { display: none !important; }
main section.tour-top > .wrap > .tour-head { text-align: center; }
.tour-head .lede { margin-inline: auto; max-width: 46ch; }
.tour-who { display: inline-flex; gap: 4px; padding: 4px; margin-top: 24px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.tour-who button { border: 0; background: none; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--fg-2); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tour-who button[aria-checked="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(10, 37, 64, 0.12); }
.tour-steps { list-style: none; padding: 0; margin: 32px auto 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 900px; }
.tour-steps button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 0.875rem; color: var(--fg-3); padding: 10px 4px; border-top: 3px solid var(--line); cursor: pointer; text-align: left; }
.tour-steps button.done { color: var(--fg-2); border-top-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tour-steps button.on { color: var(--fg); font-weight: 600; border-top-color: var(--accent); }
.tour-steps .tn { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: var(--surface-2); }
.tour-steps .on .tn { background: var(--accent); color: var(--accent-fg); }
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tour-app { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 520px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.tour-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 0.8125rem; color: var(--fg-2); }
.tour-brand { font-weight: 700; color: var(--fg); padding: 2px 8px 14px; }
.tour-client { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; margin: 0 0 10px; background: var(--surface); font-weight: 600; color: var(--fg); }
.tour-side [data-nav] { padding: 7px 8px; border-radius: 6px; border-left: 2px solid transparent; }
.tour-side [data-nav].on { background: var(--surface); color: var(--accent); font-weight: 600; border-left-color: var(--accent); }
.tour-main { min-width: 0; display: flex; flex-direction: column; }
.tour-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--fg-3); }
.tour-search { background: var(--surface-2); border-radius: 6px; padding: 5px 10px; flex: 0 1 240px; }
.tour-askai { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; color: var(--fg); font-weight: 600; }
.tour-stage { padding: 20px 22px 24px; min-width: 0; }
.tour-view { animation: rise 0.25s ease both; }
.tv-eyebrow { font-family: var(--mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 4px; }
.tv-title { font-size: 1.375rem; letter-spacing: -0.02em; margin: 0; }
.tv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-note { color: var(--fg-3); font-size: 0.8125rem; margin: 14px 0 0; }
.tour .glow { position: relative; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); animation: tour-glow 1.6s ease-in-out infinite; }
@keyframes tour-glow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 12%, transparent); } }
@media (prefers-reduced-motion: reduce) { .tour .glow, .tour-view { animation: none; } }
.tv-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tv-source { display: flex; flex-direction: column; gap: 2px; text-align: left; font: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; cursor: pointer; color: var(--fg); }
.tv-source small { color: var(--fg-3); font-size: 0.75rem; }
.tv-connected { margin: 14px 0 0; font-size: 0.875rem; color: var(--fg-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tv-files { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.tv-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.8125rem; }
.tv-files .ficon { width: 30px; height: 34px; }
.tv-files b, .tv-files small { display: block; overflow-wrap: anywhere; }
.tv-files small { color: var(--fg-3); font-size: 0.75rem; }
.tv-clients { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; font-size: 0.8125rem; color: var(--fg-3); }
.tv-clients b { font-weight: 600; color: var(--fg); background: var(--surface-2); border-radius: 999px; padding: 3px 10px; }
.tv-run { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.875rem; color: var(--fg-3); }
.tv-run li::before { content: "○"; display: inline-block; width: 22px; color: var(--fg-3); }
.tv-run li.done { color: var(--fg); }
.tv-run li.done::before { content: "✓"; color: var(--good); font-weight: 700; }
.tv-run li.now::before { content: "●"; color: var(--accent); }
.tv-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.tv-board > div { background: var(--surface-2); border-radius: 8px; padding: 10px; }
.tv-board p { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; color: var(--fg-2); }
.tv-card, .tv-one { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; font: inherit; font-size: 0.8125rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; color: var(--fg); }
.tv-card small { color: var(--fg-3); }
button.tv-card, .tv-one { cursor: pointer; }
.tv-one { margin-top: 18px; padding: 14px; font-size: 0.9375rem; }
.tv-needs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tv-needs li { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.tv-needs li.done { opacity: 0.6; }
.tv-needs p { margin: 6px 0 0; font-size: 0.8125rem; color: var(--fg-2); line-height: 1.5; }
/* every account's amount sits in one place, on its own line under the name, at every width (Sonny, 2026-11-18) */
.tv-acct { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; border: 0; background: none; padding: 0; font: inherit; font-size: 0.875rem; color: var(--fg); cursor: pointer; text-align: left; }
.tv-acct b { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tv-tag { font-size: 0.6875rem; font-weight: 600; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.tv-tag.ok { color: var(--good); background: var(--good-soft); }
.tv-tag.bad { color: var(--warn); background: var(--warn-soft); }
.tv-ask { background: var(--accent-soft); border-radius: 6px; padding: 8px 10px; }
.tv-fold { color: var(--fg-3) !important; }
.tv-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tv-say { font-size: 1rem; line-height: 1.6; margin: 8px 0 0; }
.tv-num { font: inherit; font-weight: 600; color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 4px; padding: 0 4px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.tv-src { margin-top: 14px; }
.tv-srcname { font-family: var(--mono); font-size: 0.75rem; color: var(--fg-2); margin: 0 0 6px; }
.tour .src table { min-width: 0; }
/* nothing in the tour is cut off or scrolls sideways: cells wrap, amounts stay whole, and columns that don't fit go */
.tour .src { overflow-x: visible; }
.tour .src td, .tour .src th { white-space: normal; overflow-wrap: anywhere; }
.tour .src td.amt { white-space: nowrap; overflow-wrap: normal; }
.tour .table-scroll { overflow-x: visible; }
.tour table.var { min-width: 0; width: 100%; }
.tour table.var td, .tour table.var th { white-space: normal; }
.tour table.var td:not(:first-child) { white-space: nowrap; }
.tour table.var th:nth-child(n+5), .tour table.var td:nth-child(n+5) { display: none; }
.tv-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: 0.8125rem; }
.tv-checks .ok { color: var(--good); }
.tv-checks .bad { color: var(--bad); }
.tour .status-row { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.tour .kpis { margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tour .kpi-value { font-size: 1.25rem; overflow-wrap: anywhere; }
.tv-table { margin-top: 14px; font-size: 0.8125rem; }
.tv-pack { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--good-soft); font-size: 0.875rem; }
.tour[data-who="firm"] .owner-only, .tour-top:has(.tour[data-who="firm"]) .owner-only { display: none !important; }
.tour[data-who="owner"] .firm-only { display: none !important; }
.tour-card { scroll-margin-top: 76px; position: sticky; top: 88px; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(10, 37, 64, 0.2); padding: 22px; text-align: left; }
.tour-n { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.tour-title { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 10px; }
.tour-text { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.55; margin: 0; }
.tour-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.tour-nav .btn:disabled { opacity: 0.4; }
.tour-foot { color: var(--fg-3); font-size: 0.8125rem; text-align: center; margin: 24px auto 0; max-width: 70ch; }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-card { position: static; order: -1; }
  .tour-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tour-side, .tour-bar { display: none; }
  .tour-steps .tl { display: none; }
  .tour-steps button { justify-content: center; }
  .tour-steps button.on .tl { display: none; }
  .tour .src th:nth-child(-n+3), .tour .src td:nth-child(-n+3) { display: none; }
}
@media (max-width: 1100px) {  /* the app frame is narrow beside the caption: Line, Actual and Effect on profit only */
  .tour table.var th:nth-child(3), .tour table.var td:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .tour-stage { padding: 16px 14px 18px; }
  .tv-sources, .tv-board { grid-template-columns: minmax(0, 1fr); }
  .tv-table { display: none; }
  .tour .src th:not(:nth-child(4)):not(:nth-child(6)), .tour .src td:not(:nth-child(4)):not(:nth-child(6)) { display: none; }
  .tour-who button { padding: 8px 12px; font-size: 0.875rem; }
}

/* ---------- Athena's agents: the run as the app shows it ---------- */
.agents-demo { margin: 0 auto 28px; max-width: 760px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 22px 20px; }
.agent-steps { margin-top: 18px; }
.agent-steps .step { grid-template-columns: 22px minmax(0, 1fr) auto; }
.agent-client { font-size: 0.75rem; font-weight: 650; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.step.needs .dot { border-color: var(--warn); background: var(--warn-soft); }
.step.needs .kind { color: var(--warn); }
.step:not(.done):not(.active):not(.needs) { color: var(--fg-3); }
.compare tr.group th { padding: 22px 14px 8px; font-size: 0.75rem; font-weight: 650; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--line); text-align: left; }
@media (max-width: 640px) {
  /* All four columns fit a phone: no sideways scroll, so Enterprise is never cut off */
  .pricing-top .compare table { min-width: 0; font-size: 0.8125rem; table-layout: fixed; }
  .pricing-top .compare th, .pricing-top .compare td { padding: 12px 6px; overflow-wrap: anywhere; }
  .pricing-top .compare td:first-child, .pricing-top .compare thead th:first-child { width: 34%; }
  .pricing-top .compare td:nth-child(n+2), .pricing-top .compare th:nth-child(n+2) { width: 22%; }
  .pricing-top .compare tr.group th { padding: 20px 6px 8px; }
  .agents-demo { padding: 18px 16px 16px; }
}

/* Athena's agents at work: the demo's run and the home page's live board (Sonny, 2026-11-19: show the agents) */
.tv-agent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, var(--surface)); }
.tv-agent-name { font-weight: 650; font-size: 0.875rem; }
.tv-agent-on { color: var(--fg-3); font-size: 0.8125rem; flex: 1; min-width: 0; }
.tv-run li.needs { color: var(--fg); }
.tv-run li.needs::before { content: "!"; color: var(--warn); font-weight: 800; }
.tv-run li.skip::before { content: "–"; }
.tv-run li.now { color: var(--fg); font-weight: 550; }
.tv-needs-tag { display: inline-block; margin-left: 6px; font-size: 0.6875rem; font-weight: 650; color: var(--warn); background: var(--warn-soft);
  border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.tv-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.tv-sum div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.tv-sum b { display: block; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.tv-sum small { color: var(--fg-3); font-size: 0.75rem; line-height: 1.3; display: block; margin-top: 2px; }
.tv-sub { margin: 4px 0 10px; color: var(--fg-3); font-size: 0.8125rem; }
.tv-sub-h { margin-top: 16px; font-weight: 650; color: var(--fg-2); }
.tv-prep { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tv-prep li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.tv-prep li.done { opacity: .65; }
.tv-prep p { margin: 6px 0 8px; font-size: 0.8125rem; line-height: 1.45; }
.tv-by, .ag-by { font-size: 0.6875rem; font-weight: 650; color: var(--accent); background: var(--accent-soft, rgba(124, 74, 255, .1));
  border-radius: 999px; padding: 1px 8px; }
.ag-board { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ag-chip { font-size: 0.75rem; font-weight: 600; color: var(--fg-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
  transition: background .25s, color .25s, border-color .25s; }
.ag-chip.on { color: var(--accent); border-color: var(--accent); }
.ag-chip.done { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
.ag-chip.needs { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); background: var(--warn-soft); }
.ag-needs { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ag-needs-head { font-size: 0.8125rem; font-weight: 650; color: var(--fg-2); margin: 0 0 8px; }
.ag-needs ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: 0.8125rem; line-height: 1.45; }
.ag-needs li .ag-by { margin-right: 8px; }
.ag-more { color: var(--fg-3); }
@media (max-width: 640px) { .tv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The app's own Home, in a window (Sonny, 2026-11-19): the same sidebar, card, tiles, run list and Things to do as
   backend/agentlyze/web/app.html, at the app's own sizes, so the site shows what a firm gets */
.appwin { max-width: 1040px; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg); text-align: left; font-size: 14px; color: var(--fg); }
.aw-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line); }
.aw-dots { display: flex; gap: 6px; } .aw-dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--fg-3) 35%, var(--line)); }
.aw-url { flex: 1; max-width: 320px; margin: 0 auto; text-align: center; font-size: 12px; color: var(--fg-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.aw-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 520px; }
.aw-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.aw-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; padding: 0 8px 14px; color: var(--fg); }
.aw-logo { width: 16px; height: 20px; flex: none; color: var(--accent); color: color-mix(in srgb, var(--accent) 82%, var(--fg)); transform: translateY(-3px); }  /* the rabbit, in the app preview */
.aw-nav { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg-2); }
.aw-nav.on { background: var(--surface); color: var(--accent); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.aw-nav em { font-style: normal; font-size: 11px; font-weight: 650; color: #C0123C; background: #FFE7F2; border-radius: 999px; padding: 0 6px; }
.aw-side hr { border: 0; border-top: 1px solid var(--line); margin: 10px 6px; width: auto; }
.aw-main { padding: 22px 26px 26px; min-width: 0; background: var(--surface); }
.aw-eye { margin: 0; font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.aw-title { margin: 4px 0 16px; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; color: var(--fg); }
.aw-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--surface); min-width: 0; }
.aw-head { display: flex; align-items: flex-start; gap: 12px; }
.aw-head > div { flex: 1; min-width: 0; } .aw-head b { display: block; font-size: 15.5px; font-weight: 600; }
.aw-head small { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.aw-mark { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  color: var(--accent); background: var(--accent-soft); }
.aw-btn { flex: none; font-size: 12.5px; font-weight: 600; color: var(--accent-fg); background: var(--accent); border-radius: 7px; padding: 6px 12px; }
.aw-btn.busy { opacity: .7; }
.aw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-top: 16px; }
.aw-stat { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; animation: aw-in .35s ease both; }
.aw-stat b { display: block; font-size: 21px; font-weight: 650; font-variant-numeric: tabular-nums; }
.aw-stat span { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.aw-stat.aw-ask { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--accent-soft); } .aw-stat.aw-ask b { color: var(--accent); }
.aw-empty { margin: 14px 0 0; font-size: 13px; color: var(--fg-3); }
.aw-steps { list-style: none; margin: 14px 0 0; padding: 0; }
.aw-steps > li { position: relative; padding: 8px 0 8px 30px; font-size: 14px; border-top: 1px solid var(--line); }
.aw-steps > li:first-child { border-top: 0; }
.aw-steps > li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box;
  border: 2px solid color-mix(in srgb, var(--fg-3) 35%, var(--line)); }
.aw-steps > li.done::before { border: 0; background: #D7F7C2 center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23006908' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.aw-steps > li.running::before { border-color: var(--accent); border-right-color: transparent; animation: aw-spin .7s linear infinite; }
.aw-client { font-weight: 600; } .aw-mute { color: var(--fg-3); }
.aw-sub { list-style: none; margin: 6px 0 2px; padding: 0; }
.aw-sub li { font-size: 13px; color: var(--fg-2); padding: 2px 0 2px 18px; position: relative; animation: aw-in .3s ease both; }
.aw-sub li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px;
  background: center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3.2' fill='none' stroke='%23006908' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.aw-sub li.needs_you::before { content: "!"; background: none; width: auto; height: auto; top: 2px; left: 3px; color: var(--warn); font-weight: 700; }
.aw-note { margin: 14px 0 0; font-size: 12.5px; color: var(--fg-3); }
.aw-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; animation: aw-in .4s ease both; }
.aw-ct { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.aw-todo, .aw-recs { list-style: none; margin: 0; padding: 0; }
.aw-todo li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.aw-todo li:first-child, .aw-recs li:first-child { border-top: 0; }
.aw-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 650;
  color: var(--accent); background: var(--accent-soft); }
.aw-athena { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 7px; margin-right: 6px; }
.aw-btn2 { font-size: 12px; font-weight: 600; border: 1px solid color-mix(in srgb, var(--fg-3) 35%, var(--line)); border-radius: 7px; padding: 4px 10px; color: var(--fg); }
.aw-recs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.aw-acct { font-weight: 600; min-width: 0; }
.aw-amt { font-variant-numeric: tabular-nums; text-align: right; }
.aw-badge { justify-self: start; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; }
.aw-badge.good { color: #006908; background: #D7F7C2; } .aw-badge.warn { color: #7A5A00; background: #FCEDB9; }
.aw-how { grid-column: 1 / -1; font-size: 12px; color: var(--fg-3); overflow-wrap: anywhere; }
.aw-more { color: var(--fg-3); font-size: 12.5px; }
.aw-foot { font-size: 0.8125rem; color: var(--fg-3); margin: 0 0 28px; }
@keyframes aw-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes aw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aw-stat, .aw-sub li, .aw-grid { animation: none; } }
@media (max-width: 820px) {
  .aw-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .aw-side { display: none; }
  .aw-main { padding: 16px 14px 18px; }
  .aw-grid { grid-template-columns: minmax(0, 1fr); }
  .aw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-card { padding: 14px; }
}
.appwin .hidden { display: none !important; }
.aw-stats { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.aw-stat { padding: 11px 12px; } .aw-stat b { font-size: 20px; } .aw-stat span { font-size: 12px; }
@media (max-width: 820px) { .aw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aw-grid { align-items: start; }
/* The app's figures under the agents card: four KPI tiles and the revenue chart */
.aw-cap { margin: 18px 0 8px; font: 600 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.aw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.aw-kpi { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.aw-kpi:first-child { border-left: 0; }
.aw-kpi.on { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 12px 0 0 12px; }
.aw-kpi span { display: block; font: 600 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.aw-kpi.on span { color: var(--accent); }
.aw-kpi b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.aw-kpi small { font-size: 12px; font-weight: 600; } .aw-kpi small.up { color: var(--good); } .aw-kpi small.down { color: var(--bad, #C0123C); }
.aw-chart { margin-top: 14px; }
.aw-chart svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.aw-chart .aw-bar-r { fill: color-mix(in srgb, var(--accent) 45%, transparent); }
.aw-chart .bud { stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 4 3; }
.aw-chart .base { stroke: var(--line); }
.aw-chart text { font-size: 11px; fill: var(--fg-3); text-anchor: middle; }
.aw-legend { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12px; color: var(--fg-3); }
.aw-legend .sw { width: 10px; height: 10px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.aw-legend .sw.dash { width: 14px; height: 0; border-top: 1.5px dashed var(--fg); border-radius: 0; background: none; margin-left: 10px; }
@media (max-width: 820px) {
  .aw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-kpi:nth-child(3) { border-left: 0; } .aw-kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .aw-kpi.on { border-radius: 12px 0 0 0; }
}
@media (max-width: 820px) {
  .aw-kpi { padding: 12px; } .aw-kpi b { font-size: 17px; overflow-wrap: normal; white-space: nowrap; } .aw-kpi small { font-size: 11px; }
  .aw-chart text { font-size: 20px; }
}

/* Pricing: the full comparison starts folded, so the page opens on three short plans (restart plan, 2026-11-24). */
.compare-fold { max-width: 900px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.compare-fold > summary { cursor: pointer; list-style: none; text-align: center; padding: 18px 0 4px; font-weight: 600; color: var(--accent); }
.compare-fold > summary::-webkit-details-marker { display: none; }
.compare-fold > summary::after { content: " ▾"; }
.compare-fold[open] > summary::after { content: " ▴"; }
.compare-fold .compare { margin-top: 12px; }
