/* Gear Obsession — "Trailhead + Clean" design system */
:root {
  --cream: #f6f1e7; --paper: #fffdf8; --white: #fff;
  --forest: #1f3a2e; --forest-2: #2c5140; --forest-50: #e7efe9;
  --rust: #c2552b; --rust-2: #a8461f; --rust-50: #fbebe2; --peach: #f0b48f;
  --ink: #1e2321; --muted: #666b65; --line: #e7e0d2; --line-2: #d9d0bf;
  --red: #b42318; --red-50: #fdf0ee; --focus: #2a6fdb;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 18px 40px -26px rgba(31, 58, 46, .45);
  --shadow-hover: 0 14px 30px -20px rgba(30, 35, 33, .55);
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--forest-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.1; color: var(--forest); }
.serif, h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 18px; font-family: var(--sans); font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px;
  font: 600 15px/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-forest { background: var(--forest); color: #fff; } .btn-forest:hover { background: var(--forest-2); color: #fff; }
.btn-rust { background: var(--rust); color: #fff; } .btn-rust:hover { background: var(--rust-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); } .btn-ghost:hover { background: rgba(31, 58, 46, .06); color: var(--ink); }
.btn-outline { background: var(--paper); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; background: var(--forest); border-radius: var(--r-sm); padding: 6px 10px; flex: none; }
.brand img { height: 28px; width: auto; }
.site-nav { display: flex; gap: 24px; font-weight: 500; font-size: 15px; }
.site-nav a { color: #4a504b; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; width: 240px; }
.header-search input { border: 0; outline: 0; font: inherit; font-size: 14px; min-width: 0; flex: 1; background: transparent; }
.header-search button { border: 0; background: transparent; color: var(--muted); padding: 6px 8px; cursor: pointer; }
.icon { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .site-nav, .header-search { display: none; } .site-header .wrap { gap: 12px; } }
@media (max-width: 420px) { .header-right .btn-ghost { padding: 9px 10px; } }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .mobile-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
  .mobile-nav a { flex: none; font-size: 14px; font-weight: 500; color: #3d433f; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 44px; }
.sun { position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, #efd6ad 0, rgba(246, 241, 231, 0) 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { margin: 12px 0 16px; }
.lead { font-size: 18px; color: #4f554f; max-width: 32em; }
.collage { position: relative; height: 380px; }
.tile { position: absolute; width: 200px; background: var(--white); border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(30, 35, 33, .5); padding: 16px 18px; text-decoration: none; color: inherit; transition: transform .2s; }
.tile:hover { transform: translateY(-4px) rotate(0) !important; color: inherit; }
.tile .lg { height: 56px; display: flex; align-items: center; justify-content: center; }
.tile .lg img { max-height: 50px; max-width: 150px; object-fit: contain; }
.tile .rate { margin-top: 8px; font-size: 24px; }
.t1 { top: 0; left: 30px; transform: rotate(-4deg); } .t2 { top: 30px; right: 0; transform: rotate(3deg); }
.t3 { bottom: 20px; left: 0; transform: rotate(2deg); } .t4 { bottom: 0; right: 40px; transform: rotate(-2deg); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .collage { display: none; } .hero { padding: 40px 0 32px; } }

/* ---------- search + chips ---------- */
.search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 7px 7px 7px 18px; box-shadow: var(--shadow); margin-top: 26px; }
.search .icon { color: var(--muted); }
.search input, .search input[type=search] { flex: 1; min-width: 0; border: 0; outline: 0; box-shadow: none; padding: 6px 0; font: inherit; font-size: 17px; background: transparent; }
.search:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 58, 46, .12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 15px;
  font-size: 14px; font-weight: 500; color: #3d433f; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .count { color: var(--muted); font-size: 12px; }
.chip[aria-current="page"] .count { color: #c3d1c8; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.trust b { color: var(--forest); }

/* ---------- sections ---------- */
.section { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--rust); font-weight: 600; font-size: 15px; text-decoration: none; }
.section-head a:hover { color: var(--rust-2); }

/* ---------- store rows ---------- */
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .store-grid { grid-template-columns: 1fr; } }
.store-row { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px;
  text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; min-width: 0; }
.store-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.logo-box { width: 78px; height: 52px; flex: none; background: var(--white); border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; }
.logo-box img { max-width: 88%; max-height: 80%; object-fit: contain; }
.logo-fallback { font-family: var(--serif); font-weight: 700; color: var(--forest); font-size: 13px; text-align: center; line-height: 1.1; padding: 4px; }
.store-row .info { min-width: 0; }
.store-row .name { font-weight: 600; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--forest); line-height: 1.2; }
.rate small { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--muted); }
.was { font-family: var(--sans); text-decoration: line-through; color: var(--muted); font-size: 13px; font-weight: 500; margin-left: 4px; }
.time-left { display: inline-block; margin-top: 3px; background: var(--rust-50); color: var(--rust); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.hot { background: #fff7f1; border-color: #ecc2aa; }
.hot .rate, .tile.hot .rate { color: var(--rust); }

/* ---------- A–Z ---------- */
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 20px; }
.letters a, .letters span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; }
.letters a { background: var(--paper); border: 1px solid var(--line); color: var(--forest); }
.letters a:hover { border-color: var(--forest); }
.letters span { color: #c4bcae; }
.letter-group { margin-top: 26px; scroll-margin-top: 90px; }
.letter-group h3 { font-family: var(--serif); font-size: 24px; color: var(--forest); margin: 0 0 12px; }

/* ---------- band + cta ---------- */
.band { background: var(--forest); color: #e9efe9; border-radius: 26px; padding: 48px 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 24px 0; }
.band h2 { color: #fff; grid-column: 1 / -1; margin: 0; }
.step .n { font-family: var(--serif); font-size: 42px; color: var(--peach); line-height: 1; }
.step h3 { margin: 8px 0 4px; font-size: 19px; color: #fff; }
.step p { margin: 0; color: #c3d1c8; }
.band a { color: #fff; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 32px; gap: 22px; } }
.cta-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-card h2 { margin: 0 0 6px; }
.cta-card p { margin: 0; color: var(--muted); }

/* ---------- page head ---------- */
.page-head { padding: 44px 0 8px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { margin: 0; }
.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.filters .search { margin: 0; max-width: 380px; box-shadow: none; padding: 5px 5px 5px 14px; }
.filters .search input[type=search] { font-size: 15px; }

/* ---------- store page ---------- */
.store-head { display: flex; gap: 20px; align-items: center; padding: 36px 0 8px; }
.store-head .logo-box { width: 140px; height: 88px; border: 1px solid var(--line); border-radius: var(--r); }
.store-head .logo-box img { max-width: 86%; max-height: 80%; }
.store-head h1 { margin: 0 0 6px; overflow-wrap: anywhere; }
.store-head > div:last-child { min-width: 0; }
.store-head .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.store-head .chip { padding: 3px 11px; font-size: 13px; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding: 20px 0 32px; }
.offer-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: sticky; top: 88px; box-shadow: var(--shadow); }
.offer-card.hot { background: #fff7f1; border-color: #ecc2aa; }
.offer-card .rate { font-size: 52px; line-height: 1; }
.offer-card .was { font-size: 18px; }
.offer-card .label { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.offer-card .ends { color: var(--rust); font-weight: 600; font-size: 14px; margin-top: 10px; }
.offer-card .btn { margin-top: 18px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.facts li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.facts li::before { content: "✓"; color: var(--forest); font-weight: 700; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--forest-50); color: var(--forest); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.about { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 20px; }
.about h2 { font-size: 24px; }
@media (max-width: 860px) { .store-layout { grid-template-columns: minmax(0, 1fr); } .offer-card { position: static; order: -1; } .store-head .logo-box { width: 100px; height: 64px; } }

/* ---------- auth + forms ---------- */
.auth { position: relative; overflow: hidden; min-height: calc(100vh - 68px); display: grid; place-items: start center; padding: 48px 16px 64px; }
.auth .sun { right: auto; left: 55%; }
.auth-card { position: relative; width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 32px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 18px; }
.auth-swap { text-align: center; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 58, 46, .12); }
.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; background: var(--forest-50); color: #1d3a2c; border: 1px solid #cfe0d4; font-size: 15px; }
.alert.err { background: var(--red-50); border-color: #f2c9c3; color: #7a1d14; }
.alert.warn { background: var(--rust-50); border-color: #efc7b1; color: #7a3416; }
.alert form { display: inline; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.social { display: grid; gap: 10px; }
.social .btn { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.social .btn:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice label { margin: 0; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px; font-weight: 600; cursor: pointer; display: flex; gap: 8px; align-items: center; background: var(--white); }
.choice label:has(input:checked) { border-color: var(--forest); background: var(--forest-50); }
.choice input { accent-color: var(--forest); }
@media (max-width: 420px) { .choice { grid-template-columns: 1fr; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--forest); text-decoration: underline; cursor: pointer; }

/* ---------- join pop-up ---------- */
dialog.join { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; padding: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
dialog.join::backdrop { background: rgba(23, 33, 28, .55); backdrop-filter: blur(3px); }
.join-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.join-close:hover { background: rgba(0, 0, 0, .12); }
.join-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.join-pitch { background: var(--forest); color: #dfe8e2; padding: 40px 34px; position: relative; overflow: hidden; }
.join-pitch .sun { right: -220px; top: auto; bottom: -260px; opacity: .25; }
.join-pitch img { height: 40px; width: auto; margin-bottom: 26px; }
.join-pitch h2 { color: #fff; font-size: 32px; }
.join-pitch ul { list-style: none; padding: 0; margin: 20px 0 0; }
.join-pitch li { display: flex; gap: 10px; padding: 7px 0; }
.join-pitch li::before { content: "✓"; color: var(--peach); font-weight: 700; }
.join-forms { padding: 30px 34px 32px; }
.tabs { display: flex; gap: 4px; background: #efe8da; border-radius: 999px; padding: 4px; margin: 0 40px 6px 0; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 9px 12px; font: 600 15px var(--sans); color: #4f554f; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--forest); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
@media (max-width: 720px) { .join-grid { grid-template-columns: 1fr; } .join-pitch { padding: 26px 24px 20px; } .join-pitch img { margin-bottom: 12px; height: 32px; } .join-pitch h2 { font-size: 24px; } .join-pitch ul { display: none; } .join-forms { padding: 22px 22px 26px; } .tabs { margin-right: 0; } }

/* ---------- account ---------- */
.acct-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding: 36px 0 18px; }
.acct-head h1 { margin: 0; }
.balances { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 14px; }
.balance { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.balance b { display: block; font-family: var(--serif); font-size: 30px; color: var(--forest); line-height: 1.1; }
.balance span { font-size: 14px; color: var(--muted); }
.balance.main { background: var(--forest); border-color: var(--forest); }
.balance.main b { color: #fff; font-size: 38px; }
.balance.main span { color: #c3d1c8; }
@media (max-width: 860px) { .balances { grid-template-columns: 1fr 1fr; } .balance.main { grid-column: 1 / -1; } }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 28px; }
@media (max-width: 960px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 20px; }
.panel h2 { font-size: 22px; margin-bottom: 12px; }
.panel .sub { color: var(--muted); font-size: 14px; margin: -6px 0 12px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .logo-box { width: 56px; height: 38px; }

.list .what { flex: 1; min-width: 0; }
.list .what b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .what span { font-size: 13px; color: var(--muted); }
.list .amt { text-align: right; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--forest); white-space: nowrap; }
.list .amt.neg { color: var(--muted); }
.list .amt .pill { display: block; margin-top: 3px; font-family: var(--sans); }
.pill { display: inline-block; font: 600 12px/1.6 var(--sans); padding: 1px 9px; border-radius: 999px; background: #efe8da; color: #4f554f; white-space: nowrap; }
.pill.ok { background: var(--forest-50); color: var(--forest); }
.pill.warn { background: var(--rust-50); color: var(--rust); }
.pill.bad { background: var(--red-50); color: var(--red); }
.empty { color: var(--muted); padding: 8px 0; }
.copy { display: flex; gap: 8px; }
@media (max-width: 560px) {
  .store-head h1 { font-size: 30px; }
  .list li { flex-wrap: wrap; row-gap: 6px; }
  .list .amt { width: 100%; padding-left: 70px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
  .list .amt .pill { display: inline-block; margin: 0; white-space: normal; text-align: right; }
  .panel { padding: 18px; }
}
.copy input { flex: 1; min-width: 0; font-size: 15px; }

/* ---------- prose ---------- */
.prose-page { padding: 40px 0 24px; }
.prose { max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 44px; }
.prose h1 { margin-bottom: 14px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose li { margin: 4px 0; }
@media (max-width: 600px) { .prose { padding: 26px 22px; } }
.notice { max-width: 520px; margin: 56px auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 32px; }
code { font-size: 14px; background: #efe8da; padding: 1px 6px; border-radius: 6px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--paper); padding: 44px 0 36px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 10px; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--forest); }
.site-footer .brand { display: inline-flex; margin-bottom: 12px; }
.site-footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- home promo banners ---------- */
.hero-promo { position: relative; margin: 20px 0 0; border-radius: 26px; overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 420px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.focus-left .hero-img { object-position: left center; } .focus-right .hero-img { object-position: right center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 28, 22, .78) 0%, rgba(16, 28, 22, .45) 45%, rgba(16, 28, 22, 0) 75%); }
.theme-dark .hero-shade { background: linear-gradient(90deg, rgba(255, 253, 248, .92) 0%, rgba(255, 253, 248, .6) 45%, rgba(255, 253, 248, 0) 75%); }
.hero-copy { position: relative; padding: 44px 56px; max-width: 600px; color: #fff; }
.theme-dark .hero-copy { color: var(--ink); }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); margin-bottom: 8px; }
.theme-dark .hero-eyebrow { color: var(--rust); }
.hero-title { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; color: #fff; margin: 0 0 12px; }
.theme-dark .hero-title { color: var(--forest); }
.hero-sub { font-size: 18px; margin: 0 0 22px; opacity: .92; max-width: 30em; }
.hero-store { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 6px 14px 6px 6px; margin-bottom: 16px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.hero-logo { width: 54px; height: 34px; border-radius: 999px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hero-logo img { max-width: 46px; max-height: 26px; object-fit: contain; }
.hero-rate { font-family: var(--serif); font-weight: 700; color: var(--rust); font-size: 18px; }
.hero-rate small { font-family: var(--sans); font-weight: 600; font-size: 12px; color: var(--muted); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--forest); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 14px; } .hero-next { right: 14px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s; }
.hero-dot[aria-current="true"] { width: 26px; background: #fff; }
@media (max-width: 760px) {
  .hero-promo { border-radius: 18px; margin-top: 12px; }
  .hero-slide { min-height: 380px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(16, 28, 22, .85) 0%, rgba(16, 28, 22, .5) 55%, rgba(16, 28, 22, .05) 100%); }
  .theme-dark .hero-shade { background: linear-gradient(0deg, rgba(255, 253, 248, .95) 0%, rgba(255, 253, 248, .7) 55%, rgba(255, 253, 248, .1) 100%); }
  .hero-copy { padding: 22px 20px 40px; }
  .hero-sub { font-size: 16px; margin-bottom: 16px; }
  .hero-arrow { display: none; }
}
/* search strip under the banner */
.search-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 22px; margin-top: 16px; }
.search-strip .search { margin: 0; box-shadow: none; max-width: none; }
.search-strip .chips { margin-top: 12px; }
.search-strip .trust { margin: 0; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .search-strip { grid-template-columns: minmax(0, 1fr); } .search-strip .trust { flex-direction: row; } }

/* ---------- hand-off screen (/go/:slug) ---------- */
body.handoff { background: var(--cream, #f6f1e7); min-height: 100vh; }
.handoff-main { max-width: 640px; margin: 0 auto; padding: 56px 16px 48px; text-align: center; }
.handoff-logos { display: flex; justify-content: center; margin-bottom: 28px; }
.handoff-circle { width: 132px; height: 132px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(31, 58, 46, .12); overflow: hidden; padding: 18px; }
.handoff-circle + .handoff-circle { margin-left: -14px; }
.handoff-circle.go { background: var(--forest, #1f3a2e); }
.handoff-circle img { max-width: 100%; max-height: 100%; object-fit: contain; }
.handoff-name { font: 700 18px/1.2 var(--serif, Georgia, serif); color: var(--forest, #1f3a2e); }
.handoff h1 { font: 700 clamp(28px, 6vw, 42px)/1.15 var(--serif, Georgia, serif); color: var(--forest, #1f3a2e); margin: 0 0 6px; }
.handoff-rate { color: var(--rust, #c2552b); white-space: nowrap; }
.handoff-at { font-size: 20px; margin: 0 0 20px; }
.handoff-status { color: #5d635d; margin: 0 0 16px; }
.handoff-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #c9c2b4; border-top-color: var(--forest, #1f3a2e);
  border-radius: 50%; vertical-align: -2px; margin-right: 6px; animation: handoff-spin .8s linear infinite; }
@keyframes handoff-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .handoff-spinner { animation: none; } }
.handoff-terms { text-align: left; background: #fff; border-radius: 16px; padding: 22px 24px; margin-top: 32px; box-shadow: 0 2px 10px rgba(31, 58, 46, .06); }
.handoff-terms h2 { font: 600 17px/1.3 var(--sans, Inter, sans-serif); margin: 0 0 10px; }
.handoff-terms ul { margin: 0; padding-left: 20px; }
.handoff-terms li { margin: 6px 0; line-height: 1.5; }
@media (max-width: 480px) { .handoff-circle { width: 104px; height: 104px; padding: 14px; } .handoff-main { padding-top: 36px; } }

/* ---------- shopping trips with their orders (account) ---------- */
.list.trips li { display: block; }
.trip-head { display: flex; align-items: center; gap: 14px; }
.trip-orders { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 10px 0 2px; font-size: 14px; background: var(--paper, #fffdf8); border-radius: 10px; overflow: hidden; }
.trip-orders th { text-align: left; font: 600 12px/1.4 var(--sans); color: var(--muted); padding: 8px 10px; background: #f3ede1; }
.trip-orders td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.trip-orders .n { text-align: right; white-space: nowrap; }
.trip-orders .ref { font-variant-numeric: tabular-nums; word-break: break-all; }
.trip-orders th:nth-child(1) { width: 27%; } .trip-orders th:nth-child(2) { width: 17%; } .trip-orders th:nth-child(3) { width: 16%; }
.trip-orders th:nth-child(4) { width: 14%; } .trip-orders th:nth-child(5) { width: 26%; }
.trip-none { margin: 8px 0 0 70px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .trip-orders, .trip-orders tbody, .trip-orders tr, .trip-orders td { display: block; width: 100%; }
  .trip-orders { table-layout: auto; }
  .trip-orders tr:first-child { display: none; }
  .trip-orders tr { border-top: 1px solid var(--line); padding: 6px 0; }
  .trip-orders td { border: 0; padding: 3px 10px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .trip-orders td::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; }
  .trip-none { margin-left: 0; }
  .trip-head { flex-wrap: wrap; row-gap: 6px; }
}
