@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-wdth.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --wash: #f2f3f5;
  --ink: #0f0f10;
  --ink-2: #34353a;
  --muted: #676a73;
  --hair: #dcdee3;
  --hl: #d6ff3d;       /* highlighter green: codes, savings, the brand mark */
  --hl-soft: #f1ffc4;
  --ok: #0f8a4b;
  --warn: #b26a00;
  --warn-soft: #fff1d6;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --r: 6px;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 15.5px/1.5 var(--font); font-stretch: 100%; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { flex: none; }
mark { background: var(--hl); color: var(--ink); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- top bar ---------- */
.topbar-wrap { border-bottom: 2px solid var(--ink); background: var(--paper); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-size: 24px; font-weight: 850; font-stretch: 78%; letter-spacing: -0.01em; text-transform: uppercase; }
.topnav { display: flex; gap: 22px; flex-wrap: wrap; }
.topnav a { text-decoration: none; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.topnav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); border-radius: var(--r); padding: 11px 18px; font-weight: 750; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .08s, box-shadow .08s; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink svg { color: var(--hl); }
.btn.outline { background: var(--paper); color: var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: none; box-shadow: none; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 650; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 4px; padding: 2px 7px; white-space: nowrap; background: var(--paper); }
.tag.soft { border-color: var(--hair); color: var(--ink-2); }
.tag.coupon { background: var(--hl); }
.tag.deal { background: var(--wash); }
.tag.ok { background: var(--hl); }
.tag.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.tag.big { font-size: 13.5px; padding: 6px 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--ink); background: var(--paper); border-radius: var(--r); padding: 7px 12px; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.chip:hover { background: var(--hl); }
.muted { color: var(--muted); }
.store-tile { width: 30px; height: 30px; border-radius: 5px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.store-tile svg { color: var(--hl); }
.store-tile.sm { width: 22px; height: 22px; font-size: 12px; border-radius: 4px; }
.panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 18px; }

/* code button: the code is printed, the right half copies it and opens the store */
.codebtn { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; overflow: hidden; transition: transform .08s, box-shadow .08s; }
.codebtn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.code-val { flex: 1; display: flex; align-items: center; justify-content: center; padding: 9px 12px; font-family: var(--mono); font-weight: 800; letter-spacing: .1em; background: repeating-linear-gradient(-45deg, var(--hl-soft) 0 8px, var(--paper) 8px 16px); border-right: 2px dashed var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-go { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: var(--ink); color: #fff; font-weight: 750; font-size: 13.5px; white-space: nowrap; }
.code-go svg { color: var(--hl); }
.codebtn.copied .code-go { background: var(--hl); color: var(--ink); }
.codebtn.copied .code-val { background: var(--hl-soft); }

/* ---------- home / hero ---------- */
.home { max-width: 1240px; margin: 0 auto; padding: 0 20px 60px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 46px 0 40px; }
.label { display: inline-block; margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--hl); padding: 5px 10px; border-radius: 4px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(46px, 7.4vw, 96px); line-height: .9; font-weight: 880; font-stretch: 72%; letter-spacing: -0.01em; text-transform: uppercase; }
.lead { margin: 0 0 26px; color: var(--ink-2); font-size: 17px; max-width: 600px; }
.searchbar { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 6px 6px 6px 14px; box-shadow: var(--shadow); max-width: 660px; }
.searchbar .sb-icon { color: var(--ink); display: flex; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 10px 6px; }
.searchbar input::placeholder { color: #8b8e96; }
.searchbar .btn:hover { transform: none; box-shadow: none; filter: brightness(1.25); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 660px; }
.cat { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: var(--r); padding: 7px 11px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.cat:hover { background: var(--hl); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.checks li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; }
.checks svg { background: var(--hl); border: 1.5px solid var(--ink); border-radius: 4px; padding: 2px; width: 20px; height: 20px; }

/* receipt illustration */
.hero-art { display: flex; justify-content: center; }
.receipt { width: 100%; max-width: 380px; background: var(--paper); border: 2px solid var(--ink); border-bottom: 0; padding: 22px 22px 34px; font-family: var(--mono); font-size: 13px; transform: rotate(-2.5deg); box-shadow: 8px 8px 0 var(--ink); position: relative;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 12px; }
.rc-head b { font-family: var(--font); font-stretch: 75%; font-size: 20px; font-weight: 880; }
.rc-head span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.rc-head .rc-tag { color: var(--ink); background: var(--hl); border: 2px solid var(--ink); padding: 2px 7px; font-weight: 800; display: inline-block; transform: rotate(3deg); }
.rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.rc-row.muted { color: #9a9ca3; }
.rc-row.code { background: var(--hl); margin: 4px -8px; padding: 5px 8px; font-weight: 700; }
.rc-row.code i { font-style: normal; border: 1.5px dashed var(--ink); padding: 0 5px; margin-right: 4px; }
.rc-row.total { font-weight: 800; font-size: 15px; }
.rc-rule { border-top: 2px dashed var(--ink); margin: 10px 0; }
.rc-saved { margin-top: 10px; font-family: var(--font); font-stretch: 75%; font-weight: 880; font-size: 30px; text-transform: uppercase; line-height: 1; }
.rc-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 11.5px; }
.rc-foot svg { width: 14px; height: 14px; color: var(--ok); }

.how { margin-top: 30px; border-top: 2px solid var(--ink); padding-top: 28px; }
.how h2 { font-size: 38px; font-stretch: 75%; font-weight: 880; text-transform: uppercase; margin: 0 0 16px; line-height: 1; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { border: 2px solid var(--ink); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: center; }
.how-step span { font-stretch: 70%; font-weight: 900; font-size: 52px; line-height: .8; background: var(--hl); border: 2px solid var(--ink); border-radius: 4px; padding: 6px 10px 4px; }
.how-step p { margin: 0; font-size: 16.5px; font-weight: 700; }

/* searching mode: the hero collapses into a sticky search bar */
.page-home.has-results .hero { position: sticky; top: 0; z-index: 20; display: block; padding: 12px 20px; margin: 0 -20px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.page-home.has-results .hero .label,
.page-home.has-results .hero h1,
.page-home.has-results .hero .lead,
.page-home.has-results .hero .cats,
.page-home.has-results .hero .checks,
.page-home.has-results .hero-art,
.page-home.has-results .how { display: none; }
.page-home.has-results .searchbar { max-width: none; box-shadow: none; }
.searching-bar { margin: 16px 0 4px; }

/* ---------- a search run ---------- */
.results { display: flex; flex-direction: column; gap: 30px; }
.run { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.run + .run { border-top: 2px solid var(--ink); padding-top: 28px; }
.run-head { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.run-head b { display: block; margin-top: 4px; color: var(--ink); font-size: clamp(30px, 4vw, 44px); font-stretch: 75%; font-weight: 880; letter-spacing: 0; text-transform: none; line-height: 1; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; max-width: 760px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 12px; border-left: 2px solid var(--ink); background: var(--paper); }
.stepper li:first-child { border-left: 0; }
.st-dot { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 3px; flex: none; }
.stepper li.active { color: var(--ink); background: repeating-linear-gradient(-45deg, var(--hl) 0 10px, var(--hl-soft) 10px 20px); background-size: 28px 28px; animation: stripes 1s linear infinite; }
.stepper li.done { color: var(--ink); background: var(--ink); color: #fff; }
.stepper li.done .st-dot { background: var(--hl); border-color: var(--hl); }
.stepper.complete li { padding-top: 6px; padding-bottom: 6px; }
.stepper.failed li.active { background: var(--warn-soft); animation: none; }
@keyframes stripes { to { background-position: 28px 0; } }

.intents-panel { display: flex; flex-direction: column; gap: 10px; }
.ip-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.intents { display: flex; flex-wrap: wrap; gap: 8px; }
.intent { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--hl-soft); border-radius: var(--r); padding: 5px 5px 5px 11px; font-weight: 750; font-size: 14.5px; max-width: 100%; }
.intent code { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.in-count { font-family: var(--mono); font-size: 11.5px; font-weight: 700; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px; padding: 0 4px; }
.in-count:empty { display: none; }
.intent .x { border: 0; background: transparent; width: 24px; height: 24px; border-radius: 4px; cursor: pointer; font-size: 18px; line-height: 1; }
.intent .x:hover { background: var(--ink); color: #fff; }
.ip-ask { margin: 0; color: var(--ink-2); font-size: 14px; }
.ip-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ip-add { flex: 1 1 200px; min-width: 0; border: 2px solid var(--ink); background: var(--paper); border-radius: var(--r); padding: 7px 11px; font-size: 14px; outline: 0; }
.ip-add:focus { background: var(--hl-soft); }
.clarify { border-top: 2px dashed var(--ink); padding-top: 12px; }
.clarify p { margin: 0 0 9px; font-weight: 800; font-size: 16px; }
.ip-found { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ip-found:empty { display: none; }

.answer { margin: 0; font-size: 17px; line-height: 1.6; max-width: 900px; }
.no-sf { margin: 0; padding: 13px 16px; border-radius: var(--r); border: 2px solid var(--warn); background: var(--warn-soft); color: #6b4000; font-size: 14.5px; font-weight: 600; }
.error { margin: 0; color: #c62828; font-weight: 750; }
.block-title { margin: 12px 0 0; font-size: 28px; font-stretch: 75%; font-weight: 880; text-transform: uppercase; line-height: 1; }
.block-title small { font-size: 15px; font-stretch: 100%; background: var(--ink); color: var(--hl); border-radius: 4px; padding: 2px 7px; margin-left: 6px; vertical-align: 4px; }

.sf-banner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); text-decoration: none; background: var(--hl); border: 2px solid var(--ink); box-shadow: var(--shadow); transition: transform .08s, box-shadow .08s; }
.sf-banner:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.sfb-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--ink); display: grid; place-items: center; color: var(--hl); flex: none; }
.sfb-icon svg { width: 24px; height: 24px; }
.sfb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sfb-text small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sfb-text b { font-size: 24px; font-stretch: 78%; font-weight: 880; line-height: 1.1; }
.sfb-text span { font-size: 14px; font-weight: 600; }

/* coupon cards */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.cc { display: flex; flex-direction: column; gap: 9px; padding: 15px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.cc-top { display: flex; align-items: center; gap: 10px; }
.cc-store { flex: 1; min-width: 0; font-weight: 750; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-off { font-size: 40px; font-stretch: 70%; font-weight: 900; line-height: .95; text-transform: uppercase; letter-spacing: -0.005em; }
.cc.coupon .cc-off { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 8px; text-underline-offset: -2px; text-decoration-skip-ink: none; }
.cc-text { margin: 0; font-size: 14.5px; font-weight: 550; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-meta:empty { display: none; }
.cc-act { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 6px; }
.cc-nocode { font-size: 12px; color: var(--muted); font-weight: 600; }

/* product cards in results */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px; border-radius: var(--r); border: 1.5px solid var(--hair); background: var(--paper); text-decoration: none; }
.mini:hover { border-color: var(--ink); }
.mini.extra { display: none; }
.mini-img { width: 84px; height: 84px; border-radius: 4px; background: var(--paper); border: 1px solid var(--hair); overflow: hidden; display: grid; place-items: center; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; }
.mini-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-store { font-size: 12px; color: var(--muted); font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fits { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); background: var(--hl); border: 1.5px solid var(--ink); border-radius: 3px; padding: 0 5px; font-size: 11.5px; }
.fits svg { width: 12px; height: 12px; }
.mini-title { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-blurb { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-price { font-weight: 800; font-size: 15px; margin-top: auto; }
.more { align-self: flex-start; }

/* ---------- deal page ---------- */
.dealpage, .listpage { max-width: 1240px; margin: 0 auto; padding: 10px 20px 60px; }
.crumbs { font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 14px; }
.crumbs a { color: var(--ink); }
.sf-hero { padding: 26px 0 18px; max-width: 900px; }
.sf-hero h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 76px); line-height: .92; font-weight: 880; font-stretch: 72%; text-transform: uppercase; }
.sf-hero .lead { margin-bottom: 18px; }
.sf-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 18px; padding-top: 24px; border-top: 2px solid var(--ink); align-items: start; }
.sf-section + .sf-section { margin-top: 30px; }
.sf-section h2 { margin: 0 0 14px; font-size: 30px; font-stretch: 75%; font-weight: 880; text-transform: uppercase; line-height: 1; }
.sf-section h2 small { font-size: 15px; font-stretch: 100%; background: var(--ink); color: var(--hl); border-radius: 4px; padding: 2px 7px; margin-left: 6px; vertical-align: 5px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r); border: 2px solid var(--ink); background: var(--paper); overflow: hidden; transition: transform .08s, box-shadow .08s; }
.pcard:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.pimg { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 14px; }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.pbody { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.pstore { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pcard h3 { margin: 0; font-size: 15.5px; line-height: 1.3; font-weight: 750; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.pblurb { margin: 0; font-size: 13.5px; color: var(--muted); }
.pprice { font-size: 22px; font-weight: 850; font-stretch: 85%; }
.coupon-strip { display: flex; flex-direction: column; gap: 7px; padding: 11px; border-radius: var(--r); border: 2px dashed var(--ink); background: var(--hl-soft); }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cs-label { font-weight: 900; font-stretch: 72%; font-size: 26px; line-height: 1; text-transform: uppercase; }
.cs-head { font-weight: 700; font-size: 13.5px; }
.cs-note { font-size: 12.5px; color: var(--ink-2); }
.cs-price { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.cs-price b { font-size: 21px; font-weight: 850; color: var(--ok); }
.cs-price s { color: var(--muted); }
.cs-min { font-size: 12.5px; color: var(--warn); font-weight: 750; }
.view { margin-top: auto; padding-top: 4px; }
.sf-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.sf-side h2 { margin: 0 0 12px; font-size: 22px; font-stretch: 75%; font-weight: 880; text-transform: uppercase; line-height: 1; }
.side-tickets { display: flex; flex-direction: column; gap: 14px; }
.side-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.side-label:first-of-type { margin-top: 0; }
.quote { margin: 0; font-size: 17px; font-weight: 750; }
.sf-side .btn.block { margin-top: 16px; }
.disclosure { margin-top: 36px; padding-top: 16px; border-top: 1.5px solid var(--hair); font-size: 12.5px; color: var(--muted); max-width: 900px; }

.listpage h1 { font-size: clamp(40px, 6vw, 64px); font-stretch: 72%; font-weight: 880; text-transform: uppercase; line-height: .95; margin: 24px 0 20px; }
.deal-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.deal-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--paper); text-decoration: none; transition: transform .08s, box-shadow .08s; }
.deal-row:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.dr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dr-text b { font-size: 17px; }
.dr-text span { color: var(--muted); font-size: 13px; }

.footer { border-top: 2px solid var(--ink); margin-top: 40px; background: var(--wash); }
.footer-in { max-width: 1240px; margin: 0 auto; padding: 18px 20px 26px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-links a, .footer-links .linkbtn { color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; }
.footer-links a:hover, .footer-links .linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.brand.small { gap: 8px; color: var(--ink); font-weight: 800; }
.brand.small .logo-mark { width: 22px; height: 22px; }

/* ---------- AI labels (EU AI Act Art. 50) ---------- */
.ai-mark { display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; background: var(--ink); color: var(--hl); border-radius: 3px; padding: 1px 5px; margin-right: 8px; vertical-align: 2px; flex: none; }
.ai-note { display: flex; align-items: flex-start; gap: 0; margin: 12px 0 0; max-width: 660px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.ai-note .ai-mark { margin-top: 1px; }
.ai-note a { font-weight: 700; }
.page-home.has-results .ai-note { display: none; }
.ai-label { margin: 0 0 10px; font-size: 13px; font-weight: 650; color: var(--ink-2); }

/* ---------- consent banner ---------- */
.consent { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); padding: 16px; }
.consent-title { margin: 0 0 6px; font-size: 22px; font-stretch: 75%; font-weight: 880; text-transform: uppercase; line-height: 1; }
.consent-text { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.consent-text a { font-weight: 700; color: var(--ink); }
.consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-buttons .btn { padding: 10px 12px; }

/* ---------- legal pages ---------- */
.legalpage { max-width: 1240px; margin: 0 auto; padding: 24px 20px 60px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--ink); border-radius: var(--r); padding: 8px; }
.legal-nav a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 4px; }
.legal-nav a:hover { background: var(--wash); }
.legal-nav a[aria-current="page"] { background: var(--hl); }
.legal { max-width: 760px; }
.legal h1 { margin: 0 0 18px; font-size: clamp(40px, 5.6vw, 68px); font-stretch: 72%; font-weight: 880; text-transform: uppercase; line-height: .92; }
.legal h2 { margin: 30px 0 10px; font-size: 24px; font-stretch: 78%; font-weight: 850; text-transform: uppercase; line-height: 1.05; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--ink); }
.choices-box { border: 2px solid var(--ink); border-radius: var(--r); background: var(--hl-soft); padding: 16px; margin: 0 0 22px; box-shadow: var(--shadow); }
.choices-status { margin: 0 0 12px !important; font-weight: 700; color: var(--ink) !important; }
.choices-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { justify-content: flex-start; }
  .receipt { max-width: 360px; }
  .sf-layout { grid-template-columns: 1fr; }
  .sf-side { position: static; }
  .legalpage { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 13px; }
  .topnav a:nth-child(3) { display: none; }
  .wordmark { font-size: 21px; }
  .home, .dealpage, .listpage { padding-left: 16px; padding-right: 16px; }
  .page-home.has-results .hero { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 24px; gap: 30px; }
  .searchbar { padding-left: 10px; }
  .searchbar .btn { padding: 10px 12px; }
  .searchbar .btn svg { display: none; }
  .hero-art { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
  .stepper li:nth-child(3) { border-left: 0; }
  .stepper li:nth-child(n + 3) { border-top: 2px solid var(--ink); }
  .sf-banner { flex-wrap: wrap; }
  .sf-banner .btn { width: 100%; }
  .mgrid, .tgrid { grid-template-columns: 1fr; }
}
