/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --ink: #141511;          /* primary text, dark surfaces, CTAs */
  --muted: #686b61;        /* secondary text */
  --paper: #f5f6ef;        /* page background, subtle fills */
  --white: #fff;
  --line: #dfe1d7;         /* borders / dividers */

  --lime: #dfff54;         /* brand accent: CTAs, paywall, highlights */
  --lime-dark: #c9ed39;    /* lime hover state */
  --blue: #3157ff;         /* links, verified badge, brand dot, info accents */
  --orange: #ff7a3d;       /* avatar accent 2 */
  --pink: #ff6fb5;         /* avatar accent 3 */
  --green: #42b883;        /* avatar accent 4 */
  --violet: #8266e8;       /* avatar accent 5 */

  --shadow: 0 18px 50px rgba(28, 31, 18, 0.09);

  /* Typography */
  --font-sans: "Geist", Arial, Helvetica, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;

  /* Radius scale (as used across components) */
  --radius-xs: 7px;
  --radius-sm: 9px;
  --radius-md: 11px;
  --radius-lg: 13px;
  --radius-xl: 15px;
  --radius-2xl: 20px;
  --radius-3xl: 22px;
  --radius-full: 999px;

  /* Motion */
  --ease-fast: 0.16s;
  --ease-base: 0.18s;
  --ease-slow: 0.22s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Icon system: all SVG icons are stroke-based, 1.8px, rounded caps/joins,
   sized per-component via width/height (16–19px inline, 13–14px in cards). */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   3. Shared layout helpers
   -------------------------------------------------------------------------- */
.hero-copy,
.search-shell,
.trust-row,
.catalog-section,
.how-section,
footer {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker,
.eyebrow {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   4. Buttons (shared primitives)
   -------------------------------------------------------------------------- */
.primary-button,
.text-button,
.outline-button,
.details-button,
.dark-button,
.search-button,
.modal-primary {
  cursor: pointer;
}

.primary-button {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 800;
  padding: 12px 16px;
}
.primary-button.compact {
  padding: 12px 16px;
  font-size: 12px;
}

.text-button {
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
}

.outline-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 800;
}
.outline-button span {
  margin-left: 8px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  position: relative;
}
.icon-button svg {
  width: 19px;
  height: 19px;
}
.icon-button svg.filled,
.save-button svg.filled {
  fill: var(--ink);
}

.dark-button {
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 15px 16px;
  font-size: 11px;
  font-weight: 900;
}
.dark-button svg {
  width: 18px;
  height: 18px;
}

.details-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-size: 10px;
  font-weight: 850;
}
.details-button svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   5. Header / primary nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4.5vw;
  background: rgba(245, 246, 239, 0.92);
  border-bottom: 1px solid rgba(20, 21, 17, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-weight: 900;
  letter-spacing: -0.07em;
}
.brand-mark {
  font-size: 28px;
}
.brand-dot {
  color: var(--blue);
  font-size: 34px;
  line-height: 0.5;
}
.country-pill {
  margin-left: 11px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #46483f;
  font-size: 14px;
  font-weight: 700;
}
.main-nav button,
.main-nav a {
  position: relative;
  cursor: pointer;
  background: none;
  border: 0;
}
.main-nav button::after,
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.6);
  transition: all var(--ease-base);
}
.main-nav button:hover::after,
.main-nav button.active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.favorite-count span {
  position: absolute;
  top: 1px;
  right: -1px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}
.access-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: rgba(223, 255, 84, 0.72);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 900;
}
.access-pill i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 595px;
  padding: 92px 6vw 40px;
  border-bottom: 1px solid var(--line);
}
/* soft radial glow, top right */
.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  top: -40%;
  left: 55%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 255, 84, 0.7), rgba(223, 255, 84, 0) 68%);
}
/* thin ring, top right */
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 35px;
  right: 8vw;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(20, 21, 17, 0.1);
}
.hero-orbit {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
/* blue dot with two "trailing" dots drawn via box-shadow (orange + lime) */
.orbit-one {
  top: 95px;
  right: 15vw;
  width: 84px;
  height: 84px;
  background: var(--blue);
  box-shadow:
    -105px 108px 0 -27px var(--orange),
    125px 185px 0 -20px var(--lime);
}
.orbit-two {
  top: 245px;
  right: 30vw;
  width: 18px;
  height: 18px;
  background: var(--ink);
}

.hero-copy {
  position: relative;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(49, 87, 255, 0.12);
}
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(54px, 7.3vw, 100px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.075em;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: #55584e;
  font-size: 18px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Search shell (hero search card)
   -------------------------------------------------------------------------- */
.search-shell {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(20, 21, 17, 0.09);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow);
}
.mode-switch {
  display: flex;
  gap: 4px;
  margin: -53px 0 12px 2px; /* floats above the search card */
}
.mode-switch button {
  padding: 11px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 21, 17, 0.1);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mode-switch button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.search-row {
  display: flex;
  align-items: stretch;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 0 21px;
}
.search-field.grow {
  flex: 420px;
}
.search-field.location-field {
  flex: 0 285px;
  border-left: 1px solid var(--line);
}
.field-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border-radius: 50%;
}
.field-icon svg {
  width: 18px;
  height: 18px;
}
.field-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.field-content small {
  color: #8a8d83;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  font-weight: 800;
}
.field-content input,
.field-content select {
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: 15px;
  font-weight: 700;
}
.field-content input::placeholder {
  color: #999c92;
}
.search-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex: 0 0 168px;
  background: var(--lime);
  border-radius: var(--radius-xl);
  font-weight: 900;
  transition: all var(--ease-fast);
}
.search-button:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}
.search-button svg,
.details-button svg,
.dark-button svg {
  width: 18px;
  height: 18px;
}

.trust-row {
  display: flex;
  gap: 58px;
  margin-top: 31px;
}
.trust-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-row strong {
  font-size: 17px;
}
.trust-row span {
  color: var(--muted);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   8. Catalog section (listings + paywall aside)
   -------------------------------------------------------------------------- */
.catalog-section {
  padding: 86px 26px 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: end;
  gap: 24px;
}
.section-kicker {
  margin: 0 0 9px;
}
.section-heading h2,
.how-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.category-scroll {
  display: flex;
  gap: 8px;
  margin: 30px 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}
.category-scroll button {
  flex: none;
  padding: 10px 15px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
}
.category-scroll button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  align-items: start;
  gap: 22px;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* --- Listing card (job or service — same shell) --- */
.listing-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  transition: transform var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
}
.listing-card:hover {
  border-color: #c9cbc1;
  transform: translateY(-3px);
  box-shadow: 0 15px 36px rgba(30, 32, 23, 0.08);
}
.listing-card.featured::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -48px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: rgba(223, 255, 84, 0.6);
}
.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.company-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}
.company-avatar.large {
  flex-basis: 52px;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 14px;
}
.company-avatar.blue { background: var(--blue); }
.company-avatar.orange { background: var(--orange); }
.company-avatar.pink { background: var(--pink); }
.company-avatar.green { background: var(--green); }
.company-avatar.violet { background: var(--violet); }

.company-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-width: 0;
  margin-left: 11px;
}
.company-meta > div {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.company-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}
.company-meta small {
  color: #8b8e84;
  font-size: 10px;
}
.verified {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.save-button {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.save-button svg {
  width: 16px;
  height: 16px;
}
.featured-label {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 8px;
  background: var(--lime);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
  font-weight: 900;
}
.listing-card h3 {
  min-height: 50px;
  margin: 15px 0 9px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.listing-card:not(.featured) h3 {
  margin-top: 25px;
}
.location-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.location-line svg {
  width: 14px;
  height: 14px;
}
.listing-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 58px;
  margin: 16px 0;
  color: #5f6258;
  font-size: 12px;
  line-height: 1.55;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 27px;
}
.tag-row span {
  padding: 6px 8px;
  color: #5d6056;
  background: #f0f1ea;
  border-radius: var(--radius-xs);
  font-size: 9px;
  font-weight: 750;
}
.card-footer {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid #eceee7;
}
.pay-block,
.rating-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}
.pay-block strong {
  font-size: 17px;
  letter-spacing: -0.03em;
}
.pay-block span,
.rating-block span {
  color: #8a8d83;
  font-size: 9px;
}
.rating-block {
  flex: none;
}
.rating-block b {
  color: #e39d00; /* star rating gold */
  font-size: 11px;
}

/* Empty state (no results) */
.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  border: 1px dashed #cfd1c7;
  border-radius: var(--radius-2xl);
}
.empty-state > span {
  font-size: 48px;
}
.empty-state h3 {
  margin: 10px 0 5px;
}
.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.empty-state button {
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
}

/* --- Subscribe / paywall aside card --- */
.subscribe-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  padding: 28px;
  background: var(--lime);
  border-radius: var(--radius-3xl);
}
.subscribe-card::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(20, 21, 17, 0.15);
}
.subscribe-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 37px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}
.subscribe-card .section-kicker {
  color: rgba(20, 21, 17, 0.6);
}
.subscribe-card h3 {
  margin: 0 0 13px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}
.subscribe-card > p:not(.section-kicker) {
  margin: 0;
  color: rgba(20, 21, 17, 0.68);
  font-size: 12px;
  line-height: 1.55;
}
.subscribe-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 800;
}
.subscribe-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.subscribe-card li span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  font-size: 9px;
}
.trial-price {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 25px 0 13px;
}
.trial-price strong {
  font-size: 42px;
  letter-spacing: -0.07em;
}
.trial-price span {
  color: rgba(20, 21, 17, 0.65);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}
.subscribe-card > small {
  display: block;
  margin-top: 10px;
  color: rgba(20, 21, 17, 0.52);
  text-align: center;
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   9. How it works (3-step section)
   -------------------------------------------------------------------------- */
.how-section {
  padding: 90px 26px 100px;
  border-top: 1px solid var(--line);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.steps-grid article {
  min-height: 210px;
  padding: 27px;
  background: #fff;
  border-radius: var(--radius-2xl);
}
.steps-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.steps-grid h3 {
  margin: 54px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.steps-grid p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
footer {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px 26px 45px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  display: flex;
}
footer p,
footer small {
  color: var(--muted);
  font-size: 10px;
}
footer div:not(.brand) {
  display: flex;
  gap: 20px;
  font-size: 10px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   11. Mobile bottom nav (shown <=720px only, see media query section)
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   12. Modals (listing detail, checkout/subscribe, login, add-listing form)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 32px 18px;
  background: rgba(16, 17, 13, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: backdrop-in 0.18s both;
}
.listing-modal,
.action-modal {
  position: relative;
  overflow-y: auto;
  width: min(100%, 660px);
  max-height: calc(100vh - 64px);
  padding: 34px;
  background: var(--white);
  border-radius: 25px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  animation: modal-in 0.22s both;
}
.action-modal {
  width: min(100%, 520px);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}

/* listing detail modal */
.modal-company-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 50px;
}
.modal-company-row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.modal-company-row strong {
  font-size: 14px;
}
.modal-company-row span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}
.listing-modal > .featured-label {
  margin-top: 26px;
}
.listing-modal h2,
.action-modal h2 {
  margin: 25px 0 14px;
  font-size: clamp(31px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.listing-modal > .featured-label + h2 {
  margin-top: 13px;
}
.modal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.modal-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--paper);
  color: #55584e;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 750;
}
.modal-facts svg {
  width: 13px;
  height: 13px;
}
.modal-tags {
  margin-top: 12px;
}
.modal-description {
  margin: 27px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.modal-description h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.modal-description p {
  margin: 0 0 10px;
  color: #5d6056;
  font-size: 13px;
  line-height: 1.65;
}

/* contact reveal (paywall gate) */
.contact-locked,
.contact-unlocked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: var(--radius-xl);
}
.contact-locked {
  background: var(--lime);
}
.contact-unlocked {
  background: var(--ink);
  color: #fff;
}
.lock-mark {
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}
.contact-locked > div:nth-child(2),
.contact-unlocked > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.contact-locked strong,
.contact-unlocked strong {
  font-size: 13px;
}
.contact-locked span,
.contact-unlocked small {
  color: rgba(20, 21, 17, 0.62);
  font-size: 9px;
}
.contact-unlocked small {
  color: rgba(255, 255, 255, 0.55);
}
.contact-locked button,
.contact-unlocked button {
  padding: 10px 13px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 900;
}
.contact-unlocked button {
  background: var(--lime);
  color: var(--ink);
}
.safety-note {
  margin: 12px 4px 0;
  color: #92958b;
  font-size: 8px;
  line-height: 1.45;
}

/* checkout / subscribe (action-modal variant) */
.modal-symbol {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin-bottom: 31px;
  background: var(--lime);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}
.modal-symbol.blue {
  background: var(--blue);
  color: #fff;
  font-size: 19px;
}
.action-modal h2 {
  margin: 11px 0 12px;
}
.modal-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.price-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 13px;
  margin: 25px 0 20px;
  padding: 17px;
  background: var(--paper);
  border-radius: var(--radius-xl);
}
.price-summary div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.price-summary strong {
  font-size: 21px;
}
.price-summary span {
  color: var(--muted);
  font-size: 9px;
}
.price-summary i {
  color: #8b8e84;
  font-style: normal;
}
.benefit-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 800;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.benefit-list span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  background: var(--lime);
  border-radius: 50%;
  font-size: 9px;
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 17px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.terms-check input {
  margin: 1px 0 0;
  accent-color: var(--blue);
}
.terms-check span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}
.modal-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 16px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 900;
}
.modal-primary:disabled {
  background: #c9cbc3;
  color: #777a70;
  cursor: not-allowed;
}
.modal-primary svg {
  width: 17px;
  height: 17px;
}
.demo-note {
  display: block;
  margin: 11px 6px 0;
  color: #92958b;
  text-align: center;
  font-size: 8px;
  line-height: 1.4;
}

/* login modal + add-listing form modal */
.form-modal form,
.login-modal form {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}
.form-modal label,
.login-modal label {
  display: grid;
  gap: 7px;
}
.form-modal label > span,
.login-modal label > span {
  color: #66695f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 9px;
  font-weight: 900;
}
.form-modal input,
.form-modal select,
.form-modal textarea,
.login-modal input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fafbf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  font-size: 12px;
  resize: vertical;
}
.form-modal input:focus,
.form-modal select:focus,
.form-modal textarea:focus,
.login-modal input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 87, 255, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   13. Toast (transient confirmation, e.g. "saved to favorites")
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 160;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 17px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.23);
  animation: toast-in 0.22s both;
}
.toast span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   14. Motion
   -------------------------------------------------------------------------- */
@keyframes backdrop-in {
  0% { opacity: 0; }
}
@keyframes modal-in {
  0% { opacity: 0; transform: translateY(12px) scale(0.985); }
}
@keyframes toast-in {
  0% { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. Responsive breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }
  .main-nav {
    display: none; /* replaced by .mobile-bar below 720px; add a proper
                       drawer/hamburger here for the 720–1020px gap */
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .subscribe-card {
    position: relative;
    top: auto;
  }
  footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 69px; /* clears the fixed mobile-bar */
  }
  .site-header {
    min-height: 64px;
    padding: 0 17px;
  }
  .brand-mark {
    font-size: 24px;
  }
  .country-pill,
  .text-button,
  .primary-button.compact,
  .access-pill {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 65px 17px 34px;
  }
  .hero::after,
  .orbit-two {
    display: none;
  }
  .orbit-one {
    top: 75px;
    right: 20px;
    width: 42px;
    height: 42px;
    box-shadow: -45px 64px 0 -14px var(--orange);
  }
  .hero h1 {
    max-width: 550px;
    font-size: clamp(49px, 15.7vw, 70px);
    line-height: 0.92;
  }
  .hero-copy > p {
    margin-top: 22px;
    font-size: 15px;
  }

  .search-shell {
    margin-top: 70px;
    padding: 8px;
  }
  .mode-switch {
    margin-top: -54px;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-field {
    min-height: 60px;
    padding: 0 13px;
  }
  .search-field.grow,
  .search-field.location-field {
    flex: 100%;
  }
  .search-field.location-field {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .search-button {
    flex: 100%;
    min-height: 52px;
    margin-top: 6px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 25px;
  }
  .trust-row div:last-child {
    grid-column: 1 / -1;
  }

  .catalog-section,
  .how-section {
    padding: 65px 17px 75px;
  }
  .section-heading {
    align-items: start;
  }
  .outline-button {
    display: none;
  }
  .listing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .listing-card {
    padding: 20px;
  }
  .listing-card h3,
  .listing-description {
    min-height: auto;
  }
  .subscribe-card {
    padding: 25px;
  }
  .steps-grid article {
    min-height: 170px;
  }
  .steps-grid h3 {
    margin-top: 38px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 35px 17px;
  }

  /* fixed bottom tab bar replaces desktop nav */
  .mobile-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 9px;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 7px;
    background: rgba(20, 21, 17, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-bar button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 44px; /* touch target */
    color: rgba(255, 255, 255, 0.62);
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    font-size: 9px;
    font-weight: 800;
  }
  .mobile-bar button.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  .mobile-bar button span {
    font-size: 15px;
  }
  .mobile-bar .mobile-add {
    background: var(--lime);
    color: var(--ink);
  }

  .modal-backdrop {
    align-items: end;
    padding: 12px;
  }
  .listing-modal,
  .action-modal {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 27px 20px 22px;
    border-radius: 22px;
  }
  .listing-modal h2,
  .action-modal h2 {
    padding-right: 24px;
  }
  .contact-locked {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .contact-locked button {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
