/* Swipe Saver site system.
   Ink and paper grounds that hard-cut between sections, one cobalt accent, red
   only where something is cut. Schibsted Grotesk carries everything; IBM Plex
   Mono appears only on receipts, statements and numeric readouts. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0C0F15;
  --ink-2: #151A24;
  --ink-3: #1D2330;
  --on-ink: #F3F4F6;
  --on-ink-soft: #B1B8C5;
  --ink-line: rgba(255, 255, 255, 0.1);
  --mist: #F2F3F5;
  --paper: #FFFFFF;
  --receipt: #FBFBF9;
  --text: #0C0F15;
  --text-soft: #4F5766;
  --line: rgba(12, 15, 21, 0.12);
  --cobalt: #2B45E8;
  --cobalt-hover: #2238C7;
  --cobalt-light: #8D9BFF;
  --cobalt-deep: #1730C4;
  --on-cobalt-soft: #CDD4FF;
  --cut: #E5484D;
  --cut-ink: #C93035;
  --neutral-bar: #8A919E;
  --hi: #FFE14D;          /* highlighter: prices, stamps, wins */
  --hi-deep: #F2C200;
  --gold: #D9B45B;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: max(clamp(1.25rem, 5vw, 5.5rem), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(1.25rem, 5vw, 5.5rem), env(safe-area-inset-right, 0px));
  --maxw: 82rem;
  --hud: 3.6rem;
  --r: 18px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --t-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --t-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --t-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --e1: 0 1px 2px rgba(12, 15, 21, 0.08), 0 2px 6px -1px rgba(12, 15, 21, 0.08);
  --e2: 0 2px 4px rgba(12, 15, 21, 0.08), 0 12px 28px -10px rgba(12, 15, 21, 0.22);
  --e3: 0 4px 8px rgba(12, 15, 21, 0.1), 0 30px 60px -24px rgba(12, 15, 21, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-padding-top: calc(var(--hud) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
.on-ink :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--cobalt-light); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 0.9rem; border-radius: 8px; background: var(--paper); color: var(--text); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 0.6rem); }

/* ---------------------------------------------------------------- type */
.h1 { font-weight: 700; font-size: clamp(2.5rem, 1.3rem + 4.2vw, 5.6rem); line-height: 0.97; letter-spacing: -0.038em; text-wrap: balance; margin: 0; }
.h1--md { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.6rem); }
.h2 { font-weight: 700; font-size: clamp(2rem, 1.25rem + 2.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; margin: 0; }
.h3 { font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.h4 { font-weight: 650; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
.lede { font-size: var(--t-lg); line-height: 1.45; letter-spacing: -0.01em; max-width: 42ch; text-wrap: pretty; margin: 0; color: var(--text-soft); }
.body { font-size: var(--t-base); line-height: 1.62; max-width: 62ch; text-wrap: pretty; margin: 0; color: var(--text-soft); }
.small { font-size: var(--t-sm); line-height: 1.5; color: var(--text-soft); }
.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }
.on-ink { color: var(--on-ink); color-scheme: dark; --text-soft: var(--on-ink-soft); --line: var(--ink-line); }
.on-cobalt { color: #fff; color-scheme: dark; --text-soft: var(--on-cobalt-soft); --line: rgba(255, 255, 255, 0.2); }
.on-paper { color: var(--text); color-scheme: light; }
.link { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }
.on-ink .link, .on-cobalt .link { color: #fff; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; font: 600 var(--t-base)/1 var(--font); letter-spacing: -0.005em; padding: 0.95rem 1.3rem; border-radius: 10px; border: 1px solid transparent; background: var(--cobalt); color: #fff; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px -10px rgba(43, 69, 232, 0.8); transition: background-color 140ms var(--ease), transform 140ms var(--ease), border-color 140ms; }
.btn:hover { background: var(--cobalt-hover); }
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--text); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
.btn--light:hover { background: #E9ECFF; }
.btn--ghost { background: transparent; color: inherit; border-color: color-mix(in oklab, currentColor 40%, transparent); box-shadow: none; }
.btn--ghost:hover { background: color-mix(in oklab, currentColor 8%, transparent); border-color: currentColor; }
.btn--sm { padding: 0.62rem 0.95rem; font-size: var(--t-sm); box-shadow: none; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------------------------------------------------------------- frame */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter) var(--gutter-r); }
.sec { padding-block: clamp(4.5rem, 10vh, 8rem); }
.sec--tight { padding-block: clamp(3rem, 7vh, 5rem); }
.bg-ink { background: var(--ink); }
.bg-mist { background: var(--mist); }
.bg-paper { background: var(--paper); }
.bg-cobalt { background: var(--cobalt-deep); }
.sec-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* ------------------------------------------------------------ header */
.site-head { position: fixed; z-index: 70; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); background: var(--ink); border-bottom: 1px solid var(--ink-line); color: var(--on-ink); }
.site-head__in { max-width: var(--maxw); margin-inline: auto; height: var(--hud); display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--gutter) var(--gutter-r); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: inherit; text-decoration: none; flex: none; }
.brand svg { width: 1.6rem; height: auto; flex: none; }
.wordmark { font-size: 1.14rem; letter-spacing: -0.025em; white-space: nowrap; }
.wordmark b { font-weight: 750; }
.wordmark span { font-weight: 500; opacity: 0.72; }
@media (max-width: 560px) {
  /* stacked lockup so the full name fits beside the menu buttons */
  .wordmark { display: grid; font-size: 1rem; line-height: 0.98; }
  .wordmark span { font-size: 0.8em; letter-spacing: 0.01em; }
}
.site-nav { display: flex; gap: 0.2rem; }
.site-nav a { padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--on-ink-soft); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: color 140ms, background-color 140ms; }
.site-nav a:hover { color: var(--on-ink); background: rgba(255, 255, 255, 0.06); }
.site-nav a[aria-current="page"] { color: var(--on-ink); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.tally { display: flex; gap: 1rem; font-size: 0.86rem; color: var(--on-ink-soft); }
.tally > span { display: inline-flex; align-items: baseline; gap: 0.35rem; }
.tally > span[hidden] { display: none; }
.tally b { color: var(--on-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.tally .is-bump b { animation: bump 420ms var(--ease); }
@keyframes bump { 0% { color: var(--cobalt-light); } 100% { color: var(--on-ink); } }
.menu-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; border-radius: 8px; border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink); font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.menu-btn i { position: relative; width: 1rem; height: 1.5px; background: currentColor; transition: background-color 160ms; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease); }
.menu-btn i::before { transform: translateY(-5px); }
.menu-btn i::after { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: rotate(-45deg); }
.drawer { border-top: 1px solid var(--ink-line); background: var(--ink); max-height: calc(100svh - var(--hud)); overflow: auto; }
.drawer__in { display: grid; gap: 0.2rem; padding: 1rem var(--gutter-r) 1.5rem var(--gutter); }
.drawer a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--ink-line); color: var(--on-ink); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; text-decoration: none; }
.drawer .btn { margin-top: 1rem; justify-self: start; }
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 860px) {
  :root { --hud: 3.3rem; }
  .tally { display: none; }
  .head-right { gap: 0.6rem; }
}
@media (max-width: 420px) {
  .head-right > .btn { display: none; }
}

/* -------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: var(--on-ink); padding-block: clamp(3.5rem, 8vh, 5.5rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.foot-brand { display: grid; gap: 1rem; align-content: start; max-width: 24rem; }
.foot-brand p { margin: 0; color: var(--on-ink-soft); line-height: 1.55; }
.foot-mail { font-family: var(--mono); font-size: 0.9rem; color: var(--on-ink); user-select: all; }
.foot-col h2 { margin: 0 0 0.8rem; font-size: 0.95rem; font-weight: 650; color: var(--on-ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot-col a { color: var(--on-ink-soft); text-decoration: none; }
.foot-col a:hover { color: var(--on-ink); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--ink-line); color: var(--on-ink-soft); font-size: 0.86rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ page hero */
.phero { background: var(--ink); color: var(--on-ink); padding-block: calc(var(--hud) + clamp(3rem, 9vh, 6rem)) clamp(3.5rem, 9vh, 6rem); overflow: clip; --text-soft: var(--on-ink-soft); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.phero__copy { display: grid; gap: 1.4rem; align-content: start; }
.phero__copy .lede { max-width: 40ch; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 0.3rem; }
.crumbs { margin: 0 0 0.2rem; font-size: 0.88rem; color: var(--on-ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--on-ink); text-decoration: underline; }
@media (max-width: 960px) { .phero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------- receipts and statements */
.rcpt { position: relative; background: var(--receipt); color: var(--text); font: 400 0.86rem/1.4 var(--mono); padding: 1.4rem 1.35rem 1.5rem; box-shadow: var(--e3); }
.rcpt::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: conic-gradient(from 135deg at 50% 0, var(--receipt) 90deg, transparent 0) 0 0 / 12px 100%; }
.rcpt p { margin: 0; }
.rcpt hr { border: 0; border-top: 1px dashed rgba(12, 15, 21, 0.35); margin: 0.85em 0; }
.rcpt .row { display: flex; justify-content: space-between; gap: 0.8em; padding: 0.3em 0; }
.rcpt .row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rcpt .ind { padding-left: 1.1em; color: var(--text-soft); }
.rcpt .center { text-align: center; }
.rcpt .strong { font-weight: 600; letter-spacing: 0.06em; }
.rcpt .soft { color: var(--text-soft); font-size: 0.9em; }
.rcpt s { text-decoration-color: var(--cut); text-decoration-thickness: 1.5px; color: var(--text-soft); }
.barcode { height: 2.4em; margin: 0.9em 0.6em 0.6em; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px); }

/* ------------------------------------------------------------- lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.7rem; align-items: start; line-height: 1.45; }
.ticks svg { width: 1.1rem; height: 1.1rem; margin-top: 0.15em; color: var(--cobalt); }
.on-ink .ticks svg, .on-cobalt .ticks svg { color: var(--cobalt-light); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0.3rem 0 0.35rem; font-size: 1.12rem; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--text-soft); }

/* ------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.98rem; }
.table th, .table td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-weight: 650; font-size: 1rem; background: var(--mist); position: sticky; top: 0; }
.table tbody th { font-weight: 600; width: 22%; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .is-sel { background: #F5F6FF; }
.table .muted { color: var(--text-soft); }
.yes { color: var(--cobalt); font-weight: 600; }
.no { color: var(--cut-ink); font-weight: 600; }

/* ---------------------------------------------------------- accordions */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0.2rem; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 0.75rem; height: 0.75rem; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat; color: var(--text-soft); transition: transform 180ms var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--cobalt); }
.qa .a { padding: 0 0.2rem 1.25rem; color: var(--text-soft); line-height: 1.62; max-width: 64ch; }
.qa .a p { margin: 0; }
.qa .a a { color: var(--cobalt); font-weight: 600; }

/* --------------------------------------------------------------- forms */
.form { display: grid; gap: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: grid; gap: 0.38rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.84rem; color: var(--text-soft); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-width: 0; padding: 0.78rem 0.85rem; border-radius: 9px; border: 1px solid #D3D7DE; background: var(--paper); color: var(--text); font: 400 var(--t-base)/1.3 var(--font); transition: border-color 140ms var(--ease), box-shadow 140ms; }
.field textarea { min-height: 5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9BFCA; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(43, 69, 232, 0.18); }
.field [aria-invalid="true"] { border-color: var(--cut-ink); }
.err { font-size: 0.84rem; color: var(--cut-ink); font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.choice { position: relative; display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.7rem; align-items: start; padding: 0.85rem 0.9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color 140ms, background-color 140ms; }
.choice:hover { border-color: rgba(43, 69, 232, 0.45); }
.choice input { margin: 0.2rem 0 0; accent-color: var(--cobalt); width: 1.05rem; height: 1.05rem; }
.choice > span { display: grid; gap: 0.15rem; color: var(--text); }
.choice b { font-weight: 650; }
.choice > span > span { font-size: 0.88rem; color: var(--text-soft); line-height: 1.4; }
.choice:has(input:checked) { border-color: var(--cobalt); background: #F5F6FF; }
.consent { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.7rem; align-items: start; font-size: 0.86rem; line-height: 1.5; color: var(--text-soft); }
.consent input { margin: 0.2rem 0 0; accent-color: var(--cobalt); width: 1.05rem; height: 1.05rem; }
.consent a { color: var(--cobalt); }
.result { display: grid; gap: 0.7rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.result h3 { margin: 0; font-size: 1.15rem; }
.result p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }
.result code { font-family: var(--mono); font-size: 0.9em; background: var(--mist); padding: 0.1em 0.4em; border-radius: 5px; color: var(--text); user-select: all; }
.result textarea { width: 100%; min-height: 9rem; padding: 0.7rem; border-radius: 9px; border: 1px solid #D3D7DE; background: var(--mist); color: var(--text); font: 400 0.8rem/1.5 var(--mono); resize: vertical; }
@media (max-width: 640px) { .fields, .choice-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); --text-soft: var(--on-ink-soft); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: end; padding-block: clamp(4rem, 10vh, 6.5rem); }
.cta-band .h2 { max-width: 18ch; }
.cta-band .lede { margin-top: 1rem; }
@media (max-width: 760px) { .cta-band__in { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------- prose */
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.7; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; margin-top: 1.8em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--cobalt); font-weight: 550; }
.prose strong { font-weight: 650; }
.prose blockquote { margin-left: 0; padding: 0.2em 0 0.2em 1.1em; border-left: 2px solid var(--cobalt); color: var(--text-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--mist); }
.prose .table-wrap { margin-top: 1.4em; }
.prose .table { min-width: 34rem; }
.callout { padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); }
.callout p { margin: 0; }
.sources { font-size: 0.92rem; color: var(--text-soft); }
.sources a { color: var(--text-soft); }

@media (prefers-reduced-motion: reduce) {
  .tally .is-bump b { animation: none; }
  .menu-btn i::before, .menu-btn i::after { transition: none; }
}

/* -------------------------------------------------- segmented controls */
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 11px; justify-self: start; }
.seg button { padding: 0.58rem 0.95rem; border: 0; border-radius: 8px; background: transparent; font: 600 0.92rem/1.1 var(--font); cursor: pointer; transition: background-color 140ms var(--ease), color 140ms; }
.seg--sm button { padding: 0.45rem 0.75rem; font-size: 0.86rem; }
.seg--ink { background: rgba(255, 255, 255, 0.08); }
.seg--ink button { color: var(--on-ink-soft); }
.seg--ink button:hover { color: var(--on-ink); }
.seg--ink button[aria-pressed="true"] { background: #fff; color: var(--text); }
.seg--paper { background: #E4E6EB; }
.seg--paper button { color: var(--text-soft); }
.seg--paper button:hover { color: var(--text); }
.seg--paper button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--e1); }
.linkbtn { justify-self: start; padding: 0; border: 0; background: none; color: var(--cobalt); font: 600 0.92rem/1.4 var(--font); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; cursor: pointer; }
.on-ink .linkbtn { color: #fff; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }


/* ================================================================ refresh
   Rounder, softer, more generous: pill controls, glass header, highlighter
   yellow for prices and wins. Every control is at least 44px tall. */
.btn { border-radius: 999px; min-height: 3rem; padding: 0.9rem 1.45rem; }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.1rem; }
.btn--hi { background: var(--hi); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(242, 194, 0, 0.9); }
.btn--hi:hover { background: #FFD62E; }
.seg { border-radius: 999px; padding: 4px; }
.seg button { min-height: 2.75rem; padding: 0.55rem 1.05rem; border-radius: 999px; }
.seg--sm button { min-height: 2.5rem; }
.site-head { background: rgba(12, 15, 21, 0.97); }
.site-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; padding: 0.4rem 0.7rem; }
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
.site-nav a[href$="high-risk.html"]::after { content: ""; width: 6px; height: 6px; margin-left: 0.4rem; border-radius: 50%; background: var(--hi); }
.menu-btn { min-height: 2.75rem; border-radius: 999px; padding: 0.5rem 0.9rem; }
.drawer a:not(.btn) { min-height: 3rem; display: flex; align-items: center; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .input { min-height: 3rem; border-radius: 12px; }
.choice, .result, .callout { border-radius: 14px; }
.table-wrap { border-radius: 16px; }
.qa summary { min-height: 3.25rem; }
.consent input, .choice input { width: 1.25rem; height: 1.25rem; }
.foot-col a { display: inline-block; padding: 0.15rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* perk chips: the short promises that sell the membership */
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.perks li, .perks a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.25rem; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, 0.05); color: var(--on-ink); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.perks .perk--hi { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.perks a:hover { border-color: rgba(255, 255, 255, 0.4); }
.perks svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------- display panel */
.a11y-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.8rem; border-radius: 999px; border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.a11y-btn:hover { border-color: rgba(255, 255, 255, 0.4); }
.a11y-btn b { font-size: 1.05rem; letter-spacing: -0.02em; }
.a11y-panel { position: fixed; z-index: 80; top: calc(env(safe-area-inset-top, 0px) + var(--hud) + 0.6rem); right: max(1rem, env(safe-area-inset-right, 0px)); width: min(22rem, calc(100vw - 2rem)); display: grid; gap: 1.1rem; padding: 1.25rem; border-radius: 20px; background: #fff; color: var(--text); box-shadow: var(--e3); color-scheme: light; }
.a11y-panel h2 { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.a11y-panel .grp { display: grid; gap: 0.45rem; }
.a11y-panel .grp > span { font-size: 0.92rem; font-weight: 600; }
.a11y-panel .seg { display: flex; }
.a11y-panel .seg button { flex: 1; }
.a11y-panel p { margin: 0; font-size: 0.86rem; color: var(--text-soft); line-height: 1.45; }
.a11y-panel__close { justify-self: start; }
.a11y-panel :focus-visible { outline-color: var(--cobalt); }
@media (max-width: 420px) { .a11y-btn span { display: none; } }

/* larger text, higher contrast, calmer motion: chosen in the display panel */
html.a11y-lg { font-size: 112.5%; }
html.a11y-xl { font-size: 125%; }
html.a11y-hc { --text-soft: #262B35; --on-ink-soft: #E4E8EF; --line: rgba(12, 15, 21, 0.38); --ink-line: rgba(255, 255, 255, 0.34); --on-cobalt-soft: #fff; }
html.a11y-hc .on-ink, html.a11y-hc .dark { --text-soft: #E4E8EF; --line: rgba(255, 255, 255, 0.34); }
html.a11y-hc a:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; }
html.a11y-hc :focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
html.a11y-hc .btn--ghost { border-width: 2px; }
html.a11y-rm *, html.a11y-rm *::before, html.a11y-rm *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
@media (max-width: 1560px) { .tally { display: none; } .a11y-btn span { display: none; } }
.site-head__in { gap: 1.1rem; }
.site-nav { gap: 0; }
.rcpt, .slip { --text-soft: #4F5766; --line: rgba(12, 15, 21, 0.12); }

.refresh-btn svg { width: 1.15rem; height: 1.15rem; transition: transform 400ms var(--ease); }
.refresh-btn:hover svg { transform: rotate(90deg); }
.refresh-btn.is-spin svg { transform: rotate(360deg); }
.a11y-fresh { color: var(--text); justify-self: start; }
@media (max-width: 1320px) { .refresh-btn span { display: none; } }
@media (max-width: 420px) { .head-right { gap: 0.4rem; } .site-head__in { gap: 0.6rem; } .a11y-btn { min-width: 2.75rem; padding: 0; } }

/* sticky bar on phones */
.mbar { display: none; }
@media (max-width: 760px) and (pointer: coarse) {
  .mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.5rem; padding: 0.6rem max(0.75rem, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px)); background: #0C0F15; border-top: 1px solid var(--ink-line); color: var(--on-ink); transform: translateY(110%); transition: transform 260ms var(--ease); visibility: hidden; }
  .mbar.is-on { visibility: visible; transform: none; }
  .mbar .btn { min-height: 2.9rem; padding: 0.6rem 0.8rem; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* proof strip: real client names once there are real clients; until then, what Swipe Saver works with */
.proof { padding-block: clamp(1.6rem, 4vh, 2.4rem); background: #fff; border-bottom: 1px solid var(--line); color: var(--text); }
.proof__in { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: center; }
.proof__label { margin: 0; font-weight: 650; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; }
.proof__label small { display: block; margin-top: 0.25rem; font-weight: 500; font-size: 0.88rem; color: var(--text-soft); }
.proof__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.9rem clamp(1.2rem, 2.4vw, 2.4rem); align-items: center; }
.proof__row li { display: inline-flex; align-items: center; gap: 0.55rem; color: #2B2F38; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
@media (min-width: 1100px) { .proof__row { flex-wrap: nowrap; justify-content: space-between; gap: 1.2rem; } }
.proof__row li svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--ink); }
.proof__row li img { height: 1.8rem; width: auto; filter: grayscale(1); opacity: 0.8; }
@media (max-width: 860px) {
  .proof__in { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .proof__row { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 0.2rem; }
  .proof__row::-webkit-scrollbar { display: none; }
}

/* Language switch */
.a11y-btn.lang-toggle b { letter-spacing: .02em; }
.drawer__in a.lang-toggle b { text-decoration: underline; text-underline-offset: 3px; }
html.is-translating main { opacity: .55; transition: opacity .2s; }
html main { transition: opacity .25s; }
@media (max-width: 380px) { .head-right { gap: 6px; } .head-right .a11y-btn { width: 40px; } }
@media (max-width: 1600px) {
  html[lang="es"] .site-nav { display: none; }
  html[lang="es"] .menu-btn { display: inline-flex; }
}
.mcard__img{margin:-0.25rem -0.25rem 1rem;border-radius:14px;overflow:hidden;background:#e9eaec;perspective:900px}
.mcard__img img{display:block;width:100%;height:auto;aspect-ratio:912/736;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.mcard:hover .mcard__img img{transform:rotateY(-8deg) rotateX(4deg) scale(1.06)}
@media (prefers-reduced-motion:reduce){.mcard:hover .mcard__img img{transform:none}}
