/* White Knight Roadside — shared styles (mobile-first, dark-mode aware) */

:root {
  --brand: #1976d2;
  --brand-strong: #1259a6;
  --brand-soft: #e3f0fc;
  --brand-ink: #0d3f73;
  --accent: #ff9f1c;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --border: #dde4ee;
  --ink: #16202b;
  --ink-muted: #5b6878;
  --ink-faint: #8b97a7;
  --success: #1e9e5a;
  --shadow: 0 1px 2px rgba(16, 32, 56, 0.06), 0 8px 24px rgba(16, 32, 56, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: 16px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #4f9ae8;
    --brand-strong: #7db7f0;
    --brand-soft: #14304d;
    --brand-ink: #cfe4fa;
    --bg: #0e141b;
    --bg-alt: #141c25;
    --surface: #18222d;
    --surface-raised: #1d2936;
    --border: #2a3744;
    --ink: #e8eef5;
    --ink-muted: #a4b1c0;
    --ink-faint: #76859a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --brand: #4f9ae8;
  --brand-strong: #7db7f0;
  --brand-soft: #14304d;
  --brand-ink: #cfe4fa;
  --bg: #0e141b;
  --bg-alt: #141c25;
  --surface: #18222d;
  --surface-raised: #1d2936;
  --border: #2a3744;
  --ink: #e8eef5;
  --ink-muted: #a4b1c0;
  --ink-faint: #76859a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
small { font-size: 0.875em; }
.muted { color: var(--ink-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--brand); margin-bottom: 0.5rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: #0d3f73; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--brand); }
.nav-toggle { display: none; }
.nav-burger {
  margin-left: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
}
.nav-burger svg { width: 26px; height: 26px; }
.nav-burger .icon-close { display: none; }
.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 16px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav li a:not(.btn) { display: block; padding: 12px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--border); }
.site-nav li a[aria-current="page"] { color: var(--brand); }
.site-nav .nav-actions { display: flex; gap: 10px; padding-top: 14px; }
.site-nav .nav-actions .btn { flex: 1; }
.nav-toggle:checked ~ .site-nav { display: block; }
.nav-toggle:checked ~ .nav-burger .icon-open { display: none; }
.nav-toggle:checked ~ .nav-burger .icon-close { display: block; }
@media (min-width: 900px) {
  .nav-burger { display: none; }
  .site-nav { display: flex; position: static; background: none; border: 0; box-shadow: none; padding: 0; margin-left: auto; align-items: center; gap: 8px; }
  .site-nav ul { flex-direction: row; gap: 4px; align-items: center; }
  .site-nav li a:not(.btn) { padding: 8px 12px; border: 0; border-radius: var(--radius-sm); font-size: 0.95rem; }
  .site-nav li a:not(.btn):hover { background: var(--bg-alt); text-decoration: none; }
  .site-nav .nav-actions { padding: 0; margin-left: 12px; }
  .site-nav .nav-actions .btn { flex: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f4c8a 0%, #1976d2 55%, #2b8fe6 100%);
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: 1.15rem; max-width: 46ch; color: rgba(255, 255, 255, 0.92); }
.hero .eyebrow { color: #ffd38a; }
.hero .hero-art { display: none; }
.hero .hero-art img { width: min(320px, 60vw); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.hero .fine { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); margin-top: 12px; }
@media (min-width: 860px) {
  .hero { padding: 88px 0 96px; }
  .hero .wrap { grid-template-columns: 1.2fr 0.8fr; }
  .hero .hero-art { display: block; }
}
.hero.compact { padding: 44px 0 48px; }
.hero.compact h1 { max-width: none; font-size: clamp(1.8rem, 5vw, 2.6rem); }
@media (min-width: 860px) { .hero.compact .wrap { grid-template-columns: 1fr; } }

/* "Need help right now?" hero: the service picker is the main content */
.hero.help { padding: 36px 0 44px; }
.hero.help h1 { max-width: none; font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 0.35em; }
.hero.help .lead { font-size: 1.05rem; margin-bottom: 20px; }
.hero.help .hero-art img { width: min(260px, 40vw); }
.hero.help .join-row { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.hero.help .join-row p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.9); }
@media (min-width: 860px) {
  .hero.help { padding: 56px 0 64px; }
  .hero.help .wrap { grid-template-columns: 1.35fr 0.65fr; }
}

/* Homepage hero with the illustration as background: darker on the left where the copy sits */
.hero.help.has-bg {
  background: linear-gradient(100deg, rgba(8, 36, 68, 0.9) 0%, rgba(10, 48, 90, 0.78) 48%, rgba(10, 60, 110, 0.38) 100%), url("hero.jpg") center 35% / cover no-repeat;
}
.hero.help.has-bg::after { display: none; }
.hero.help.has-bg .hero-art { display: none; }
@media (min-width: 860px) {
  .hero.help.has-bg { padding: 72px 0 80px; background-position: right 30%; }
  .hero.help.has-bg .wrap { grid-template-columns: minmax(0, 620px) 1fr; }
}
@media (min-width: 1200px) { .hero.help.has-bg { padding: 96px 0 104px; } }
.hero.help.has-bg .service-picker a { background: rgba(6, 24, 46, 0.55); border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px); }
.hero.help.has-bg .service-picker a:hover, .hero.help.has-bg .service-picker a:focus-visible { background: rgba(6, 24, 46, 0.78); }
.hero.help.has-bg .lead, .hero.help.has-bg .picker-note { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.hero.help.has-bg h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }

/* Service picker (tap targets to the order flow) */
.service-picker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .service-picker { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.service-picker a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 96px; padding: 14px 8px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  box-shadow: var(--shadow); transition: background 0.15s, border-color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.service-picker a:hover, .service-picker a:focus-visible { text-decoration: none; transform: translateY(-1px); border-color: var(--brand); background: var(--brand-soft); }
.service-picker svg { width: 32px; height: 32px; flex: none; color: var(--brand); }
.hero .service-picker a { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.hero .service-picker a:hover, .hero .service-picker a:focus-visible { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.8); }
.hero .service-picker svg { color: #ffd38a; }
.picker-note { margin: 14px 0 0; font-size: 0.93rem; }
.hero .picker-note { color: rgba(255, 255, 255, 0.9); }
.picker-call { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; min-height: 44px; }
.hero .picker-call { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); }
.picker-call svg { width: 18px; height: 18px; }

/* Compact strip variant: one row that wraps */
.picker-strip { padding: 22px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.picker-strip .picker-head { font-weight: 800; margin: 0 0 10px; font-size: 1.05rem; }
.service-picker.compact { display: flex; flex-wrap: wrap; gap: 8px; }
.service-picker.compact li { flex: 1 1 calc(50% - 8px); }
@media (min-width: 560px) { .service-picker.compact li { flex: 1 1 auto; min-width: 120px; } }
.service-picker.compact a { flex-direction: row; justify-content: flex-start; min-height: 52px; padding: 10px 14px; font-size: 0.92rem; border-radius: 999px; text-align: left; }
.service-picker.compact svg { width: 22px; height: 22px; }
.picker-strip .picker-note { margin-top: 10px; color: var(--ink-muted); }
.picker-strip .picker-call { min-height: 0; margin: 0 0 0 4px; }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.benefit { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.benefit .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--ink-muted); font-size: 0.93rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px 22px 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-muted); }

/* Plan cards */
.plan-grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-grid.two { max-width: 820px; margin: 0 auto; }
@media (min-width: 760px) { .plan-grid.two { grid-template-columns: repeat(2, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.plan .plan-family { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); font-weight: 700; }
.plan h3 { font-size: 1.35rem; margin: 2px 0 0; }
.plan .tagline { color: var(--ink-muted); margin: 0; min-height: 2.6em; }
.plan .plan-cta { margin-top: auto; display: grid; gap: 10px; }
.plan ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.plan ul.features li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul.features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231976d2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ribbon {
  position: absolute; top: 14px; right: -42px; transform: rotate(38deg);
  background: var(--accent); color: #2a1a00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 48px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.no-intro .ribbon, .no-intro .intro-only { display: none !important; }
.no-intro .price .was { display: none; }
.no-intro .price .now { display: none; }
.no-intro .price .regular-only { display: block; }
.price { display: grid; gap: 2px; }
.price .was { color: var(--ink-faint); text-decoration: line-through; font-weight: 600; }
.price .now { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.price .now small { font-size: 0.9rem; font-weight: 600; color: var(--ink-muted); margin-left: 4px; letter-spacing: 0; }
.price .then { color: var(--ink-muted); font-size: 0.9rem; }
.price .regular-only { display: none; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price .regular-only small { font-size: 0.9rem; font-weight: 600; color: var(--ink-muted); margin-left: 4px; }
.price-month { display: none; }
[data-interval="month"] .price-month { display: grid; }
[data-interval="month"] .price-year { display: none; }

/* Interval toggle */
.interval-toggle {
  display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px;
  margin: 0 auto 24px;
}
.interval-toggle button {
  font: inherit; font-weight: 700; font-size: 0.9rem; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent;
  color: var(--ink-muted); cursor: pointer;
}
.interval-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.interval-toggle .save { font-size: 0.72rem; font-weight: 700; margin-left: 6px; color: var(--accent); }
.interval-toggle button[aria-pressed="true"] .save { color: #ffe0a8; }
.toggle-wrap { text-align: center; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.93rem; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--bg-alt); font-weight: 800; position: sticky; top: 0; }
table.compare thead th:not(:first-child), table.compare td:not(:first-child) { text-align: center; }
table.compare tbody th { font-weight: 600; color: var(--ink); min-width: 190px; }
table.compare tbody th small { display: block; color: var(--ink-faint); font-weight: 500; }
table.compare td.yes { color: var(--success); font-weight: 700; }
table.compare td.no { color: var(--ink-faint); }
table.compare tfoot td { border-bottom: 0; padding-top: 16px; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.check-list li .ck svg { width: 15px; height: 15px; }
.check-list li strong { display: block; }
.check-list li span.d { color: var(--ink-muted); font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: 0.9rem; }
.chips li.off { background: var(--bg-alt); color: var(--ink-faint); text-decoration: line-through; }

/* Stat strip */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); line-height: 1.1; }
.stat .l { font-size: 0.85rem; color: var(--ink-muted); margin-top: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 18px; color: var(--ink-muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* App badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px;
  background: #111; color: #fff; font-weight: 600; line-height: 1.1; min-height: 52px; border: 1px solid #333;
}
.badge:hover { text-decoration: none; background: #222; }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge .t { display: flex; flex-direction: column; }
.badge .t small { font-size: 0.68rem; font-weight: 500; opacity: 0.8; }
.badge.web { background: var(--brand); border-color: var(--brand); }
.badge.web:hover { background: var(--brand-strong); }
.badge[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* Prose (policies, detail copy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose li { margin-bottom: 0.4em; }
.prose .meta { color: var(--ink-muted); font-size: 0.9rem; }
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fine-print { font-size: 0.88rem; color: var(--ink-muted); }

/* Detail page hero price */
.price-hero { display: grid; gap: 4px; margin-top: 12px; }
.price-hero .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-hero .big small { font-size: 1rem; font-weight: 600; opacity: 0.85; margin-left: 6px; letter-spacing: 0; }
.price-hero .was { text-decoration: line-through; opacity: 0.75; }
.price-hero .then { opacity: 0.85; font-size: 0.95rem; }
.hero .pill { display: inline-block; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.no-intro .price-hero .was, .no-intro .price-hero .intro-only { display: none; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0f4c8a, #1976d2); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .cta-row { justify-content: center; }

/* Join page */
.join-card { max-width: 560px; margin: 0 auto; text-align: center; }
.js .join-card .spinner { display: block; }
.join-card .spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--border); border-top-color: var(--brand); margin: 0 auto 16px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.join-summary { text-align: left; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; display: grid; gap: 4px; }
.join-summary .row { display: flex; justify-content: space-between; gap: 12px; }
.join-summary .row b { text-align: right; }

/* Contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-grid .card a { font-weight: 700; font-size: 1.1rem; }
dl.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
dl.hours dt { font-weight: 600; }
dl.hours dd { margin: 0; color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 44px 0 28px; margin-top: 48px; font-size: 0.93rem; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink); }
.site-footer .brand { margin-bottom: 10px; }
.site-footer .legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--ink-faint); font-size: 0.82rem; display: grid; gap: 6px; }
.site-footer .contact-line a { color: var(--brand); font-weight: 600; }

/* Error page */
.error-page { text-align: center; padding: 80px 0; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -0.04em; }

/* Live data: fade when values update */
[data-live="updated"] { animation: flash 0.6s ease-out; }
@keyframes flash { from { background: var(--brand-soft); } to { background: transparent; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .join-card .spinner { animation: none; }
}

/* Owner toggles (portal → GET /api/public/plans; see scripts/bake.mjs and assets/site.js).
   `no-memberships` on <html> hides every membership surface and reveals the pay-per-use copy;
   a service the owner turned off gets `hidden` on its data-service element. */
.no-memberships .members-only { display: none !important; }
.no-members-only { display: none !important; }
.no-memberships .no-members-only { display: block !important; }
.no-memberships .btn.no-members-only { display: inline-flex !important; }
.no-memberships .cta-row.no-members-only { display: flex !important; }
.no-memberships span.no-members-only { display: inline !important; }
.no-memberships li.no-members-only { display: list-item !important; }
[data-service][hidden] { display: none !important; }
.pay-per-use { max-width: 640px; margin: 0 auto; text-align: center; }
.pay-per-use h1 { margin-top: 8px; }

/* Services */
.service-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; color: inherit; }
.service-card .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.service-card .ico svg { width: 24px; height: 24px; }
.service-card:hover { text-decoration: none; transform: translateY(-2px); }
.service-card h3 { margin: 0 0 6px; }
.service-card p { margin: 0; color: var(--ink-muted); }
.service-card .cta { display: inline-block; margin-top: 10px; color: var(--brand); font-weight: 700; }

/* Forms (order, affiliates) */
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field > .lbl { font-weight: 700; font-size: 0.92rem; }
.field .hint { color: var(--ink-muted); font-size: 0.85rem; margin: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field .err { color: #d64545; font-size: 0.85rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.sms-optin { gap: 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); }
.sms-optin .check { align-items: center; }
.sms-optin .hint { font-size: 0.8rem; line-height: 1.5; }
.form-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f3b9b9; border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 14px; }
.form-ok { background: #e6f6ec; color: #155d34; border: 1px solid #b7e2c7; border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 14px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-error { background: #3a1a1a; color: #ffb3b3; border-color: #6a2a2a; }
  :root:not([data-theme="light"]) .form-ok { background: #16321f; color: #a9e5be; border-color: #2a5c3a; }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; animation: spin 0.8s linear infinite; display: none; }
.btn.busy .spin { display: inline-block; }

/* Order flow */
.order-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .order-layout { grid-template-columns: minmax(0, 1fr) 320px; } .order-side { position: sticky; top: 84px; } }
.stepper { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 6px; counter-reset: s; flex-wrap: wrap; }
.stepper li { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--ink-faint); padding: 8px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); white-space: nowrap; }
.stepper li::before { counter-increment: s; content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--border); color: var(--ink); font-size: 0.75rem; flex: none; }
.stepper li.active { color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand); }
.stepper li.active::before, .stepper li.done::before { background: var(--brand); color: #fff; }
.stepper li.done { color: var(--ink-muted); }
.order-step { display: none; }
.order-step.active { display: block; }
.order-step h2 { margin-bottom: 6px; }
.order-step .intro { color: var(--ink-muted); margin-bottom: 18px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.order-actions .back { margin-right: auto; }
.service-choice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .service-choice { grid-template-columns: repeat(3, 1fr); } }
.service-choice li a, .service-choice li button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; width: 100%;
  min-height: 96px; padding: 14px 8px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--border);
  color: var(--ink); font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1.2; cursor: pointer; box-shadow: var(--shadow);
}
.service-choice svg { width: 32px; height: 32px; color: var(--brand); }
.service-choice li button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.service-choice li button:hover { border-color: var(--brand); }
.choice-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.choice input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.choice b { display: block; }
.choice span { color: var(--ink-muted); font-size: 0.9rem; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice[hidden] { display: none; }
.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.summary-card h3 { font-size: 1rem; margin-bottom: 10px; }
.summary-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.summary-card .row:last-child { border-bottom: 0; }
.summary-card .row.total { font-weight: 800; font-size: 1.15rem; border-top: 2px solid var(--border); margin-top: 6px; padding-top: 10px; }
.summary-card .row span:last-child { text-align: right; }
.summary-card .muted { font-size: 0.85rem; }
.support-line { font-size: 0.9rem; color: var(--ink-muted); margin-top: 16px; }
.support-line a { font-weight: 700; }
#payment-element { margin: 12px 0 4px; }
.badges.small .badge { min-height: 46px; padding: 8px 14px; }
.upsell { margin-top: 24px; }
[data-abandon-cards]:not([hidden]) { margin: 0 0 18px; }

/* Tracking */
.status-banner { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px; }
.status-banner .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 0 rgba(25, 118, 210, 0.5); animation: pulse 1.8s infinite; }
.status-banner.closed .dot { animation: none; background: var(--ink-faint); }
.status-banner.good { background: #e6f6ec; color: #155d34; } .status-banner.good .dot { background: var(--success); }
.status-banner.bad { background: #fdecec; color: #8a1f1f; } .status-banner.bad .dot { background: #d64545; }
.status-banner b { font-size: 1.1rem; display: block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 118, 210, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(25, 118, 210, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 118, 210, 0); } }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 18px; bottom: -2px; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--brand); }
.timeline li.current::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline li b { display: block; }
.timeline li small { color: var(--ink-muted); }
.confirm-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--bg-alt); margin-top: 14px; }

/* Affiliates */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.hero .stats-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; }
.hero .stats-inline div { display: grid; }
.hero .stats-inline b { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.hero .stats-inline div > span { font-size: 0.85rem; opacity: 0.85; }
.audience { display: grid; gap: 12px; }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .audience { grid-template-columns: repeat(3, 1fr); } }
/* <html class="no-affiliates">: program off (set by the bake and live by affiliates.js) */
.no-affiliates .affiliates-only { display: none !important; }
.affiliates-off-only { display: none; }
.no-affiliates .affiliates-off-only { display: block; }
.no-affiliates span.affiliates-off-only { display: inline; }
/* <html class="affiliates-closed">: program on, applications closed */
.affiliates-closed .affiliates-open-only { display: none !important; }
.affiliates-closed-only { display: none; }
.affiliates-closed .affiliates-closed-only { display: block; }
.affiliates-closed span.affiliates-closed-only { display: inline; }
.affiliates-closed div.affiliates-closed-only.cta-row { display: flex; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.ledger th, table.ledger td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
table.ledger td:last-child, table.ledger th:last-child { text-align: right; }
.code-pill { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); padding: 4px 10px; border-radius: 8px; }

/* Blog and long-form pages */
.article-wrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .article-wrap { grid-template-columns: minmax(0, 1fr) 300px; } .article-cta { position: sticky; top: 84px; } }
.article { max-width: 72ch; }
.article h2 { margin-top: 2rem; }
.article h3 { margin-top: 1.6rem; }
.article h4 { margin-top: 1.3rem; }
.article p, .article li { font-size: 1.02rem; line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3rem; }
.article a { text-decoration: underline; }
.article blockquote { margin: 1.4rem 0; padding: 12px 18px; border-left: 4px solid var(--brand); background: var(--bg-alt); border-radius: var(--radius-sm); font-style: italic; }
.article-cta h3 { margin-top: 0; }
.post-card { display: flex; flex-direction: column; gap: 8px; color: inherit; }
.post-card:hover { text-decoration: none; transform: translateY(-2px); }
.post-card time { font-size: 0.85rem; }
.post-card h3 { margin: 0; }
.post-card p { margin: 0; flex: 1; }
.post-card .more { color: var(--brand); font-weight: 700; }

/* Careers: hero, five-step strip, job postings */
.careers-hero .cta-row { margin-top: 18px; }
.careers-hero .fine a { font-weight: 700; }
@media (min-width: 640px) { .steps.five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps.five { grid-template-columns: repeat(5, 1fr); } .steps.five .step { padding: 20px 16px 18px; } .steps.five .step h3 { font-size: 1rem; } .steps.five .step p { font-size: 0.9rem; } }
.jobs { display: grid; gap: 16px; }
.jobs-search { display: grid; gap: 12px; margin-bottom: 20px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 760px) { .jobs-search { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; } }
.jobs-search .field { gap: 4px; }
.jobs-search label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.jobs-search input, .jobs-search select { min-height: 44px; }
.jobs-search-meta { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.jobs-search-meta .btn { padding: 8px 14px; font-size: 0.85rem; }
.article-wrap > .jobs-empty { margin-bottom: 16px; }
.job { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.job summary { list-style: none; cursor: pointer; padding: 20px 22px; }
.job summary::-webkit-details-marker { display: none; }
.job .job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.job .job-head h3 { margin: 0 0 4px; font-size: 1.25rem; }
.job .job-meta { margin: 0; color: var(--ink-muted); font-size: 0.93rem; }
.job .job-toggle { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); position: relative; }
.job .job-toggle::before, .job .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.job .job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.15s; }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.job .job-summary { margin: 12px 0 0; color: var(--ink); }
.job .job-body { padding: 0 22px 22px; border-top: 1px solid var(--border); }
.job .job-desc { padding-top: 16px; max-width: 70ch; }
.job .job-desc p, .job .job-desc li { line-height: 1.65; }
.job .job-areas { margin: 0 0 16px; }
.job .job-areas h4 { margin: 0 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); }
.job .job-cols { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .job .job-cols { grid-template-columns: 1fr 1fr; } }
.job .job-cols h4 { margin: 0 0 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); }
.job .job-cols ul { margin: 0; padding-left: 1.1em; }
.job .job-cols li { margin-bottom: 4px; font-size: 0.95rem; }
.job .job-posted { margin: 16px 0 10px; font-size: 0.85rem; }
.job .job-apply { margin: 0; }
.jobs-empty h3 { margin-top: 0; }

/* Application and assessment forms */
.radio-row { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.radio-row .choice { padding: 10px 12px; }
.radio-row .choice span span { display: block; font-size: 0.82rem; }
/* Criminal-record charge groups on the application */
.history-detail { display: grid; gap: 12px; }
.charge { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin: 0 0 12px; display: grid; gap: 12px; background: var(--bg-alt); }
.charge legend { font-weight: 800; padding: 0 6px; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; justify-self: start; }
.check-grid { display: grid; gap: 8px; }
@media (min-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid .check { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin: 0; align-items: center; }
.check-grid .check input { margin-top: 0; }
.check-grid .check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.field .lbl { font-weight: 700; font-size: 0.92rem; }
.field.invalid .lbl { color: #d64545; }
.progress .bar { height: 10px; border-radius: 999px; background: var(--border); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 999px; transition: width 0.2s; }
.progress .hint { margin-top: 6px; }
.next-steps { padding-left: 1.2em; display: grid; gap: 10px; }
.status-banner div { display: block; }

/* Assessment */
.assess-body .site-header .wrap { justify-content: space-between; }
.assess-tag { font-weight: 700; color: var(--ink-muted); font-size: 0.9rem; }
.site-footer.slim { padding: 22px 0; margin-top: 32px; }
.site-footer.slim .legal { margin: 0; padding: 0; border: 0; }
.assess-header { display: grid; gap: 20px; margin-bottom: 22px; }
@media (min-width: 900px) { .assess-header { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.assess-header h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.assess-progress .progress { margin-top: 10px; }
.module-list { display: grid; gap: 12px; margin-bottom: 20px; }
.module-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; padding: 18px; }
@media (min-width: 640px) { .module-card { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; } }
.module-card:hover { border-color: var(--brand); }
.module-card .module-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.module-card.good .module-num { background: var(--success); }
.module-card.bad .module-num { background: #d64545; }
.module-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.module-card .muted { margin: 0; font-size: 0.9rem; }
.module-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flag { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-faint); border: 1px solid var(--border); }
.flag.on { background: #e6f6ec; color: #155d34; border-color: #b7e2c7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .flag.on { background: #16321f; color: #a9e5be; border-color: #2a5c3a; } }
.module-card .module-status { font-weight: 700; color: var(--brand); white-space: nowrap; grid-column: 2; }
@media (min-width: 640px) { .module-card .module-status { grid-column: auto; } }
.finish-card { text-align: center; }
.finish-card h3 { margin-top: 0; }
.module-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.module-top .module-title h2 { margin: 0; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.module-top .eyebrow { margin: 0; }
.deck { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; min-height: 320px; outline: none; }
.deck:focus-visible { outline: 2px solid var(--brand); }
.deck-slide h3 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); margin: 4px 0 14px; }
.deck-image { width: 100%; max-height: 46vh; object-fit: cover; border-radius: var(--radius-sm); margin: 0 0 16px; border: 1px solid var(--border); }
.deck-body { font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.deck-body p { margin-bottom: 0.8em; }
.deck-body ul { padding-left: 1.2em; margin: 0 0 0.8em; }
.deck-body li { margin-bottom: 0.4em; }
@media (min-width: 760px) { .deck { padding: 36px 34px; min-height: 380px; } .deck-body { font-size: 1.15rem; } }
.deck.flip .deck-slide { animation: slidein 0.22s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.deck-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dots .dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--border); cursor: pointer; }
.dots .dot.seen { background: var(--brand-soft); }
.dots .dot.on { background: var(--brand); transform: scale(1.3); }
.quiz .quiz-q { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; background: var(--surface); display: grid; gap: 8px; }
.quiz .quiz-q legend { font-size: 1.02rem; padding: 0 4px; }
.quiz .quiz-q.invalid { border-color: #d64545; }
.quiz .quiz-q .choice { padding: 10px 12px; }
.review { display: grid; gap: 10px; margin: 14px 0; }
.review-q { border-left: 4px solid var(--border); padding: 8px 14px; background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.review-q.ok { border-left-color: var(--success); }
.review-q.no { border-left-color: #d64545; }
.review-q b { display: block; }
.review-q .review-line { font-size: 0.95rem; margin-top: 4px; }
.review-q .muted { margin: 6px 0 0; font-size: 0.9rem; }
.video-pick { width: 100%; }
.video-pick.busy { opacity: 0.55; pointer-events: none; }
.clip-list { margin: 10px 0 0; padding-left: 20px; }
.clip-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(0,0,0,0.08); }
.clip-list .clip-name { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .deck.flip .deck-slide { animation: none; } }

/* Blog ad placeholders (filled only when AdSense is on in the portal) and "Be ready next time" product cards */
.ad-slot { margin: 24px 0; min-height: 90px; }
.ad-slot[hidden] { display: none; }
.product-cards h3 { margin-top: 0; }
.product-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.product img { width: 100%; height: 120px; object-fit: contain; }
.product-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .muted { font-size: 0.9rem; }
.product-body .price { font-weight: 700; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* Reviewer preview (assess.html?review=) */
.review-choice { cursor: default; }
.review-correct { border-color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); font-weight: 700; }
.review-why { margin: 6px 0 4px; }
.review-flag-row { margin-top: 14px; }
.review-flag-btn { margin-top: 8px; }
.review-flag-form { margin-top: 16px; }

/* ---- phone-interview calendar (interview.html) ---- */
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.day-btn { flex: none; display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--bg); color: var(--ink); font-weight: 700; font-size: 0.9rem; cursor: pointer; text-align: left; }
.day-btn small { font-weight: 600; color: var(--ink-muted); font-size: 0.78rem; }
.day-btn.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 999px; border: 2px solid var(--border); background: var(--bg); color: var(--ink); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.slot:hover { border-color: var(--brand); }
.slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot.taken, .slot:disabled { background: var(--bg-alt); color: var(--ink-faint); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }

/* ---- onboarding: document pictures and contract signing (onboarding.html) ---- */
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.08); flex-wrap: wrap; }
.doc-row:first-of-type { border-top: 0; }
.doc-row .doc-name { font-weight: 700; }
.doc-row .doc-state { color: var(--ink-muted); font-size: 0.88rem; display: block; }
.doc-row .doc-state.ok { color: #155d34; }
.doc-row input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contract-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.08); flex-wrap: wrap; }
.contract-row:first-of-type { border-top: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: #fff4e0; color: #8a5a00; }
.pill.ok { background: #e6f6ec; color: #155d34; }
.pdf-frame { width: 100%; height: 62vh; min-height: 360px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.sig-pad { width: 100%; height: 180px; border: 2px dashed var(--border); border-radius: var(--radius-sm); background: #fff; touch-action: none; display: block; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.sig-tools .hint { margin: 0; }

/* ---- app-only price: home-page announcement and the nudge under a website quote ---- */
.app-promo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius); background: #e6f6ec; color: #155d34; border: 1px solid #b7e2c7; }
.app-promo-text { display: grid; gap: 2px; }
.app-promo-text b { font-size: 1.05rem; }
.app-promo-text span { font-size: 0.92rem; }
.app-deal { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: #e6f6ec; color: #155d34; font-size: 0.92rem; }
.app-deal a { color: inherit; font-weight: 700; }

/* ---- template signing: rendered pages with the boxes to fill ---- */
.sign-pages { display: grid; gap: 14px; justify-items: center; }
.sign-page { position: relative; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.12); max-width: 100%; }
.sign-page canvas { display: block; }
.sign-page-no { position: absolute; top: -18px; left: 0; font-size: 0.75rem; color: var(--ink-muted); }
.sign-field { position: absolute; box-sizing: border-box; border: 2px dashed var(--brand); background: rgba(25, 118, 210, 0.12); border-radius: 3px; display: flex; align-items: center; padding: 0 3px; overflow: hidden; cursor: pointer; font: inherit; color: var(--brand-ink); text-align: left; }
.sign-field-initials { border-color: #7b1fa2; background: rgba(123, 31, 162, 0.12); }
.sign-field-date { border-color: #2e7d32; background: rgba(46, 125, 50, 0.1); cursor: default; }
.sign-field-name { border-color: #ef6c00; background: rgba(239, 108, 0, 0.1); }
.sign-field-text { border-color: #616161; background: rgba(97, 97, 97, 0.08); cursor: text; }
.sign-field-address1, .sign-field-address2 { border-color: #00838f; background: rgba(0, 131, 143, 0.08); cursor: text; }
.sign-field-phone, .sign-field-email { border-color: #5d4037; background: rgba(93, 64, 55, 0.08); cursor: text; }
/* The company's boxes: already-filled blanks, or spots White Knight signs after the hire */
.sign-field-company { border-color: #c62828; background: rgba(198, 40, 40, 0.07); cursor: default; }
.sign-field-company.pending .sign-field-label { color: #8a1c1c; opacity: 0.75; font-style: italic; }
.sign-field.done { border-style: solid; background: rgba(255,255,255,0.85); }
.sign-field img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sign-field-label { font-size: clamp(9px, 1.6vw, 12px); font-weight: 700; white-space: nowrap; }
.sign-field-value { font-size: clamp(10px, 1.8vw, 13px); font-weight: 600; white-space: nowrap; color: #0b1446; }
.sign-field input { width: 100%; height: 100%; border: 0; background: transparent; font: inherit; font-size: clamp(10px, 1.8vw, 13px); padding: 0; outline: none; color: #0b1446; }
.sign-progress { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: #fff4e0; color: #8a5a00; font-weight: 600; }
.sign-progress.ok { background: #e6f6ec; color: #155d34; }
.sig-summary { display: grid; gap: 8px; margin-top: 12px; }
.sig-summary-row { display: flex; align-items: center; gap: 12px; }
.sig-summary-row span { min-width: 80px; font-weight: 700; }
.sig-summary-row img { height: 44px; max-width: 200px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.pad-modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.55); display: flex; align-items: flex-end; justify-content: center; }
.pad-sheet { background: var(--bg); width: 100%; max-width: 640px; border-radius: 16px 16px 0 0; padding: 16px; }
.pad-sheet h3 { margin: 0 0 10px; }
.pad-sheet .sig-pad { height: 220px; }
