/* ==========================================================================
   Sell My Round — site styles
   Clean, discreet, trustworthy. Built mobile-first.
   ========================================================================== */

:root {
  --navy: #14263d;
  --navy-700: #1d3a5f;
  --navy-600: #27496f;
  --slate: #3a4a5c;
  --ink: #1c2630;
  --body: #41505f;
  --muted: #6b7a89;
  --line: #e2e6ea;
  --line-soft: #eef1f4;
  --paper: #ffffff;
  --canvas: #f6f7f5;
  --canvas-2: #eef1ee;
  --accent: #2f7d6e;       /* muted teal-green: calm, practical */
  --accent-600: #276557;
  --accent-050: #e7f1ee;
  --gold: #b5894e;
  --focus: #2f7d6e;
  --shadow-sm: 0 1px 2px rgba(20, 38, 61, 0.06), 0 1px 3px rgba(20, 38, 61, 0.05);
  --shadow-md: 0 6px 18px rgba(20, 38, 61, 0.08);
  --shadow-lg: 0 18px 40px rgba(20, 38, 61, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

strong { color: var(--ink); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; }

.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--canvas { background: var(--canvas); }
.section--navy { background: var(--navy); color: #d7e0ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--accent { background: var(--accent-050); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #7fc8b8; }

.lead { font-size: 1.18rem; color: var(--slate); }
.section--navy .lead { color: #c4d1de; }

.center { text-align: center; }
.measure { max-width: 640px; }
.center.measure { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-600); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #f0f3f6; color: var(--navy); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }

.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand__mark svg { width: 19px; height: 19px; }
.brand__name { font-size: 1.12rem; line-height: 1; }
.brand__name small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--navy); background: var(--canvas); text-decoration: none; }
.nav__links a.is-active { color: var(--navy); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 10px 15px; }
.site-header .wrap { max-width: 1200px; }
.nav__links ul { gap: 2px !important; }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 9px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--navy);
}
.nav__toggle svg { width: 22px; height: 22px; margin: 0 auto; }

@media (max-width: 1000px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px 22px 20px; }
.mobile-menu li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a { display: block; padding: 13px 4px; color: var(--slate); font-weight: 500; }
.mobile-menu a:hover { color: var(--navy); text-decoration: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(47,125,110,0.10), transparent 60%),
    linear-gradient(180deg, #fbfcfb 0%, var(--canvas) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner { padding: 76px 0 64px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; max-width: 38ch; }
.hero__cta { margin-bottom: 22px; }
.hero__assure { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; color: var(--muted); }
.hero__assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assure svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }

/* Hero side card */
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.hero__card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hero__card p.sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.mini-field { margin-bottom: 13px; }
.mini-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.mini-field input, .mini-field select {
  width: 100%; padding: 12px 13px; font-family: inherit; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff;
}
.mini-field input:focus, .mini-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-050); }
.hero__card .note { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 48px; }
  .hero__card { order: 2; }
}

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--accent-050); color: var(--accent-600);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 23px; height: 23px; }

.section--navy .card { background: var(--navy-700); border-color: rgba(255,255,255,.08); color: #c8d4e0; }
.section--navy .card p { color: #b3c2d1; }
.section--navy .card__icon { background: rgba(127,200,184,.14); color: #8fd3c3; }

/* Pillars / reassurance list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.checklist b { color: var(--ink); }
.section--navy .checklist b { color: #fff; }
.section--navy .checklist svg { color: #8fd3c3; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.97rem; margin-bottom: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 30px;
}
.panel--accent { background: var(--accent-050); border-color: #cfe4dd; box-shadow: none; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 0.92rem; font-weight: 500; color: var(--slate);
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.07rem; font-weight: 600; color: var(--ink);
  padding: 22px 44px 22px 2px; position: relative; line-height: 1.4;
}
.faq__q:hover { color: var(--accent-600); }
.faq__q::after {
  content: ""; position: absolute; right: 6px; top: 26px;
  width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item.is-open .faq__q::after { transform: rotate(-135deg); top: 30px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a-inner { padding: 0 2px 22px; color: var(--body); }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--slate); margin-bottom: 7px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-050);
}
.field input.invalid, .field select.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
.field .err { color: #c0392b; font-size: 0.82rem; margin-top: 6px; display: none; }
.field .err.show { display: block; }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.94rem; font-weight: 500; color: var(--slate); background: #fff; cursor: pointer;
  transition: all .12s ease;
}
.choice input:checked + span { border-color: var(--accent); background: var(--accent-050); color: var(--accent-600); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-aside {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.form-aside h3 { font-size: 1.05rem; }
.form-note {
  margin-top: 18px; font-size: 0.86rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start;
}
.form-note svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .tick {
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent-050); color: var(--accent-600);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-success .tick svg { width: 30px; height: 30px; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background:
    radial-gradient(900px 360px at 82% -20%, rgba(47,125,110,0.10), transparent 60%),
    linear-gradient(180deg, #fbfcfb, var(--canvas));
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.page-head .lead { margin-bottom: 0; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-600); }

/* ---------- Factor / value list ---------- */
.factor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.factor {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.factor:last-child { border-bottom: 0; }
.factor__n { font-weight: 700; color: var(--accent-600); font-size: 1.1rem; }
.factor h3 { font-size: 1.1rem; margin-bottom: 4px; }
.factor p { margin-bottom: 0; font-size: 0.97rem; }

/* Deal options */
.deal { display: grid; gap: 18px; }
.deal__item { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.deal__item h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.deal__item p:last-child { margin-bottom: 0; }
.pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-600); background: var(--accent-050); padding: 4px 9px; border-radius: 6px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d1de; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb1c4; padding: 56px 0 30px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name small { color: #7e93a8; }
.site-footer .brand__mark { background: #fff; }
.site-footer .brand__mark svg { color: var(--navy); }
.footer-about { margin: 16px 0 0; max-width: 34ch; color: #9fb1c4; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #9fb1c4; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #7e93a8;
}
.footer-bottom a { color: #7e93a8; }
.footer-disclaimer { font-size: 0.8rem; color: #6f8398; margin-top: 16px; max-width: 70ch; line-height: 1.6; }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 0.9rem; flex: 1 1 320px; }
.cookie-bar .btn { padding: 11px 18px; font-size: 0.92rem; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--canvas); }

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

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.hide { display: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

@media (p