:root {
  --paper: #f6f1e7;
  --surface: #fbf8f2;
  --sunk: #efe8da;
  --ink: #1c1b19;
  --ink2: #4a463f;
  --ink3: #6e685d;
  --rule: #d9d1c0;
  --accent: #8c2f39;
  --on-accent: #ffffff;
  --focus: #2d4e8a;
  --GB: #4a463f;
  --US: #1f6f78;
  --DE: #a8782a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14130f;
    --surface: #1d1b17;
    --sunk: #100f0c;
    --ink: #ede7da;
    --ink2: #bdb5a6;
    --ink3: #8f887b;
    --rule: #34312a;
    --accent: #e07a83;
    --on-accent: #14130f;
    --focus: #8fb0f0;
    --GB: #bdb5a6;
    --US: #6fc3cb;
    --DE: #e0b565;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { padding: 18px 0 4px; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { font: 600 21px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
header .open { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 8px 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(34px, 8.6vw, 62px); line-height: 1.04; margin: 20px 0 14px; }
h2 { font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 0 0 18px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.lede { font-size: 18px; color: var(--ink2); max-width: 34em; }
@media (min-width: 900px) { .lede { font-size: 19px; } }

/* Calls to action */
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--ink); text-align: center;
}
@media (max-width: 559px) { .ctas .btn { flex: 1 1 100%; } }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:hover { filter: brightness(1.06); }
.points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.points li { position: relative; padding-left: 26px; }
.points li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--accent); font-weight: 700; }
.points b { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 0; padding-bottom: 48px; }
.hero > * { min-width: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-top: 24px; padding-bottom: 88px; }
  .hero h1 { margin-top: 0; }
}

/* On phones the sample result sits straight under the buttons, so it's on the first screen. */
@media (max-width: 899px) {
  .hero { gap: 0; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; }
  .hero .lede { order: 2; margin-bottom: 0; }
  .hero .ctas { order: 3; margin-bottom: 18px; }
  .hero .result { order: 4; }
  .hero .points { order: 5; margin-top: 22px; }
}

/* The sample result: what you get, shown before you're asked for anything */
.result {
  margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px 16px;
  box-shadow: 0 10px 40px rgba(28, 27, 25, .08);
}
.result .tag { display: inline-block; margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink3); background: var(--sunk); border-radius: 999px; padding: 4px 10px; }
.result .big { font: 400 24px/1.2 var(--serif); margin: 0 0 14px; text-wrap: balance; }
.result .big span { font-size: 44px; display: block; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.donut-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 14px; }
.donut { width: 112px; height: 112px; transform: rotate(0deg); }
.donut circle { fill: none; stroke-width: 7; }
.donut .ring { stroke: var(--sunk); }
.donut .gb { stroke: var(--GB); }
.donut .de { stroke: var(--DE); }
.donut .us { stroke: var(--US); }
.legend, .shops { list-style: none; margin: 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.legend li span { flex: 1; min-width: 0; }
.legend li::before, .shops li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.legend li[data-c="GB"], .shops li[data-c="GB"] { --c: var(--GB); }
.legend li[data-c="DE"], .shops li[data-c="DE"] { --c: var(--DE); }
.legend li[data-c="US"], .shops li[data-c="US"] { --c: var(--US); }
.result .sub { font-size: 13px; font-weight: 600; color: var(--ink3); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.shops li { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--rule); }
.shops li::before { grid-row: 1 / 3; }
.shops .n { font-weight: 600; font-size: 15px; }
.shops .w { grid-column: 2; font-size: 13.5px; color: var(--ink2); }
.result figcaption { font-size: 12px; color: var(--ink3); margin-top: 10px; }

/* The statement strip: every line finds its owner */
.strip {
  margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  padding: 10px 18px 16px;
}
.lines { list-style: none; margin: 0; padding: 0; }
.lines li {
  display: grid; grid-template-columns: 52px 1fr auto; column-gap: 12px; row-gap: 2px;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums;
}
.lines .d { color: var(--ink3); font-size: 13px; padding-top: 2px; }
.lines .p { font-size: 14px; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.lines .a { font-size: 14px; text-align: right; }
.lines .o {
  grid-column: 2 / 4; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  transition: opacity .35s ease, transform .35s ease;
}
.lines .o::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink3)); flex: none; }
.lines li[data-c="GB"] { --c: var(--GB); }
.lines li[data-c="US"] { --c: var(--US); }
.lines li[data-c="DE"] { --c: var(--DE); }
.lines li.est .o { font-weight: 400; color: var(--ink2); }
.lines li.person .o { font-weight: 400; color: var(--ink3); }
.lines li.person .o::before { background: transparent; border: 1.5px dashed var(--ink3); width: 7px; height: 7px; }
.lines li.person .a, .lines li.person .p { color: var(--ink3); }

.split { display: flex; gap: 3px; margin: 16px 0 10px; height: 52px; }
.seg {
  flex: 0 0 var(--w); min-width: 0; border-radius: 6px; padding: 0 8px; display: flex; flex-direction: column; justify-content: center; line-height: 1.15;
  color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; transition: flex-basis .7s cubic-bezier(.2,.7,.2,1);
}
.seg[data-c="GB"] { background: var(--GB); --w: 46%; }
.seg[data-c="DE"] { background: var(--DE); --w: 36%; }
.seg[data-c="US"] { background: var(--US); --w: 18%; }
@media (prefers-color-scheme: dark) { .seg { color: #14130f; } }
.seg b { font-size: 15px; display: block; }
@media (max-width: 380px) { .seg { font-size: 12px; } .seg b { font-size: 14px; } }
.strip figcaption { font-size: 12.5px; color: var(--ink3); }

/* The one orchestrated moment: lines resolve in turn, then the split fills. */
.js .strip:not(.played) .lines .o { opacity: 0; transform: translateX(-6px); }
.js .strip:not(.played) .seg { flex-basis: 0; }
@media (prefers-reduced-motion: reduce) {
  .lines .o, .seg { transition: none !important; }
}

/* Sections below the fold: quiet, left aligned, no cards */
section { padding: 44px 0; border-top: 1px solid var(--rule); }
.hero { border-top: 0; }
.intro { color: var(--ink2); max-width: 40em; }
.aside { color: var(--ink2); font-size: 15px; }
.how-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } }
.share-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .share-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
.share .card { width: 100%; max-width: 280px; height: auto; border-radius: 14px; border: 1px solid var(--rule); justify-self: center; }
.method { max-width: 46em; }
.method p { color: var(--ink2); }
.method b { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 24px/1 var(--sans); color: var(--ink3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink2); max-width: 44em; margin: 0 0 18px; }
.end p { color: var(--ink2); }

/* Sticky call to action on phones, once the hero's buttons have scrolled away */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15px; }
.sticky .btn.primary { flex: 1.4; }
.js .sticky { display: flex; }
.sticky.show { transform: none; }
@media (min-width: 900px) { .js .sticky { display: none; } }
@media (max-width: 899px) { .js .home footer { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }
.cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.stays ul { margin: 0; padding-left: 20px; }
.stays li { margin-bottom: 6px; }
.stays .aside { margin-top: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 400 40px/1 var(--serif); color: var(--accent); margin-bottom: 10px; }
.steps p { color: var(--ink2); font-size: 16px; }
.bank-list { max-width: 44em; color: var(--ink2); }
.end { padding-bottom: 96px; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 14px; color: var(--ink3); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
footer nav a, footer nav button { color: var(--ink2); }
footer button.linkish { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
footer p { max-width: 52em; }

/* Long-form pages (privacy, terms, help) */
.doc { max-width: 720px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(34px, 7vw, 48px); }
.doc h2 { font-size: 26px; margin-top: 38px; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 18px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }
.doc .updated { color: var(--ink3); font-size: 15px; }
.draft { background: var(--sunk); border-radius: 8px; padding: 10px 14px; font-size: 15px; }

/* Cookie choice */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 6px 30px rgba(28, 27, 25, .18); font-size: 15px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; color: var(--ink2); }
.consent .row { display: flex; gap: 10px; }
.consent button {
  flex: 1; min-height: 44px; border-radius: 999px; font: 600 15px/1 var(--sans); cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
}
/* Radical transparency: every place data can go */
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ledger { width: 100%; border-collapse: collapse; margin: 22px 0 30px; font-size: 15px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--rule); }
.ledger thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); border-top: 0; padding-top: 0; }
.ledger tbody th { font-weight: 600; width: 26%; }
.ledger td { color: var(--ink2); }
.ledger td:last-child { color: var(--ink); }
@media (max-width: 759px) {
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto; }
  .ledger tr { border-top: 1px solid var(--rule); padding: 14px 0; }
  .ledger th, .ledger td { border: 0; padding: 0; }
  .ledger tbody th { margin-bottom: 8px; width: auto; }
  .ledger td { margin-top: 6px; }
  .ledger td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); }
}
.transparency ul { margin: 0; padding-left: 20px; }
.transparency li { margin-bottom: 8px; }
.transparency .zero { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; align-self: start; }
.transparency .zero p { margin: 0; }
.transparency a { overflow-wrap: anywhere; }
