/* ==========================================================================
   0. Fonts — self-hosted
   Two variable woff2 files, latin subset, 79 KB total, covering every weight
   the design uses. No request leaves the server: no Google CDN call, nothing
   for a privacy notice to disclose, and no third party in the render path.
   font-display: swap so text is readable before the font arrives.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   SOUTHBEAM — marketing theme
   Design system. Everything brand-specific lives in the token block below;
   swapping a client in means editing :root and nothing else.
   ========================================================================== */

/* --- 1. Tokens -------------------------------------------------------- */

:root {
  /* Brand — the only block that changes per client */
  --accent:        #D13C10;
  --accent-hover:  #B53309;
  --accent-ink:    #FFFFFF;
  --tag-teal:      #0E9488;
  --tag-violet:    #6455E8;
  --tag-amber:     #D98A00;

  /* Surfaces — light */
  --bg:        #F4F3F0;
  --surface:   #FFFFFF;
  --card:      #FFFFFF;
  --sunken:    #EBE9E4;
  --line:      #E2E0DA;
  --outline:   #CFCCC4;

  /* Ink — light */
  --text:      #111417;
  --text-2:    #3C4448;
  --muted:     #5E676B;
  --on-dark:   #E9EDEF;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space */
  --u: 4px;
  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1200px;
  --section-y: clamp(72px, 11vw, 144px);

  /* Shape */
  --r-card: 12px;
  --r-ctl: 8px;
  --r-pill: 999px;

  /* Motion */
  --t-fast: 180ms cubic-bezier(.2, .7, .3, 1);
  --t-slow: 600ms cubic-bezier(.16, .84, .34, 1);

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(17, 20, 23, .05), 0 4px 16px rgba(17, 20, 23, .05);
  --shadow-2: 0 2px 4px rgba(17, 20, 23, .06), 0 16px 48px rgba(17, 20, 23, .10);

  color-scheme: light;
}

/* Dark — applied by system preference unless the user has chosen light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent:       #FF5A2B;
    --accent-hover: #FF7448;
    --accent-ink:   #14100E;
    --tag-teal:     #12B5A5;
    --tag-violet:   #7C6BFF;
    --tag-amber:    #FFB020;

    --bg:      #0B0D0E;
    --surface: #14181A;
    --card:    #1D2326;
    --sunken:  #101416;
    --line:    #242B2E;
    --outline: #364045;

    --text:   #E9EDEF;
    --text-2: #C2CACE;
    --muted:  #8A9499;

    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 48px rgba(0, 0, 0, .45);

    color-scheme: dark;
  }
}

/* Dark — applied by explicit choice, so the toggle wins in both directions */
:root[data-theme="dark"] {
  --accent:       #FF5A2B;
  --accent-hover: #FF7448;
  --accent-ink:   #14100E;
  --tag-teal:     #12B5A5;
  --tag-violet:   #7C6BFF;
  --tag-amber:    #FFB020;

  --bg:      #0B0D0E;
  --surface: #14181A;
  --card:    #1D2326;
  --sunken:  #101416;
  --line:    #242B2E;
  --outline: #364045;

  --text:   #E9EDEF;
  --text-2: #C2CACE;
  --muted:  #8A9499;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 48px rgba(0, 0, 0, .45);

  color-scheme: dark;
}

/* --- 2. Reset --------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- 3. Type ---------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }

.display {
  font-size: clamp(38px, 6.6vw, 68px);
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.05em;
  line-height: 1.08;
}

.h3 {
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -.02em;
  line-height: 1.25;
}

p { margin: 0; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
}

.body { color: var(--text-2); }
.meta { font-size: 14px; color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono { font-family: var(--font-mono); }

/* --- 4. Layout -------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--surface { background: var(--surface); }
.section--sunken  { background: var(--sunken); }

.stack   { display: flex; flex-direction: column; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head .h2 + .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Serrated hairline — the signature divider */
.serrate {
  height: 7px;
  border: 0;
  margin: 0;
  background:
    linear-gradient(135deg, var(--bg) 25%, transparent 25%) -9px 0,
    linear-gradient(225deg, var(--bg) 25%, transparent 25%) -9px 0,
    linear-gradient(315deg, var(--bg) 25%, transparent 25%),
    linear-gradient(45deg,  var(--bg) 25%, transparent 25%);
  background-size: 18px 14px;
  background-color: var(--line);
  opacity: .8;
}

/* --- 5. Controls ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding-inline: 22px;
  border-radius: var(--r-ctl);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), color var(--t-fast);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  border: 1px solid var(--outline);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--text); background: var(--card); }

.btn--lg { height: 52px; padding-inline: 26px; font-size: 16px; }
.btn--sm { height: 38px; padding-inline: 16px; font-size: 14px; }

.btn kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(128, 128, 128, .18);
  border: 1px solid rgba(128, 128, 128, .22);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding-inline: 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tag-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tag-teal) 22%, transparent);
}

/* Copy-to-clipboard command */
.cmd {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 6px 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-2);
  box-shadow: var(--shadow-1);
}
.cmd .prompt { color: var(--accent); }
.cmd button {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.cmd button:hover { background: var(--sunken); color: var(--text); }
.cmd button.copied { color: var(--tag-teal); }

/* --- 6. Header -------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.hdr.is-stuck { border-bottom-color: var(--line); }

.hdr__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -.03em;
}
.logo__mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--accent-ink);
  flex: none;
}

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--text); background: var(--card); }

.hdr__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { color: var(--text); border-color: var(--outline); }

.burger { display: none; }

/* Toggle shows the theme you would switch TO */
.theme-sun  { display: none; }
.theme-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun  { display: block; }
  :root:not([data-theme="light"]) .theme-moon { display: none; }
}
:root[data-theme="dark"]  .theme-sun  { display: block; }
:root[data-theme="dark"]  .theme-moon { display: none; }
:root[data-theme="light"] .theme-sun  { display: none; }
:root[data-theme="light"] .theme-moon { display: block; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 66px 0 0;
  z-index: 55;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  letter-spacing: -.02em;
}
.drawer .btn { width: 100%; margin-top: 24px; }

/* --- 7. Hero ---------------------------------------------------------- */

.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 520px;
  background: radial-gradient(60% 60% at 30% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero .display { margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(96px, auto);
  gap: 12px;
}
.bento__cell {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.bento__cell:hover { border-color: var(--outline); transform: translateY(-2px); }
.bento__cell .k { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.bento__cell .v { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.bento__cell svg { color: var(--muted); }

.bento__cell--wide { grid-column: span 2; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell--accent {
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
}
.bento__cell--accent .v, .bento__cell--accent svg { color: var(--accent); }

.spark { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.spark i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}

/* --- 8. Logo strip ---------------------------------------------------- */

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); }
.logos span {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--muted);
  opacity: .75;
  transition: opacity var(--t-fast);
}
.logos span:hover { opacity: 1; }

/* --- 9. Feature rows -------------------------------------------------- */

.feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feat + .feat { margin-top: clamp(64px, 9vw, 120px); }
.feat--flip .feat__media { order: -1; }

.feat__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feat__tag i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.feat .h2 + .body { margin-top: 18px; font-size: 17px; }

.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checks svg { flex: none; margin-top: 3px; color: var(--accent); }

/* Media panels — abstracted product UI, drawn in CSS */
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.panel__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--outline); display: block; }
.panel__bar .t { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.panel__body { padding: 18px; display: grid; gap: 12px; }

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  font-size: 13.5px;
}
.row .lbl { display: flex; align-items: center; gap: 9px; min-width: 0; }
.row .lbl b { font-weight: 500; }
.row .num { font-family: var(--font-mono); font-size: 13px; }
.row .swatch { width: 8px; height: 22px; border-radius: 3px; flex: none; }

/* Row carrying an inline progress bar between label and figure */
.row--bar { grid-template-columns: 46px minmax(0, 1fr) auto; }
.row--bar .num { min-width: 52px; text-align: right; }

.bar { height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; }

.tone-pos { color: var(--tag-teal); }
.tone-neg { color: var(--accent); }
.tone-warn { color: var(--tag-amber); }

.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi > div { padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.kpi .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-size: 20px; font-weight: 600; letter-spacing: -.03em; margin-top: 5px; }

/* --- 10. Capability grid ---------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 26px 24px 28px;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.card:hover { border-color: var(--outline); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.card__ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--sunken);
  color: var(--text);
}
.card .h3 { font-size: 17.5px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* --- 11. Pricing ------------------------------------------------------ */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto clamp(44px, 6vw, 72px);
}
.compare__side {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  background: var(--card);
}
.compare__side.is-them { background: var(--sunken); }
.compare__side.is-us { border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); }
.compare__side h4 { font-size: 14px; color: var(--muted); font-weight: 500; }
.compare__price { font-size: clamp(30px, 4.4vw, 44px); font-weight: 600; letter-spacing: -.045em; margin: 10px 0 4px; }
.compare__side.is-us .compare__price { color: var(--accent); }
.compare__side ul { margin-top: 18px; display: grid; gap: 9px; font-size: 14px; color: var(--muted); }

.toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 36px;
}
.toggle button {
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.toggle .save { font-family: var(--font-mono); font-size: 11px; opacity: .8; margin-left: 6px; }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 24px 22px 26px;
  position: relative;
}
.tier--pop {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow-1);
}
.tier__flag {
  position: absolute;
  top: -11px; left: 22px;
  height: 22px;
  padding-inline: 10px;
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tier__name { font-size: 15px; font-weight: 600; }
.tier__cost { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.tier__cost .amt { font-size: 34px; font-weight: 600; letter-spacing: -.045em; }
.tier__cost .per { font-size: 13px; color: var(--muted); }
.tier__note { font-size: 13px; color: var(--muted); min-height: 34px; }
.tier .btn { width: 100%; margin: 16px 0 20px; }
.tier ul { display: grid; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.tier ul li { display: flex; gap: 9px; align-items: flex-start; }
.tier ul svg { flex: none; margin-top: 3px; color: var(--tag-teal); }

/* --- 12. Teams band --------------------------------------------------- */

.band {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.band__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.band__list > div { display: flex; gap: 12px; }
.band__list svg { flex: none; margin-top: 2px; color: var(--accent); }
.band__list b { display: block; font-size: 14.5px; font-weight: 600; }
.band__list span { font-size: 13.5px; color: var(--muted); }

/* --- 13. Audience ----------------------------------------------------- */

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who__card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 28px 24px;
  border-top: 3px solid var(--tone, var(--accent));
}
.who__card .h3 { font-size: 18px; }
.who__card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.who__card .quote {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}

/* --- 14. FAQ ---------------------------------------------------------- */

.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -.015em;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  opacity: .55;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 60px 24px 0; color: var(--muted); font-size: 15px; }

/* --- 15. Testimonials ------------------------------------------------- */

.quotes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88vw, 380px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.quote-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  background: var(--sunken);
  color: var(--muted);
}
.quote-card cite { font-style: normal; font-size: 14px; font-weight: 500; display: block; }
.quote-card small { font-size: 12.5px; color: var(--muted); }

.quotes-nav { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 20px; }

/* --- 16. Final CTA ---------------------------------------------------- */

.cta {
  border-radius: 18px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%),
    var(--card);
  border: 1px solid var(--line);
}
.cta .lead { margin: 20px auto 0; max-width: 52ch; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* --- 17. Footer ------------------------------------------------------- */

.ftr { border-top: 1px solid var(--line); background: var(--surface); padding-block: clamp(48px, 6vw, 72px) 32px; }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 24px;
}
.ftr h5 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.ftr li + li { margin-top: 10px; }
.ftr li a { font-size: 14px; color: var(--muted); transition: color var(--t-fast); }
.ftr li a:hover { color: var(--text); }
.ftr__blurb { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 34ch; }
.ftr__base {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.ftr__base nav { display: flex; gap: 20px; }

/* --- 18. Scroll reveal ------------------------------------------------ */

.rise { opacity: 0; transform: translateY(18px); }
.rise.in { opacity: 1; transform: none; transition: opacity var(--t-slow), transform var(--t-slow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .rise { opacity: 1; transform: none; }
}

/* --- 19. Responsive --------------------------------------------------- */

@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .hdr__actions .btn--ghost { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .feat { grid-template-columns: 1fr; }
  .feat--flip .feat__media { order: 0; }
  .cards, .who { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hdr__in { gap: 12px; }
  .cards, .who, .tiers, .band__list, .kpi { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; }
  .bento__cell--tall { grid-row: span 1; }
  .hero__cta .btn { width: 100%; }
  .ftr__base { flex-direction: column; align-items: flex-start; }
}

/* The header CTA lives in the drawer on the narrowest screens */
@media (max-width: 560px) {
  .hdr__actions .btn--primary { display: none; }
  .logo { font-size: 15.5px; }
}

/* ==========================================================================
   20. Inner-page components (Phase 2)
   ========================================================================== */

.narrow { max-width: 760px; }
.display--sm { font-size: clamp(32px, 4.8vw, 52px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Active nav item */
.nav a.is-active { color: var(--text); background: var(--card); }

/* --- Page hero --------------------------------------------------------- */

.phero {
  padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 64px);
  position: relative;
}
.phero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 420px;
  background: radial-gradient(55% 60% at 25% 0%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.phero .eyebrow { display: block; margin-bottom: 14px; }
.phero .display { max-width: 18ch; }
.phero .lead { margin-top: 20px; max-width: 62ch; }
.phero .hero__cta { margin-top: 28px; }
.phero .meta { margin-top: 18px; }

.phero--center { text-align: center; }
.phero--center::before { background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%); }
.phero--center .display { margin-inline: auto; }
.phero--center .lead { margin-inline: auto; }
.phero--center .crumbs { justify-content: center; }

/* --- Breadcrumbs -------------------------------------------------------- */

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}
.crumbs a { transition: color var(--t-fast); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }
.crumbs b { color: var(--text); font-weight: 500; }

/* --- Quick-jump cards --------------------------------------------------- */

.jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jump a {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 18px 18px 20px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.jump a:hover { border-color: var(--outline); transform: translateY(-2px); }
.jump b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.jump span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* --- Tables ------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table th, .table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--sunken); }
.table td:first-child { font-weight: 500; }
.table code { font-size: 12.5px; }
.table--plans td:not(:first-child), .table--plans th:not(:first-child) { text-align: center; }

/* --- Docs layout -------------------------------------------------------- */

.docs { padding-block: clamp(32px, 4vw, 56px) var(--section-y); }
.docs__grid { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

.docs__side { position: sticky; top: 90px; }
.docs__side h5 {
  margin: 26px 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.docs__side h5:first-of-type { margin-top: 0; }
.docs__side li a {
  display: block;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.docs__side li a:hover { color: var(--text); background: var(--card); }
.docs__side li a.is-active { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-weight: 500; }

.docs__search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding-inline: 12px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--card);
  color: var(--muted);
}
.docs__search input { border: 0; background: none; outline: none; font: inherit; font-size: 14px; color: var(--text); width: 100%; }
.docs__body { min-width: 0; }

/* --- Prose -------------------------------------------------------------- */

.prose { max-width: 74ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 52px; }
.prose h3 { margin-top: 38px; }
.prose h1 + p, .prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.prose .lead { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: var(--text); font-weight: 600; }
.prose code {
  font-family: var(--font-mono);
  font-size: .88em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--sunken);
  border: 1px solid var(--line);
}
.prose .table-wrap { margin-top: 22px; }

.code {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--sunken);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.code code { background: none; border: 0; padding: 0; font-size: inherit; }

.callout {
  padding: 16px 18px;
  border-radius: var(--r-card);
  border: 1px solid color-mix(in srgb, var(--tag-teal) 32%, var(--line));
  background: color-mix(in srgb, var(--tag-teal) 8%, transparent);
  font-size: 14.5px;
  color: var(--text-2);
}
.callout--warn {
  border-color: color-mix(in srgb, var(--tag-amber) 38%, var(--line));
  background: color-mix(in srgb, var(--tag-amber) 9%, transparent);
}

/* --- Changelog ---------------------------------------------------------- */

.log { max-width: 940px; margin-inline: auto; }
.log__item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding-block: 36px; border-top: 1px solid var(--line); }
.log__item:first-child { border-top: 0; padding-top: 0; }
.log__meta { display: flex; flex-direction: column; gap: 8px; }
.log__meta time { font-size: 12.5px; color: var(--muted); }
.log__meta .ver {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--muted);
}
.log__body .h3 { margin-top: 12px; }
.log__body p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.log__body .checks { margin-top: 18px; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.chip--new { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.chip--fix { background: color-mix(in srgb, var(--tag-violet) 16%, transparent); color: var(--tag-violet); }
.chip--imp { background: color-mix(in srgb, var(--tag-teal) 16%, transparent); color: var(--tag-teal); }

/* --- Stats -------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats > div {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 24px 22px;
  text-align: center;
}
.stats .v { display: block; font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; letter-spacing: -.045em; }
.stats .k { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* --- Team --------------------------------------------------------------- */

.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.team__card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 22px 14px;
  text-align: center;
}
.avatar--lg { width: 52px; height: 52px; font-size: 15px; margin: 0 auto 14px; }
.team__card cite { font-style: normal; font-size: 14px; font-weight: 600; display: block; }
.team__card small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.quote-inline {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 15px;
  color: var(--text-2);
}
.quote-inline .meta { display: block; margin-top: 6px; }

/* --- Contact and forms -------------------------------------------------- */

.contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

.form {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: clamp(24px, 3.5vw, 36px);
  display: grid;
  gap: 18px;
}
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--outline);
  border-radius: var(--r-ctl);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field__err { display: none; font-size: 12.5px; color: var(--accent); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--accent); }
.field.is-bad .field__err { display: block; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.check.is-bad { color: var(--accent); }

.form .btn { justify-self: start; }
.form__note { margin-top: -4px; }
.form__ok {
  padding: 13px 16px;
  border-radius: var(--r-ctl);
  border: 1px solid color-mix(in srgb, var(--tag-teal) 38%, var(--line));
  background: color-mix(in srgb, var(--tag-teal) 10%, transparent);
  color: var(--tag-teal);
  font-size: 14.5px;
}

.info {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 24px 22px;
}
.info + .info { margin-top: 14px; }
.info--accent { border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.info--accent p { margin-top: 10px; }
.info__list { margin-top: 18px; display: grid; gap: 16px; }
.info__list li { display: flex; gap: 12px; align-items: flex-start; }
.info__list svg { flex: none; margin-top: 2px; color: var(--accent); }
.info__list b { display: block; font-size: 14px; font-weight: 600; }
.info__list a { font-size: 13.5px; color: var(--muted); transition: color var(--t-fast); }
.info__list a:hover { color: var(--accent); }
.info__list span.meta { display: block; }

/* --- 404 ---------------------------------------------------------------- */

.nf { padding-block: clamp(56px, 10vw, 128px); text-align: center; position: relative; }
.nf::before {
  content: "";
  position: absolute;
  inset: 0 -10% auto;
  height: 460px;
  background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.nf__in { max-width: 720px; margin-inline: auto; }
.nf__code {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 18px;
}
.nf .lead { margin: 20px auto 0; max-width: 48ch; }
.nf__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 52px; text-align: left; }
.nf__links a {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 16px 16px 18px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.nf__links a:hover { border-color: var(--outline); transform: translateY(-2px); }
.nf__links b { display: block; font-size: 14.5px; font-weight: 600; }
.nf__links span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }

/* --- Responsive for the above ------------------------------------------- */

@media (max-width: 1080px) {
  .docs__grid { grid-template-columns: 1fr; }
  .docs__side { position: static; }
  .docs__side nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .docs__side li a { margin-left: 0; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jump, .nf__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log__item { grid-template-columns: 1fr; gap: 14px; }
  .log__meta { flex-direction: row; align-items: center; gap: 12px; }
}

@media (max-width: 620px) {
  .cards--3, .jump, .nf__links, .field__row { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero .display { max-width: none; }
  .form .btn { justify-self: stretch; width: 100%; }
}

/* ==========================================================================
   21. WordPress additions (Phase 3)
   ========================================================================== */

/* Skip link — visible only when focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}

/* Honeypot — off screen, never focusable, not announced */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* An uploaded logo replaces the wordmark */
.logo__img { max-height: 32px; width: auto; }

/* Server-side form feedback, failure state */
.form__ok--bad {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

/* wp_nav_menu wraps the drawer links in a nav */
.drawer__nav { display: block; }

/* WordPress alignment and caption classes, so the block editor behaves */
.prose .alignleft  { float: left; margin: 6px 24px 16px 0; }
.prose .alignright { float: right; margin: 6px 0 16px 24px; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose figure { margin: 24px 0; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--text-2);
}
.prose img { border-radius: var(--r-card); }
.prose .callout, .prose .code { color: var(--text-2); }
.prose .callout p { margin: 0; font-size: inherit; }

/* Admin bar must not hide the sticky header */
body.admin-bar .hdr { top: 32px; }
body.admin-bar .docs__side { top: 122px; }
@media (max-width: 782px) {
  body.admin-bar .hdr { top: 46px; }
}

/* wp_nav_menu output: a flat, unstyled list that lays out like the mockup */
.menu-flat { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-flat li { list-style: none; }
.ftr .menu-flat { gap: 20px; }
.drawer .menu-flat { display: block; }
.drawer .menu-flat li { display: block; }

/* ==========================================================================
   22. Credit-pack pricing cards
   A second pricing shape off the same post type: one-time price, optional
   struck-through original, saving badge, and a headline quantity.
   ========================================================================== */

/* Per-card accent, set from the dashboard. Everything below reads --tone, so a
   card re-colours without a new class. */
.tier[data-tone="ink"]    { --tone: var(--text); --tone-soft: var(--sunken); }
.tier[data-tone="accent"] { --tone: var(--accent); --tone-soft: color-mix(in srgb, var(--accent) 12%, transparent); }
.tier[data-tone="violet"] { --tone: var(--tag-violet); --tone-soft: color-mix(in srgb, var(--tag-violet) 12%, transparent); }
.tier[data-tone="teal"]   { --tone: var(--tag-teal); --tone-soft: color-mix(in srgb, var(--tag-teal) 12%, transparent); }

.tiers--pack { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tier--pack {
  position: relative;
  padding: 28px 26px 30px;
  border-color: color-mix(in srgb, var(--tone) 30%, var(--line));
}
.tier--pack .tier__name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--tone);
}
.tier[data-tone="ink"].tier--pack .tier__name { color: var(--text); }

.tier__sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* Saving badge, opposite the plan name */
.tier__save {
  position: absolute;
  top: 28px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 11px;
  border-radius: var(--r-pill);
  background: var(--tone-soft);
  color: var(--tone);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier[data-tone="ink"] .tier__save { background: var(--sunken); color: var(--muted); }

/* Price row — struck-through original then the real figure */
.tier--pack .tier__cost {
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 0;
}
.tier--pack .tier__cost .was {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--muted);
  text-decoration-thickness: 2px;
}
.tier--pack .tier__cost .amt {
  font-size: clamp(38px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -.045em;
}

.tier__terms {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Headline quantity */
.tier__units { margin-top: 22px; }
.tier__units b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.tier__units-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted);
}
.tier__units-row a {
  color: var(--tone);
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
.tier[data-tone="ink"] .tier__units-row a { color: var(--accent); }
.tier__units-row a:hover { opacity: .75; }

/* The pack button takes the card's own accent rather than the brand accent */
.tier--pack .btn {
  width: 100%;
  height: 52px;
  margin: 22px 0 24px;
  font-size: 16px;
  background: var(--tone);
  color: var(--accent-ink);
  border: 0;
}
.tier[data-tone="ink"].tier--pack .btn { background: var(--text); color: var(--bg); }
.tier--pack .btn:hover { filter: brightness(1.08); }

.tier--pack ul { gap: 13px; }
.tier--pack ul svg { color: var(--tag-teal); }

/* The model switch reuses the billing toggle, one size up */
.toggle--group { margin-bottom: 22px; }
.toggle--group button { padding: 8px 22px; font-size: 14.5px; }

@media (max-width: 1080px) {
  .tiers--pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tiers--pack { grid-template-columns: 1fr; }
  .tier__save { position: static; margin-top: 12px; }
}

/* A hidden element must stay hidden even when its class sets a display value —
   .tiers is display:grid, which otherwise beats the browser default. */
[hidden] { display: none !important; }

/* Light tones need dark text on them, or the label fails contrast. */
.tier[data-tone="teal"].tier--pack .btn,
.tier[data-tone="amber"].tier--pack .btn { color: #0B0D0E; }

/* --- Account ------------------------------------------------------------- */

.acct__signin { max-width: 520px; }
.acct__signin .form { padding: 0; border: 0; background: none; }
.acct .h2 { margin-bottom: 20px; }
.table--acct td { vertical-align: top; }
.table--acct code { white-space: nowrap; }
.acct__docs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.acct__docs a { font-size: 14px; font-weight: 500; white-space: nowrap; }
.acct__billing { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.acct__support { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.acct__support .form .h3 { margin-bottom: 4px; }
.ticket { max-width: 820px; }
.ticket .h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket__thread { display: grid; gap: 12px; margin: 22px 0 28px; }
.ticket__msg { padding: 14px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--sunken); max-width: 88%; }
.ticket__msg p { margin: 8px 0 0; font-size: 15px; color: var(--text-2); }
.ticket__msg--us { margin-left: auto; background: color-mix(in srgb, var(--accent) 7%, transparent); border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); }
@media (max-width: 800px) {
	.acct__support { grid-template-columns: 1fr; }
	.ticket__msg { max-width: 100%; }
}
