/* ---------------------------------------------------------------------
   Tokens
   --------------------------------------------------------------------- */
:root {
  color-scheme: light;

  --brand: #1e7ef2;           /* accents, large display, focus */
  --brand-strong: #1667cc;    /* buttons and link text: 5.5:1 on white */
  --brand-deep: #0f4c9c;
  --brand-tint: #eaf3fe;
  --brand-tint-2: #d6e8fd;

  --ink: #0f1b2d;
  --ink-2: #334155;
  --muted: #4a5568;           /* 7.4:1 on white */
  --subtle: #556274;          /* 6.3:1 on white, 5.5:1 on tints */
  --line: #e3e8ef;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef2f7;

  --ok: #0f7b4a;
  --ok-tint: #e7f6ee;
  --warn: #8a5300;
  --warn-tint: #fff5e0;
  --no: #9b2c2c;
  --no-tint: #fdecec;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 8px 24px -8px rgba(15, 27, 45, 0.12);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, 0.04), 0 24px 48px -16px rgba(15, 27, 45, 0.22);

  --container: 1160px;
  --gutter: 16px;
  --font: Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


code { font-family: var(--mono); font-size: 0.875em; background: var(--surface-3); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }

a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

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

[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   Layout primitives
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 72px 0; }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding: 104px 0; } }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-strong); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); font-weight: 700; }
.section-lede { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }

.grid { display: grid; gap: 20px; }
ul.grid { list-style: none; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.0625rem; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-strong);
  display: grid; place-items: center; margin-bottom: 16px;
}

.illustration-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--subtle);
  margin-top: 10px;
}

/* ---------------------------------------------------------------------
   Buttons & badges
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn--primary { background: var(--brand-strong); color: #fff; box-shadow: 0 1px 2px rgba(22, 103, 204, 0.3), 0 6px 16px -6px rgba(22, 103, 204, 0.55); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
}
.badge--ok { background: var(--ok-tint); color: var(--ok); }
.badge--warn { background: var(--warn-tint); color: var(--warn); }
.badge--no { background: var(--no-tint); color: var(--no); }
.badge--brand { background: var(--brand-tint); color: var(--brand-deep); }
.badge--neutral { background: var(--surface-3); color: var(--ink-2); }

/* ---------------------------------------------------------------------
   Header / footer
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__word { letter-spacing: -0.02em; }
.logo__accent { color: var(--brand-strong); }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
@media (min-width: 1024px) { .site-nav { display: block; } }
@media (max-width: 379px) { .site-header .btn--sm { padding: 8px 12px; font-size: 0.875rem; } }

.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 48px 0 40px; font-size: 0.875rem; color: var(--muted); }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 0.875rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.home-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.home-table-wrap .modes-table th[scope="row"] { font-weight: 500; color: var(--ink); background: transparent; font-size: 0.9375rem; }
.announce { background: var(--ink); color: #e6edf7; font-size: 0.875rem; }
.announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding-block: 8px; text-align: center; }
.announce a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.announce a:hover { color: var(--brand-tint-2); }
.announce a:focus-visible { outline-color: #fff; }
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .stats dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats dl > div { padding: 22px 12px; text-align: center; }
.stats dd { margin: 0; display: grid; gap: 2px; }
.stats strong { font-size: 2rem; font-weight: 700; color: var(--brand-strong); line-height: 1.1; }
.stats span { font-size: 0.875rem; color: var(--muted); }
.slider { position: relative; margin-bottom: 40px; }
.slider__controls { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 12px; }
.slider__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.slider__btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.slider__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
.slider__track ul { list-style: none; display: flex; gap: 20px; width: max-content; }
.slider__item { flex: 0 0 min(300px, 82%); scroll-snap-align: start; height: auto; }
.slider__item h4 { font-size: 1.0625rem; font-weight: 700; margin-top: 12px; }
.slider__item p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.slider__cat { display: block; margin-top: 14px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.home-cats { list-style: none; }
.home-cats .card { height: 100%; }
.home-cats__names { font-weight: 500; color: var(--ink-2) !important; }
.home-cats__count { font-size: 0.8125rem !important; color: var(--subtle) !important; }
.home-steps { list-style: none; counter-reset: s; }
.home-steps__n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-strong); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 16px; }
.site-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--subtle); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: 48px 0 64px; background:
  radial-gradient(1200px 480px at 85% -10%, var(--brand-tint) 0%, rgba(234, 243, 254, 0) 60%),
  var(--surface); }
@media (min-width: 1024px) { .hero { padding: 80px 0 96px; } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--brand); }
.hero__lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); max-width: 580px; }
.hero .btn-row { margin-top: 32px; }
.hero__fit { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.875rem; color: var(--muted); list-style: none; }
.hero__fit li { display: inline-flex; align-items: center; gap: 6px; }

/* Checkout mock ------------------------------------------------------- */
.mock { position: relative; }
.mock__window {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__url { margin-left: 10px; flex: 1; min-width: 0; font-size: 0.75rem; color: var(--subtle); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; gap: 16px; padding: 18px; }
@media (min-width: 560px) { .mock__body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding: 22px; } }
.mock__h { font-size: 0.8125rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.mock__field { height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: flex; align-items: center; padding: 0 9px; font-size: 0.75rem; color: var(--ink-2); }
.mock__field--muted { color: var(--subtle); }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock__stack { display: grid; gap: 8px; }
.mock__pm { border: 1.5px solid var(--brand); border-radius: 8px; overflow: hidden; }
.mock__pm-head { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 0.8125rem; font-weight: 500; background: var(--brand-tint); }
.mock__radio { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--brand); background: #fff; flex: none; }
.mock__radio--off { border: 1.5px solid var(--line-strong); }
.mock__pm-body { padding: 10px; display: grid; gap: 8px; background: var(--surface); }
.mock__paddle { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 10px; display: grid; gap: 7px; background: var(--surface-2); }
.mock__paddle-tag { font-size: 0.6875rem; font-weight: 500; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.06em; }
.mock__skel { min-height: 26px; padding-block: 4px; line-height: 1.35; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 8px; font-size: 0.6875rem; color: var(--subtle); }
.mock__skel--btn { background: var(--ink); color: #fff; justify-content: center; font-weight: 500; border: 0; }
.mock__pm-alt { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 0.8125rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); }
.mock__summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 0.75rem; display: grid; gap: 8px; align-content: start; }
.mock__line { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.mock__line--total { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; color: var(--ink); font-size: 0.8125rem; }
.mock__coupon { color: var(--ok); }
.mock__callout {
  position: absolute; right: -12px; bottom: 96px; max-width: 230px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 10px 12px; font-size: 0.75rem; line-height: 1.45; box-shadow: var(--shadow);
}
.mock__callout strong { color: #9cc8ff; font-weight: 500; }
@media (max-width: 559px) { .mock__callout { position: static; margin-top: 12px; max-width: none; } }

/* ---------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 20px 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.trust svg { color: var(--brand); flex: none; }

/* ---------------------------------------------------------------------
   Flow diagrams (architecture, MoR, verification, refunds)
   --------------------------------------------------------------------- */
.flow { display: grid; gap: 12px; align-items: stretch; }
@media (min-width: 900px) {
  .flow--3 { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .flow--4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
}
.flow__node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.flow__node--brand { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), var(--shadow-sm); }
.flow__kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.flow__title { font-weight: 700; margin-top: 4px; font-size: 1rem; }
.flow__list { list-style: none; margin-top: 10px; display: grid; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }
.flow__list li { display: flex; gap: 8px; align-items: flex-start; }
.flow__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 0.55em; flex: none; }
.flow__arrow { display: grid; place-items: center; color: var(--brand); }
.flow__arrow svg { transform: rotate(90deg); }
@media (min-width: 900px) { .flow__arrow svg { transform: none; } }

.ghost-compare { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .ghost-compare { grid-template-columns: 1fr 1fr; } }
.compare-card { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.compare-card--muted { background: var(--surface-2); }
.compare-card h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compare-card ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.compare-card li { display: flex; gap: 10px; align-items: flex-start; }
.compare-card li svg { flex: none; margin-top: 3px; }

/* Split layout: text + visual */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.split--reverse > :first-child { order: 0; }
@media (min-width: 1024px) { .split--reverse > :first-child { order: 2; } }

.checklist { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist svg { color: var(--brand-strong); margin-top: 2px; }
.checklist strong { display: block; font-weight: 700; color: var(--ink); }
.checklist span { color: var(--muted); font-size: 0.9375rem; }

/* Vertical step flow used in the MoR / verification / refund visuals */
.vflow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.vflow ol { list-style: none; display: grid; gap: 0; }
.vflow li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 18px; }
.vflow li:last-child { padding-bottom: 0; }
.vflow li::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.vflow li:last-child::before { display: none; }
.vflow__num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; font-size: 0.875rem; position: relative; z-index: 1; }
.vflow__num--ok { background: var(--ok-tint); color: var(--ok); }
.vflow__title { font-weight: 700; font-size: 0.9375rem; padding-top: 6px; }
.vflow__text { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.vflow__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vflow__branch { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 0.875rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.vflow__branch svg { flex: none; color: var(--brand-strong); margin-top: 2px; }

/* ---------------------------------------------------------------------
   Checkout modes
   --------------------------------------------------------------------- */
.modes { display: grid; gap: 24px; }
@media (min-width: 1024px) { .modes { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; } }
.modes__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
@media (min-width: 1024px) { .modes__tabs { flex-direction: column; overflow: visible; padding: 0; } }
.modes__tab {
  flex: none; text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--line);
  background: var(--surface); border-radius: 10px; padding: 12px 14px; min-height: 48px; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.modes__tab:hover { border-color: var(--line-strong); }
.modes__tab[aria-selected='true'] { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); box-shadow: 0 0 0 1px var(--brand); }
.modes__tab-name { font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.modes__tab-meta { font-size: 0.75rem; color: var(--subtle); }
.modes__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 24px; }
@media (min-width: 768px) { .modes__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); padding: 28px; } }
.modes__panel h3 { font-size: 1.375rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.modes__benefit { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); }
.modes__dl { margin: 20px 0 0; display: grid; gap: 14px; }
.modes__dl dt { font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--subtle); }
.modes__dl dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.modes__avail { display: flex; flex-wrap: wrap; gap: 8px; }
.modes__note { margin-top: 18px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--warn-tint); color: #5c3a00; font-size: 0.875rem; }
.modes__note svg { flex: none; margin-top: 2px; }

/* Mini wireframe */
.wire { width: 100%; max-width: 340px; justify-self: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 12px; aspect-ratio: 4 / 3.2; position: relative; overflow: hidden; }
.wire__screens { display: flex; gap: 8px; height: 100%; }
.wire__screen { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 5px; position: relative; min-width: 0; }
.wire__cap { font-size: 0.625rem; font-weight: 500; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wire__bar { height: 7px; border-radius: 4px; background: var(--surface-3); }
.wire__bar--short { width: 60%; }
.wire__paddle { border-radius: 6px; background: var(--brand-tint); border: 1.5px solid var(--brand); flex: 1; display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; color: var(--brand-deep); min-height: 30px; }
.wire__btn { height: 12px; border-radius: 4px; background: var(--ink-2); margin-top: auto; }
.wire__scrim { position: absolute; inset: 0; background: rgba(15, 27, 45, 0.35); border-radius: 8px; display: grid; place-items: center; }
.wire__modal { width: 70%; height: 72%; background: var(--surface); border-radius: 6px; border: 1.5px solid var(--brand); display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; color: var(--brand-deep); box-shadow: var(--shadow); }
.wire__arrow { align-self: center; color: var(--brand); flex: none; }

.modes-table-wrap { display: none; margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 640px) { .modes-table-wrap { display: block; } }
.modes-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
.modes-table th, .modes-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.modes-table thead th { font-size: 0.8125rem; font-weight: 500; color: var(--subtle); background: var(--surface-2); }
.modes-table tbody tr:last-child > * { border-bottom: 0; }
.modes-table tbody th { font-weight: 500; }

/* ---------------------------------------------------------------------
   Setup steps
   --------------------------------------------------------------------- */
.prereq { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 24px; font-size: 0.9375rem; color: var(--ink-2); }
.prereq svg { flex: none; color: var(--brand-strong); margin-top: 3px; }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-strong); color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; }
.step p { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.step__where { display: block; margin-top: 10px; font-size: 0.8125rem; color: var(--subtle); }
.events { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.events code { font-size: 0.75rem; }
.setup-foot { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   Fit check & requirements
   --------------------------------------------------------------------- */
.fit { display: grid; gap: 20px; }
@media (min-width: 768px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.fit__col h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; }
.fit__col ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.fit__col li { display: flex; gap: 10px; align-items: flex-start; }
.fit__col li svg { flex: none; margin-top: 3px; }
.fit__col--yes { border-top: 4px solid var(--ok); }
.fit__col--no { border-top: 4px solid var(--no); }

.reqs { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reqs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.reqs li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.reqs__k { font-size: 0.8125rem; color: var(--subtle); }
.reqs__v { font-weight: 700; font-size: 1.125rem; margin-top: 2px; }
.reqs__s { font-size: 0.8125rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 500; font-size: 1rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__a { padding: 0 20px 20px; color: var(--muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; color: #fff;
  background: radial-gradient(600px 240px at 20% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)), linear-gradient(135deg, #1667cc 0%, #0f4c9c 100%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-band { padding: 64px 48px; } }
.cta-band h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); }
.cta-band p { margin: 14px auto 0; max-width: 620px; color: #dbe9ff; font-size: 1.0625rem; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band .btn--primary { background: #fff; color: var(--brand-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--brand-tint); color: var(--brand-deep); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-band__note { margin-top: 18px !important; font-size: 0.875rem !important; color: #c7dcfb !important; }
.cta-band a:focus-visible { outline-color: #fff; }

/* Home */
.home-hero { padding: 56px 0 56px; }
@media (min-width: 1024px) { .home-hero { padding: 88px 0 80px; } }
.home-hero__copy { max-width: 760px; }
.home-hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); }
.home-hero__status { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.9375rem; color: var(--muted); }
.home-diagram { margin: 48px 0 0; }
.home-diagram .flow__node { height: 100%; }
.home-highlights, .home-planned { list-style: none; }
.home-highlights .card, .home-planned .card { height: 100%; }
.home-note { margin-top: 24px; display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.home-note svg { color: var(--brand-strong); flex: none; margin-top: 2px; }
.home-subhead { font-size: 1.125rem; font-weight: 700; margin: 8px 0 16px; }
.home-planned { margin-bottom: 40px; }
.home-planned h4 { font-size: 1.0625rem; font-weight: 700; margin-top: 12px; }
.home-groups { display: grid; gap: 16px; }
@media (min-width: 768px) { .home-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.home-group h4 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.home-group ul { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.home-group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.9375rem; font-weight: 500; }
.home-request { margin-top: 40px; display: grid; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .home-request { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.home-request h3 { font-size: 1.1875rem; }
.home-request p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; max-width: 640px; }
.home-list { list-style: none; margin-top: 14px; display: grid; gap: 10px; color: var(--muted); font-size: 0.9375rem; }
.home-list li { display: flex; gap: 10px; }
.home-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 0.6em; flex: none; }
.home-independent { display: grid; gap: 20px; grid-template-columns: auto 1fr; align-items: start; max-width: 860px; }
.home-independent .card__icon { margin-bottom: 0; }
.home-independent .section-lede { font-size: 1rem; }
.site-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--subtle); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: 48px 0 64px; background:
  radial-gradient(1200px 480px at 85% -10%, var(--brand-tint) 0%, rgba(234, 243, 254, 0) 60%),
  var(--surface); }
@media (min-width: 1024px) { .hero { padding: 80px 0 96px; } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--brand); }
.hero__lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); max-width: 580px; }
.hero .btn-row { margin-top: 32px; }
.hero__fit { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.875rem; color: var(--muted); list-style: none; }
.hero__fit li { display: inline-flex; align-items: center; gap: 6px; }

/* Checkout mock ------------------------------------------------------- */
.mock { position: relative; }
.mock__window {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__url { margin-left: 10px; flex: 1; min-width: 0; font-size: 0.75rem; color: var(--subtle); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; gap: 16px; padding: 18px; }
@media (min-width: 560px) { .mock__body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding: 22px; } }
.mock__h { font-size: 0.8125rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.mock__field { height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: flex; align-items: center; padding: 0 9px; font-size: 0.75rem; color: var(--ink-2); }
.mock__field--muted { color: var(--subtle); }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock__stack { display: grid; gap: 8px; }
.mock__pm { border: 1.5px solid var(--brand); border-radius: 8px; overflow: hidden; }
.mock__pm-head { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 0.8125rem; font-weight: 500; background: var(--brand-tint); }
.mock__radio { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--brand); background: #fff; flex: none; }
.mock__radio--off { border: 1.5px solid var(--line-strong); }
.mock__pm-body { padding: 10px; display: grid; gap: 8px; background: var(--surface); }
.mock__paddle { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 10px; display: grid; gap: 7px; background: var(--surface-2); }
.mock__paddle-tag { font-size: 0.6875rem; font-weight: 500; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.06em; }
.mock__skel { min-height: 26px; padding-block: 4px; line-height: 1.35; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 8px; font-size: 0.6875rem; color: var(--subtle); }
.mock__skel--btn { background: var(--ink); color: #fff; justify-content: center; font-weight: 500; border: 0; }
.mock__pm-alt { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 0.8125rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); }
.mock__summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 0.75rem; display: grid; gap: 8px; align-content: start; }
.mock__line { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.mock__line--total { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; color: var(--ink); font-size: 0.8125rem; }
.mock__coupon { color: var(--ok); }
.mock__callout {
  position: absolute; right: -12px; bottom: 96px; max-width: 230px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 10px 12px; font-size: 0.75rem; line-height: 1.45; box-shadow: var(--shadow);
}
.mock__callout strong { color: #9cc8ff; font-weight: 500; }
@media (max-width: 559px) { .mock__callout { position: static; margin-top: 12px; max-width: none; } }

/* ---------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 20px 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.trust svg { color: var(--brand); flex: none; }

/* ---------------------------------------------------------------------
   Flow diagrams (architecture, MoR, verification, refunds)
   --------------------------------------------------------------------- */
.flow { display: grid; gap: 12px; align-items: stretch; }
@media (min-width: 900px) {
  .flow--3 { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .flow--4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
}
.flow__node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.flow__node--brand { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), var(--shadow-sm); }
.flow__kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.flow__title { font-weight: 700; margin-top: 4px; font-size: 1rem; }
.flow__list { list-style: none; margin-top: 10px; display: grid; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }
.flow__list li { display: flex; gap: 8px; align-items: flex-start; }
.flow__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 0.55em; flex: none; }
.flow__arrow { display: grid; place-items: center; color: var(--brand); }
.flow__arrow svg { transform: rotate(90deg); }
@media (min-width: 900px) { .flow__arrow svg { transform: none; } }

.ghost-compare { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .ghost-compare { grid-template-columns: 1fr 1fr; } }
.compare-card { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.compare-card--muted { background: var(--surface-2); }
.compare-card h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compare-card ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.compare-card li { display: flex; gap: 10px; align-items: flex-start; }
.compare-card li svg { flex: none; margin-top: 3px; }

/* Split layout: text + visual */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.split--reverse > :first-child { order: 0; }
@media (min-width: 1024px) { .split--reverse > :first-child { order: 2; } }

.checklist { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist svg { color: var(--brand-strong); margin-top: 2px; }
.checklist strong { display: block; font-weight: 700; color: var(--ink); }
.checklist span { color: var(--muted); font-size: 0.9375rem; }

/* Vertical step flow used in the MoR / verification / refund visuals */
.vflow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.vflow ol { list-style: none; display: grid; gap: 0; }
.vflow li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 18px; }
.vflow li:last-child { padding-bottom: 0; }
.vflow li::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.vflow li:last-child::before { display: none; }
.vflow__num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; font-size: 0.875rem; position: relative; z-index: 1; }
.vflow__num--ok { background: var(--ok-tint); color: var(--ok); }
.vflow__title { font-weight: 700; font-size: 0.9375rem; padding-top: 6px; }
.vflow__text { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.vflow__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vflow__branch { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 0.875rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.vflow__branch svg { flex: none; color: var(--brand-strong); margin-top: 2px; }

/* ---------------------------------------------------------------------
   Checkout modes
   --------------------------------------------------------------------- */
.modes { display: grid; gap: 24px; }
@media (min-width: 1024px) { .modes { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; } }
.modes__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
@media (min-width: 1024px) { .modes__tabs { flex-direction: column; overflow: visible; padding: 0; } }
.modes__tab {
  flex: none; text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--line);
  background: var(--surface); border-radius: 10px; padding: 12px 14px; min-height: 48px; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.modes__tab:hover { border-color: var(--line-strong); }
.modes__tab[aria-selected='true'] { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); box-shadow: 0 0 0 1px var(--brand); }
.modes__tab-name { font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.modes__tab-meta { font-size: 0.75rem; color: var(--subtle); }
.modes__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 24px; }
@media (min-width: 768px) { .modes__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); padding: 28px; } }
.modes__panel h3 { font-size: 1.375rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.modes__benefit { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); }
.modes__dl { margin: 20px 0 0; display: grid; gap: 14px; }
.modes__dl dt { font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--subtle); }
.modes__dl dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.modes__avail { display: flex; flex-wrap: wrap; gap: 8px; }
.modes__note { margin-top: 18px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--warn-tint); color: #5c3a00; font-size: 0.875rem; }
.modes__note svg { flex: none; margin-top: 2px; }

/* Mini wireframe */
.wire { width: 100%; max-width: 340px; justify-self: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 12px; aspect-ratio: 4 / 3.2; position: relative; overflow: hidden; }
.wire__screens { display: flex; gap: 8px; height: 100%; }
.wire__screen { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 5px; position: relative; min-width: 0; }
.wire__cap { font-size: 0.625rem; font-weight: 500; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wire__bar { height: 7px; border-radius: 4px; background: var(--surface-3); }
.wire__bar--short { width: 60%; }
.wire__paddle { border-radius: 6px; background: var(--brand-tint); border: 1.5px solid var(--brand); flex: 1; display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; color: var(--brand-deep); min-height: 30px; }
.wire__btn { height: 12px; border-radius: 4px; background: var(--ink-2); margin-top: auto; }
.wire__scrim { position: absolute; inset: 0; background: rgba(15, 27, 45, 0.35); border-radius: 8px; display: grid; place-items: center; }
.wire__modal { width: 70%; height: 72%; background: var(--surface); border-radius: 6px; border: 1.5px solid var(--brand); display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; color: var(--brand-deep); box-shadow: var(--shadow); }
.wire__arrow { align-self: center; color: var(--brand); flex: none; }

.modes-table-wrap { display: none; margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 640px) { .modes-table-wrap { display: block; } }
.modes-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
.modes-table th, .modes-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.modes-table thead th { font-size: 0.8125rem; font-weight: 500; color: var(--subtle); background: var(--surface-2); }
.modes-table tbody tr:last-child > * { border-bottom: 0; }
.modes-table tbody th { font-weight: 500; }

/* ---------------------------------------------------------------------
   Setup steps
   --------------------------------------------------------------------- */
.prereq { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 24px; font-size: 0.9375rem; color: var(--ink-2); }
.prereq svg { flex: none; color: var(--brand-strong); margin-top: 3px; }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-strong); color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; }
.step p { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.step__where { display: block; margin-top: 10px; font-size: 0.8125rem; color: var(--subtle); }
.events { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.events code { font-size: 0.75rem; }
.setup-foot { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   Fit check & requirements
   --------------------------------------------------------------------- */
.fit { display: grid; gap: 20px; }
@media (min-width: 768px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.fit__col h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; }
.fit__col ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.fit__col li { display: flex; gap: 10px; align-items: flex-start; }
.fit__col li svg { flex: none; margin-top: 3px; }
.fit__col--yes { border-top: 4px solid var(--ok); }
.fit__col--no { border-top: 4px solid var(--no); }

.reqs { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reqs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.reqs li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.reqs__k { font-size: 0.8125rem; color: var(--subtle); }
.reqs__v { font-weight: 700; font-size: 1.125rem; margin-top: 2px; }
.reqs__s { font-size: 0.8125rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 500; font-size: 1rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__a { padding: 0 20px 20px; color: var(--muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; color: #fff;
  background: radial-gradient(600px 240px at 20% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)), linear-gradient(135deg, #1667cc 0%, #0f4c9c 100%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-band { padding: 64px 48px; } }
.cta-band h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); }
.cta-band p { margin: 14px auto 0; max-width: 620px; color: #dbe9ff; font-size: 1.0625rem; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band .btn--primary { background: #fff; color: var(--brand-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--brand-tint); color: var(--brand-deep); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-band__note { margin-top: 18px !important; font-size: 0.875rem !important; color: #c7dcfb !important; }
.cta-band a:focus-visible { outline-color: #fff; }

/* Home */
.home-hero { padding: 72px 0 40px; }
.home-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
.home-hero p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 640px; }
.product-card { display: grid; gap: 20px; align-items: center; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
@media (min-width: 768px) { .product-card { grid-template-columns: 1fr auto; } }
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.product-card h2 { font-size: 1.375rem; }
.product-card p { color: var(--muted); }

/* Pricing */
.pricing { display: grid; gap: 28px; margin-top: 36px; }
.pricing__controls { display: grid; gap: 16px; justify-items: center; }
.pricing__for { text-align: center; color: var(--muted); }
.plugin-picks, .price-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plugin-picks button, .price-switch button {
  font: inherit; cursor: pointer; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); padding: 8px 16px;
}
.plugin-picks button[aria-pressed="true"], .price-switch button[aria-pressed="true"] {
  background: var(--brand-tint); color: var(--brand-deep); border-color: var(--brand);
}
.price-grid { list-style: none; display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.price-card--popular { border-color: var(--brand); box-shadow: var(--shadow); }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card__blurb { color: var(--muted); }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; }
.price-card__amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-card__suffix { color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin: 12px 0 20px; }
.price-card li { display: flex; align-items: flex-start; gap: 8px; }
.price-card .btn { margin-top: auto; width: 100%; }
.guarantee {
  display: grid; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 28px;
}
@media (min-width: 768px) { .guarantee { grid-template-columns: auto 1fr; padding: 36px 40px; } }
.guarantee__mark {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 2px solid var(--brand); color: var(--brand-deep); font-weight: 700; line-height: 1.1;
}
.guarantee h2 { font-size: 1.5rem; }
.guarantee p { margin-top: 8px; color: var(--muted); max-width: 62ch; }


/* ---- WordPress adaptation ------------------------------------------------
   The Next.js CSS reset every h1-h4/p/ul/ol globally. Here the reset is scoped to
   the custom blocks so ordinary post and page content keeps WordPress spacing. */
/* :where() keeps these at zero specificity so every component rule above wins */
:where([class*="wp-block-ppl-"]) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
  :where([class*="wp-block-ppl-"]) :where(h1, h2, h3, h4) { line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
  :where([class*="wp-block-ppl-"]) svg { display: block; max-width: 100%; }
:where([class*="wp-block-ppl-"]) *, :where([class*="wp-block-ppl-"]) *::before, :where([class*="wp-block-ppl-"]) *::after { box-sizing: border-box; }
:where([class*="wp-block-ppl-"]) { font-size: 1rem; line-height: 1.6; }
.wp-block-post-content > [class*="wp-block-ppl-"] { max-width: none; margin-block-start: 0; margin-block-end: 0; }
.wp-block-post-content .section--flush { padding-top: 0; }
.is-layout-flow > [class*="wp-block-ppl-"] + [class*="wp-block-ppl-"] { margin-block-start: 0; }
/* Component display rules (grid/flex) must not defeat the hidden attribute used by the Interactivity API. */
[class*="wp-block-ppl-"] [hidden] { display: none !important; }

.stats__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-link { display: grid; gap: 2px; padding: 22px 12px; text-align: center; text-decoration: none; color: inherit; border-radius: 12px; }
.stat-link:hover { background: var(--surface-2); color: inherit; }
.stat-link strong { font-size: 2rem; font-weight: 700; color: var(--brand-strong); line-height: 1.1; }
.stat-link span { font-size: 0.875rem; color: var(--muted); }
.stat-link:hover strong { color: var(--brand-deep); }

@media (min-width: 1024px) {
  .home-hero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr); gap: 48px; align-items: center; }
  .home-hero .home-diagram { margin: 0; }
  .home-hero .flow--3 { grid-template-columns: 1fr; }
  .home-hero .flow__arrow svg { transform: rotate(90deg); }
}

.home-highlights { gap: 16px; }
@media (min-width: 900px) {
  .home-highlights { grid-template-columns: 1fr 1fr; }
  .home-highlights > li:first-child { grid-column: 1 / -1; }
  .home-highlights > li:not(:first-child) .product-card { grid-template-columns: 1fr; align-items: start; }
}
.product-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.product-card__from { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }

.home-cats__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 14px; }
.home-cats__chips li { font-size: 0.8125rem; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); }
.home-cats__chips li.is-live { background: var(--ok-tint); color: var(--ok); }
.home-cats__count { margin-top: 12px; }

.roadmap-filters { display: grid; gap: 10px; margin-bottom: 28px; }
.roadmap-filters__row { display: flex; flex-wrap: wrap; gap: 8px; }
.roadmap-filters button {
  font: inherit; cursor: pointer; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); padding: 8px 14px;
}
.roadmap-filters button[aria-pressed='true'] { background: var(--brand-tint); color: var(--brand-deep); border-color: var(--brand); }
.roadmap-results { list-style: none; display: grid; gap: 16px; }
@media (min-width: 768px) { .roadmap-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.roadmap-results h4 { font-size: 1.0625rem; font-weight: 700; margin-top: 12px; }
.roadmap-results p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.roadmap-empty { margin: 0 0 8px; color: var(--muted); }
.home-planned { margin-bottom: 40px; }

.home-compare td.is-algra, .home-compare th.is-algra { background: var(--brand-tint); color: var(--ink); }
.home-compare th.is-algra { color: var(--brand-deep); }
@media (max-width: 639px) {
  .home-table-wrap .home-compare { min-width: 0; }
  .home-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .home-compare, .home-compare tbody, .home-compare tr, .home-compare th, .home-compare td { display: block; width: auto; }
  .home-compare tr { padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
  .home-compare tbody tr:last-child { border-bottom: 0; }
  .home-compare th, .home-compare td { border-bottom: 0; padding: 8px 16px; }
  .home-compare td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 500; color: var(--subtle); margin-bottom: 2px; }
}

.faq-search { max-width: 820px; margin: 0 auto 16px; }
.faq-search input {
  width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 10px 14px; font: inherit; color: var(--ink); background: var(--surface);
}
.faq-search input::placeholder { color: var(--subtle, #556274); }
.faq-empty { max-width: 820px; margin: 0 auto; color: var(--muted); }

.price-card__note { margin: 0; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 900px) {
  .price-grid { align-items: stretch; padding-top: 12px; }
  .price-card--popular { transform: translateY(-8px); }
}
