/* Tiercut - clean light list layout: white, hairline borders, brand kit 2026-11-24 (brand/brand.json).
   --brand (navy) = structure: logo, navigation, selected states, dark panels.
   --accent (cut red) = deals only: discounts, buttons, the cut in the logo. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/Geist-latin-ext.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; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/Geist-latin.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: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/GeistMono-latin-ext.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; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/GeistMono-latin.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; }

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --surface: #FFFFFF;
  --text: #12203A;
  --text-2: #44506A;
  --muted: #5F6A80;       /* 5.4:1 on white */
  --line: #E4E8EF;
  --line-strong: #CDD4E0;
  --accent: #DC271F;      /* 4.8:1 with white text */
  --accent-hover: #B81E17;
  --accent-soft: #FFF1F0;
  --accent-line: #FBC9C5;
  --on-accent: #FFFFFF;
  --brand: #003072;
  --brand-hover: #00214F;
  --brand-soft: #EEF3FA;
  --brand-line: #C9D7EC;
  --dark: #003072;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --font-display: var(--font);
  --display-weight: 700;
  --display-tracking: -0.03em;

  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --wrap: 1600px;
  --shadow: 0 1px 2px rgba(16,16,24,.04), 0 4px 16px -6px rgba(16,16,24,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--brand); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 8px; }
.muted { color: var(--muted); font-size: 13px; }
.accent { color: var(--accent); }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ink { background: var(--text); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-outline, .btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo { color: var(--brand); flex: none; }
.logo-cut { stroke: var(--accent); }
.wordmark { color: var(--brand); }
.brand .wordmark { font-size: 22px; letter-spacing: -0.045em; }
.brand .wordmark-cut, .wordmark-cut { color: var(--accent); font-size: inherit; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand:hover { color: var(--text); }
.search { position: relative; flex: 0 1 280px; display: flex; align-items: center; color: var(--muted); }
.search svg { position: absolute; left: 12px; pointer-events: none; }
.search input { width: 100%; min-height: 40px; padding: 0 12px 0 36px; font: inherit; font-size: 14px; color: var(--text); background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; }
.search input:focus { outline: none; background: #fff; border-color: var(--line-strong); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: var(--r-sm); }
.main-nav a:hover { color: var(--text); background: var(--bg-soft); }
.main-nav a.on { color: var(--brand); }
.header-cta { flex: none; }

/* Page layout: list + sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.main-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.intro { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.intro h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.12; max-width: 720px; }
.lede { font-size: 16px; color: var(--text-2); max-width: 640px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid var(--accent-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.badge-muted { background: var(--brand-soft); color: var(--text-2); border-color: var(--brand-line); }
.badge-muted a { color: inherit; text-decoration: underline; margin-left: 4px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.list-head h2 { font-size: 22px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.tab { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-pressed="true"] { color: var(--brand); font-weight: 600; border-color: var(--brand-line); background: var(--brand-soft); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; }
.chips, .sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; font-size: 13px; color: var(--text-2); text-decoration: none; border: 1px dashed var(--line-strong); border-radius: 999px; background: #fff; }
.chip:hover { color: var(--text); border-color: var(--brand-line); }
.chip[aria-pressed="true"] { color: var(--brand); font-weight: 600; border-style: solid; border-color: var(--brand-line); background: var(--brand-soft); }
.chip[aria-pressed="true"]::before { content: "✓"; margin-right: 5px; }
.sorts { font-size: 13px; }
.sort { color: var(--text-2); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.sort:hover { color: var(--text); background: var(--bg-soft); }
.sort[aria-pressed="true"] { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } }

.notice { font-size: 13px; color: var(--text-2); background: var(--bg-soft); border-radius: var(--r-sm); padding: 10px 14px; margin: 12px 0 4px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 12px; }
.empty { font-size: 15px; color: var(--text-2); padding: 28px; background: var(--bg-soft); border-radius: var(--r); text-align: center; }

/* Deal rows */
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.row {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 18px; align-items: center;
  padding: 14px; margin: 0 -14px; border-radius: var(--r-lg); transition: background-color .15s;
}
.row + .row::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; border-top: 1px solid var(--line); }
.row:hover { background: var(--bg-soft); }
.row:hover::before, .row:hover + .row::before { border-color: transparent; }
.row.is-featured { background: var(--accent-soft); }
.row.is-featured::before, .row.is-featured + .row::before { border-color: transparent; }
.row.is-expired { opacity: .65; }
.row-logo {
  width: 64px; height: 64px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; overflow: hidden; font-size: 24px; font-weight: 700; color: var(--text-2); text-decoration: none;
}
.row-logo.big { width: 80px; height: 80px; font-size: 30px; border-radius: var(--r-lg); }
.row .row-logo { width: 52px; height: 52px; font-size: 20px; }
.row .row-logo img { width: 36px; height: 36px; }
.row-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.row-logo.big img { width: 56px; height: 56px; border-radius: 10px; }
.row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.row-title a { text-decoration: none; }
.row-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); } /* whole row clickable */
.row-tagline { color: var(--text-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-body { gap: 2px; }
.row-meta { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 13px; color: var(--muted); }
.row-meta li { display: inline-block; }
.row-meta li + li::before { content: "·"; margin: 0 8px; color: var(--line-strong); }
.row-cat { position: relative; z-index: 1; color: var(--text-2); font-weight: 500; text-decoration: none; }
.row-cat:hover { color: var(--brand); }
.row-verdict { margin-top: 2px; font-size: 14px; color: var(--text-2); }
.row-verdict span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-right: 6px; }
.row-verdict.is-listed { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.row-verdict.is-listed span { color: var(--muted); }
.listed-box { padding: 14px 16px; background: var(--bg-soft); border-radius: var(--r-sm); color: var(--text-2); }
.row-side { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.row-side .discount { min-width: 118px; min-height: 0; padding: 0; border: 0; background: none; justify-content: flex-end; text-align: right; font-size: 19px; }
.btn-get { min-height: 38px; padding: 0 16px; white-space: nowrap; }
@media (max-width: 1320px) {
  .row { grid-template-columns: 52px minmax(0, 1fr); }
  .row-side { grid-column: 2; flex-wrap: wrap; }
  .row-side .discount { min-width: 0; justify-content: flex-start; text-align: left; margin-right: 4px; }
}

.discount {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 6px 10px;
  border: 1px solid var(--accent-line); background: #fff; border-radius: var(--r);
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--accent);
}
.is-featured .discount { border-color: var(--accent); }
.discount-lg { font-size: 30px; min-height: 76px; padding: 10px 22px; }

.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; line-height: 1.5; }
.tag-featured { background: var(--accent); color: var(--on-accent); }
.tag-soon { background: #FFF4E5; color: #8A4B00; border: 1px solid #F5D3A3; }
.row-code { color: var(--brand); font-weight: 600; }
.tag-partner { background: #EEF2F8; color: var(--brand); border: 1px solid #C9D4E6; cursor: help; }
.tag-sample { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

.code {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text);
  background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 0 12px;
}
button.code { cursor: pointer; font-family: var(--font-mono); }
button.code:hover { border-color: var(--text); }
.code-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-hint { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--accent); }
.code.copied { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.no-code { justify-content: center; font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); border-style: solid; border-color: var(--line); background: var(--bg-soft); }

/* How */
.how { margin-top: 24px; padding: 28px; background: var(--bg-soft); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; }
.how h2 { font-size: 20px; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; color: var(--text-2); font-size: 14px; }
.how-list strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.link-arrow { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--brand); }
.link-arrow::after { content: " →"; }

/* Sidebar */
.sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.side-card p { font-size: 14px; color: var(--text-2); }
.side-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.countdown { background: var(--dark); border-color: var(--dark); color: #fff; }
.countdown .side-title { color: #fff; font-size: 13px; font-weight: 500; opacity: .8; }
.countdown-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.countdown-cells div { text-align: center; background: rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 8px 0 6px; }
.countdown-cells b { display: block; font-family: var(--font-mono); font-size: 22px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-cells span { font-size: 11px; opacity: .7; }
.stack-form { display: flex; flex-direction: column; gap: 8px; }
.stack-form input[type=email] { min-height: 44px; font: inherit; font-size: 14px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text); }
.stack-form input[type=email]:focus { outline: none; border-color: var(--text); }
.cat-list { list-style: none; margin: 0 -8px; padding: 0; display: flex; flex-direction: column; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 8px; border-radius: var(--r-sm); text-decoration: none; font-size: 14px; color: var(--text-2); }
.cat-list a:hover { background: var(--bg-soft); color: var(--text); }
.cat-list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-hover); font-weight: 600; }
.cat-list .count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Deal detail */
.detail { display: flex; flex-direction: column; gap: 16px; }
.detail-head { display: flex; gap: 20px; align-items: center; }
.detail-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.detail-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; justify-content: flex-end; }
.detail-actions .code { min-width: 180px; }
.detail h2 { font-size: 18px; margin-top: 10px; }
.verdict-box { padding: 16px 18px; background: var(--bg-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-2); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.check-list li { position: relative; padding-left: 24px; color: var(--text-2); }
.check-list li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* Inner pages (submit, how, disclosure, newsletter) */
.page-head { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.narrow { max-width: 760px; }
.center { align-items: center; text-align: center; padding-top: 96px; padding-bottom: 96px; margin: 0 auto; }
.center .lede { margin: 0 auto; }
.prose { padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.prose h2 { font-size: 20px; margin-top: 16px; }
.prose p { color: var(--text-2); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.steps h2 { margin-top: 0; font-size: 17px; }
.callout { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.callout h2 { margin-top: 0; }

.signup-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; padding-top: 24px; padding-bottom: 72px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { font-size: 22px; }
.panel p { color: var(--text-2); }
.panel-accent { background: var(--brand-soft); border-color: var(--brand-line); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.inline-form input[type=email] { flex: 1; min-width: 200px; min-height: 44px; font: inherit; font-size: 15px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--text); }
.inline-form input[type=email]:focus { outline: none; border-color: var(--text); }

.submit-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; padding-bottom: 72px; }
.submit-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.submit-side .panel { padding: 22px; }
.submit-side h2 { font-size: 17px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.form legend { font-size: 17px; font-weight: 600; margin-bottom: 4px; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field textarea { font: inherit; font-size: 15px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--text); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--text); outline: none; }
.field-error, .form-error { color: var(--accent); font-size: 13px; font-weight: 500; }
.form-error:empty { display: none; }
.form-error ul { margin: 0; padding-left: 18px; }
.input-validation-error { border-color: var(--accent) !important; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.footer-brand { font-size: 14px; color: var(--text-2); max-width: 360px; }
.footer-brand .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 10px; }
.footer-brand .wordmark { font-size: 20px; }
.footer-brand p { margin: 0 0 8px; }
.footer-note { font-size: 13px; color: var(--muted); }
.footer-note a { color: var(--text-2); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover, .footer-note a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 28px; font-size: 12px; color: var(--muted); }
.footer-bottom .link-btn { font-size: 12px; margin-left: auto; color: var(--muted); text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .footer-bottom .link-btn { margin-left: 0; } }

/* Responsive */
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .main-nav { display: none; }
  .search { flex: 1 1 auto; margin-left: auto; }
  .submit-grid { grid-template-columns: 1fr; }
  .submit-side { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-row { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .search { order: 3; flex: 1 1 100%; }
  .header-cta { margin-left: auto; }
  .layout { padding-top: 24px; }
  .row { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; }
  .row .row-logo { width: 44px; height: 44px; }
  .row .row-logo img { width: 30px; height: 30px; }
  .row-side .discount { font-size: 17px; }
  .detail-head { align-items: flex-start; }
  .detail-actions { justify-content: stretch; }
  .detail-actions > * { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Paged list */
.more-row { list-style: none; display: flex; justify-content: center; padding: 20px 0 4px; }
.more-row .btn { min-width: 220px; }
.more-row .muted { font-weight: 400; margin-left: 4px; }
.more-all { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.more-all p.muted { margin: 0; max-width: 46ch; font-size: .92rem; }
.count-pill { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font: 500 13px/1.5 var(--font-mono); color: var(--text-2); }
.rows.is-loading { opacity: .55; transition: opacity .15s; }

/* Legal pages */
.legal h2 { margin-top: 32px; }
.legal-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; line-height: 1.7; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--text-2); }
.legal-table code { font-size: 13px; white-space: nowrap; }
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; }
.optout p { margin: 0; color: var(--muted); font-size: 14px; }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--text-2); cursor: pointer; }
.link-btn:hover { color: var(--brand); }

/* Cookie consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0, 48, 114, .18); }
.consent[hidden] { display: none; }
.consent-body { flex: 1; min-width: 0; font-size: 14px; }
.consent-body p { margin: 0; }
.consent-title { font-weight: 700; color: var(--brand); margin-bottom: 4px !important; }
.consent-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions > * { flex: 1; } }

/* category pages: period, stats, buying guide; deal page FAQ */
.h1-sub { display: block; font-size: .5em; font-weight: 500; margin-top: 6px; }
.cat-stats { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.guide { margin: 28px 0 8px; padding: 20px 24px; background: var(--bg-soft); border-radius: 12px; }
.guide h2 { margin: 0 0 8px; font-size: 18px; }
.guide p { margin: 0 0 8px; }
.faq { margin: 8px 0 0; }
.faq dt { font-weight: 600; margin-top: 14px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; color: var(--text-2); }

/* prices, offer history, season page (26. 11.) */
.row-price { font-size: 12px; color: var(--text); margin-top: 2px; white-space: nowrap; }
.row-price s { margin-left: 4px; color: var(--muted, #94a3b8); }
.detail-price { margin: 6px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.detail-price .fineprint-inline { font-size: 12px; }
table.history { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 6px; }
table.history th, table.history td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line, #e5e7eb); vertical-align: top; }
table.history th { font-size: 12px; font-weight: 600; color: var(--muted, #64748b); text-transform: uppercase; letter-spacing: .03em; }
.tag-checked { margin-left: 6px; background: var(--brand-soft); color: var(--brand); }
.bf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 4px; }
.bf-stats div { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 10px 12px; }
.bf-stats dt { font-size: 12px; color: var(--muted, #64748b); }
.bf-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; }
