/* HomezyPro stylesheet.
   Shell: 1160px on desktop, fluid below. Paper and ink, deep green as the
   brand and action colour, amber only for the paid sample slots.
   Fonts come from pageShell: Fraunces (display), IBM Plex Sans (body),
   IBM Plex Mono (numbers and labels). Mobile first. */

:root {
  --paper: #f3f0e9;
  --paper-deep: #ebe6db;
  --surface: #fbf9f4;
  --white: #ffffff;
  --ink: #1b2120;
  --ink-soft: #343b39;
  --muted: #5c645f;
  --faint: #8a918c;
  --rule: #d9d3c6;
  --rule-strong: #b3ac9d;
  --green: #0e5e3f;
  --green-ink: #0b3d2a;
  --green-deep: #0a3526;
  --green-tint: #e2ece5;
  --green-tint-2: #cfe0d5;
  --amber: #fdf1d3;
  --amber-ink: #7a4f00;
  --amber-line: #e3cd92;
  --clay: #f4e9e2;
  --clay-ink: #7d3b22;
  --clay-line: #e2cbbd;
  --max: 1160px;
  --pad: 20px;
  --radius: 10px;
  --radius-lg: 16px;
  --measure: 66ch;
  --top-h: 64px;
  --shadow: 0 1px 2px rgba(27, 33, 32, 0.04), 0 8px 24px -12px rgba(27, 33, 32, 0.18);
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #d3e4d9; color: var(--ink); }

[hidden] { display: none !important; }

a { color: var(--green-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }

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

img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Icons ---------- */

.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}

.ic-inline { margin-right: 0.35em; }

.ic-btn { margin-left: 0.45em; width: 1em; height: 1em; }

.ic-btn-lead { margin-right: 0.45em; width: 1.05em; height: 1.05em; }

.ic-disc { width: 1.4rem; height: 1.4rem; }

.ic-star { width: 0.9em; height: 0.9em; margin-right: 0.3em; vertical-align: -0.1em; }

.disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
}

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 50;
  text-decoration: none;
}

.skip:focus { top: 12px; }

/* ---------- Shell ---------- */

.top-inner,
.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.wrap { padding-bottom: 72px; }

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 240, 233, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  min-height: var(--top-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand:hover .wordmark { color: var(--green); }

.mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--green);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.beta {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 4px 7px 3px;
  border-radius: 4px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 -8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-ic { width: 1.05rem; height: 1.05rem; color: var(--green); opacity: 0.85; }

.nav a:hover {
  color: var(--green-ink);
  background: rgba(14, 94, 63, 0.08);
}

.nav a[aria-current="page"] {
  color: var(--green-ink);
  background: var(--green-tint);
}

/* ---------- Type ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  max-width: 20ch;
}

h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 .ic { color: var(--green); margin-right: 0.4em; width: 1em; height: 1em; vertical-align: -0.12em; }

h1, h2, .dek, .lede, figcaption, blockquote, .fit, .price, .rating-note,
.facts dd, .recipient, details p, .ad p, .notes p, .trust span {
  overflow-wrap: break-word;
}

.kicker {
  margin: 0;
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dek {
  font-family: var(--serif);
  font-weight: 460;
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.35;
  margin: 16px 0 0;
  max-width: 34ch;
}

.lede,
.method,
.note,
.fit,
.price,
.byline,
.rating-note,
.empty,
.ads-foot,
.recipient {
  margin: 14px 0 0;
}

.lede,
.method,
.fit,
.price,
.recipient,
.note,
.empty,
details p {
  max-width: var(--measure);
}

.lede { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); }

.method,
.note,
.rating-note,
.byline,
.ads-foot,
.recipient,
.fact-src,
figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.method { margin-top: 18px; }

.method .ic { color: var(--green); }

/* ---------- Breadcrumbs and page head ---------- */

.crumbs {
  margin: 22px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
}

.crumbs li { display: inline-flex; align-items: center; min-width: 0; }

.crumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-top: 1.5px solid var(--rule-strong);
  border-right: 1.5px solid var(--rule-strong);
  transform: rotate(45deg);
  flex: none;
}

.crumbs a { color: var(--muted); text-decoration: none; }

.crumbs a:hover { color: var(--green); text-decoration: underline; }

.crumbs span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }

.page-head { padding-bottom: 8px; }

.head-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 26px;
}

.head-row .disc { margin-top: 4px; }

.head-row h1 { margin-top: 6px; }

.page-head .lede { margin-top: 20px; }

/* ---------- Sections ---------- */

.section { margin-top: 56px; }

main > section.section,
main > .faq {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}

main > section.section + section.section { margin-top: 40px; }

.section-head .lede { margin-top: 12px; }

.section-head h2 { margin-top: 10px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }

/* ---------- Home: hero ---------- */

.hero {
  margin-top: 24px;
  padding: 32px 24px 0;
  background: var(--green-deep);
  color: #f3f0e9;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  z-index: -1;
}

.hero .kicker { color: #9fd3b8; }

.hero h1 {
  color: #fbf9f4;
  margin-top: 14px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem);
}

.hero .dek {
  color: #d6e4dc;
  font-style: normal;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-visual {
  color: #c9dccf;
  margin: 0 -24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.hero-art .lit { fill: rgba(243, 240, 233, 0.32); }

.hero-art .unit { fill: rgba(243, 240, 233, 0.16); }

.hero-art .leaf { fill: rgba(159, 211, 184, 0.14); }

/* ---------- Home: trust strip ---------- */

.trust {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.trust li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 2px 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
}

.trust li > .ic {
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
}

.trust strong { color: var(--ink); font-weight: 600; font-size: 1rem; }

/* ---------- Home: job tiles ---------- */

.jobs { margin-top: 56px; scroll-margin-top: calc(var(--top-h) + 16px); }

.index,
.shortlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.index li { min-width: 0; }

.index a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  min-height: 96px;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.index a:hover,
.index a:focus-visible {
  border-color: var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.index li.is-empty a {
  background: transparent;
  border-style: dashed;
  border-color: var(--rule-strong);
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tile-top .disc { width: 2.6rem; height: 2.6rem; border-radius: 10px; }

.idx,
.row-num,
.score,
.facts dt,
.eyebrow,
.list-meta,
.step-num,
.fact-src,
.result {
  font-family: var(--mono);
}

.idx,
.row-num {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.job {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  margin-top: 4px;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.ic-tile { color: var(--green); width: 1.1rem; height: 1.1rem; transition: transform 120ms ease; }

.index a:hover .ic-tile { transform: translateX(3px); }

/* ---------- Home: how it works and promise ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

.steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.how .method { margin-top: 20px; }

.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.promise-list li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.promise-list li:first-child { border-top: 0; padding-top: 0; }

.promise-list li .ic { color: var(--green); width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; grid-row: 1 / span 2; }

.promise-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Category: notes and shortlist ---------- */

.notes {
  margin-top: 24px;
  padding: 20px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}

.notes h2 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
}

.notes h2 .ic { width: 1rem; height: 1rem; margin-right: 0.5em; }

.notes p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: none;
}

.notes .method { margin-top: 14px; }

.list-head {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
}

h2.section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.92rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.list-meta { margin: 0; font-size: 0.8rem; color: var(--faint); }

.shortlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
  padding: 20px 18px 22px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.row:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }

.row-num { padding-top: 0.55rem; line-height: 1; }

.row-body { min-width: 0; }

.row-head { display: grid; gap: 10px; justify-items: start; }

.row h2 { font-size: 1.5rem; margin: 0; }

.row h2 a { color: inherit; text-decoration: none; }

.row h2 a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 4px; }

.rate {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  line-height: 1.3;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0 10px;
  background: var(--green);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.score-none {
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rate-label { font-size: 0.9rem; color: var(--ink-soft); }

.rating-note { margin-top: 10px; }

.fit-label,
.price-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 3px;
}

.row .fit { margin-top: 16px; color: var(--ink); }

/* Quotes */

.quote {
  margin: 16px 0 0;
  padding: 14px 16px 14px 18px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  max-width: var(--measure);
}

.quote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 2px;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--green-tint-2);
}

.quote blockquote {
  margin: 0;
  padding: 0 0 0 12px;
  font-family: var(--serif);
  font-weight: 460;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.45;
}

.quote blockquote p { margin: 0; }

.quote figcaption { margin: 10px 0 0 12px; font-size: 0.86rem; line-height: 1.5; }

.quote .who { color: var(--ink); font-weight: 500; }

.quote .src { color: var(--faint); }

.quotes { display: grid; gap: 12px; margin-top: 16px; }

.quotes .quote { margin-top: 0; }

.quote-none { font-style: italic; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.empty {
  margin-top: 24px;
  padding: 24px 20px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--muted);
  max-width: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn:hover { background: var(--ink); color: #fff; }

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

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn-solid:hover { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }

.btn-quiet { border-color: var(--rule-strong); color: var(--ink-soft); }

.btn-quiet:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

.btn-paper { background: #f3f0e9; border-color: #f3f0e9; color: var(--green-deep); }

.btn-paper:hover { background: #fff; border-color: #fff; color: var(--green-deep); }

.btn-ghost { border-color: rgba(243, 240, 233, 0.45); color: #f3f0e9; }

.btn-ghost:hover { background: rgba(243, 240, 233, 0.12); border-color: #f3f0e9; color: #fff; }

/* ---------- Quote block (a div, not a form) ---------- */

.ask-wrap {
  margin-top: 48px;
  padding: 24px 20px 26px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  container-type: inline-size;
}

.ask-copy h2 { font-size: 1.6rem; margin-top: 8px; }

.ask-wrap .recipient { max-width: none; }

.ask-note { display: flex; align-items: flex-start; gap: 0; }

.ask-note .ic { color: var(--green); margin-top: 0.2em; }

.ask {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.ask label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}

.ask label ~ label { margin-top: 14px; }

input,
select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

input::placeholder { color: var(--faint); }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b2120' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

input:focus,
select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.ask .btn {
  margin-top: 18px;
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
}

.result {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--green-ink);
}

@container (min-width: 460px) {
  .ask:not([data-quote-steps]) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .ask:not([data-quote-steps]) label ~ label { margin-top: 0; }
  .ask:not([data-quote-steps]) label:nth-of-type(n + 3) { margin-top: 14px; }
  .ask:not([data-quote-steps]) label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .ask:not([data-quote-steps]) label:nth-of-type(1) + select { grid-column: 1; grid-row: 2; }
  .ask:not([data-quote-steps]) label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .ask:not([data-quote-steps]) label:nth-of-type(2) + input { grid-column: 2; grid-row: 2; }
  .ask:not([data-quote-steps]) label:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .ask:not([data-quote-steps]) label:nth-of-type(3) + select { grid-column: 1; grid-row: 4; }
  .ask:not([data-quote-steps]) label:nth-of-type(4) { grid-column: 2; grid-row: 3; }
  .ask:not([data-quote-steps]) label:nth-of-type(4) + input { grid-column: 2; grid-row: 4; }
  .ask:not([data-quote-steps]) .btn,
  .ask:not([data-quote-steps]) .result { grid-column: 1 / -1; }
}

.ask[data-quote-steps] { display: block; }

.ask-progress {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.ask-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--amber-ink);
  background: var(--amber);
  color: var(--ink);
  font-size: 0.92rem;
}

.ask-step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.2;
}

.ask-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.ask-fields label { margin: 0; }

.ask-fields select,
.ask-fields input { margin-top: 6px; }

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.ask-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ask-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.96rem;
  font-weight: 400;
  cursor: pointer;
}

.ask-option input[type="radio"] {
  width: 1rem;
  min-height: 1rem;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ask-actions .btn { margin-top: 0; }

.ask-recipients {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.ask-recipients p { margin: 0; font-weight: 500; }

.ask-recipients ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 1.35rem;
}

/* ---------- Featured (paid sample, amber) ---------- */

.ads {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 16px;
}

.ads-head,
.ads .ads-foot { grid-column: 1 / -1; }

.ads-head h2 { font-size: 1.3rem; }

.ads-head .note { margin-top: 6px; }

.ads .ads-foot { margin-top: 2px; }

.ad {
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--amber);
  border: 1px dashed var(--amber-line);
  border-radius: var(--radius);
  color: #4a3a12;
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber-ink);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad p { margin: 0; }

.ad p + p { margin-top: 6px; }

.ad-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--amber-ink);
}

/* ---------- Sub-navigation and FAQ ---------- */

.subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  border: 0;
}

.subs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}

.subs a:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.subs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.faq { margin-top: 56px; }

.faq-list { margin-top: 16px; }

details {
  border-top: 1px solid var(--rule);
  padding: 2px 0 10px;
}

details:last-of-type { border-bottom: 1px solid var(--rule); }

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  padding: 14px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary:hover { color: var(--green-ink); }

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

.faq-mark {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 150ms ease; }

details[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

details[open] .faq-mark { background: var(--green-tint); border-color: var(--green-tint-2); }

details p { margin: 0 0 8px; color: var(--ink-soft); }

/* ---------- Profile ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 22px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--green);
  background: var(--surface);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.tag .ic { width: 1rem; height: 1rem; }

.tag:hover { border-color: var(--green); background: var(--green-tint); }

.profile-head h1 { margin-top: 12px; }

.profile-head .rate { margin-top: 14px; }

.actions-hero { margin-top: 20px; }

.profile { margin-top: 28px; }

.profile-main .section { margin-top: 40px; }

.profile-main .section h2 { font-size: 1.3rem; }

.profile-main .ask-wrap { margin-top: 44px; }

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.fit-card {
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--surface);
}

.fit-card h2 {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.fit-card h2 .ic { width: 1rem; height: 1rem; margin-right: 0.5em; }

.fit-card .fit { margin-top: 10px; max-width: none; }

.fit-card.good { background: var(--green-tint); border-color: var(--green-tint-2); }

.fit-card.good h2 { color: var(--green-ink); }

.fit-card.good h2 .ic { color: var(--green); }

.fit-card.poor { background: var(--clay); border-color: var(--clay-line); }

.fit-card.poor h2 { color: var(--clay-ink); }

.fit-card.poor h2 .ic { color: var(--clay-ink); }

.price-card {
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.price-card .price { margin: 0; max-width: none; line-height: 1.6; }

.price-card .byline { margin-top: 10px; }

.facts-wrap {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts-title {
  margin: 0;
  padding: 12px 18px;
  background: var(--green-tint);
  color: var(--green-ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts {
  margin: 0;
  padding: 4px 18px 6px;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 12px;
  border-top: 1px solid var(--rule);
  padding: 12px 0;
}

.facts div:first-child { border-top: 0; }

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.facts dd a { color: var(--green-ink); font-weight: 500; }

.facts dd strong { font-weight: 600; }

.fact-note { color: var(--muted); font-size: 0.9rem; }

.fact-src { white-space: nowrap; font-size: 0.8rem; }

.peers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.peers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.peers a:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.peer-name { font-family: var(--serif); font-size: 1.08rem; }

.peer-rate {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--green-ink);
  white-space: nowrap;
}

.peer-none { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 959px) {
  .profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .profile-main { display: contents; }
  .profile-main > * { order: 4; }
  .profile-main > .fit-grid { order: 1; }
  .profile-side { order: 2; margin-top: 24px; }
  .profile-main > .price-section { order: 3; }
}

/* Mobile call bar on profiles */

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 244, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  gap: 10px;
}

.callbar .btn { flex: 1 1 0; min-height: 48px; }

/* ---------- How it works page ---------- */

.how-step h2 { display: flex; align-items: baseline; gap: 12px; }

.step-num {
  font-size: 0.8rem;
  color: var(--green);
  letter-spacing: 0.08em;
}

.how-step .lede:first-child { margin-top: 12px; }

/* ---------- Footer ---------- */

.foot {
  margin-top: 24px;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 40px;
  padding: 36px 0 96px;
}

.foot-brand p { margin: 12px 0 0; max-width: 44ch; }

.foot-brand .wordmark { font-size: 1.35rem; }

.foot-brand .mark { width: 26px; height: 26px; }

.foot-note { font-size: 0.84rem; color: var(--faint); }

.foot-col h2 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot-col ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }

.foot a { color: var(--ink-soft); text-decoration: none; }

.foot a:hover { color: var(--green); text-decoration: underline; }

.foot-line {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.84rem;
  color: var(--faint);
}

/* ---------- Tablet and up ---------- */

@media (min-width: 640px) {
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  .trust li { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 20px; }

  .trust li > .ic { grid-row: auto; margin-bottom: 10px; }

  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .index a { min-height: 190px; padding: 20px 20px 18px; }

  .job { font-size: 1.55rem; margin-top: 18px; }

  .meta { margin-top: auto; padding-top: 14px; }

  .index a { display: flex; flex-direction: column; }

  .index .hint { margin-bottom: 14px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }

  .promise-list li:nth-child(2) { border-top: 0; padding-top: 0; }

  .ads { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .row {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0 14px;
    padding: 24px 26px 26px 22px;
  }

  .row h2 { font-size: 1.65rem; }

  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .facts div { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 6px 16px; }

  .peers { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .foot-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }

  .hero { padding: 40px 36px 0; }

  .hero-visual { margin: 0 -36px 0; }
}

@media (min-width: 640px) and (max-width: 959px) {
  .index li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (min-width: 800px) {
  :root { --pad: 32px; }
}

/* ---------- Desktop ---------- */

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: 32px;
    padding: 56px 0 0 48px;
    margin-top: 28px;
  }

  .hero-copy { padding-bottom: 56px; }

  .hero-visual { margin: 0; align-self: end; padding-left: 8px; }

  .hero-art { max-width: 560px; }

  .trust { margin-top: 16px; }

  .index { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }

  .index li { grid-column: span 2; }

  .index li:nth-child(4),
  .index li:nth-child(5) { grid-column: span 3; }

  .index li:last-child:nth-child(odd) { grid-column: span 3; }

  .index a { min-height: 210px; padding: 22px 22px 20px; }

  .job { font-size: 1.7rem; }

  main > section.section,
  main > .faq {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 48px;
    row-gap: 0;
    padding-top: 32px;
  }

  main > section.section > h2,
  main > .faq > h2 {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.35rem;
    position: sticky;
    top: calc(var(--top-h) + 24px);
    align-self: start;
  }

  main > section.section > :not(h2),
  main > .faq > :not(h2) { grid-column: 2; }

  main > section.section > .lede:first-of-type,
  main > section.section > .steps,
  main > section.section > div > .lede:first-child { margin-top: 0; }

  .faq-list { margin-top: 0; }

  .faq-list details:first-of-type { border-top: 0; margin-top: -10px; }

  .head-row { gap: 20px; margin-top: 30px; }

  .head-row .disc { width: 3.6rem; height: 3.6rem; border-radius: 14px; }

  .head-row .ic-disc { width: 1.7rem; height: 1.7rem; }

  .notes { padding: 22px 26px 20px; }

  .notes p { max-width: 80ch; }

  .shortlist { gap: 16px; }

  .row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    padding: 28px 32px 30px 28px;
  }

  .row-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15rem;
    column-gap: 32px;
    align-items: start;
  }

  .row-head { grid-column: 1 / -1; }

  .row .rating-note,
  .row .fit,
  .row .quote,
  .row .quote-none { grid-column: 1; }

  .row .actions {
    grid-column: 2;
    grid-row: 2 / span 4;
    flex-direction: column;
    align-items: stretch;
    margin-top: 14px;
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }

  .profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    column-gap: 56px;
    align-items: start;
    margin-top: 36px;
  }

  .profile-side {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--top-h) + 16px);
  }

  .profile-main { grid-column: 1; grid-row: 1; }

  .profile-main > .fit-grid { margin-top: 0; }

  .profile-side .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .peers { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .foot-inner { padding: 44px 0 80px; }
}

/* ---------- Phone ---------- */

@media (max-width: 639px) {
  :root { --top-h: 56px; }

  body { font-size: 1rem; }

  .top-inner { padding: 6px 0 0; }

  .wordmark { font-size: 1.4rem; }

  .nav {
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 2px calc(var(--pad) * -1) 0;
    padding: 0 var(--pad) 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav a { min-height: 40px; padding: 0 10px; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--rule); }

  .nav a[aria-current="page"] { border-color: var(--green-tint-2); }

  .top { position: static; }

  h1 { font-size: 2.1rem; }

  .hero { margin-top: 18px; padding: 26px 20px 0; border-radius: 14px; }

  .hero h1 { font-size: 2.2rem; }

  .hero-visual { margin: 0 -20px 0; }

  .hero .btn { flex: 1 1 140px; }

  .jobs { margin-top: 44px; }

  .section { margin-top: 44px; }

  .ask-wrap,
  .ads,
  .faq { margin-top: 40px; }

  .list-head { margin-top: 40px; }

  .row { padding: 18px 16px 20px; gap: 0 10px; }

  .row h2 { font-size: 1.35rem; }

  .actions .btn { flex: 1 1 110px; padding: 0 12px; }

  .ask-wrap { padding: 20px 16px 22px; border-radius: 12px; }

  .ask-copy h2 { font-size: 1.4rem; }

  .fit-card { padding: 16px 16px 18px; }

  body.has-callbar .wrap { padding-bottom: 96px; }

  body.has-callbar .foot-inner { padding-bottom: 110px; }

  body.has-callbar .callbar { display: flex; }

  body.has-callbar .actions-hero { display: none; }

  .foot-inner { padding: 30px 0 72px; }
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .index a, .ic-tile, .faq-mark::after, .btn, .row { transition: none; }
}

@media print {
  .top, .callbar, .ask-wrap, .ads, .skip { display: none !important; }
  body { background: #fff; }
  .wrap { width: auto; }
}
