/* ==========================================================================
   divorcd brand styles
   ========================================================================== */

:root {
  /* Core: ink is the tunnel, gold is the light, bone is the safe ground */
  --charcoal: #141414;
  --ink: #111111;
  --slate: #65615B;
  --gold: #EE9E52;          /* sunrise amber, taken from the hero */
  --gold-deep: #A4471E;     /* ember: amber text on light backgrounds */
  --orange: #E08A3E;       /* amber for marks on light backgrounds */
  --orange-deep: #111111;  /* legacy token: primary actions are ink */
  --cream: #F6EEE4;        /* dawn: warm morning cream */
  --white: #FFFAF4;
  --line: #E8DBCA;
  --stone: #EDE0CF;
  --sage: #8FA89A;

  /* Section tokens, collapsed into a calm neutral system */
  --lilac: #D9C9B6;  --lilac-tint: #F1E6D8;  --lilac-ink: #3D3630;
  --sky: #D9C9B6;    --sky-tint: #F1E6D8;    --sky-ink: #3D3630;
  --mint: #8FA89A;   --mint-tint: #E4ECE6;   --mint-ink: #3F5A4B;
  --sun: #EE9E52;    --sun-tint: #FBE6D0;    --sun-ink: #8A3E1A;
  --pink: #D9C9B6;   --pink-tint: #F1E6D8;   --pink-ink: #3D3630;
  --peach-tint: #FBE6D0;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --radius: 14px;
  --radius-lg: 24px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--slate); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

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

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--charcoal); color: var(--white); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Logo ---------- */
.logo {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
}
.logo .d {
  display: inline-block;
  color: var(--orange);
  transform: translate(3px, -3px) rotate(8deg);
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--font);
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange-deep); color: var(--white); }
.btn--primary:hover { background: #A84418; }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--white { background: var(--white); color: var(--charcoal); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.pill {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.2;
}
.pill--lilac { background: var(--lilac-tint); color: var(--lilac-ink); }
.pill--sky { background: var(--sky-tint); color: var(--sky-ink); }
.pill--mint { background: var(--mint-tint); color: var(--mint-ink); }
.pill--sun { background: var(--sun-tint); color: var(--sun-ink); }
.pill--pink { background: var(--pink-tint); color: var(--pink-ink); }
.pill--orange { background: var(--peach-tint); color: var(--orange-deep); }

/* ---------- Quick exit ---------- */
.quick-exit {
  position: fixed; right: 16px; bottom: 16px; z-index: 150;
  background: var(--charcoal); color: var(--white);
  font: 700 14px/1 var(--font);
  padding: 14px 18px; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.quick-exit small { font-weight: 500; opacity: .75; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--slate);
  padding: 8px 12px; border-radius: 999px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--cream); color: var(--charcoal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: var(--cream); border: 0; border-radius: 999px;
  width: 44px; height: 44px; cursor: pointer; font-size: 20px; color: var(--charcoal);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 96px 0 110px; }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 1.2rem; color: var(--slate); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--slate); }

.blob { position: absolute; z-index: 1; }
.blob--sun { width: 340px; height: 340px; border-radius: 50%; background: var(--sun); right: -80px; top: -90px; }
.blob--pink { width: 150px; height: 150px; border-radius: 50%; background: var(--pink); right: 260px; top: 150px; }
.blob--sky { width: 240px; height: 240px; border-radius: 60px; background: var(--sky); right: 60px; bottom: -100px; transform: rotate(18deg); }
.blob--mint { width: 80px; height: 80px; border-radius: 50%; background: var(--mint); right: 380px; bottom: 60px; }
.blob--lilac { width: 110px; height: 110px; border-radius: 50% 50% 50% 12px; background: var(--lilac); right: 40px; top: 230px; }

/* ---------- Hero logo drop animation ----------
   Timeline: drop and bounce 0–1.2s, wiggle 1.2–1.9s, "d" breaks free 1.95–2.85s */
.hero .blob--pink { width: 90px; height: 90px; top: auto; bottom: 36px; right: 70px; }
.hero .blob--mint { width: 54px; height: 54px; top: 70px; bottom: auto; right: 470px; }
.drop { cursor: pointer; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-grid .hero-content { order: 1; }
.hero-visual { order: 2; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.drop-stage {
  position: relative;
  height: 340px; width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 40px;
  font-size: clamp(64px, 8.5vw, 124px);
}
.drop {
  position: relative; z-index: 2;
  transform-origin: 50% 100%;
  animation: logo-drop 1.2s both;
}
.drop-word {
  font-weight: 800; letter-spacing: -0.045em; line-height: .9;
  color: var(--charcoal); white-space: nowrap;
  transform-origin: 50% 100%;
  animation: logo-wiggle .7s 1.2s ease-in-out both;
}
.drop-left { display: inline-block; transform-origin: 100% 100%; animation: logo-recoil .6s 1.95s ease-out both; }
.drop-d-wrap { position: relative; display: inline-block; }
.drop-d {
  display: inline-block; color: var(--orange);
  transform-origin: 30% 100%;
  animation: logo-break .9s 1.95s both;
}
.drop-shadow {
  position: absolute; bottom: 26px; left: 50%;
  width: 70%; height: 18px; margin-left: -35%;
  border-radius: 50%; background: rgba(42,42,42,.16);
  animation: logo-shadow 1.2s both;
}
.dust {
  position: absolute; bottom: 34px; left: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sun); opacity: 0;
}
.dust--l { animation: dust-left .6s .52s ease-out both; }
.dust--r { background: var(--pink); animation: dust-right .6s .52s ease-out both; }
.spark {
  position: absolute; left: -.02em; top: 40%;
  width: .22em; height: 5px; border-radius: 4px;
  background: var(--orange); opacity: 0;
  transform-origin: 100% 50%;
}
.spark--1 { --r: -35deg; animation: spark .45s 2.05s ease-out both; }
.spark--2 { --r: 0deg; animation: spark .45s 2.05s ease-out both; }
.spark--3 { --r: 35deg; animation: spark .45s 2.05s ease-out both; }
.replay {
  margin-top: 4px;
  font: 600 13px var(--font); color: var(--slate);
  background: transparent; border: 0; cursor: pointer;
  padding: 6px 10px; border-radius: 999px;
  opacity: 0; animation: fade-in .4s 3s both;
}
.replay:hover { background: rgba(0,0,0,.05); color: var(--charcoal); }

/* Animations only run while .play is on (JS re-adds it to replay) */
.hero-visual:not(.play) * { animation: none !important; }

@keyframes logo-drop {
  0%   { transform: translateY(-460px); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  42%  { transform: translateY(0) scale(1.1, .82); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  58%  { transform: translateY(-58px) scale(.97, 1.04); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  72%  { transform: translateY(0) scale(1.04, .94); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  84%  { transform: translateY(-12px) scale(1); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  93%  { transform: translateY(0) scale(1.01, .99); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes logo-shadow {
  0%   { transform: scale(.25); opacity: .1; }
  42%  { transform: scale(1.1); opacity: 1; }
  58%  { transform: scale(.8); opacity: .6; }
  72%  { transform: scale(1.03); opacity: 1; }
  84%  { transform: scale(.95); opacity: .85; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes logo-wiggle {
  0%, 100% { transform: rotate(0); }
  14% { transform: rotate(-5deg); }
  28% { transform: rotate(5deg); }
  42% { transform: rotate(-4deg); }
  56% { transform: rotate(3.5deg); }
  70% { transform: rotate(-2deg); }
  85% { transform: rotate(1deg); }
}
@keyframes logo-break {
  0%   { transform: translate(0, 0) rotate(0); }
  18%  { transform: translate(-.02em, .01em) rotate(-7deg); }
  45%  { transform: translate(.34em, -.55em) rotate(26deg); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  68%  { transform: translate(.15em, -.06em) rotate(3deg); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  84%  { transform: translate(.14em, -.15em) rotate(11deg); }
  100% { transform: translate(.13em, -.12em) rotate(8deg); }
}
@keyframes logo-recoil {
  0%, 100% { transform: translateX(0) rotate(0); }
  30% { transform: translateX(-.05em) rotate(-2deg); }
  60% { transform: translateX(.01em) rotate(.5deg); }
}
@keyframes dust-left {
  0%   { opacity: 0; transform: translate(-120px, 0) scale(.4); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-220px, -40px) scale(1.2); }
}
@keyframes dust-right {
  0%   { opacity: 0; transform: translate(110px, 0) scale(.4); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(210px, -36px) scale(1.2); }
}
@keyframes spark {
  0%   { opacity: 0; transform: rotate(var(--r)) translateX(0) scaleX(.2); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--r)) translateX(-.25em) scaleX(1); }
}
@keyframes fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-visual * { animation: none !important; }
  .drop-d { transform: translate(.13em, -.12em) rotate(8deg); }
  .replay { display: none; }
}

/* ---------- Stage cards ---------- */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stage-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform .2s ease;
  min-height: 300px;
}
.stage-card:hover { transform: translateY(-6px); }
.stage-card .shape { width: 56px; height: 56px; margin-bottom: 22px; }
.stage-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.stage-card p { color: var(--slate); font-size: 16px; }
.stage-card ul { list-style: none; padding: 0; margin: auto 0 0; font-size: 15px; font-weight: 600; }
.stage-card li { padding: 6px 0; border-top: 1px solid rgba(0,0,0,.07); }
.stage-card .arrow { margin-top: 18px; font-weight: 700; font-size: 15px; }
.stage--lilac { background: var(--lilac-tint); }
.stage--lilac .shape { background: var(--lilac); border-radius: 50%; }
.stage--lilac .arrow { color: var(--lilac-ink); }
.stage--sky { background: var(--sky-tint); }
.stage--sky .shape { background: var(--sky); border-radius: 16px; transform: rotate(12deg); }
.stage--sky .arrow { color: var(--sky-ink); }
.stage--mint { background: var(--mint-tint); }
.stage--mint .shape { background: var(--mint); border-radius: 50% 50% 50% 8px; }
.stage--mint .arrow { color: var(--mint-ink); }

/* ---------- Guides grid ---------- */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.guide-card:hover { border-color: var(--charcoal); transform: translateY(-3px); }
.guide-card h3 { margin: 0; }
.guide-card p { margin: 0; color: var(--slate); font-size: 16px; }
.guide-card .meta { margin-top: auto; font-size: 14px; color: var(--slate); font-weight: 600; }

/* ---------- Expert finder band ---------- */
.finder {
  background: var(--charcoal); color: var(--white);
  border-radius: 32px;
  padding: 56px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.finder h2 { color: var(--white); }
.finder p { color: #CFCFCF; }
.finder .blob--sun { width: 180px; height: 180px; right: -50px; top: -60px; opacity: .95; }
.finder-form {
  position: relative; z-index: 2;
  background: var(--white); color: var(--charcoal);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; gap: 14px;
}
.finder-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: #CFCFCF; list-style: none; padding: 0; margin: 20px 0 0; }
.finder-checks li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: 1px; }

/* ---------- Forms ---------- */
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: 500 16px var(--font);
  color: var(--charcoal);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--charcoal); outline: none; }
.field-hint { font-size: 13px; color: var(--slate); margin-top: 6px; }
.field-error { font-size: 13px; color: #B3261E; margin-top: 6px; font-weight: 600; }

/* ---------- Tools ---------- */
.tools { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.tool-card { border-radius: var(--radius-lg); padding: 36px; }
.tool-card--sun { background: var(--sun-tint); }
.tool-card--pink { background: var(--pink-tint); }
.estimator { display: grid; gap: 16px; margin-top: 18px; }
.estimator-options { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  font: 600 14px var(--font);
  padding: 10px 14px; border-radius: 999px;
  border: 2px solid var(--charcoal); background: transparent; color: var(--charcoal); cursor: pointer;
}
.option[aria-pressed="true"] { background: var(--charcoal); color: var(--white); }
.estimate-result {
  background: var(--white); border-radius: var(--radius); padding: 18px 20px;
}
.estimate-result .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.estimate-result small { display: block; color: var(--slate); font-size: 13px; line-height: 1.5; }
.download-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.download-list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-weight: 600; font-size: 16px; }
.download-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: none; }

/* ---------- Community ---------- */
.community { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.topics { display: grid; gap: 12px; }
.topic {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius); padding: 18px 20px;
  border: 1px solid var(--line);
}
.topic strong { display: block; font-size: 16px; }
.topic span { font-size: 14px; color: var(--slate); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trust-item { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.trust-item .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; margin-bottom: 16px;
}
.trust-item p { color: var(--slate); font-size: 16px; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--orange); color: var(--white);
  border-radius: 32px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.newsletter h2 { color: var(--white); }
.newsletter p { color: #FFF1EA; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.newsletter-form input { flex: 1 1 220px; border-color: transparent; }
.newsletter .blob--pink { width: 160px; height: 160px; right: -40px; bottom: -60px; top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #CFCFCF; padding: 72px 0 32px; margin-top: 88px; font-size: 15px; }
.site-footer .logo { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { color: var(--white); font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #444; margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px;
}
.disclaimer { max-width: 720px; font-size: 13px; color: #A8A8A8; }
.urgent-link { color: var(--sun); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero p.lead { font-size: 1.15rem; color: var(--slate); max-width: 620px; }
.breadcrumbs { font-size: 14px; color: var(--slate); margin-bottom: 18px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Expert directory ---------- */
.directory { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters {
  position: sticky; top: 100px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: grid; gap: 18px;
}
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; margin: 6px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--charcoal); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--slate); font-size: 15px; }
.expert-list { display: grid; gap: 16px; }
.expert-card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
.expert-card.is-featured { border: 2px solid var(--orange); }
.avatar {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-weight: 800; font-size: 22px;
}
.expert-card h3 { margin: 0 0 4px; }
.expert-card .role { font-size: 14px; color: var(--slate); margin: 0 0 10px; }
.expert-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.expert-card .bio { font-size: 15px; color: var(--slate); margin: 0; }
.expert-actions { display: grid; gap: 8px; justify-items: end; text-align: right; }
.expert-actions .price { font-size: 14px; color: var(--slate); }
.expert-actions .price strong { display: block; color: var(--charcoal); font-size: 18px; }
.sponsored { font-size: 12px; font-weight: 700; color: var(--orange-deep); margin-bottom: 6px; display: block; }
.empty-state { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--slate); }

/* ---------- Get matched (multi-step) ---------- */
.match-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.match-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: background .3s ease; }
.progress span.is-done { background: var(--orange); }
.step { display: none; }
.step.is-active { display: block; }
.step h2 { font-size: 1.7rem; }
.step-sub { color: var(--slate); margin-bottom: 24px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; height: 100%;
  border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px;
  font-weight: 600; font-size: 16px; cursor: pointer; transition: all .15s ease;
}
.choice span small { display: block; font-weight: 500; font-size: 14px; color: var(--slate); margin-top: 2px; }
.choice input:checked + span { border-color: var(--charcoal); background: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); font-weight: 500; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--charcoal); flex: none; }
.match-aside { display: grid; gap: 16px; }
.aside-card { border-radius: var(--radius-lg); padding: 26px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card ul { padding-left: 18px; margin: 0; font-size: 15px; }
.aside-card li { margin-bottom: 6px; }
.success { text-align: center; padding: 20px 0; }
.success .tick {
  width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--charcoal);
  display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto 20px;
}

/* ---------- Guide (article) ---------- */
.article-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 15px; }
.toc h4 { font-size: 14px; letter-spacing: 0; color: var(--slate); }
.toc ol { padding-left: 18px; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--orange-deep); }
.article { max-width: 720px; }
.article h2 { font-size: 1.8rem; margin-top: 1.6em; scroll-margin-top: 100px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--slate); margin-top: 18px; }
.byline strong { color: var(--charcoal); }
.callout { border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.callout--sun { background: var(--sun-tint); }
.callout--sky { background: var(--sky-tint); }
.callout--mint { background: var(--mint-tint); }
.timeline { list-style: none; padding: 0 !important; margin: 32px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; background: var(--sky-tint); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 28px 64px; margin: 0; }
.timeline .dot {
  position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%;
  background: var(--sky); color: var(--charcoal); display: grid; place-items: center; font-weight: 800;
}
.timeline h3 { margin: 6px 0 4px; }
.timeline .when { display: inline-block; margin-bottom: 6px; }
.timeline p { color: var(--slate); font-size: 16px; margin: 0; }
.article-cta {
  background: var(--charcoal); color: var(--white); border-radius: var(--radius-lg);
  padding: 32px; margin: 40px 0;
}
.article-cta h3 { color: var(--white); font-size: 1.4rem; }
.article-cta p { color: #CFCFCF; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 76px;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
  }
  .main-nav.is-open ul { flex-direction: column; }
  .main-nav.is-open a { padding: 12px 14px; font-size: 17px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .stages, .guides, .trust { grid-template-columns: 1fr; }
  .stage-card { min-height: 0; }
  .finder, .newsletter, .tools, .community { grid-template-columns: 1fr; }
  .finder, .newsletter { padding: 36px 24px; border-radius: 24px; }
  .directory, .match-wrap, .article-wrap { grid-template-columns: 1fr; }
  .filters, .toc { position: static; }
  .hero { padding: 24px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { order: 0; }
  .drop-stage { height: 230px; padding-bottom: 28px; }
  .drop-shadow { bottom: 16px; }
  .dust { bottom: 22px; }
  .blob--sun { width: 180px; height: 180px; right: -60px; top: -70px; bottom: auto; }
  .hero .blob--pink { width: 70px; height: 70px; right: auto; left: -20px; top: 150px; bottom: auto; }
  .blob--sky, .blob--mint, .blob--lilac { display: none; }
  .finder .blob--sun { bottom: auto; top: -60px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .header-actions .btn { display: none; }
  .expert-card { grid-template-columns: 56px 1fr; }
  .avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 18px; }
  .expert-actions { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
  .choices, .form-grid { grid-template-columns: 1fr; }
  .match-card { padding: 26px 20px; }
  .quick-exit small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
