/* Rentkada design system
 * Palette: Kada Teal (primary/trust), Mango (main buttons/promos), Ink Navy (text),
 * Sampaguita Cream (section backgrounds), Verified Green (badges), Coral (warnings).
 * Fonts: Plus Jakarta Sans (headings), Inter (body). Mobile first. */
:root {
  --teal: #0b6e63;
  --teal-dark: #08544b;
  --teal-tint: #e3f1ee;
  --mango: #f6a21e;
  --mango-dark: #e08e0b;
  --mango-tint: #fef1d8;
  --ink: #10233f;
  --ink-2: rgba(16, 35, 63, 0.7);
  --ink-3: rgba(16, 35, 63, 0.48);
  --cream: #fff8ec;
  --surface: #ffffff;
  --bg: #ffffff;
  --line: rgba(16, 35, 63, 0.13);
  --rule: rgba(16, 35, 63, 0.07);
  --green: #1f9d55;
  --green-tint: #e5f5eb;
  --coral: #e4572e;
  --coral-tint: #fdece6;
  --radius: 16px;
  --radius-sm: 12px;
  --head: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(16, 35, 63, 0.05), 0 10px 28px -14px rgba(16, 35, 63, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
img, svg { max-width: 100%; }
b, strong { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 3.4vw + 1rem, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 8px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 200; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--ink-2); }
.small { font-size: 0.88rem; }
.fine { font-size: 0.85rem; color: var(--ink-2); margin: 14px 0 0; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 18px; height: 18px; }
.i.xs { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--mango); color: var(--ink); font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.1s, box-shadow 0.15s; white-space: nowrap; }
.btn:hover { background: var(--mango-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.teal { background: var(--teal); color: #fff; }
.btn.teal:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--rule); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn.block { width: 100%; }
.link-btn { all: unset; color: var(--teal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Strip, header, search ---------- */
.strip { background: var(--teal); color: #fff; font-size: 0.84rem; text-align: center; padding: 8px 16px; }
.strip a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.hdr-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.3rem/1 var(--head); letter-spacing: -0.03em; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark rect { fill: var(--teal); }
.brand-mark path { stroke: #fff; }
.brand-mark circle { fill: var(--mango); }
.search { display: flex; align-items: stretch; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; max-width: 680px; width: 100%; justify-self: center; transition: border-color 0.15s, box-shadow 0.15s; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.search select { border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2310233f' stroke-opacity='.5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink-2); font: 500 0.88rem var(--body); padding: 0 30px 0 18px; max-width: 190px; border-right: 1px solid var(--rule); cursor: pointer; appearance: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 1rem var(--body); padding: 12px 14px; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus, .search select:focus { outline: none; }
.search button { border: 0; background: var(--teal); color: #fff; padding: 0 20px; cursor: pointer; display: grid; place-items: center; min-width: 52px; }
.search button:hover { background: var(--teal-dark); }
.hdr-links { display: flex; align-items: center; gap: 4px; }
.hdr-links a:not(.btn) { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); padding: 10px 10px; border-radius: 999px; }
.hdr-links a:not(.btn):hover, .hdr-links a[aria-current="page"] { color: var(--ink); background: var(--rule); }
@media (max-width: 1080px) { .hdr-links a:not(.btn) { display: none; } }
@media (max-width: 860px) {
  .hdr-row { grid-template-columns: auto 1fr; gap: 10px; min-height: 0; padding: 10px 0; }
  .hdr-links { display: none; }
  .hdr .brand span { display: none; }
  .search select { display: none; }
  .search input { padding: 11px 12px; }
}
.preview-bar { background: var(--mango-tint); color: var(--ink); font-size: 0.86rem; border-bottom: 1px solid rgba(224, 142, 11, 0.25); }
.preview-bar .wrap { display: flex; gap: 8px; align-items: flex-start; padding: 10px 0; }
.preview-bar .i { color: var(--mango-dark); margin-top: 2px; }

/* ---------- Mobile tab bar with sticky CTA ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 80px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; min-height: 52px; align-content: end; padding: 4px 2px; text-decoration: none; font-size: 0.7rem; font-weight: 500; color: var(--ink-3); }
  .tabbar a[aria-current="page"] { color: var(--teal); }
  .tabbar .fab { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; background: var(--mango); color: var(--ink); box-shadow: 0 8px 18px -6px rgba(224, 142, 11, 0.7); border: 3px solid #fff; }
  .tabbar .cta-tab { color: var(--ink); font-weight: 700; }
  body.has-buybar .tabbar { display: none; }
  body.has-buybar { padding-bottom: 96px; }
}

/* ---------- Sections ---------- */
.sec { padding: 32px 0; }
.sec.cream { background: var(--cream); }
.sec.pad { padding: 48px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head a { font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-head a:hover { text-decoration: underline; }
.sub { color: var(--ink-2); max-width: 44em; margin: 8px 0 0; }
.eyebrow { font: 700 0.76rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.callout { background: var(--cream); border-radius: var(--radius); padding: 16px 18px; }
.callout.warn { background: var(--coral-tint); color: #8a2c12; }
.callout.teal { background: var(--teal-tint); }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); margin: -4px 0 16px; }
.note .i { width: 17px; height: 17px; margin-top: 2px; color: var(--mango-dark); }
.page-head { padding: 28px 0 8px; }
.page-head .sub { font-size: 1.05rem; }
.pill { display: inline-block; font: 700 0.7rem/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; background: var(--cream); color: var(--ink-2); border-radius: 999px; padding: 6px 10px; vertical-align: middle; }
.pill.mango { background: var(--mango-tint); color: #8a5300; }
.pill.teal { background: var(--teal-tint); color: var(--teal); }

/* ---------- Badges, stars, payment chips ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: 0.68rem; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.badge.ex { color: var(--ink-2); background: var(--rule); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.6rem; }
.badge.pending { color: var(--ink-2); background: var(--rule); }
.badge.teal { color: var(--teal); background: var(--teal-tint); }
.badge .i { width: 12px; height: 12px; stroke-width: 2.4; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.stars::before { content: "★"; color: var(--mango); font-size: 0.95rem; }
.stars small { color: var(--ink-3); font-weight: 500; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pm { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: 700 0.78rem var(--body); color: var(--ink); letter-spacing: 0.01em; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
@media (max-width: 960px) { .cats { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 92px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; } .cats::-webkit-scrollbar { display: none; } }
.cat { display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 104px; padding: 12px 6px; text-align: center; text-decoration: none; font: 500 0.83rem/1.25 var(--body); border-radius: var(--radius); color: var(--ink); scroll-snap-align: start; }
.cat .ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--cream); color: var(--teal); border: 1px solid rgba(11, 110, 99, 0.12); transition: transform 0.18s, background 0.18s; }
.cat .ico .i { width: 27px; height: 27px; }
.cat:hover .ico { transform: translateY(-3px); background: var(--teal-tint); }

/* ---------- Hero carousel ---------- */
.hero { padding-top: 16px; }
.carousel { position: relative; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 24px; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 24px; min-height: 340px; padding: clamp(24px, 4vw, 56px); overflow: hidden; background: var(--cream); }
.slide.s2 { background: var(--teal); color: #fff; }
.slide.s2 h2, .slide.s2 .kicker { color: #fff; }
.slide.s2 p.lead { color: rgba(255, 255, 255, 0.85); }
.slide.s3 { background: var(--mango-tint); }
.slide .kicker { font: 700 0.78rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.slide h1, .slide h2 { font-size: clamp(1.9rem, 2.8vw + 0.9rem, 3.3rem); font-weight: 800; max-width: 13em; }
.tagline { font: italic 600 clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem)/1.3 var(--head); color: var(--teal); margin: 10px 0 0; }
.slide p.lead { color: var(--ink-2); max-width: 30em; margin: 14px 0 22px; font-size: 1.03rem; }
.slide .art { position: relative; justify-self: end; width: min(370px, 100%); aspect-ratio: 1 / 0.86; }
.float-card { position: absolute; width: 78%; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; background: #fff; border-radius: 18px; color: var(--ink); box-shadow: 0 2px 4px rgba(16, 35, 63, 0.06), 0 22px 44px -20px rgba(16, 35, 63, 0.45); }
.float-card:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); }
.float-card:nth-child(2) { top: 34%; right: 0; transform: rotate(2.5deg); z-index: 2; }
.float-card:nth-child(3) { top: 68%; left: 7%; transform: rotate(-1deg); }
.float-card .thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--cream); }
.float-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card b { display: block; font-size: 0.84rem; font-weight: 500; line-height: 1.25; color: var(--ink-2); }
.float-card span { font: 800 1.05rem var(--head); letter-spacing: -0.02em; }
.float-card span small { font: 500 0.72rem var(--body); color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .slide .float-card { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .slide .float-card:nth-child(2) { animation-delay: 0.08s; }
  .slide .float-card:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--ink-3); transition: width 0.2s, background 0.2s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--ink); }
@media (max-width: 720px) {
  .slide { grid-template-columns: 1fr; min-height: 0; padding: 26px 20px 48px; }
  .slide .art { display: none; }
}

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.trust .i { color: var(--green); margin-top: 1px; }
.trust p { margin: 0; }
.trust b { display: block; font-size: 0.93rem; }
.trust span { font-size: 0.83rem; color: var(--ink-2); line-height: 1.35; display: block; }

/* ---------- Item cards ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 0 16px; font: 500 0.88rem var(--body); cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip[disabled] { opacity: 0.4; cursor: not-allowed; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(11, 110, 99, 0.35); }
.card:has(a.stretch:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.card .art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream); color: var(--teal); display: grid; place-items: center; }
.card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .art img { transform: scale(1.05); }
.tag { position: absolute; z-index: 1; top: 8px; left: 8px; background: rgba(255, 255, 255, 0.92); color: var(--ink-2); border-radius: 999px; font: 700 0.62rem/1 var(--body); letter-spacing: 0.07em; text-transform: uppercase; padding: 5px 8px; }
.card .body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.card h3 { font: 500 0.93rem/1.3 var(--body); letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.stretch { color: inherit; text-decoration: none; }
a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.price { font: 800 1.2rem/1.1 var(--head); letter-spacing: -0.02em; color: var(--ink); }
.price small { font: 500 0.78rem var(--body); color: var(--ink-3); letter-spacing: 0; }
.allin { font-size: 0.72rem; color: var(--ink-3); }
.week { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-2); }
.save { font-size: 0.68rem; font-weight: 700; color: var(--green); background: var(--green-tint); border-radius: 6px; padding: 2px 6px; }
.card .meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; font-size: 0.78rem; color: var(--ink-2); }
.card .meta .where { display: inline-flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .badges { margin-top: 4px; }
@media (max-width: 560px) { .card .badges .badge:nth-child(n + 3) { display: none; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 32px 16px; }
.empty form { max-width: 440px; margin: 16px auto 0; }

/* ---------- Bundles ---------- */
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .bundles { grid-template-columns: 1fr; } }
a.bundle { color: inherit; text-decoration: none; transition: box-shadow 0.15s, border-color 0.15s; }
a.bundle:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.bundle { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bundle .pair { display: flex; }
.bundle .pair span { position: relative; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--cream); border: 3px solid #fff; box-shadow: 0 4px 10px -6px rgba(16, 35, 63, 0.4); }
.bundle .pair span + span { margin-left: -18px; transform: rotate(6deg); }
.bundle .pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bundle .off { display: inline-block; background: var(--mango-tint); color: #8a5300; font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 3px 8px; margin-bottom: 4px; }
.bundle h3 { margin-bottom: 2px; }
.bundle p { margin: 0; font-size: 0.86rem; color: var(--ink-2); }
.bundle .price { margin-top: 6px; }
.bundle s { color: var(--ink-3); font: 400 0.85rem var(--body); margin-left: 4px; }

/* ---------- Owner panel ---------- */
.owner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; background: var(--teal); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .owner { grid-template-columns: 1fr; } }
.owner h2 { color: #fff; font-size: clamp(1.6rem, 2vw + 0.8rem, 2.4rem); }
.owner .tagline { color: var(--mango); }
.owner .eyebrow { color: rgba(255, 255, 255, 0.75); }
.owner ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: 0.97rem; }
.owner li { display: flex; gap: 10px; }
.owner li .i { color: var(--mango); width: 20px; height: 20px; margin-top: 2px; }
.earn { background: rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 20px; }
.earn .kv > div { border-color: rgba(255, 255, 255, 0.18); }
.earn .kv dt { color: rgba(255, 255, 255, 0.75); }
.earn .kv dd { color: #fff; }
.earn .kv .total { border-top-color: #fff; }
.earn .kv .total dt { color: #fff; }
.earn h3 { font: 700 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.75); margin-bottom: 8px; }

/* ---------- Key/value ---------- */
.kv { margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.kv .total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 12px; }
.kv .total dt { color: var(--ink); font-weight: 700; }
.kv .total dd { font: 800 1.45rem/1 var(--head); letter-spacing: -0.02em; }
.kv .sub-row dt { padding-left: 12px; font-size: 0.88rem; }
.kv .hint dd, .kv .hint dt { font-size: 0.85rem; color: var(--ink-2); font-weight: 500; }

/* ---------- Steps, safety, ladder ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mango); color: var(--ink); font: 800 0.95rem var(--head); margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 6px 0 0; font-size: 0.93rem; }
.safe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .safe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .safe { grid-template-columns: 1fr; } }
.safe > div { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.safe .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); margin-bottom: 10px; }
.safe h3 { font-size: 1rem; margin-bottom: 4px; }
.safe p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-top: 16px; }
.rung { position: relative; border-radius: 16px 16px 0 0; padding: 16px 14px; color: #fff; background: var(--teal); display: grid; align-content: start; gap: 4px; }
.rung:nth-child(1) { min-height: 150px; background: #3f8f86; }
.rung:nth-child(2) { min-height: 190px; background: var(--teal); }
.rung:nth-child(3) { min-height: 230px; background: var(--teal-dark); }
.rung .lvl { font: 700 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.rung .pct { font: 800 2.2rem/1 var(--head); letter-spacing: -0.03em; }
.rung .pct small { font: 500 0.82rem var(--body); opacity: 0.85; }
.rung p { margin: 6px 0 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.9); line-height: 1.35; }
.rung .eg { margin-top: auto; padding-top: 10px; font-size: 0.8rem; color: var(--mango); font-weight: 600; }
.ladder-base { height: 6px; background: var(--ink); border-radius: 3px; }
@media (max-width: 600px) {
  .ladder { grid-template-columns: 1fr; align-items: stretch; }
  .rung, .rung:nth-child(n) { min-height: 0; border-radius: 16px; }
  .rung .eg { margin-top: 4px; padding-top: 4px; }
  .ladder-base { display: none; }
}
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.tier.rec { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.tier .big { font: 800 2rem/1 var(--head); letter-spacing: -0.03em; margin: 8px 0 4px; }
.tier .big small { font: 500 0.9rem var(--body); color: var(--ink-2); }
.tier ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.92rem; display: grid; gap: 4px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="number"], input[type="date"], input[type="tel"], select.field-select, textarea {
  width: 100%; min-height: 48px; padding: 0 14px; font: 400 1rem var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); appearance: none;
}
textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
select.field-select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2310233f' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select.field-select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; padding: 0; }
.field .help { font-size: 0.82rem; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-3); font-size: 0.8rem; margin-left: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.93rem; font-weight: 500; }
.seg input:checked + span { background: var(--teal); color: #fff; border-color: var(--teal); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.seg input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.toggle, .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 0.94rem; margin-bottom: 12px; min-height: 28px; }
.toggle input, .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.form-msg { min-height: 1.4em; margin: 8px 0 0; font-size: 0.93rem; font-weight: 600; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--coral); }
.signup { max-width: 540px; margin-inline: auto; text-align: left; }
.signup .btn { width: 100%; }
.mini { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.mini .form-msg { grid-column: 1 / -1; margin: 0; }
@media (max-width: 480px) { .mini { grid-template-columns: 1fr; } }
.join { text-align: center; }
.join .sub { margin-inline: auto; }
.join .panel { margin-top: 24px; padding: 24px; }
input[type="range"] { width: 100%; accent-color: var(--teal); height: 32px; }

/* ---------- Tables, lists, misc ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font: 700 0.74rem var(--body); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-2); background: var(--cream); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .cols2, .cols3 { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; font-size: 0.94rem; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.25em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-tint); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.25em + 4px); width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0.85); }
.big { font: 800 2.6rem/1 var(--head); letter-spacing: -0.04em; margin: 4px 0 10px; }
.big small { font: 500 1rem var(--body); color: var(--ink-2); letter-spacing: 0; }
.bars { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(130px, 200px) 1fr 56px; align-items: center; gap: 14px; font-size: 0.9rem; }
.bars .name { color: var(--ink-2); }
.bars .track { height: 12px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #b9cfcb; transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars .val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bars li.me .name { color: var(--ink); font-weight: 700; }
.bars li.me .fill { background: var(--teal); }
@media (max-width: 560px) { .bars li { grid-template-columns: 1fr auto; } .bars .track { grid-column: 1 / -1; order: 3; } }
.timeline { list-style: none; counter-reset: t; padding: 0; margin: 16px 0 0; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 20px 48px; color: var(--ink-2); font-size: 0.95rem; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--teal); color: var(--teal); font: 700 0.88rem var(--head); z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 30px; bottom: 0; width: 2px; background: var(--teal-tint); }
.timeline b { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 16px 36px 16px 0; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul { color: var(--ink-2); padding-bottom: 14px; max-width: 64ch; margin: 0; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: start; margin-top: 20px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.calc-form .seg, .calc-form .toggle, .calc-form .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .calc-form { grid-template-columns: 1fr; } }
.suggest { background: var(--teal-tint); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 500; font-size: 0.95rem; margin: 0 0 12px; }
.warn { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.warn li { background: var(--coral-tint); color: #8a2c12; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.9rem; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; background: var(--cream); border-radius: 999px; margin-top: 16px; }
.tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 600 0.92rem var(--body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 35, 63, 0.15); }

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; padding: 20px 0 40px; }
.filters { position: sticky; top: 92px; display: grid; gap: 4px; }
.filters h2 { font-size: 1.05rem; margin-bottom: 8px; }
.filters, .filters form, .filters fieldset { min-width: 0; }
.filters fieldset { border: 0; border-top: 1px solid var(--rule); padding: 14px 0 6px; margin: 0; }
.filters select, .filters input { max-width: 100%; }
.filters legend { font-weight: 700; font-size: 0.88rem; padding: 0; margin-bottom: 8px; }
.filters .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar select { width: auto; min-width: 180px; }
.filter-btn { display: none; }
@media (max-width: 860px) {
  .browse { grid-template-columns: 1fr; padding-top: 12px; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .filters.open { display: grid; position: fixed; inset: auto 0 0 0; top: 10vh; z-index: 90; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(90px + env(safe-area-inset-bottom)); overflow-y: auto; box-shadow: 0 -20px 60px rgba(16, 35, 63, 0.35); }
  .filters .apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
}
@media (min-width: 861px) { .filters .apply, .filters .close-filters { display: none; } }
.scrim { position: fixed; inset: 0; background: rgba(16, 35, 63, 0.45); z-index: 85; }

/* ---------- Item page ---------- */
.crumbs { font-size: 0.85rem; color: var(--ink-2); padding: 14px 0 0; }
.crumbs a { color: var(--ink-2); }
.item { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; padding: 14px 0 40px; }
@media (max-width: 900px) { .item { grid-template-columns: 1fr; gap: 18px; } }
.gallery { position: relative; border-radius: 20px; overflow: hidden; background: var(--cream); aspect-ratio: 16 / 10; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item h1 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); margin: 4px 0 8px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 0.9rem; color: var(--ink-2); }
.item-meta .where { display: inline-flex; gap: 4px; align-items: center; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 4px; }
.price-row .price { font-size: 2rem; }
.box { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.box h2 { font-size: 1.1rem; margin-bottom: 4px; }
.box .lbl { font: 700 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-2); margin: 16px 0 8px; }
.owner-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 800 1.1rem var(--head); }
.owner-card h3 { font-size: 1.05rem; }
.owner-card p { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-2); }
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-family: var(--head); }
.cal-head button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-head button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { font-size: 0.72rem; font-weight: 700; color: var(--ink-3); text-align: center; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: var(--cream); color: var(--ink); font: 600 0.9rem var(--body); cursor: pointer; }
.cal-grid button:hover:not(:disabled) { background: var(--teal-tint); }
.cal-grid button:disabled { background: transparent; color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.cal-grid button.past { text-decoration: none; }
.cal-grid button.in { background: var(--teal-tint); color: var(--teal); border-radius: 0; }
.cal-grid button.edge { background: var(--teal); color: #fff; }
.cal-legend { display: flex; gap: 14px; font-size: 0.8rem; color: var(--ink-2); margin-top: 8px; flex-wrap: wrap; }
.cal-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--cream); }
.cal-legend .sel::before { background: var(--teal); }
.cal-legend .off::before { background: transparent; border: 1px solid var(--ink-3); }
.buybar { display: none; }
@media (max-width: 900px) {
  .box { position: static; box-shadow: none; }
  .buybar { position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(16, 35, 63, 0.25); }
  .buybar .price { font-size: 1.25rem; }
  .buybar .btn { flex: 1; max-width: 220px; }
}

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; padding: 16px 0 40px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 14px; }
.step-card h2 { font-size: 1.1rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.step-card h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--mango); display: grid; place-items: center; font-size: 0.85rem; }
.choice { display: grid; gap: 8px; }
.choice label { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.choice label:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.choice input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.choice .t b { display: block; }
.choice .t span { font-size: 0.85rem; color: var(--ink-2); }
.choice .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { position: sticky; top: 92px; }
.summary .mini-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.summary .mini-item .thumb { position: relative; width: 76px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--cream); }
.summary .mini-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Wizard (list your item) ---------- */
.wizard { padding: 16px 0 48px; }
.progress { display: flex; gap: 6px; margin: 16px 0 6px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--rule); }
.progress span.done { background: var(--teal); }
.progress span.now { background: var(--mango); }
.step-label { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 14px; }
.wiz-step { display: none; }
.wiz-step.active { display: block; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 26px 16px; border: 2px dashed rgba(11, 110, 99, 0.35); border-radius: 18px; background: var(--cream); cursor: pointer; color: var(--ink-2); min-height: 150px; }
.drop:hover { border-color: var(--teal); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .i { width: 32px; height: 32px; color: var(--teal); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.range-hint { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-2); }

/* ---------- Earnings ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat .lbl { font-size: 0.8rem; color: var(--ink-2); font-weight: 600; }
.stat .val { font: 800 1.6rem/1.1 var(--head); letter-spacing: -0.02em; margin-top: 6px; }
.stat.hl { background: var(--teal); border-color: var(--teal); color: #fff; }
.stat.hl .lbl { color: rgba(255, 255, 255, 0.8); }

/* ---------- Modal ---------- */
.modal { padding: 0; border: 0; border-radius: 22px; width: min(520px, calc(100% - 32px)); max-width: none; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(16, 35, 63, 0.5); }
.modal::backdrop { background: rgba(16, 35, 63, 0.5); }
.modal .inner { padding: 26px 24px 22px; }
.modal h2 { font-size: 1.35rem; margin-bottom: 8px; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 600px) { .modal { width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; } .modal .inner { padding-bottom: calc(22px + env(safe-area-inset-bottom)); } }
body:has(dialog[open]) { overflow: hidden; }

/* ---------- Footer ---------- */
.foot { margin-top: 48px; border-top: 1px solid var(--rule); padding: 36px 0 40px; background: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.foot-tag { font: italic 600 1.05rem var(--head); color: var(--teal); margin: 12px 0 4px; }
.foot h4 { font: 700 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 0.93rem; }
.foot ul a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--ink); }
.foot ul a:hover { color: var(--teal); text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.82rem; color: var(--ink-2); margin: 0; }

.prose { padding: 32px 0 56px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin: 30px 0 8px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }

/* ---------- Items / Cars / Stays tabs under the header ---------- */
.verticals { border-top: 1px solid var(--rule); }
.verticals .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.verticals .wrap::-webkit-scrollbar { display: none; }
.verticals a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink-2); font: 600 0.9rem var(--body); border-bottom: 3px solid transparent; white-space: nowrap; }
.verticals a:hover { color: var(--ink); }
.verticals a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.soon { font: 700 0.62rem/1 var(--body); letter-spacing: 0.05em; text-transform: uppercase; background: var(--mango-tint); color: #8a5300; border-radius: 999px; padding: 4px 6px; }

/* ---------- Icon art for items without photos ---------- */
.icon-art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--cream) 70%); color: var(--teal); }
.icon-art .i { width: 36%; height: 36%; max-width: 120px; max-height: 120px; stroke-width: 1.2; }
.float-card .thumb .icon-art .i, .bundle .pair .icon-art .i, .summary .thumb .icon-art .i { width: 55%; height: 55%; stroke-width: 1.6; }

/* ---------- Category page header ---------- */
.cat-hero { background: var(--cream); border-bottom: 1px solid var(--rule); }
.cat-hero-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 24px 0; }
.cat-hero h1 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.cat-hero .eyebrow a { color: inherit; text-decoration: none; }
.cat-ico { width: 72px; height: 72px; border-radius: 22px; background: #fff; color: var(--teal); display: grid; place-items: center; border: 1px solid rgba(11, 110, 99, 0.15); }
.cat-ico .i { width: 36px; height: 36px; }
@media (max-width: 560px) { .cat-hero-row { grid-template-columns: 1fr; gap: 10px; } .cat-ico { width: 56px; height: 56px; border-radius: 16px; } }

/* ---------- Cars and Stays & Spaces ---------- */
.vhero { background: var(--cream); border-bottom: 1px solid var(--rule); }
.vhero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; padding: 32px 0 36px; }
@media (max-width: 900px) { .vhero-grid { grid-template-columns: 1fr; padding: 22px 0 28px; } }
.vhero h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); margin: 12px 0 10px; }
.vhero .lead { color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
.vhero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.modes { display: grid; gap: 12px; }
.mode-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mode-card.hl { border-color: var(--mango); box-shadow: 0 0 0 4px var(--mango-tint); }
.mode-card h2 { font-size: 1.15rem; margin: 10px 0 4px; }
.mode-card p { margin: 0; color: var(--ink-2); font-size: 0.93rem; }
.badge.mango { color: #6b4100; background: var(--mango-tint); }
.badge.outline { color: var(--teal); background: #fff; box-shadow: inset 0 0 0 1.5px var(--teal); }
.stretch-btn { all: unset; cursor: pointer; }
.stretch-btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card:has(.stretch-btn:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.req { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.req li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.req li > .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); }
.req b { display: block; }
.req span { font-size: 0.9rem; color: var(--ink-2); }
.specs { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--cream); font-size: 0.88rem; }
.specs .i { width: 16px; height: 16px; color: var(--teal); }
.modal.wide { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; }
.dlg-art { position: relative; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; }
.dlg-art .icon-art .i { width: 22%; height: 40%; }
@media (max-width: 600px) { .modal.wide { width: 100%; max-height: 92dvh; } }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-tile { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; min-height: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 600 0.86rem/1.25 var(--body); cursor: pointer; text-align: center; }
.type-tile .i { width: 30px; height: 30px; color: var(--teal); }
.type-tile:hover { border-color: var(--teal); background: var(--teal-tint); }
@media (max-width: 420px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 12px; }
.amen-list { display: flex; flex-wrap: wrap; gap: 6px; }
.small-drop { min-height: 120px; padding: 16px 12px; }
.small-drop span.small { color: var(--ink-2); }
.drop.picked { border-style: solid; border-color: var(--green); background: var(--green-tint); }
.more-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .more-ways { grid-template-columns: 1fr; } }
.way { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.way:hover { border-color: var(--teal); }
.way .ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.way .ico .i { width: 30px; height: 30px; }
.way h3 { font-size: 1.15rem; margin-bottom: 4px; }
.way p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 420px) {
  .verticals .i { display: none; }
  .verticals a { padding: 0 9px; font-size: 0.86rem; }
  .verticals .wrap { gap: 0; justify-content: space-between; }
}

/* ---------- Legal documents (Terms) ---------- */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-tabs a:hover { border-color: var(--teal); }
.legal-doc { margin: 8px 0 32px; scroll-margin-top: 140px; }
.legal-doc h2 { margin-top: 24px; }
.clause { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 8px 0; }
.clause > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; padding: 8px 14px; font-weight: 700; font-family: var(--head); list-style: none; }
.clause > summary::-webkit-details-marker { display: none; }
.clause > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--teal); }
.clause[open] > summary::after { content: "\2212"; }
.clause > p, .clause > .table-wrap { margin: 0 14px 12px; font-size: 0.95rem; }
mark.ph { background: var(--mango-tint); color: #7a4a00; border-radius: 4px; padding: 0 3px; }
