@font-face {
  font-family: Inter;
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #0e3b2c;
  --forest-deep: #0a2e22;
  --green: #1b7a43;
  --green-d: #146536;
  --green-ink: #143d2c;
  --orange: #f07818;
  --orange-d: #d8660c;
  --red: #d3121a;
  --ink: #1a1d1b;
  --muted: #5c675f;
  --line: #e3e7e4;
  --cream: #fbf6ea;
  --bg: #ffffff;
  --max: 1160px;
  --header: 72px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
}

img { border: 0; }

button,
input,
select,
textarea { font-family: inherit; }

a { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.site-header :focus-visible { outline-color: #ffd7a8; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

[hidden] { display: none !important; }

.ico { width: 20px; height: 20px; flex: none; display: block; }

/* Header */
.site-header {
  background: var(--forest);
  color: #fff;
  position: relative;
  z-index: 40;
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.brand-mark { width: 46px; height: 46px; flex: none; }
.site-header .brand-mark path[fill="#0e3b2c"],
.site-header .brand-mark rect[fill="#0e3b2c"] { fill: #f4fff6; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand-url {
  margin-top: 3px;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 600;
}

.header-tools { display: flex; align-items: center; gap: 18px; }

.desktop-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
.desktop-nav > a,
.nav-drop > summary {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.caret { width: 12px; height: 12px; }

.nav-drop:not([open]) .nav-menu { display: none; }
.nav-drop[open] .nav-menu {
  display: block;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  min-width: 250px;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  z-index: 30;
}
.nav-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav-menu a:hover { background: #f3f7f4; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-d); }
.btn-red { background: var(--red); color: #fff; border-radius: 8px; min-height: 42px; }
.btn-red:hover { background: #b50e15; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #cfd6d1;
}
.btn-ghost:hover { border-color: #9aa59e; }
.btn-post {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  white-space: nowrap;
}
.btn-post:hover { background: var(--orange-d); }
.plus {
  width: 22px;
  height: 22px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.mobile-nav { display: none; position: static; }
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  list-style: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-btn::-webkit-details-marker { display: none; }
.mobile-nav:not([open]) .mobile-panel { display: none; }
.mobile-nav[open] .mobile-panel {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: var(--ink);
  z-index: 70;
  max-height: calc(100vh - var(--header));
  overflow: auto;
  padding: 8px 16px 20px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}
.mobile-panel a,
.mobile-panel button.panel-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-img,
.hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center 30%; }
.hero-scrim {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.62) 26%, rgba(255,255,255,.18) 52%, rgba(255,255,255,0) 72%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 36px 0 28px;
}
.hero h1 {
  margin: 0 0 8px;
  max-width: 18em;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #12382a;
  font-weight: 800;
}
.hero-sub {
  display: inline-block;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  font-size: 17px;
  color: #1d3328;
  font-weight: 600;
}
.hero-sub .dot { color: var(--orange); padding: 0 5px; font-weight: 800; }

.search {
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(920px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(12, 40, 28, 0.16);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 0 6px 0 10px;
}
.search-field .ico { color: var(--muted); width: 22px; height: 22px; }
.search-field select {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.search-split { width: 1px; height: 32px; background: #e1e5e2; flex: none; }
.search .btn { min-width: 132px; height: 52px; border-radius: 12px; }

/* Categories */
.cats-wrap { padding: 26px 0 8px; }
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--green-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.25;
  text-align: center;
}
.cat svg { width: 36px; height: 36px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat:hover { border-color: var(--green); background: #f4faf6; }

/* Ads */
.section { margin-top: 26px; }
.ad-row {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 16px;
  align-items: stretch;
}
.banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(190px, .9fr);
  min-height: 214px;
  background: radial-gradient(120% 140% at 85% 80%, #3a1012 0%, #101010 52%);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}
.banner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: #e10600;
}
.banner-copy {
  position: relative;
  z-index: 1;
  padding: 22px 8px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.banner h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}
.banner .line { margin: 0 0 4px; font-size: 15px; color: #f4f4f4; }
.banner .place { margin: 0 0 14px; font-size: 14px; color: #d0d0d0; }
.banner-truck { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.banner-special {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 148px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 10px;
  z-index: 2;
  color: #fff;
}
.banner-special strong { display: block; font-size: 14px; line-height: 1.2; }
.banner-special span { display: block; margin-top: 2px; color: #ffc9c9; font-weight: 700; font-size: 13px; }
.chip {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 7px;
}
.banner > .chip { position: absolute; top: 10px; right: 10px; z-index: 3; }

.rail-card {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--green-ink);
  min-height: 214px;
}
.rail-card h2 { margin: 10px 0 6px; font-size: 22px; line-height: 1.15; }
.rail-card p { margin: 0; color: #7a6850; font-weight: 600; font-size: 13.5px; }
.rail-tree { width: 72px; height: 72px; margin-top: auto; align-self: flex-end; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
  color: var(--green-ink);
  letter-spacing: -0.02em;
}
.section-head a { font-weight: 700; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  max-width: 100%;
}
.mini { flex: 0 0 240px; scroll-snap-align: start; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e8e6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 40, 28, 0.04);
  min-width: 0;
}
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #e6eee9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.card-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.card-body h3 { margin: 0; min-height: 2.6em; font-size: 16.5px; line-height: 1.3; font-weight: 700; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.price { margin: 2px 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.where {
  margin: 0 0 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 500;
}
.where .ico { width: 16px; height: 16px; }
.card .btn-call { width: 100%; margin-top: auto; }

/* Browse */
.page { padding: 22px 0 40px; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.page-head h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--green-ink);
}
.page-head p { margin: 0; color: var(--muted); font-weight: 600; }

.filters {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.7fr 0.7fr 0.9fr auto;
  gap: 10px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field select,
.field input {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  height: 48px;
  border: 1px solid #d5dbd7;
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  width: 100%;
}
.filters .btn { height: 48px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-x {
  border: 1px solid #d5dbd7;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.hint {
  margin: 10px 0 0;
  color: #7a4e0d;
  background: #fff6e6;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

.browse-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.rail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.rail-ad, .sponsor {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}
.rail-ad {
  background: #111;
  color: #fff;
  min-height: 220px;
}
.rail-ad img { width: 100%; height: 148px; object-fit: cover; object-position: 40% center; display: block; }
.rail-ad div, .sponsor-copy { padding: 12px 14px 14px; }
.rail-ad strong, .sponsor strong { display: block; font-size: 16px; line-height: 1.25; }
.rail-ad p, .sponsor p { margin: 4px 0 10px; font-size: 14px; color: #ddd; }
.sponsor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 200px;
  align-items: center;
  background: #111;
  color: #fff;
  min-height: 132px;
}
.sponsor img { width: 100%; height: 132px; object-fit: cover; }
.sponsor.house {
  background: var(--cream);
  color: var(--green-ink);
  border: 1px dashed #d9c9a3;
  grid-template-columns: 1fr;
}
.sponsor.house p { color: #5c5144; }
.sponsor > .chip { position: absolute; top: 10px; left: 12px; }

.empty, .loading-note {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #cfd6d1;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
}
.empty h2, .loading-note { margin: 0 0 6px; color: var(--green-ink); }
.empty p { margin: 0; color: var(--muted); }
.empty .btn { margin-top: 14px; }

/* Listing */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.crumbs a { text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }

.deal {
  display: grid;
  grid-template-columns: 1.25fr 0.86fr;
  gap: 22px 28px;
  align-items: start;
}
.deal-info { grid-column: 2; grid-row: 1 / span 2; }
.similar { grid-column: 1; }

.gallery { position: relative; outline: none; }
.gallery-main {
  aspect-ratio: 16 / 10;
  background: #e6eee9;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-nav {
  position: absolute;
  top: 42%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.g-prev { left: 10px; }
.g-next { right: 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button {
  width: 23%;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e6eee9;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}
.thumbs button[aria-current="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.deal-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.deal-price {
  margin: 4px 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}
.deal-meta span { display: inline-flex; align-items: center; gap: 4px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e5f6eb;
  color: #146c38;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
}
.badge .ico { width: 18px; height: 18px; }
.actions-primary, .actions-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.actions-primary .btn, .actions-secondary .btn { width: 100%; min-height: 52px; }
.dial { margin: 8px 0 0; font-size: 18px; font-weight: 800; }
.dial a { color: var(--green); text-decoration: none; }
.specs { margin: 16px 0 8px; }
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.specs dt { color: var(--muted); font-weight: 500; }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
.desc { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.safety {
  background: #f3f5f4;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
}
.safety h2 { margin: 0 0 8px; font-size: 16px; }
.safety ul { margin: 0; padding-left: 18px; }
.safety li { margin: 4px 0; }
.finance {
  display: block;
  background: #1f4f9c;
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  margin-top: 16px;
}
.finance strong { display: block; font-size: 18px; margin-top: 6px; }
.finance em { font-style: normal; font-weight: 600; }
.house-side {
  display: block;
  margin-top: 16px;
  background: var(--cream);
  border: 1px dashed #d9c9a3;
  border-radius: 12px;
  padding: 16px;
  color: var(--green-ink);
  text-decoration: none;
}
.house-side strong { display: block; font-size: 18px; margin: 6px 0 4px; }
.similar h2 { margin: 8px 0 12px; font-size: 22px; color: var(--green-ink); }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Footer */
.site-footer {
  background: var(--forest);
  color: #e7f3ec;
  margin-top: 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 0.75fr 0.9fr;
  gap: 28px;
  padding: 34px 0 26px;
}
.foot-intro { display: flex; gap: 14px; align-items: center; }
.footer-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.footer-badge .brand-mark { width: 52px; height: 52px; }
.foot-lead { margin: 0 0 4px; color: #fff; font-size: 18px; font-weight: 500; }
.foot-lead strong { font-weight: 800; }
.foot-intro p { margin: 0; color: #d5e6dc; }
.site-footer h2 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0c43a;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a,
.site-footer button.linkish {
  color: #e7f3ec;
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.site-footer a:hover,
.site-footer button.linkish:hover { text-decoration: underline; }
.foot-pride { text-align: center; color: #fff; font-weight: 700; }
.foot-pride p { margin: 8px 0 0; line-height: 1.3; }
.maple { width: 48px; height: 48px; }
.fine {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0 18px;
  text-align: center;
  font-size: 13.5px;
  color: #c5d9ce;
}
.fine a { color: #c5d9ce; font-weight: 600; }

/* Sticky phone ad */
.sticky-ad { display: none; }

/* Dialogs */
dialog {
  border: none;
  border-radius: 16px;
  padding: 22px 22px 18px;
  width: min(520px, calc(100vw - 28px));
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
dialog::backdrop { background: rgba(8, 28, 20, 0.55); }
dialog h2 { margin: 0 0 8px; font-size: 22px; color: var(--green-ink); }
dialog p { margin: 0 0 12px; color: #3c4a43; }
dialog label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
dialog input,
dialog select,
dialog textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid #d5dbd7;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  width: 100%;
}
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.icon-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #f2f4f3;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
dialog { position: relative; }
.faq details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; }
.faq p { margin: 4px 0 8px; }

.credits-list { padding-left: 18px; }
.credits-list li { margin: 0 0 10px; }

@media (max-width: 1280px) {
  .nav-quiet { display: none; }
}

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-pride { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 12px; }
  .foot-pride p { margin: 0; }
}

@media (max-width: 980px) {
  .ad-row { grid-template-columns: 1fr; }
  .rail-card { display: none; }
  .browse-layout { grid-template-columns: 1fr; }
  .browse-layout .rail { display: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .deal { grid-template-columns: 1fr; }
  .deal-info, .similar { grid-column: auto; grid-row: auto; }
  .similar-grid { grid-template-columns: 1fr; }
  .banner-special { display: none; }
}

@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .hero, .hero-inner { min-height: 0; }
  .hero-inner { justify-content: flex-start; gap: 16px; padding-top: 20px; padding-bottom: 18px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .search { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .search-split { display: none; }
  .search-field {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfb;
    padding-right: 8px;
  }
  .search .btn { width: 100%; }
  .banner { grid-template-columns: 1fr 42%; min-height: 196px; }
  .banner h2 { font-size: 22px; }
  .banner-copy { padding: 36px 8px 14px 18px; }
  .cards, .feed-grid { grid-template-columns: 1fr; }
  .card-body h3 { min-height: 0; }
  .mini { flex-basis: 78%; }
  .page-head h1 { font-size: 26px; }
  .deal-title { font-size: 26px; }
  .deal-price { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-intro { grid-column: 1 / -1; }
  .site-footer a,
  .site-footer button.linkish { min-height: 40px; display: inline-flex; align-items: center; }
  .sponsor { grid-template-columns: 1fr 120px; }
  .sticky-ad {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-top: 3px solid var(--red);
  }
  body { padding-bottom: 62px; }
  .sticky-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .sticky-copy strong,
  .sticky-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sticky-copy strong { font-size: 14px; }
  .sticky-copy small { color: #ddd; font-size: 12px; }
  .sticky-go {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    border-radius: 8px;
    padding: 8px 12px;
    flex: none;
  }
  .sticky-ad .chip { flex: none; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 17px; }
  .brand-mark { width: 38px; height: 38px; }
  .btn-post { padding: 0 12px 0 8px; font-size: 14.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .actions-primary .btn, .actions-secondary .btn { font-size: 15px; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Phase 2 */
.wizard { width: min(560px, 100%); margin: 0 auto; }
.step-label { margin: 0 0 8px; font-weight: 700; color: var(--green); text-align: center; }
.progress { height: 10px; background: #e5eee8; border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; background: var(--green); width: 33%; }
.wizard h1 { margin: 0 0 8px; font-size: 34px; letter-spacing: -0.03em; color: var(--green-ink); text-align: center; }
.wizard .lead { text-align: center; color: var(--muted); margin: 0 0 16px; }
.btn-block { width: 100%; min-height: 56px; font-size: 18px; }
#skip-photos.btn-block { margin-top: 10px; }
#step-2 .back-link { display: block; width: 100%; text-align: center; }
.photo-row { display: flex; gap: 8px; margin: 14px 0; overflow-x: auto; }
.photo-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick {
  position: relative;
  min-height: 110px;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 14px;
  font: inherit;
  font-weight: 750;
  font-size: 16px;
  color: var(--green-ink);
  cursor: pointer;
  padding: 12px;
}
.pick.on { border-color: var(--green); background: #f3faf6; }
.tick {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.sheet label, .wizard label { display: flex; flex-direction: column; gap: 6px; font-weight: 750; margin-bottom: 12px; }
.sheet input, .sheet select, .sheet textarea, .wizard input, .wizard select, .wizard textarea {
  font: inherit;
  font-weight: 550;
  font-size: 18px;
  min-height: 52px;
  border: 1.5px solid #d5dbd7;
  border-radius: 12px;
  padding: 10px 12px;
}
.form-err { color: #9d1c22; font-weight: 700; }
.demo-code {
  background: #fff6e6;
  border: 1px dashed #e0b15a;
  border-radius: 12px;
  padding: 12px;
  font-size: 18px;
}
.fine-note { color: var(--muted); text-align: center; }
.back-link { background: none; border: 0; color: var(--green); font: inherit; font-weight: 750; cursor: pointer; padding: 8px 0; }

.my-head, .section-title { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.my-head h1, .page h1.plain { margin: 0; font-size: 34px; color: var(--green-ink); letter-spacing: -0.03em; }
.my-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 14px; align-items: start; }
.mine-card, .text-demo, .job-row, .hire-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.mine-card { margin-bottom: 12px; }
.mine-card .btn-block { margin-top: 8px; }
.mine-top { display: grid; grid-template-columns: 112px 1fr; gap: 10px; text-decoration: none; color: inherit; }
.mine-photo { position: relative; display: block; }
.mine-photo img, .job-photo img, .rent-card img, .biz-card img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; display: block; }
.mine-top strong { display: block; font-size: 18px; }
.mine-top em { display: block; font-style: normal; font-weight: 800; font-size: 18px; margin: 2px 0; }
.mine-top small { color: var(--muted); }
.mine-actions, .job-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sold-flag {
  position: absolute;
  top: 6px;
  left: -4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.text-demo h2 { margin: 0 0 8px; font-size: 18px; color: var(--green-ink); }
.bubble { background: #f2f4f3; border-radius: 14px; padding: 10px 12px; }
.text-demo ul { margin: 8px 0 0; padding-left: 18px; }

.band {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 180px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band .wrap, .band-inner { position: relative; z-index: 1; padding: 22px 0; }
.band h1 { margin: 0; color: #12382a; font-size: 36px; letter-spacing: -0.03em; text-shadow: 0 0 16px rgba(255,255,255,.8); }
.band p { display: inline-block; margin: 8px 0 0; padding: 4px 10px; background: rgba(255,255,255,.92); border-radius: 8px; font-weight: 650; color: #1d3328; }
.mini-search { display: flex; gap: 8px; background: #fff; border-radius: 14px; padding: 8px; margin-top: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.mini-search input, .mini-search select { flex: 1; border: 0; font: inherit; font-size: 16px; font-weight: 650; min-width: 0; height: 48px; background: transparent; }
.split { display: grid; grid-template-columns: 220px 1fr 240px; gap: 14px; align-items: start; }
.filter-card, .hire-card { border-radius: 14px; }
.filter-card { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.filter-card h2 { margin: 0; background: var(--forest); color: #fff; padding: 10px 12px; font-size: 16px; }
.filter-card label { display: flex; gap: 8px; align-items: center; padding: 10px 12px; font-weight: 650; border-top: 1px solid var(--line); }
.job-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; margin-bottom: 10px; }
.job-copy h2 { margin: 0; font-size: 18px; }
.job-copy h2 a, .rent-card h2 a, .biz-card h2 a { color: inherit; text-decoration: none; }
.pay { margin: 2px 0; font-weight: 800; color: var(--green-ink); }
.job-meta { display: flex; align-items: center; gap: 4px; color: var(--muted); margin: 0; font-size: 14px; }
.hire-card {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 18px 14px;
}
.hire-card h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.15; }
.hire-card .btn { background: #fff; color: var(--ink); width: 100%; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.tabs button, .pills button, .chip-btn {
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--green-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.tabs button.on, .pills button.on, .chip-btn.on { background: var(--forest); color: #fff; }
.rent-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rent-tools select { min-height: 48px; border-radius: 12px; border: 1.5px solid #d5dbd7; font: inherit; font-weight: 650; padding: 0 10px; }
.rent-grid, .biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rent-card, .biz-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; position: relative; }
.rent-card { display: grid; grid-template-columns: 42% 1fr; gap: 10px; }
.rent-card img { height: 120px; }
.rent-card h2, .biz-card h2 { margin: 0 0 4px; font-size: 18px; }
.biz-card img { height: 140px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.pills button { padding: 0 14px; border-radius: 999px; }
.note { background: #f4faf6; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }

@media (max-width: 980px) {
  .split, .my-layout, .rent-grid, .biz-grid { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 96px 1fr; }
  .job-actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wizard h1, .band h1, .my-head h1 { font-size: 28px; }
  .mini-search { flex-direction: column; }
  .rent-card { grid-template-columns: 110px 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
}
