/* Shared by the website and the app: fonts, colours, type, header, buttons. */
/* Clash Grotesk Medium only, used for every display weight (no synthetic bold). */
@font-face { font-family: "Clash Grotesk"; src: url("fonts/clash-grotesk-medium.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #F1F3F7; --cell: #fff; --label: #0F1320; --secondary: #5B6070; --tertiary: #9EA3B0;
  --sep: rgba(60, 64, 80, .18); --fill: rgba(118, 120, 135, .13); --fill-hover: rgba(118, 120, 135, .22);
  --lime: #C8F03C; --ink: #111318;
  --accent: #111318;             /* prices and links: ink in light mode, lime in dark */
  --btn: #C8F03C; --btn-fg: #111318; --btn-hover: #B9E22A;
  --green: #00876F; --red: #F2542D; --blue: #2D6AE0; --on-cloth: #fff;
  --low: #A55700; --low-bg: #FFF2DE; --fair-bg: #EEF9C9;
  --focus: #111318;
  --display: "Clash Grotesk", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
  --poster: var(--display);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0B0D12; --cell: #1A1D25; --label: #F2F3F7; --secondary: #A7ACBA; --tertiary: #6E7383;
    --sep: rgba(160, 165, 180, .22); --fill: rgba(130, 134, 150, .24); --fill-hover: rgba(130, 134, 150, .34);
    --accent: #C8F03C; --btn: #C8F03C; --btn-fg: #0B0D12; --btn-hover: #D6F76A;
    --green: #1FC2A2; --red: #FF7350; --blue: #5390FF; --on-cloth: #0B0D12;
    --low: #FFBE5C; --low-bg: #3A2A10; --fair-bg: #262E12; --focus: #C8F03C;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0B0D12; --cell: #1A1D25; --label: #F2F3F7; --secondary: #A7ACBA; --tertiary: #6E7383;
  --sep: rgba(160, 165, 180, .22); --fill: rgba(130, 134, 150, .24); --fill-hover: rgba(130, 134, 150, .34);
  --accent: #C8F03C; --btn: #C8F03C; --btn-fg: #0B0D12; --btn-hover: #D6F76A;
  --green: #1FC2A2; --red: #FF7350; --blue: #5390FF; --on-cloth: #0B0D12;
  --low: #FFBE5C; --low-bg: #3A2A10; --fair-bg: #262E12; --focus: #C8F03C;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { background: var(--ground); color: var(--label); font: 400 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; font-weight: 750; letter-spacing: -.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
::selection { background: var(--lime); color: #111318; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

.skip { position: absolute; z-index: 100; left: 12px; top: -80px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--lime); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.bar-in { max-width: 1200px; margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 8px; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.03em; margin-right: auto; white-space: nowrap; }
.logo svg { display: block; height: 30px; width: auto; color: var(--logo-ink, currentColor); }
.logo .mark { display: none; height: 28px; }
.logo .ring-l { fill: var(--mint-deep, #17805F); }
.logo .ring-r { fill: var(--here, #FF7648); }
.theme-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--secondary); }
.theme-btn:hover { color: var(--label); background: var(--fill); }
.theme-btn svg { width: 21px; height: 21px; }
.theme-btn .sun, [data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; font: 700 17px/1.1 var(--text); text-decoration: none; background: var(--btn); color: var(--btn-fg); transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn svg.i { width: 20px; height: 20px; stroke-width: 2.2; }
.btn.quiet { background: var(--fill); color: var(--label); }
.btn.quiet:hover { background: var(--fill-hover); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 16px; border-radius: 12px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn[hidden] { display: none; }

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

/* Mock-up 2 look, shared by the home page, app and privacy page (2026-10-16): white screens, soft grey cards, mint for buttons and highlights, orange for "you are here". */
:root {
  --ground: #FFFFFF; --cell: #F5F6F4; --sep: rgba(60, 66, 60, .12); --fill: rgba(110, 118, 110, .1); --fill-hover: rgba(110, 118, 110, .18);
  --mint: #6FD6AF; --mint-ink: #0B3B2E; --mint-deep: #17805F; --logo-ink: #0B3B2E; --mint-soft: #E4F7EF; --here: #FF7648; --here-ink: #E0552A;
  --lime: var(--mint); --btn: var(--mint); --btn-fg: var(--mint-ink); --btn-hover: #5DCCA2; --fair-bg: var(--mint-soft);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ground: #0E1013; --cell: #1A1D22; --mint-deep: #6FD6AF; --logo-ink: var(--label); --mint-soft: rgba(111, 214, 175, .16); --mint-ink: #0B3B2E; --here-ink: #FF8A62; --accent: #6FD6AF; --focus: #6FD6AF; --fair-bg: rgba(111, 214, 175, .16); --lime: #6FD6AF; --btn: #6FD6AF; --btn-fg: #0B3B2E; --btn-hover: #8BE0C0; } }
:root[data-theme="dark"] { --ground: #0E1013; --cell: #1A1D22; --mint-deep: #6FD6AF; --logo-ink: var(--label); --mint-soft: rgba(111, 214, 175, .16); --mint-ink: #0B3B2E; --here-ink: #FF8A62; --accent: #6FD6AF; --focus: #6FD6AF; --fair-bg: rgba(111, 214, 175, .16); --lime: #6FD6AF; --btn: #6FD6AF; --btn-fg: #0B3B2E; --btn-hover: #8BE0C0; }
