/* ──
   Dealivery design system. Change the brand colors in :root to re-theme the site.
   ── */
:root {
  --bg: #fffaf3;
  --bg-2: #fff3e6;
  --surface: #ffffff;
  --ink: #17171c;
  --ink-2: #3a3b45;
  --muted: #6b6e7b;
  --line: #eee4d6;
  --line-2: #e3d6c4;
  --brand: #ff5a1f;
  --brand-600: #ec4a10;
  --brand-700: #c23b0b;
  --brand-50: #fff1ea;
  --brand-100: #ffe2d3;
  --green: #0a8f5b;
  --green-50: #e7f7ef;
  --amber-50: #fff7e0;
  --amber: #9a6700;
  --dark: #141419;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 28, 0.06), 0 1px 1px rgba(23, 23, 28, 0.04);
  --shadow: 0 12px 32px -14px rgba(23, 23, 28, 0.2), 0 2px 6px rgba(23, 23, 28, 0.05);
  --shadow-lg: 0 34px 70px -28px rgba(194, 59, 11, 0.45), 0 8px 24px -12px rgba(23, 23, 28, 0.18);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 850; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 820; }
h3 { font-size: 1.15rem; font-weight: 760; }
p { margin: 0 0 1em; }
small, .small { font-size: 0.86rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(255, 90, 31, 0.45); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ── Buttons ── */
.btn {
  --b: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--b); color: var(--ink); font: 650 0.97rem/1.2 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--ink); border-color: var(--ink-2); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(236, 74, 16, 0.8); }
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; border-color: #000; }
.btn-ghost { background: transparent; }
.btn-soft { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.btn-soft:hover { color: var(--brand-700); border-color: var(--brand); }
.btn-lg { padding: 15px 24px; font-size: 1.05rem; }
.btn-sm { padding: 7px 13px; font-size: 0.88rem; }
.btn-link { background: none; border: 0; padding: 0; color: var(--brand-700); font: inherit; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.w-full { width: 100%; }

/* ── Pills & badges ── */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
}
.pill .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.02em; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge-best { background: var(--green); color: #fff; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-brand { background: var(--brand-50); color: var(--brand-700); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-dark { background: var(--dark); color: #fff; }
.pdot { width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--muted)); flex: none; }

/* ── Site header ── */
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(160%) blur(12px);
  background: rgba(255, 250, 243, 0.82); border-bottom: 1px solid rgba(238, 228, 214, 0.8);
}
.site-header .container { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 1.22rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a.active { background: var(--bg-2); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .site-header .nav { display: none; } }
@media (max-width: 420px) { .header-actions .btn-ghost { display: none; } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.16), rgba(255, 90, 31, 0)); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em; background: var(--brand-100); z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero-note { color: var(--muted); font-size: 0.92rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Mock result card used on the landing page */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  box-shadow: var(--shadow-lg); transform: rotate(0.6deg); max-width: 500px; margin-left: auto;
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head b { font-size: 1rem; }
.mock-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); margin-top: 8px; }
.mock-row.best { border-color: rgba(10, 143, 91, 0.4); background: linear-gradient(0deg, var(--green-50), #fff); }
.mock-row .name { font-weight: 700; }
.mock-row .how { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.mock-row .amt { font-weight: 800; font-size: 1.12rem; font-variant-numeric: tabular-nums; text-align: right; }
.mock-row .amt s { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.mock-save { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--dark); color: #fff; display: flex; justify-content: space-between; align-items: center; font-weight: 650; }
.mock-save b { color: #7ff0bd; font-size: 1.15rem; }
.mock-foot { margin-top: 10px; font-size: 0.75rem; color: var(--muted); text-align: center; }

/* ── Sections ── */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--dark); color: #e9e9ee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 10px; }
.strip { padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); }
.strip .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; color: var(--muted); font-weight: 700; }
.strip .container span.sep { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-weight: 850; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.96rem; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.fee-list { list-style: none; padding: 0; margin: 0; }
.fee-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.fee-list li b { color: #fff; font-variant-numeric: tabular-nums; }
.fee-list li.total { border-bottom: 0; font-size: 1.15rem; }
.fee-list li.total b { color: #ffb08f; }
@media (max-width: 820px) { .fees-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan.pro .ribbon { position: absolute; top: -13px; left: 30px; }
.plan .price { font-size: 3rem; font-weight: 850; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 4px; }
.plan .price span { font-size: 1rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.plan li.off { color: var(--muted); }
.plan li.off svg { color: var(--line-2); }
.plan .btn { margin-top: auto; }
.plan .fine { margin-top: 12px; font-size: 0.84rem; color: var(--muted); text-align: center; }
@media (max-width: 780px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 500; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #ff7a3d 100%); color: #fff; border-radius: 28px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: 0.92; }
.cta-band .btn { background: #fff; color: var(--brand-700); border-color: #fff; }

/* Footer */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.disclaimer { margin-top: 22px; font-size: 0.8rem; color: var(--muted); max-width: 900px; }

/* ── Forms ── */
label, .label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink-2); }
input[type='text'], input[type='email'], input[type='password'], input[type='number'], input[type='search'], input:not([type]), select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font: 500 1rem/1.3 var(--font); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.money { position: relative; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 650; }
.money input { padding-left: 28px; }
.check { display: flex; align-items: center; gap: 9px; font-weight: 550; font-size: 0.93rem; color: var(--ink-2); margin: 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.seg { display: flex; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { flex: 1; border: 0; background: transparent; padding: 9px 10px; border-radius: 9px; font: 700 0.92rem var(--font); color: var(--muted); cursor: pointer; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 12px; font: 650 0.85rem var(--font); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
details.more { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; margin-bottom: 14px; background: #fff; }
details.more > summary { cursor: pointer; padding: 13px 0; font-weight: 700; font-size: 0.93rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: '▾'; color: var(--muted); }
details.more[open] > summary::after { content: '▴'; }
details.more .inner { padding: 2px 0 14px; }
.mem-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mem-row:last-child { border-bottom: 0; }
.mem-row .who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.93rem; }
.perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin-top: 6px; }
@media (max-width: 520px) { .perk-grid, .field-row, .mem-row { grid-template-columns: 1fr; } }
.exact-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.exact-row input { padding: 8px 9px; font-size: 0.88rem; border-radius: 9px; }
.exact-head span { font-size: 0.72rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.exact-name { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: 0.84rem; }
.form-error { color: #b42318; font-weight: 600; font-size: 0.9rem; margin: 8px 0 0; }
.form-ok { color: var(--green); font-weight: 600; font-size: 0.9rem; margin: 8px 0 0; }

/* ── App ── */
.app-tabs { display: flex; gap: 4px; margin-left: 8px; }
.app-tabs a { padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 650; font-size: 0.95rem; }
.app-tabs a.active { background: var(--dark); color: #fff; }
@media (max-width: 640px) {
  .app-tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; margin: 0; justify-content: space-around; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .app-tabs a { flex: 1; text-align: center; }
  body.app { padding-bottom: 72px; }
  /* backdrop-filter would make the header the containing block for the fixed tab bar */
  body.app .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}
@media (max-width: 360px) { .site-header .brand span.word { display: none; } }
.banner { background: var(--amber-50); color: var(--amber); border-bottom: 1px solid #f1dfa6; font-size: 0.9rem; font-weight: 600; }
.banner .container { padding-top: 9px; padding-bottom: 9px; }
.banner.info { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.view { padding: 28px 0 60px; }
.compare-grid { display: grid; grid-template-columns: minmax(320px, 430px) 1fr; gap: 26px; align-items: start; }
@media (max-width: 940px) { .compare-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.panel h1 { font-size: 1.6rem; margin-bottom: 4px; }
.panel .sub { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }
.sticky-panel { position: sticky; top: 86px; }
@media (max-width: 940px) { .sticky-panel { position: static; } }
.nearby-box { border: 1px dashed var(--line-2); border-radius: 14px; padding: 12px; margin-bottom: 16px; background: var(--bg); }
.nearby-row { display: flex; gap: 8px; align-items: center; }
.nearby-row input { max-width: 120px; padding: 9px 12px; }
.nearby-row .or { color: var(--muted); font-size: 0.85rem; }
.nearby-list { display: grid; gap: 6px; margin-top: 10px; max-height: 260px; overflow: auto; }
.place { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; text-align: left; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; cursor: pointer; font: inherit; color: var(--ink); }
.place:hover, .place.active { border-color: var(--brand); background: var(--brand-50); }
.place b { display: block; font-size: 0.93rem; }
.place small { color: var(--muted); }
.attrib { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }

.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.results-head h2 { font-size: 1.55rem; margin: 0; }
.results-head p { margin: 4px 0 0; color: var(--muted); }
.save-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: var(--dark); color: #fff; margin-bottom: 14px; }
.save-banner b { color: #7ff0bd; font-size: 1.3rem; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rank-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.rank-card.best { border: 2px solid var(--green); box-shadow: 0 18px 40px -22px rgba(10, 143, 91, 0.55); }
.rank-top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.rank-top .pos { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); font-weight: 850; color: var(--ink-2); }
.rank-card.best .pos { background: var(--green); color: #fff; }
.rank-top h3 { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rank-top .meta { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.rank-top .total { text-align: right; font-weight: 850; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rank-top .total s { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.applied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: var(--green-50); color: #075e3d; font-size: 0.83rem; font-weight: 650; }
.tag.mem { background: #eef0ff; color: #3b3fa8; }
.tag.credit { background: #f3eefe; color: #5b2fb3; }
.tag.note { background: var(--bg-2); color: var(--ink-2); }
.code-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--brand); background: var(--brand-50); color: var(--brand-700); border-radius: 10px; padding: 6px 11px; font: 800 0.9rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; cursor: pointer; }
.code-btn:hover { background: var(--brand-100); }
.code-btn .act { font: 700 0.75rem var(--font); letter-spacing: 0; opacity: 0.8; }
.code-btn.locked { border-style: solid; background: var(--dark); color: #fff; border-color: var(--dark); font: 750 0.85rem var(--font); letter-spacing: 0; text-decoration: none; }
.code-btn.locked:hover { background: #000; color: #fff; }
.code-btn.locked svg { width: 14px; height: 14px; }
details.breakdown { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
details.breakdown > summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); padding: 8px 0; list-style: none; }
details.breakdown > summary::-webkit-details-marker { display: none; }
details.breakdown > summary::before { content: '▸ '; color: var(--muted); }
details.breakdown[open] > summary::before { content: '▾ '; }
.bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .bd-grid { grid-template-columns: 1fr; } }
table.bd { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
table.bd td { padding: 6px 0; border-bottom: 1px solid var(--line); }
table.bd td:last-child { text-align: right; font-weight: 650; white-space: nowrap; padding-left: 12px; vertical-align: top; }
table.bd tr.neg td:last-child { color: var(--green); }
table.bd tr.sum td { font-weight: 850; border-bottom: 0; font-size: 1rem; }
table.bd small { display: block; color: var(--muted); font-size: 0.76rem; }
ol.how { margin: 0; padding-left: 20px; font-size: 0.9rem; display: grid; gap: 8px; }
ol.how li small { display: block; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tips { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.tips h3 { margin-bottom: 10px; }
.tips ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.tips li .ti { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-weight: 900; font-size: 0.8rem; }
.suggest { margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.suggest .chips { margin-top: 8px; }
.empty-state { text-align: center; padding: 50px 24px; border: 2px dashed var(--line-2); border-radius: 22px; color: var(--muted); background: rgba(255, 255, 255, 0.5); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--brand); }
.empty-state h3 { color: var(--ink); }
.fineprint { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.upsell { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--brand); background: linear-gradient(120deg, #fff, var(--brand-50)); }
.upsell b { font-size: 1.05rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Deals view */
.deals-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.deals-head h1 { font-size: 2rem; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters select, .filters input { width: auto; min-width: 150px; padding: 10px 12px; }
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.deal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.deal-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.84rem; font-weight: 700; color: var(--ink-2); }
.deal h3 { font-size: 1.02rem; margin: 0; }
.deal p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.deal .conds { display: flex; flex-wrap: wrap; gap: 6px; }
.deal .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.deal .src { font-size: 0.78rem; color: var(--muted); }

/* Account */
.account-card { max-width: 620px; margin: 0 auto; }
.status-box { padding: 16px; border-radius: 14px; background: var(--bg-2); margin: 14px 0; }
.status-box.pro { background: var(--green-50); }
.status-box b { display: block; font-size: 1.05rem; }
.ref-box { display: flex; gap: 8px; }
.ref-box input { font-size: 0.9rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.85rem; margin: 14px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tabs-mini { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs-mini button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 700 0.92rem var(--font); cursor: pointer; color: var(--muted); }
.tabs-mini button.active { border-color: var(--ink); color: var(--ink); }
.g-btn svg { width: 18px; height: 18px; }

/* Modal & toast */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(20, 20, 25, 0.55); backdrop-filter: blur(3px); }
.modal-card { width: 100%; max-width: 460px; max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5); position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.modal-card h2 { font-size: 1.6rem; }
.modal-card ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 14px 0 18px; }
.modal-card li { display: flex; gap: 9px; }
.modal-card li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 650; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
@media (max-width: 640px) { .toast { bottom: 86px; } }

/* SEO / content pages */
.page-hero { padding: 54px 0 30px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font-size: 0.95rem; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { background: var(--bg-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
table.compare td.num { font-variant-numeric: tabular-nums; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.promo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.promo-post { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.promo-post pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 500 0.95rem/1.5 var(--font); margin: 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; }
