/* Setaside: paper slips on a desk, three clay jars, navy ink.
   Green belongs to the "yours" jar, mustard to coins; buttons are navy with a coin slot.
   The desk (warm band with a front edge) carries the hero, the reminders and the footer; paper sits on it.
   Radius rule: 4 for paper, buttons and inputs; the clay and the phone keep their own round shapes.
   Section rhythm: --s1 / --s2 / --s3 only. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --surface: #f6f4ef;
  --paper: #fffdf8;
  --desk: #ebe2cf;
  --desk-edge: #d9cbb0;
  --ink: #14213d;
  --ink-2: #24365e;
  --ink-muted: #4a5570;
  --accent: #2bb673;
  --accent-ink: #16774a;
  --mustard: #f2c14e;
  --mustard-deep: #e3ad35;
  --mustard-ink: #7d5a0c;
  --tint-mustard: #fbf1d6;
  --hairline: #e2ddd1;
  --perf: #d8cfbd;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: 24px;
  --s1: 56px;
  --s2: 96px;
  --s3: 128px;
  --paper-shadow: drop-shadow(0 1px 0 rgba(20, 33, 61, .07)) drop-shadow(0 8px 10px rgba(20, 33, 61, .10));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1 { font-size: clamp(2.25rem, 1.2rem + 3.1vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.875rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
p, li, dd, dt, summary { text-wrap: pretty; }

/* Buttons: navy, square-ish, a coin that drops into its slot on hover */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px 0 16px; border: 0; border-radius: 4px;
  background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease);
}
.btn:hover { background: var(--ink-2); }
.btn:active { background: #0b1428; }
.btn-sm { min-height: 42px; padding: 0 16px 0 12px; font-size: .9375rem; gap: 10px; }
.slot { position: relative; flex: none; width: 18px; height: 20px; }
.slot::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; border-radius: 2px; background: var(--mustard); opacity: .7; }
.slot i { position: absolute; left: 2px; top: 0; width: 14px; height: 14px; overflow: hidden; }
.slot i::before {
  content: ""; position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--mustard); box-shadow: inset 0 -2px 0 #c4962b;
  transition: transform .32s var(--ease);
}
.btn:hover .slot i::before, .btn:focus-visible .slot i::before { transform: translateY(14px); }

.link-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--mustard-deep);
}
.link-btn:hover { text-decoration-color: var(--ink); color: var(--ink-2); }

/* Paper: a grained sheet with its own edge, shadow follows the cut */
.slip { position: relative; isolation: isolate; filter: var(--paper-shadow); }
.slip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper) url("../img/grain.png"); border-radius: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 239, .94); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.02em; border-radius: 4px; }
.brand:hover span { color: var(--ink-2); }
.mark { width: 46px; height: auto; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 4px; text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink-muted); }
.nav-links a:hover { color: var(--ink); background: rgba(20, 33, 61, .06); }

/* Hero: the slip, the ribbons, the jars, on a desk */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 36px 0 var(--s1); border-bottom: 6px solid var(--desk-edge); }
.lede { margin-top: 14px; font-size: 1.1875rem; color: var(--ink-muted); max-width: 46em; }
.machine { margin-top: 36px; }

.slip-invoice { padding: 30px 32px 22px; }
.slip-invoice::before {
  -webkit-mask: radial-gradient(circle at 50% 0, #0000 4.5px, #000 5px) 0 0 / 22px 100% repeat-x;
  mask: radial-gradient(circle at 50% 0, #0000 4.5px, #000 5px) 0 0 / 22px 100% repeat-x;
}
.slip-kicker { font-size: .875rem; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
.sentence { margin-top: 6px; font-size: 1.375rem; line-height: 1.7; font-weight: 500; letter-spacing: -0.01em; }
.inline-select {
  -webkit-appearance: none; appearance: none;
  font: inherit; font-weight: 650; color: var(--ink); letter-spacing: -0.015em;
  margin: 0; padding: 0 22px 1px 2px; border: 0; border-radius: 3px; cursor: pointer; field-sizing: content;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%2314213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat,
    linear-gradient(var(--mustard-deep), var(--mustard-deep)) 0 100% / 100% 2px no-repeat;
  transition: background-color .15s var(--ease);
}
.inline-select:hover { background-color: var(--tint-mustard); }
.inline-select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.regime-only { font-weight: 650; }
.amount-label { display: block; margin-top: 18px; font-size: .875rem; font-weight: 600; color: var(--ink-muted); }
.amount-line { position: relative; display: flex; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--ink); transition: border-color .15s var(--ease); }
.amount-line:hover { border-bottom-color: var(--ink-2); }
.euro { font-size: 2.25rem; font-weight: 500; color: var(--ink-muted); }
#amount {
  flex: 1; min-width: 0; width: 100%; height: 72px; padding: 0 4px; border: 0; background: transparent;
  font: inherit; font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
#amount:focus { outline: none; }
.amount-line:focus-within { border-bottom-color: var(--accent-ink); box-shadow: 0 2px 0 var(--accent-ink); outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 3px; }
#amount[aria-invalid="true"] { color: #a1231b; }
.help { margin-top: 8px; font-size: .9375rem; color: var(--ink-muted); min-height: 1.55em; }
.help.is-error { color: #a1231b; font-weight: 500; }
.help.is-note { color: var(--mustard-ink); font-weight: 500; }

/* Ribbons and coins */
.stage { position: relative; }
.streams { width: 100%; height: auto; overflow: visible; }
.streams-tall { display: none; }
.ribbon-path { fill: none; stroke-width: 18; stroke-linecap: round; }
.ribbon-hi { fill: none; stroke: #fffdf8; stroke-opacity: .22; stroke-width: 5; stroke-linecap: round; transform: translate(-2px, -3px); }
.ribbon[data-kind="tax"] .ribbon-path { stroke: #1d2c4f; }
.ribbon[data-kind="social"] .ribbon-path { stroke: var(--mustard-deep); }
.ribbon[data-kind="yours"] .ribbon-path { stroke: var(--accent); }
.coin-edge { fill: #b8891f; }
.coin-face { fill: var(--mustard); stroke: #a87c1c; stroke-width: 1; }
.coin { transition: opacity .25s linear; }

/* Clay jars */
.jar-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jar-row::before {
  content: ""; position: absolute; z-index: -1; left: -100vmax; right: -100vmax; top: 94%; height: 3000px;
  background: linear-gradient(#e2d7c1, var(--desk) 56px);
}
.jar-svg { width: 78%; margin: 0 auto; overflow: visible; }
.jar[data-kind="tax"] .jar-svg { color: #1d2c4f; }
.jar[data-kind="social"] .jar-svg { color: var(--mustard); }
.jar[data-kind="yours"] .jar-svg { color: var(--accent); }
.jar[data-kind="tax"] .jar-inside { fill: #0c1630; }
.jar[data-kind="social"] .jar-inside { fill: #8a6516; }
.jar[data-kind="yours"] .jar-inside { fill: #125a37; }
.jar-lip { fill: none; stroke-width: 3.5; }
.jar[data-kind="tax"] .jar-lip { stroke: #34477a; }
.jar[data-kind="social"] .jar-lip { stroke: #f8d886; }
.jar[data-kind="yours"] .jar-lip { stroke: #6fd09f; }
.jar[data-kind="tax"] .jar-rim { fill: #273a66; }
.jar[data-kind="social"] .jar-rim { fill: #f5cd6c; }
.jar[data-kind="yours"] .jar-rim { fill: #3fc585; }
.jar[data-kind="tax"] .jar-mouth { fill: #0a1226; }
.jar[data-kind="social"] .jar-mouth { fill: #a77b19; }
.jar[data-kind="yours"] .jar-mouth { fill: #14693f; }
.pile-top ellipse { fill: var(--mustard); stroke: #a87c1c; stroke-width: 1.1; }
.jar-pile { transition: transform 1s var(--ease); }
.jar[data-kind="tax"] .jar-pile { transition-duration: .9s; transition-delay: .35s; }
.jar[data-kind="social"] .jar-pile { transition-duration: 1.1s; transition-delay: .55s; }
.jar[data-kind="yours"] .jar-pile { transition-duration: 1.4s; transition-delay: .8s; }
.jar-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; text-align: center; }
.jar-labels p { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.jar-name { font-weight: 650; font-size: 1.0625rem; }
.jar-pct { font-size: .9375rem; color: var(--ink-muted); font-weight: 500; }

/* Transfer slip: torn off along the top */
.slip-transfer { margin-top: 14px; padding: 26px 28px 22px; }
.slip-transfer::before {
  -webkit-mask: conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 14px 7px repeat-x, linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat;
  mask: conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 14px 7px repeat-x, linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat;
}
.transfer-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding-bottom: 10px; }
.slip-transfer h2.slip-kicker { font-size: .875rem; line-height: 1.4; }
.transfer-when { font-size: .875rem; font-weight: 600; color: var(--ink); }
.tl { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 9px 0; border-top: 1px solid var(--hairline); }
.tl dt { min-width: 0; display: flex; flex-direction: column; }
.tl-name { font-weight: 550; display: inline-flex; align-items: center; gap: 9px; }
.tl[data-kind] .tl-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tl[data-kind="tax"] .tl-name::before { background: #1d2c4f; }
.tl[data-kind="social"] .tl-name::before { background: var(--mustard-deep); }
.tl[data-kind="yours"] .tl-name::before { background: var(--accent); }
.tl small { font-size: .8125rem; color: var(--ink-muted); padding-left: 19px; }
.tl dd { font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.01em; }
.tl dd.is-long { font-size: 1rem; }
.tl dd.is-xlong { font-size: .875rem; }
.tl-total { border-top: 2px solid var(--ink); }
.tl-total .tl-name { font-weight: 650; }
.tl-total small { padding-left: 0; }
.tl-total dd { font-size: 1.625rem; letter-spacing: -0.02em; }
.tl-yours dd { color: var(--accent-ink); }
.transfer-foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.transfer-foot p { font-size: .8125rem; color: var(--ink-muted); line-height: 1.45; }

/* Rate checks: stamps on the desk */
.checks { margin-top: 30px; display: grid; gap: 18px; align-items: center; }
.checked-lead { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; max-width: 16em; }
.changelog { margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--ink-muted); max-width: 22em; }
.changelog time { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 12px; }
.stamp {
  --r: -4deg;
  display: grid; justify-items: center; gap: 1px; padding: 9px 12px 10px; width: 100%; max-width: 148px;
  color: #22325a; border: 2px solid currentColor; border-radius: 7px;
  box-shadow: inset 0 0 0 3px var(--desk), inset 0 0 0 4px currentColor;
  transform: rotate(var(--r)); line-height: 1.15; text-align: center;
}
.stamp:nth-child(2) { --r: 2.5deg; color: #1f5a3c; }
.stamp:nth-child(3) { --r: -1.5deg; }
.stamp-word { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stamp strong { font-size: 1.375rem; font-weight: 750; letter-spacing: .02em; }
.stamp-country, .stamp time { font-size: .8125rem; font-weight: 550; font-variant-numeric: tabular-nums; }

/* How the maths works */
.maths { padding: var(--s2) 0; }
.maths-top { display: grid; gap: 40px; }
.maths-art { display: block; overflow: hidden; }
.maths-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.maths-intro p { margin-top: 16px; color: var(--ink-muted); max-width: 34em; }
.maths-intro .link-btn { margin-top: 18px; }
.sheet { margin-top: var(--s1); display: grid; grid-template-columns: minmax(0, 1fr); }
.col { padding: 28px 26px 26px; }
.col + .col { background-image: linear-gradient(90deg, var(--perf) 50%, #0000 0); background-size: 12px 2px; background-repeat: repeat-x; }
.col h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 12px; font-size: 1.375rem; }
.col h3 span { font-size: .875rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; }
.lines { display: grid; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.line dt { font-weight: 500; min-width: 0; }
.line dt small { display: block; font-size: .8125rem; color: var(--ink-muted); font-weight: 400; margin-top: 1px; font-variant-numeric: tabular-nums; }
.line dd { font-weight: 600; font-size: 1.0625rem; }
.line-total { border-top: 2px solid var(--ink); padding-top: 12px; }
.line-total dt, .line-total dd { font-weight: 650; font-size: 1.25rem; }
.line-total dd { color: var(--accent-ink); }
.col-note { margin-top: 14px; font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }
.fine { margin-top: 36px; font-size: .875rem; color: var(--ink-muted); max-width: 52em; }

/* Reminders */
.reminders { padding: var(--s2) 0; background: linear-gradient(#e2d7c1, var(--desk) 56px); border-bottom: 6px solid var(--desk-edge); }
.rem-grid { display: grid; gap: 48px; align-items: center; }
.rem-copy > p { margin-top: 18px; color: var(--ink-muted); max-width: 32em; }
.rem-points { margin-top: 30px; display: grid; gap: 18px; }
.rem-points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.glyph { width: 20px; height: 23px; flex: none; }
.rem-points .glyph { margin-top: 2px; }
.glyph-tax { color: #1d2c4f; }
.glyph-social { color: var(--mustard-deep); }
.glyph-yours { color: var(--accent); }
.rem-points span { color: var(--ink-muted); }
.rem-points strong { color: var(--ink); font-weight: 600; }
.quote { margin: 32px 0 0; padding-left: 18px; border-left: 3px solid var(--mustard); max-width: 30em; }
.quote p { font-size: 1.125rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.quote footer { margin-top: 8px; font-size: .875rem; color: var(--ink-muted); }

.rem-visual { position: relative; display: grid; gap: 20px; justify-items: center; }
.phone {
  width: min(300px, 100%); height: 470px;
  border-radius: 44px; background: var(--ink); padding: 11px;
  box-shadow: 0 2px 0 rgba(20, 33, 61, .2), 0 22px 30px -22px rgba(20, 33, 61, .55);
}
.phone-screen { height: 100%; border-radius: 34px; padding: 40px 14px 14px; text-align: center; background: #22325a; color: var(--paper); overflow: hidden; }
.lock-date { font-size: .9375rem; font-weight: 500; opacity: .85; }
.lock-time { font-size: 4.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.notif { margin-top: 24px; text-align: left; background: rgba(255, 253, 248, .95); color: var(--ink); border-radius: 20px; padding: 12px 14px 14px; }
.notif + .notif { margin-top: 8px; }
.notif-head { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--ink-muted); }
.notif-icon { width: 20px; height: 20px; }
.notif-app { font-weight: 600; }
.notif-when { margin-left: auto; }
.notif-title { margin-top: 6px; font-weight: 650; font-size: .9375rem; line-height: 1.3; }
.notif-body { margin-top: 2px; font-size: .875rem; line-height: 1.4; color: var(--ink); }
.notif-faded { opacity: .6; }
.email { width: 100%; max-width: 360px; padding: 20px 22px; border-radius: 4px; }
.email.slip::before { border-radius: 4px; }
.email-from { font-size: .8125rem; color: var(--ink-muted); }
.email-from strong { color: var(--ink); font-weight: 600; }
.email-subject { margin-top: 2px; font-weight: 650; font-size: 1.0625rem; line-height: 1.3; }
.email-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .875rem; }
.email-table th { text-align: left; font-weight: 400; color: var(--ink-muted); padding: 5px 0; }
.email-table td { text-align: right; padding: 5px 0; }
.email-sum th, .email-sum td { border-top: 2px solid var(--ink); padding-top: 9px; font-weight: 600; color: var(--ink); }
.email-pots { margin-top: 12px; display: grid; gap: 6px; }
.email-pots p { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; padding: 4px 0; }
.email-pots .glyph { width: 14px; height: 16px; }
.email-pots .num { margin-left: auto; font-weight: 650; }

/* Pricing: a price list, not a card row */
.pricing { padding: var(--s2) 0 var(--s1); }
.tariff { margin-top: 28px; }
.tier {
  display: grid; gap: 14px 40px; padding: 30px 0;
  background-image: linear-gradient(90deg, var(--perf) 50%, #0000 0); background-size: 12px 2px; background-repeat: repeat-x;
}
.tier:last-child { box-shadow: inset 0 -2px 0 0 transparent; }
.tier-name h3 { font-size: 1.5rem; }
.tier-price { margin-top: 2px; display: flex; align-items: baseline; gap: 8px; }
.tier-price .num { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.per { color: var(--ink-muted); font-weight: 500; }
.tier-alt { font-size: .9375rem; color: var(--ink-muted); }
.gets { margin-top: 0; display: grid; gap: 8px 32px; color: var(--ink-muted); }
.gets li { position: relative; padding-left: 22px; }
.gets li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); box-shadow: inset 0 -2px 0 #c4962b; }
.tier-act { justify-self: start; }
.tier-main { position: relative; isolation: isolate; filter: var(--paper-shadow); background-image: none; padding: 34px 28px; margin: 0 -4px; }
.tier-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper) url("../img/grain.png"); border-radius: 4px; }
.tier-main + .tier { background-image: none; }
.tier-main .tier-price .num { font-size: 4.25rem; }
.tier-main .gets { color: var(--ink); }

/* FAQ */
.faq { padding: var(--s1) 0 var(--s2); }
.faq-grid { display: grid; gap: 28px; align-items: start; }
.faq-head p { margin-top: 16px; color: var(--ink-muted); max-width: 24em; }
.faq-head a { display: inline-block; padding: 7px 0; margin: -7px 0; color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; border-radius: 2px; }
.faq-head a:hover { color: var(--ink); }
.people { margin-top: 22px; display: grid; gap: 10px; }
.people li { display: grid; color: var(--ink-muted); font-size: .9375rem; line-height: 1.45; }
.people strong { color: var(--ink); font-weight: 600; font-size: 1rem; }
.faq-list details { background-image: linear-gradient(90deg, var(--perf) 50%, #0000 0); background-size: 12px 2px; background-repeat: repeat-x; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; border-radius: 4px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(var(--ink), var(--ink)) center / 16px 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 16px no-repeat;
  border-radius: 2px; transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--ink-2); background-color: rgba(20, 33, 61, .04); }
.faq-list details p { padding: 0 48px 24px 4px; color: var(--ink-muted); max-width: 44em; }

/* Get the app */
.get { padding: 0; }
.get-grid { display: grid; }
.get-copy { padding: 0 var(--gutter); }
.get-copy > p { margin-top: 16px; color: var(--ink-muted); max-width: 28em; }
.signup { margin-top: 28px; padding: 24px 24px 22px; display: grid; gap: 4px; max-width: 480px; }
.signup .amount-label { margin-top: 0; }
.text-input {
  width: 100%; height: 52px; margin-top: 4px; padding: 0 2px; font: inherit; font-size: 1.25rem; font-weight: 550; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
}
.text-input::placeholder { color: #8a90a0; font-weight: 400; }
.text-input:hover { border-bottom-color: var(--ink-2); }
.text-input:focus { outline: none; }
.text-input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; border-bottom-color: var(--accent-ink); }
.text-input[aria-invalid="true"] { border-bottom-color: #b3261e; }
.sentence-sm { margin-top: 14px; font-size: 1.1875rem; }
.signup .help { margin-top: 2px; font-size: .875rem; }
.signup .btn { justify-self: start; margin-top: 12px; }
.signup-done { margin-top: 28px; max-width: 480px; padding: 22px 24px; }
.signup-done:focus { outline: none; }
.signup-done:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.done-title { font-weight: 650; font-size: 1.25rem; }
.done-text { margin-top: 6px; }
.done-text a { font-weight: 600; text-underline-offset: 3px; }
.signup-done .link-btn { margin-top: 8px; }
[tabindex="-1"]:focus:not(.signup-done) { outline: none; }
.get-art { display: block; margin-top: 24px; }
.get-art img { width: 100%; }

/* Footer: the desk again, edge on top */
.foot { background: var(--desk); border-top: 6px solid var(--desk-edge); padding: 30px 0 36px; font-size: .9375rem; color: var(--ink-muted); }
.foot-row { display: grid; gap: 14px; }
.foot-row .brand { color: var(--ink); justify-self: start; }
.foot p a { display: inline-block; padding: 7px 0; margin: -7px 0; text-underline-offset: 3px; border-radius: 2px; }
.foot a:hover { color: var(--ink); }

/* Tablet and up */
@media (min-width: 768px) {
  .checks { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .maths-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-right: var(--gutter); }
  .maths-art { aspect-ratio: 6 / 5; border-radius: 0 4px 4px 0; }
  .sheet { position: relative; isolation: isolate; filter: var(--paper-shadow); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); }
  .sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper) url("../img/grain.png"); border-radius: 4px; }
  .col { grid-row: 1 / span 7; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .col + .col { background-image: linear-gradient(var(--perf) 50%, #0000 0); background-size: 2px 12px; background-repeat: repeat-y; }
  .lines { grid-row: span 5; grid-template-rows: subgrid; }
  .line-total { align-self: end; }
  .rem-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .rem-visual { display: block; height: 520px; }
  .phone { position: absolute; right: 0; top: 0; height: 520px; }
  .email { position: absolute; z-index: 2; left: 0; bottom: 0; width: 330px; transform: rotate(-2deg); }
  .tier { grid-template-columns: minmax(0, 230px) minmax(0, 1fr) minmax(0, 190px); column-gap: 40px; }
  .tier { align-items: center; }
  .tier-act { justify-self: end; }
  .gets-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
  .faq-head { position: sticky; top: 100px; }
  .get-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: end; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .get-copy { padding: 0 0 var(--s2); }
  .get-art { margin: 0; align-self: end; justify-self: end; width: min(100%, 940px); }
  .get-art img { -webkit-mask-image: linear-gradient(90deg, #0000, #000 8%); mask-image: linear-gradient(90deg, #0000, #000 8%); }
  .foot-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 40px; }
  .foot-row p:last-child { text-align: right; }
}

/* The machine side by side */
@media (min-width: 960px) {
  .machine { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; }
  .slip-invoice { grid-column: 1; grid-row: 1; z-index: 2; }
  .stage { grid-column: 2; grid-row: 1 / span 2; margin-left: -6px; }
  .slip-transfer { grid-column: 1; grid-row: 2 / span 2; z-index: 2; margin: 16px 0 0 22px; }
  .checks { grid-column: 2; grid-row: 3; align-self: end; margin: 28px 0 0 52px; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 28px; }
  .maths-top { grid-template-columns: minmax(0, min(46vw, 780px)) minmax(0, 1fr); gap: 72px; padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
}

@media (max-width: 959px) {
  .slip-invoice { max-width: 620px; }
  .slip-transfer { max-width: 620px; margin-top: 18px; }
  .streams-wide { display: none; }
  .streams-tall { display: block; max-width: 620px; }
  .stage { max-width: 620px; }
  .slip-invoice { z-index: 2; }
}

/* Between the two-column switch and roomy desktop the stage column is narrow: the caption goes above the stamps */
@media (min-width: 960px) and (max-width: 1279px) {
  .checks { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-left: 30px; }
  .checked-lead { max-width: none; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --gutter: 16px; --s1: 40px; --s2: 64px; --s3: 80px; }
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; min-height: 44px; }
  .hero { padding: 20px 0 28px; }
  .lede { font-size: 1.0625rem; margin-top: 10px; }
  .machine { margin-top: 22px; }
  .slip-invoice { padding: 24px 18px 16px; }
  .sentence { font-size: 1.1875rem; line-height: 1.75; }
  .amount-label { margin-top: 12px; }
  #amount { height: 60px; font-size: 2.375rem; }
  .euro { font-size: 1.875rem; }
  .help { font-size: .875rem; }
  .slip-transfer { padding: 22px 18px 18px; }
  .tl dd { font-size: 1.0625rem; }
  .tl-total dd { font-size: 1.375rem; }
  .checked-lead { font-size: 1rem; }
  .stamps { gap: 8px; }
  .stamp { min-width: 0; width: 100%; max-width: 100px; padding: 8px 4px 9px; }
  .stamp strong { font-size: 1.125rem; }
  .stamp-country, .stamp time { font-size: .75rem; }
  .maths-art { margin: 0 var(--gutter); border-radius: 4px; }
  .maths-intro { padding: 0 var(--gutter); }
  .col { padding: 24px 18px 22px; }
  .sheet { position: relative; isolation: isolate; filter: var(--paper-shadow); }
  .sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper) url("../img/grain.png"); border-radius: 4px; }
  .rem-visual { gap: 0; }
  .email { position: relative; z-index: 2; margin-top: -96px; width: calc(100% - 12px); transform: rotate(-1.5deg); }
  .tier-main { margin: 0 -8px; padding: 28px 18px; }
  .tier-main .tier-price .num { font-size: 3.5rem; }
  .faq-list summary { padding: 18px 2px; font-size: 1.0625rem; }
  .faq-list details p { padding-right: 4px; }
  .signup { padding: 20px 18px; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.25rem; }
  .sentence { font-size: 1.125rem; }
}

/* Scroll-linked motion, only where the browser has it and the visitor wants it. Content never starts hidden. */
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .stamp { animation: stamp-in linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    .stamp:nth-child(2) { animation-range: entry 45% cover 45%; }
    .stamp:nth-child(3) { animation-range: entry 60% cover 50%; }
    .sheet { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
    .maths-art img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .tier { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .email { animation: lay-down linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@keyframes stamp-in {
  from { transform: rotate(calc(var(--r) + 3deg)) scale(.9); }
  65% { transform: rotate(var(--r)) scale(.99); }
  to { transform: rotate(var(--r)) scale(1); }
}
@keyframes settle { from { transform: translateY(28px); } to { transform: none; } }
@keyframes drift { from { transform: scale(1.08) translateY(-3%); } to { transform: scale(1.08) translateY(3%); } }
@keyframes lay-down { from { translate: 0 40px; } to { translate: 0 0; } }

@media print {
  .nav, .skip, .streams, .transfer-foot .btn { display: none; }
  .slip, .sheet, .tier-main { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
