/* HonestPerks: dark editorial theme (neutral-950 + amber), fonts self-hosted under /fonts (SIL OFL). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-alt: #0e0e0f;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --line: #262626;
  --line-strong: #3a3a3a;
  --text: #f5f5f5;
  --text-2: #d4d4d4;
  --muted: #a3a3a3;
  --brand: #fbbf24;
  --brand-strong: #fcd34d;
  --brand-soft: rgba(251, 191, 36, 0.1);
  --on-brand: #0a0a0a;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, 0.12);
  --warn: #fb923c;
  --warn-soft: rgba(251, 146, 60, 0.12);
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.fade-out { opacity: 0; transform: scale(0.995); }
::selection { background: rgba(251, 191, 36, 0.25); color: var(--brand-strong); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.fine { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; }
.ok { color: var(--ok); }
.gold { color: var(--brand); }
.blue { color: var(--blue); }

/* Inline icons */
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }

/* Top strip and header */
.strip { border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 8px; padding-bottom: 8px; }
.strip strong { color: var(--text-2); font-weight: 600; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (max-width: 639px) { .strip-right { display: none; } }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10, 10, 10, 0.82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.nav a:not(.btn):hover { color: #fff; background: var(--surface); }
@media (max-width: 520px) { .nav a:not(.btn) { display: none; } }

main { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { border-color: var(--muted); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-primary { background: linear-gradient(180deg, #fcd34d, #f59e0b); border-color: transparent; color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.55); }
.btn-primary:hover { background: linear-gradient(180deg, #fde68a, #fbbf24); color: var(--on-brand); border-color: transparent; }
.btn-danger { color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.btn-small { min-height: 34px; padding: 4px 12px; font-size: 0.85rem; }

/* Forms */
label { font-weight: 600; display: block; margin-bottom: 6px; color: var(--text-2); }
input[type="email"], input[type="url"], input[type="text"], input[type="search"], input[type="number"], input[type="password"], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder, textarea::placeholder { color: #737373; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18); }
input[aria-invalid="true"] { border-color: var(--danger); }
input[type="checkbox"] { accent-color: var(--brand); }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.4em; margin: 8px 0; }
.form-error:empty { min-height: 0; margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Generic surfaces */
.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 700; color: var(--brand); margin: 0 0 10px; font-family: var(--mono); }
.accent { background: linear-gradient(90deg, #fcd34d, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.08rem; color: var(--text-2); margin: 0 0 20px; }

/* Landing hero */
.landing .hero { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.landing main { background: radial-gradient(700px 360px at 12% 0%, rgba(251, 191, 36, 0.09), transparent 70%) no-repeat, radial-gradient(600px 320px at 90% 0%, rgba(96, 165, 250, 0.05), transparent 70%) no-repeat; }
  background: radial-gradient(600px 300px at 15% 20%, rgba(251, 191, 36, 0.10), transparent 70%), radial-gradient(500px 280px at 85% 10%, rgba(96, 165, 250, 0.06), transparent 70%); }
@media (min-width: 1024px) { .landing .hero { grid-template-columns: 7fr 5fr; gap: 56px; padding-top: 64px; padding-bottom: 88px; align-items: start; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.35rem); margin: 0 0 16px; font-weight: 700; }
.pledge { display: flex; gap: 12px; align-items: flex-start; background: rgba(23, 23, 23, 0.6); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 0.88rem; color: var(--text-2); margin: 0 0 24px; }
.pledge .i { color: var(--brand); margin-top: 3px; }
.pledge p { margin: 0; }
.pledge strong { color: #fff; }

.optin { background: linear-gradient(180deg, rgba(31, 31, 31, 0.95), rgba(23, 23, 23, 0.95)); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow), 0 0 0 1px rgba(251, 191, 36, 0.04); scroll-margin-top: 90px; }
@media (min-width: 640px) { .optin { padding: 32px; } }
.optin-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.optin-head h2 { font-size: 1.2rem; margin: 0 0 4px; }
.optin-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.optin input[type="email"] { min-height: 52px; font-size: 1rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 6px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.consent label { font-weight: 400; font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.55; }
.optin .btn { margin-top: 10px; }
.optin-trust { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; font-size: 0.8rem; color: var(--muted); }
.optin-trust li { display: inline-flex; align-items: center; gap: 6px; }

.hero-side { display: grid; gap: 16px; align-content: start; }
.hero-visual { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.hero-visual img { width: 100%; height: 340px; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.15) 55%, transparent); }
.hero-visual figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; background: rgba(10, 10, 10, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 0.85rem; color: var(--text-2); }
.cap-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.cap-head strong { color: var(--brand); }
.cap-head span { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.facts li { background: rgba(23, 23, 23, 0.6); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; }
.facts strong { display: block; font-family: var(--display); font-size: 1.25rem; color: #fff; }
.facts strong.ok { color: var(--ok); }
.facts strong.gold { color: var(--brand); }
.facts span { font-size: 0.74rem; color: var(--muted); }

/* Landing sections */
.band { border-top: 1px solid #141414; padding: 64px 0; }
.band.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 8px; }
.section-head p.muted { margin: 0; }
.link-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-size: 0.92rem; }

.preview-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preview-grid { grid-template-columns: repeat(4, 1fr); } }
.mini { display: flex; flex-direction: column; background: rgba(23, 23, 23, 0.7); border: 1px solid var(--line); border-radius: 14px; padding: 12px; transition: border-color 0.2s ease, transform 0.2s ease; }
.mini:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mini .thumb-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); margin-bottom: 12px; }
.mini .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mini .meta { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.mini h3 { font-size: 1rem; margin: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini p { font-size: 0.85rem; color: var(--muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .btn { margin-top: auto; min-height: 38px; font-size: 0.85rem; background: var(--surface-2); }
.mini .btn .i { color: var(--brand); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li, .principles article { background: rgba(23, 23, 23, 0.5); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.steps h3, .principles h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.steps p, .principles p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.step-no { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; font-family: var(--mono); font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(251, 191, 36, 0.25); }
.step-no.ok { color: var(--ok); background: var(--ok-soft); border-color: rgba(52, 211, 153, 0.25); }
.step-no.blue { color: var(--blue); background: var(--blue-soft); border-color: rgba(96, 165, 250, 0.25); }
.principles { display: grid; gap: 16px; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles h3 { margin-top: 10px; }
.tag { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.tag.warn { color: var(--warn); }

.faq { border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 23, 23, 0.6); overflow: hidden; margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--brand); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }
.faq details p strong { color: var(--text-2); }

/* Thank-you, confirm, message, unsubscribe pages */
.center-page { display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px 64px; min-height: 60vh; }
.thanks { max-width: 600px; width: 100%; text-align: center; padding: 32px 24px; }
@media (min-width: 640px) { .thanks { padding: 40px; } }
.thanks h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 16px; }
.thanks form + form { margin-top: 0; }
.thanks input { margin-bottom: 12px; }
.thanks .btn { margin-top: 8px; }
.check { width: 80px; height: 80px; margin: 0 auto 16px; display: block; border-radius: 50%; background: var(--ok-soft); }
.check circle { fill: none; stroke: rgba(52, 211, 153, 0.5); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.6s ease forwards; }
.check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.4s 0.5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader { max-width: 420px; margin: 0 auto; }
.loader-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f59e0b, var(--ok)); animation: fill 2.5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.typewriter { list-style: none; padding: 0; margin: 14px auto 20px; max-width: 420px; min-height: 4.8em; color: var(--muted); font-family: var(--mono); font-size: 0.82rem; }
.promise { text-align: left; background: rgba(251, 191, 36, 0.05); border: 1px solid rgba(251, 191, 36, 0.22); border-radius: 14px; padding: 18px 20px; margin: 0 0 20px; color: var(--text-2); font-size: 0.92rem; }
.promise p { margin: 0 0 8px; }
.promise-head { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }
.promise .fine { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .check circle, .check path, .progress span { animation: none; stroke-dashoffset: 0; width: 100%; }
  body, .mini, .offer, .offer-media img { transition: none; }
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Offers directory */
.offers-page { padding-top: 28px; padding-bottom: 64px; }
.banner { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.03)); border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 14px; padding: 14px 18px; margin: 0 0 24px; color: var(--text-2); font-size: 0.92rem; }
.banner .i { color: var(--brand); margin-top: 4px; }
.banner strong { color: #fff; }
.directory-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.directory-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 4px; }
.directory-head p.muted { margin: 0; font-size: 0.9rem; }
.search { position: relative; width: 100%; max-width: 300px; margin: 0; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #737373; }
.search input { padding-left: 40px; min-height: 44px; background: var(--surface); }
@media (max-width: 639px) { .search { max-width: none; } }
.disclosure { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); background: rgba(23, 23, 23, 0.6); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 20px; }
.disclosure .i { margin-top: 3px; }
.disclosure p { margin: 0; }
.disclosure strong { color: var(--text-2); }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: max-content; max-width: 100%; }
.tab { flex: none; min-height: 38px; padding: 6px 14px; border-radius: 8px; border: 0; background: transparent; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: var(--surface-2); color: #fff; }
.tab-a[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.tab-b[aria-selected="true"] { background: var(--blue); color: var(--on-brand); }
.tab-c[aria-selected="true"] { background: var(--warn); color: var(--on-brand); }
.offer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer { display: flex; flex-direction: column; background: rgba(23, 23, 23, 0.75); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: border-color 0.2s ease, transform 0.2s ease; }
.offer:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.offer-media { position: relative; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.offer:hover .offer-media img { transform: scale(1.04); }
.offer-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.2) 50%, transparent); }
.offer-top, .offer-bottom { position: absolute; z-index: 1; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.offer-top { top: 12px; }
.offer-bottom { bottom: 10px; font-size: 0.82rem; }
.badge { background: rgba(0, 0, 0, 0.72); color: var(--brand); border: 1px solid var(--line); font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; font-family: var(--mono); }
.label { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; border: 1px solid; }
.label-a { color: #6ee7b7; background: rgba(6, 78, 59, 0.85); border-color: rgba(52, 211, 153, 0.5); }
.label-b { color: #93c5fd; background: rgba(23, 37, 84, 0.85); border-color: rgba(96, 165, 250, 0.5); }
.label-c { color: #fdba74; background: rgba(67, 20, 7, 0.88); border-color: rgba(251, 146, 60, 0.55); }
.stars { color: var(--brand); font-family: var(--mono); font-size: 0.8rem; }
.offer-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.offer-cat { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.offer h2 { font-size: 1.12rem; margin: 6px 0 6px; }
.offer:hover h2 { color: var(--brand-strong); }
.offer-desc { color: var(--text-2); font-size: 0.9rem; margin: 0 0 10px; }
.benefits { padding-left: 0; list-style: none; margin: 0 0 16px; font-size: 0.86rem; color: var(--muted); display: grid; gap: 6px; }
.benefits li { display: flex; gap: 8px; }
.benefits li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.offer .btn { margin-top: auto; }
.offer .btn-quiet { background: var(--surface-2); color: var(--brand); border-color: var(--line-strong); }
.offer .btn-blue { background: var(--blue); color: var(--on-brand); border-color: transparent; }
.offer .btn-blue:hover { background: #93c5fd; color: var(--on-brand); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; color: var(--text-2); }
.legal h1 { font-size: 2rem; }
.legal h2 { margin-top: 28px; font-size: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 44px 0 28px; color: var(--muted); }
.footer-cols { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.site-footer h2 { font-family: var(--font); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px; color: var(--text-2); }
.site-footer p, .site-footer li { font-size: 0.84rem; margin: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-base { margin: 20px 0 0 !important; text-align: center; font-size: 0.78rem; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 40; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); padding: 16px 18px; font-size: 0.88rem; color: var(--text-2); }
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Admin */
.admin .site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 16px 16px 48px; }
.admin-nav { display: flex; gap: 4px; overflow-x: auto; }
.admin-nav .tab { border: 1px solid transparent; }
.admin-main h1 { margin: 8px 0 12px; }
.admin-main h2 { margin: 28px 0 10px; font-size: 1.1rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row-between label { display: flex; align-items: center; gap: 8px; margin: 0; }
.row-between select { width: auto; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi span { display: block; color: var(--muted); font-size: 0.85rem; }
.kpi strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; font-family: var(--display); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; white-space: nowrap; color: var(--text-2); }
td { font-variant-numeric: tabular-nums; }
.setup { list-style: none; padding: 0; display: grid; gap: 8px; }
.setup li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.setup .ok strong { color: var(--ok); }
.setup .todo strong { color: var(--danger); }
.setup code { display: block; word-break: break-all; background: var(--bg); padding: 8px; border-radius: 8px; margin: 6px 0; font-size: 0.82rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 12px 0 20px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0 0 12px; }
.inline-form label { margin: 0; align-self: center; }
.inline-form input, .inline-form select { width: auto; min-width: 180px; }
.offer-admin { margin-bottom: 16px; }
.offer-admin h3 { margin: 0; }
.offer-admin.status-draft { border-left: 4px solid var(--brand); }
.offer-admin.status-active { border-left: 4px solid var(--ok); }
.offer-admin.status-paused { border-left: 4px solid #737373; }
.pill { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); }
.pill-active { background: var(--ok-soft); color: var(--ok); }
.pill-draft { background: var(--brand-soft); color: var(--brand); }
.warnings { background: var(--warn-soft); color: #fed7aa; border-radius: 10px; padding: 10px 14px 10px 30px; font-size: 0.88rem; }
.offer-form { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 12px 0; }
@media (min-width: 760px) { .offer-form { grid-template-columns: repeat(4, 1fr); } .offer-form .field:nth-last-child(-n+3) { grid-column: span 2; } }
.field { margin: 0; }
.field span { font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 6px; color: var(--text-2); }
.field input, .field select, .field textarea { font-weight: 400; }
.thumb { width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; grid-row: span 2; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 10px; z-index: 45; box-shadow: var(--shadow); font-weight: 600; }
.toast-error { background: var(--danger); color: #fff; }
.optimize { margin: 12px 0 16px; padding: 16px; }
.optimize .inline-form { margin: 8px 0 0; }
.optimize input { flex: 1; min-width: 220px; }
.ai-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; }
.ai-row input[type="url"] { flex: 1; min-width: 220px; width: auto; }
.file-label { margin: 0; position: relative; }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-label:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.ai-notes { background: var(--brand-soft); border-radius: 10px; padding: 10px 14px; margin-top: 10px; font-size: 0.9rem; }
.ai-notes p { margin: 0 0 6px; }
.ai-notes ul { margin: 0; padding-left: 18px; }
.setup-form { text-align: left; }
.setup-form h1, .setup-form .lede { text-align: center; }
.setup-form label { margin-top: 14px; }
.setup-form .btn { margin-top: 20px; }
