/* Pages built from the redesigned front end: the home sections after the hero, the feature
 * pages, the comparison pages and the security page. Everything here sits under .pg so it cannot
 * touch the older sections of the site (the hero, checkout, portal, legal pages).
 *
 * Tokens follow the rules in style.css: introduced once on bare :root, redefined for dark behind
 * the media query and behind the attribute, in the same set. test/theme.test.mjs checks both. */
:root {
  --band: #eceef4;
  --on-brand: #ffffff;
  --on-good: #ffffff;
  --good-soft: rgba(5, 150, 105, .1);
  --warn-soft: rgba(180, 83, 9, .1);
  --bad-soft: rgba(220, 38, 38, .09);
  --code-bg: #12141a;
  --code-ink: #d9dbe3;
  --code-dim: #7b8090;
  --code-key: #a5b4fc;
  --shadow-sm: 0 4px 14px rgba(24, 28, 40, .08);
  --display: "IBM Plex Sans Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --band: #191b21;
    --on-brand: #ffffff;
    --on-good: #052e22;
    --good-soft: rgba(52, 211, 153, .12);
    --warn-soft: rgba(251, 191, 36, .12);
    --bad-soft: rgba(248, 113, 113, .12);
    --code-bg: #0c0d11;
    --code-ink: #d9dbe3;
    --code-dim: #6f7484;
    --code-key: #a5b4fc;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --band: #191b21;
  --on-brand: #ffffff;
  --on-good: #052e22;
  --good-soft: rgba(52, 211, 153, .12);
  --warn-soft: rgba(251, 191, 36, .12);
  --bad-soft: rgba(248, 113, 113, .12);
  --code-bg: #0c0d11;
  --code-ink: #d9dbe3;
  --code-dim: #6f7484;
  --code-key: #a5b4fc;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
}


/* ---------- Base pieces ---------- */
.pg { font-size: 16px; }
.pg.band { padding-block: clamp(64px, 9vw, 112px); }
.pg.band.alt { background: var(--band); border-block: 1px solid var(--line); }
.pg.band.tight { padding-block: clamp(48px, 7vw, 80px); }
.pg svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg h1, .pg h2, .pg h3 { text-wrap: balance; margin: 0; }
.pg p { margin: 0; }
.pg .eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-hi); font-weight: 500; }
.pg .h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; letter-spacing: -.01em; }
.pg .lede { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.pg .sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); max-width: 760px; }
.pg .btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 var(--font); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.pg .btn:hover { text-decoration: none; }
.pg .btn-primary { background: var(--brand); color: var(--on-brand); }
.pg .btn-primary:hover { background: var(--brand-hi); color: var(--on-brand); }
.pg .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.pg .btn-ghost:hover { border-color: var(--faint); color: var(--ink); }
.pg .btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.pg .btn-approve { background: var(--good); color: var(--on-good); }
.pg .btn-approve:hover { filter: brightness(1.08); color: var(--on-good); }
.pg .hero-sub { margin-top: 24px; font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.pg .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.pg .pill { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 999px; white-space: nowrap; border: 0; }
.pg .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pg .pill.wait { background: var(--warn-soft); color: var(--warn-ink); }
.pg .pill.ok { background: var(--good-soft); color: var(--good-ink); }
.pg .pill.no { background: var(--bad-soft); color: var(--bad-ink); }
.pg .pill.info { background: var(--brand-soft); color: var(--brand-hi); }
.pg .stage { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.pg .frame { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; max-width: 100%; }
.pg .frame-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.pg .frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.pg .frame-url { margin-left: 12px; font: 12.5px/1 var(--mono); color: var(--faint); background: var(--bg); border: 1px solid var(--line); padding: 6px 12px; border-radius: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pg .frame img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; }
.pg .frame img.s-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pg .frame img.s-dark { display: block; }
  :root:not([data-theme="light"]) .pg .frame img.s-light { display: none; }
}
:root[data-theme="dark"] .pg .frame img.s-dark { display: block; }
:root[data-theme="dark"] .pg .frame img.s-light { display: none; }
.pg .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pg .updated { font: 500 12.5px var(--mono); color: var(--faint); margin-top: 14px; }
.pg a { color: var(--brand-hi); }
.pg .btn-primary, .pg .btn-primary:hover { color: var(--on-brand); }
.pg .vs, .pg .comm a, .pg .related a, .pg .mega a { text-decoration: none; }
.pg .vs:hover, .pg .comm a:hover, .pg .related a:hover { text-decoration: none; }
.pg :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.pg .crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 500 13px/1.4 var(--mono); color: var(--faint); margin-bottom: 18px; }
@media (prefers-reduced-motion: reduce) { .pg *, .pg *::before, .pg *::after { animation: none !important; transition: none !important; } }

/* ---------- Tour ---------- */
.pg .tour { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.pg .tour-tabs { display: grid; gap: 4px; position: sticky; top: 90px; }
.pg .tab { all: unset; box-sizing: border-box; border: 1px solid transparent; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 11px; color: var(--muted); position: relative; overflow: hidden; }
.pg .tab:hover { color: var(--ink); background: var(--brand-soft); }
.pg .tab:focus-visible { outline: 2px solid var(--brand); }
.pg .tab .ti { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.pg .tab b { font-weight: 600; font-size: 15px; display: block; line-height: 1.25; }
.pg .tab small { font-size: 12.5px; color: var(--faint); display: block; line-height: 1.3; }
.pg .tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pg .tab[aria-selected="true"] .ti { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pg .tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--brand); width: 0; }
.pg .tour-view { min-width: 0; display: grid; gap: 20px; }
.pg .tour-view .frame { border-radius: 14px; }
.pg .tour-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pg .tour-copy h3 { font: 600 1.6rem/1.15 var(--display); }
.pg .tour-copy p { color: var(--muted); margin-top: 8px; }
.pg .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pg .ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 15px; line-height: 1.45; }
.pg .ticks svg { width: 18px; height: 18px; color: var(--good); margin-top: 2px; }
.pg .tour-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.pg .tour-bar button { background: none; border: 0; color: var(--muted); cursor: pointer; font: 500 13px var(--font); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 980px) {
  .pg .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* The tabs become a strip that scrolls sideways. Each one keeps the width of its label
   * (flex: none): left to shrink they were squeezed to a few letters and clipped. The strip
   * is relative so pages.js can read each tab's offset inside it; the tab cut off at the
   * edge is what tells a visitor there is more that way. */
  .pg .tour-tabs {
    position: relative; top: auto; display: flex; overflow-x: auto; gap: 8px; padding: 2px 0 8px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .pg .tour-tabs::-webkit-scrollbar { display: none; }
  .pg .tab { flex: none; grid-template-columns: auto; padding: 10px 15px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
  .pg .tab .ti, .pg .tab small { display: none; }
  .pg .tab b { font-size: 14px; }
  .pg .tour-copy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pg .tour-view { gap: 16px; }
  .pg .tour-copy h3 { font-size: 1.4rem; }
  /* The address bar is decoration: let its text shrink to what fits instead of being cut mid-word. */
  .pg .frame-bar { height: 34px; padding: 0 12px; gap: 6px; }
  .pg .frame-url { margin-left: 8px; font-size: 11.5px; padding: 5px 9px; }
  .pg .tour-bar { font-size: 12.5px; }
}
/* ---------- AI flow ---------- */
.pg .flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pg .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.pg .step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; position: relative; cursor: default; }
.pg .step::after { content: ""; position: absolute; left: 17px; top: 50px; bottom: -14px; width: 2px; background: var(--line); }
.pg .step:last-child::after { display: none; }
.pg .step .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--mono); border: 2px solid var(--line); color: var(--faint); background: var(--bg); position: relative; z-index: 1; }
.pg.alt .step .n { background: var(--band); }
.pg .step b { display: block; font-weight: 600; font-size: 16px; color: var(--faint); margin-top: 6px; }
.pg .step p { font-size: 14.5px; color: var(--faint); line-height: 1.5; }
.pg .step.done .n { border-color: var(--good); color: var(--good-ink); background: var(--good-soft); }
.pg .step.done b, .pg .step.now b { color: var(--ink); }
.pg .step.done p, .pg .step.now p { color: var(--muted); }
.pg .step.now .n { border-color: var(--brand); color: var(--on-brand); background: var(--brand); }
.pg .console { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.pg .console-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font: 500 12.5px/1 var(--mono); color: var(--code-dim); }
.pg .console-top .pill { margin-left: auto; }
.pg .console-body { padding: 18px; font: 13.5px/1.65 var(--mono); min-height: 340px; display: grid; gap: 4px; align-content: start; overflow-x: auto; }
.pg .ln { white-space: pre-wrap; animation: fadein .35s both; }
@keyframes fadein { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pg .ln .t { color: var(--code-dim); }
.pg .ln .k { color: var(--code-key); }
.pg .ln .g { color: #6ee7b7; }
.pg .ln .w { color: #fcd34d; }
.pg .ln .r { color: #fca5a5; }
.pg .ln.box { border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 12px; margin: 6px 0; background: rgba(255,255,255,.03); }
.pg .console-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); }
.pg .console-actions .btn { height: 40px; }
.pg .btn-dark { background: rgba(255,255,255,.08); color: var(--code-ink); border-color: rgba(255,255,255,.14); }
.pg .btn-dark:hover { background: rgba(255,255,255,.14); color: var(--code-ink); }
.pg .btn-reject { background: transparent; color: #fca5a5; border-color: rgba(252,165,165,.4); }
.pg .btn-reject:hover { background: rgba(252,165,165,.1); color: #fca5a5; }
.pg .guarantees { margin-top: 28px; display: grid; gap: 12px; }
.pg .guarantee { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: var(--muted); }
.pg .guarantee svg { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.pg .guarantee b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .pg .flow { grid-template-columns: minmax(0, 1fr); }
  .pg .console-body { min-height: 280px; }
}
/* ---------- Features ---------- */
.pg .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pg .filter { font: 500 14px/1 var(--font); padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.pg .filter:hover { color: var(--ink); }
.pg .filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pg .filter .ct { font-family: var(--mono); font-size: 12px; opacity: .65; margin-left: 4px; }
.pg .fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pg .feat { background: var(--surface); padding: 24px; display: grid; gap: 10px; align-content: start; }
.pg .feat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pg .feat .fi { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.pg .feat .fi svg { width: 20px; height: 20px; }
.pg .feat .tag { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.pg .feat h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.pg .feat p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 900px) {
  .pg .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .pg .fgrid { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Compare ---------- */
.pg .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pg table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.pg .cmp th, .pg .cmp td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg .cmp tr:last-child td { border-bottom: 0; }
.pg .cmp thead th { font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--bg); }
.pg .cmp thead th.us { color: var(--brand); }
.pg .cmp td.us { background: var(--brand-soft); font-weight: 500; }
.pg .cmp td:first-child { font-weight: 500; width: 34%; }
.pg .mark { display: inline-flex; align-items: flex-start; gap: 7px; }
.pg .mark svg { width: 17px; height: 17px; margin-top: 3px; }
.pg .mark.y svg { color: var(--good); }
.pg .mark.n svg { color: var(--bad); }
.pg .mark.m svg { color: var(--warn); }
.pg .mark span { color: var(--muted); }
.pg .us .mark span { color: var(--ink); }
.pg .vs-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.pg .vs { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 16px; color: var(--ink); display: grid; gap: 4px; }
.pg .vs b { font-weight: 600; font-size: 15px; }
.pg .vs span { color: var(--muted); font-size: 13px; }
.pg .vs em { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
@media (max-width: 860px) {
  .pg .vs-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- Audience ---------- */
.pg .aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg .aud-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.pg .aud-card .eyebrow { color: var(--faint); }
.pg .aud-card h3 { font: 600 1.45rem/1.15 var(--display); }
.pg .aud-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .pg .aud { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Security ---------- */
.pg .sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.pg .sec-item { display: grid; gap: 8px; align-content: start; }
.pg .sec-item .fi { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); background: var(--surface); }
.pg .sec-item h3 { font-size: 17px; font-weight: 600; }
.pg .sec-item p { color: var(--muted); font-size: 15px; }
.pg .disclose { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.pg .disclose div { display: grid; gap: 4px; max-width: 60ch; }
.pg .disclose b { font-size: 16px; }
.pg .disclose p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .pg .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .pg .sec-grid { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Community ---------- */
.pg .comm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pg .comm a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); display: grid; gap: 10px; align-content: start; }
.pg .comm a:hover { border-color: var(--brand); color: var(--ink); }
.pg .comm svg { width: 24px; height: 24px; }
.pg .comm b { font-weight: 600; }
.pg .comm span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .pg .comm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- FAQ ---------- */
.pg .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.pg .faq { border-top: 1px solid var(--line); }
.pg .faq details { border-bottom: 1px solid var(--line); }
.pg .faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16.5px; }
.pg .faq summary::-webkit-details-marker { display: none; }
.pg .faq summary svg { width: 20px; height: 20px; color: var(--faint); transition: transform .2s; flex: none; }
.pg .faq details[open] summary svg { transform: rotate(45deg); color: var(--brand); }
.pg .faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 68ch; display: grid; gap: 10px; }
@media (max-width: 860px) {
  .pg .faq-wrap { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Final CTA ---------- */
.pg .final { background: var(--code-bg); color: var(--code-ink); border-radius: 20px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: end; position: relative; overflow: hidden; }
.pg .final h2 { font: 700 clamp(2.1rem, 4.6vw, 3.4rem)/1 var(--display); letter-spacing: -.015em; color: #fff; }
.pg .final p { color: #a8acb8; margin-top: 14px; max-width: 52ch; }
.pg .final .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pg .final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.pg .final .btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.pg .final .mark-bg { position: absolute; right: -60px; top: -60px; width: 300px; opacity: .08; pointer-events: none; }
@media (max-width: 760px) {
  .pg .final { grid-template-columns: minmax(0, 1fr); }
  .pg .final .row { justify-content: flex-start; }
}
/* ---------- Páginas internas ---------- */
.pg .crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 500 13px/1.4 var(--mono); color: var(--faint); margin-bottom: 18px; }
.pg .crumbs a { color: var(--muted); }
.pg .crumbs a:hover { color: var(--brand); }
.pg.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.pg.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 20% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 0%, #000 0%, transparent 75%); opacity: .5; pointer-events: none; }
.pg.page-hero .wrap { position: relative; }
.pg.page-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.015em; max-width: 18ch; margin-top: 12px; }
.pg.page-hero .hero-sub { margin-top: 20px; }
.pg.page-hero .stage { margin-top: clamp(32px, 5vw, 48px); }
.pg.page-hero .frame { border-radius: 14px; }
.pg.band.tight { padding-block: clamp(48px, 7vw, 80px); }
.pg .prose { display: grid; gap: 14px; max-width: 68ch; color: var(--muted); font-size: 16.5px; }
.pg .prose b, .pg .prose strong { color: var(--ink); font-weight: 600; }
.pg .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) {
  .pg .split { grid-template-columns: minmax(0, 1fr); }
}
.pg .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.pg .card .fi { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.pg .card .fi svg { width: 20px; height: 20px; }
.pg .card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.pg .card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pg .card code, .pg .data td code { font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--muted); }
@media (max-width: 980px) {
  .pg .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pg .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .pg .cards, .pg .cards.two, .pg .cards.four { grid-template-columns: minmax(0, 1fr); }
}
.pg table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.pg .data th, .pg .data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg .data thead th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--bg); }
.pg .data tr:last-child td { border-bottom: 0; }
.pg .data td:first-child { font-weight: 500; color: var(--ink); }
.pg .data td { color: var(--muted); }
.pg .data td.us { background: var(--brand-soft); color: var(--ink); }
.pg .data thead th.us { color: var(--brand); }
.pg .data sup a { font: 500 11px var(--mono); }
.pg .flowlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: f; }
.pg .flowlist li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: f; }
.pg .flowlist li:first-child { border-top: 0; }
.pg .flowlist li::before { content: counter(f); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); background: var(--brand-soft); color: var(--brand); }
.pg .flowlist b { display: block; font-weight: 600; color: var(--ink); }
.pg .flowlist span { color: var(--muted); font-size: 15px; }
.pg .note-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; }
.pg .note-box h3 { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pg .note-box h3 svg { color: var(--warn); }
.pg .note-box ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }
.pg .verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg .verdict .card { border-top: 3px solid var(--line); }
.pg .verdict .card.us { border-top-color: var(--brand); }
.pg .verdict ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 7px; font-size: 15px; }
@media (max-width: 760px) {
  .pg .verdict { grid-template-columns: minmax(0, 1fr); }
}
.pg .sources { font-size: 13px; color: var(--faint); display: grid; gap: 4px; margin-top: 18px; }
.pg .sources ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.pg .sources a { color: var(--muted); word-break: break-word; }
.pg .related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pg .related a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; color: var(--ink); display: grid; gap: 4px; }
.pg .related a:hover { border-color: var(--brand); color: var(--ink); }
.pg .related b { font-weight: 600; }
.pg .related span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .pg .related { grid-template-columns: minmax(0, 1fr); }
}
.pg .kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pg .kv div { background: var(--surface); padding: 20px; display: grid; gap: 4px; }
.pg .kv b { font: 600 1.7rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.pg .kv span { color: var(--muted); font-size: 14px; }
/* The number of columns lives here, not in a style attribute: an inline style beats every media
 * query, which is what kept the three-figure calculator on /compare/level in three columns on a
 * phone and cut its prices. */
.pg .kv.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg .kv.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg .kv b { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .pg .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg .kv div { padding: 16px; }
  .pg .kv b { font-size: 1.45rem; }
}
@media (max-width: 560px) {
  .pg .kv.three { grid-template-columns: minmax(0, 1fr); }
}
.pg .codebox { font: 13px/1.6 var(--mono); background: var(--code-bg); color: var(--code-ink); border-radius: 10px; padding: 16px 18px; overflow-x: auto; white-space: pre; }
.pg .codebox .c { color: var(--code-dim); }
.pg .section-gap { display: grid; gap: clamp(28px, 4vw, 40px); }
.pg .updated { font: 500 12.5px var(--mono); color: var(--faint); margin-top: 14px; }
.pg .ticks.no svg { color: var(--bad); }
.pg .tour-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.pg .tour-more svg { width: 16px; height: 16px; }
.pg .vs-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg .vs:hover { border-color: var(--brand); color: var(--ink); }
@media (max-width: 860px) {
  .pg .vs-links { grid-template-columns: minmax(0, 1fr); }
}
.pg .inherit { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg .inherit li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; position: relative; }
.pg .inherit li:nth-child(2) { margin-left: 18px; }
.pg .inherit li:nth-child(3) { margin-left: 36px; }
.pg .inherit li:nth-child(4) { margin-left: 54px; }
.pg .inherit .lvl { grid-row: span 2; font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding-top: 3px; }
.pg .inherit b { font-weight: 600; }
.pg .inherit .pol { color: var(--muted); font-size: 14px; }
.pg .inherit li.leaf { border-color: var(--brand); background: var(--brand-soft); }
.pg .inherit li.leaf .lvl { color: var(--brand); }
@media (max-width: 520px) {
  .pg .inherit li { grid-template-columns: minmax(0, 1fr); }
  .pg .inherit .lvl { grid-row: auto; }
  .pg .inherit li:nth-child(n) { margin-left: 0; }
}

/* ---------- Additions for this site ---------- */
.pg .sim-group { display: grid; gap: 4px; }
.pg .fgrid { gap: 16px; background: none; border: 0; border-radius: 0; overflow: visible; }
.pg .feat { border: 1px solid var(--line); border-radius: var(--radius); }
.pg .tour-panel { display: grid; gap: 20px; }
.pg .tour-more span { font-weight: 600; }
.pg .vs b, .pg .vs span { display: block; }
.pg .mark span { color: var(--muted); }
/* Five vendors and a criterion column: the criterion stays narrow and the table scrolls sideways on a phone. */
.pg table.cmp { min-width: 940px; }
.pg .cmp td:first-child { width: 15%; }
.pg .cmp th, .pg .cmp td { padding: 14px 14px; }
#comparar .vs-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { #comparar .vs-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #comparar .vs-links { grid-template-columns: minmax(0, 1fr); } }
/* The cost calculator on /compare/level (from the design's pricing block). */
.pg .dev-row { display: grid; gap: 12px; }
.pg .dev-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pg .dev-label label { font-weight: 600; }
.pg .dev-input { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.pg .dev-input input { width: 110px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--mono); padding: 0 12px; text-align: right; }
.pg input[type="range"] { width: 100%; accent-color: var(--brand); height: 24px; }
.pg .ticks-row { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--faint); }

/* ---------- Donate ---------- */
.pg.donation-hero { text-align: left; padding-bottom: clamp(32px, 5vw, 48px); }
.pg.donation-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.015em; max-width: 18ch; margin: 12px 0 0; }
.pg .donation-warning { display: flex; align-items: flex-start; gap: 10px; max-width: 62ch; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pg.donation-methods .donation-wrap { max-width: 1080px; }
.pg .donation-status { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; background: var(--surface); }
.pg .donation-card { display: flex; align-items: center; gap: 18px; margin: 0; padding: 22px; }
.pg .donation-card h2 { font: 600 1.35rem/1.2 var(--display); margin: 0 0 4px; }
.pg .donation-card p { color: var(--muted); font-size: 15px; }
.pg .donation-method-copy { flex: 1; }
.pg .donation-section-head { margin-bottom: 20px; }
.pg .donation-section-head h2 { font: 600 1.7rem/1.15 var(--display); }
.pg .wallet-grid { display: grid; gap: 16px; }
.pg .wallet-card { display: flex; align-items: center; gap: 26px; padding: 22px; }
.pg .wallet-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pg .wallet-title h3 { font: 600 1.3rem/1.2 var(--display); }
.pg .wallet-card .pill { font: 500 11.5px/1 var(--mono); padding: 5px 9px; background: var(--brand-soft); color: var(--brand-hi); }
.pg .wallet-card .pill::before { display: none; }
.pg .wallet-warning { color: var(--warn-ink); margin-bottom: 12px; font-size: 14px; }
.pg .wallet-address { display: block; overflow-wrap: anywhere; padding: 11px 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.pg .donation-disclaimer { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .pg .donation-card, .pg .wallet-card { align-items: stretch; flex-direction: column; }
  .pg .donation-card .btn { width: 100%; justify-content: center; }
  .pg .wallet-qr { align-self: center; flex-basis: 166px; width: 166px; }
}
.pg.donation-hero .donation-wrap { max-width: 1080px; }
.pg.donation-hero .hero-sub { margin: 24px 0 0; max-width: 58ch; }
.pg .donation-warning { margin: 24px 0 0; }
