/* =========================================================
   PASS — Postdoctoral Application Support Service
   Landing page mockup. Four palettes, switched via
   <html data-palette="...">. All colors come from tokens.
   ========================================================= */

/* ---------- Palette tokens ----------
   The live palette is Plum + sky blue (<html data-palette="plum-sky">).
   To switch style, change that one attribute to teal-coral, navy-gold or forest-amber,
   and use the matching assets/logo-*.svg and favicon colors. */
[data-palette="teal-coral"] {
  --primary: #0F5257;        /* brand / dark sections */
  --primary-600: #167A80;
  --primary-900: #0A383B;
  --accent: #F26B5B;         /* CTAs, highlights */
  --accent-600: #D9503F;
  --on-accent: #2A0F0B;
  --accent-ink: #B23A2B;     /* accent used as text on light bg */
  --tint: #EEF7F5;           /* alternating section bg */
  --tint-2: #DDEFEB;
  --bg: #FFFCF8;             /* page bg (warm cream) */
  --ink: #13292B;
  --ink-soft: #4A6264;
  --line: #D5E3E1;
}

[data-palette="navy-gold"] {
  --primary: #14284B;
  --primary-600: #23407A;
  --primary-900: #0B1830;
  --accent: #D4AF37;
  --accent-600: #B8942A;
  --on-accent: #1E1804;
  --accent-ink: #8A6A12;
  --tint: #F3F1EA;
  --tint-2: #E8E3D3;
  --bg: #FDFCF8;
  --ink: #14203A;
  --ink-soft: #4C5770;
  --line: #DEDAD0;
}

:root,
[data-palette="plum-sky"] {
  --primary: #4B1D52;
  --primary-600: #6E3478;
  --primary-900: #2F0F34;
  --accent: #4DB3F7;
  --accent-600: #2196E6;
  --on-accent: #06243A;
  --accent-ink: #0F6FB0;
  --tint: #F5F0F8;
  --tint-2: #EADFF0;
  --bg: #FDFBFE;
  --ink: #2A1530;
  --ink-soft: #634F69;
  --line: #E3D8E8;
}

[data-palette="forest-amber"] {
  --primary: #1E4D3A;
  --primary-600: #2D6E53;
  --primary-900: #123426;
  --accent: #EFA233;
  --accent-600: #D4881A;
  --on-accent: #2B1A02;
  --accent-ink: #9A5C06;
  --tint: #F2F5EC;
  --tint-2: #E3EAD6;
  --bg: #FDFDF8;
  --ink: #17291F;
  --ink-soft: #4D5F54;
  --line: #D9E0D2;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.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;
}

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

/* ---------- Logo mark ---------- */
.mark-bg { fill: var(--primary); }
.mark-tooth { fill: #fff; }
.mark-arrow { stroke: var(--accent); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-600); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-600); }
.btn--ghost { color: var(--primary); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.text-link { color: var(--primary-600); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.eyebrow {
  display: inline-block; margin-bottom: .8rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow--light { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .2em .7em; border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.pill--live { background: var(--accent); color: var(--on-accent); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--tint-2); color: var(--primary); }

/* ---------- Announcement ---------- */
.announce { background: var(--tint-2); color: var(--primary-900); font-size: .9rem; }
.announce__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding-top: .6rem; padding-bottom: .6rem; }
.announce p { margin: 0; flex: 1 1 280px; }
.announce__link { font-weight: 700; text-decoration: none; color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--primary); }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.6rem; font-weight: 800; letter-spacing: .12em; }
.brand__tag { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; max-width: 15em; line-height: 1.3; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { display: flex; gap: 1.25rem; }
.primary-nav ul a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink); padding: .3em 0; border-bottom: 2px solid transparent; }
.primary-nav ul a:hover { color: var(--primary-600); border-color: var(--accent); }
.primary-nav__actions { display: flex; gap: .5rem; }

.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: transparent; cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 20px; height: 2px; background: var(--primary); position: relative; content: "";
    transition: transform .2s;
  }
  .nav-toggle__bar::before { position: absolute; top: -6px; }
  .nav-toggle__bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 16px 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); }
  .primary-nav__actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--primary-600) 85%, transparent), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    var(--primary);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero h1 { color: #fff; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.25rem; }
.hero__visual { position: relative; padding: 2rem 1rem; }
.app-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  transform: rotate(-1.5deg);
}
.app-card__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.app-card__head > div { flex: 1; }
.app-card__mark { width: 40px; height: 40px; }
.app-card__title { margin: 0; font-weight: 800; }
.app-card__sub { margin: 0; font-size: .8rem; color: var(--ink-soft); }
.progress { height: 10px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary-600), var(--accent)); }
.app-card__pct { font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin: .45rem 0 1rem; }
.checklist li {
  position: relative; padding: .6rem 0 .6rem 2rem; font-size: .9rem; font-weight: 600;
  border-top: 1px solid var(--line);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line);
}
.checklist li.done::before {
  background: var(--primary-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--primary-600);
}
.checklist li.wait::before { border-color: var(--accent); border-right-color: transparent; }
.checklist li.todo { color: var(--ink-soft); }
.checklist em { display: block; font-style: normal; font-weight: 500; font-size: .78rem; color: var(--accent-ink); }

.float-card {
  position: absolute; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600;
  padding: .6rem .9rem; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.22);
  display: flex; align-items: center; gap: .5rem;
}
.float-card--a { top: 0; right: -.5rem; }
.float-card--b { bottom: .5rem; left: -.5rem; border-left: 4px solid var(--accent); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary-600); box-shadow: 0 0 0 4px var(--tint-2); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
}
@media (max-width: 520px) {
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--primary); color: #fff; }
.section--dark h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }
.section--dark .section-head p:last-child { color: rgba(255,255,255,.8); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-head--row > div { max-width: 620px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > div > p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* features */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.feature p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.feature__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: .9rem;
  border-radius: 14px; background: var(--tint-2);
}
.feature__icon svg, .hero__note svg {
  width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

/* programs */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .85rem; }
.program-grid li {
  display: flex; align-items: center; gap: .8rem; height: 100%;
  padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.3;
}
.abbr {
  flex: none; display: grid; place-items: center; min-width: 54px; height: 40px; padding: 0 .4rem;
  border-radius: 10px; background: var(--tint-2); color: var(--primary);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
}
.program-grid li:nth-child(3n+2) .abbr { background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--accent-ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 1.6rem;
}
.step p { margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.step__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.1rem;
}

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 2.5rem; }

/* CTA / contact */
.cta {
  color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%),
    var(--primary-900);
}
.cta h2 { color: #fff; }
.cta__grid > div:first-child > p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.cta__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
/* hero note */
.hero__note { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero__note svg { stroke: var(--accent); width: 20px; height: 20px; stroke-width: 2.5; }

/* stages */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } }
.stage {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 1.6rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.stage:hover { border-color: var(--primary-600); box-shadow: 0 14px 30px rgba(0,0,0,.07); transform: translateY(-2px); }
.stage__num { font-family: "Fraunces", Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--accent-ink); line-height: 1; margin-bottom: .9rem; }
.stage > p { color: var(--ink-soft); font-size: .94rem; }
.stage__start { background: var(--tint); border-radius: 12px; padding: .8rem .9rem; flex: 1; }
.stage__start b { color: var(--primary); }
.stage .text-link { margin-top: .4rem; font-size: .92rem; }

/* steps (5 across) */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .steps--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--5 { grid-template-columns: 1fr; } }

/* features (3 across) */
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .feature-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid--3 { grid-template-columns: 1fr; } }

/* coverage strip */
.coverage { background: var(--bg); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.coverage__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); text-align: center; margin-bottom: 1.4rem; }
.coverage__title span { color: var(--accent-ink); }
.coverage__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.coverage__list li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem .4rem .4rem;
  border-radius: 999px; background: var(--tint); border: 1px solid var(--line);
  font-weight: 700; font-size: .88rem; color: var(--primary); white-space: nowrap;
}
.coverage__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.coverage__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--primary-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.25rem; }
.journey__step { position: relative; display: flex; flex-direction: column; }
.journey__step::before {
  content: ""; position: absolute; top: 22px; left: 46px; right: -1.25rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.journey__step:nth-child(4n)::before, .journey__step:last-child::before { display: none; }
.journey__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.journey__step:nth-child(even) .journey__num { background: var(--accent); color: var(--on-accent); }
.journey__body { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; }
.journey__body h3 { margin-bottom: .4rem; }
.journey__body > p { color: var(--ink-soft); font-size: .93rem; margin-bottom: .8rem; }
.journey__body ul { border-top: 1px solid var(--line); padding-top: .7rem; }
.journey__body li { position: relative; padding: .2rem 0 .2rem 1.5rem; font-size: .88rem; font-weight: 600; }
.journey__body li::before {
  content: ""; position: absolute; left: 0; top: .5rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/9px no-repeat;
}
@media (max-width: 1000px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .journey__step:nth-child(4n)::before { display: block; }
  .journey__step:nth-child(2n)::before { display: none; }
}
@media (max-width: 600px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey__step { flex-direction: row; gap: 1rem; padding-bottom: 1.25rem; }
  .journey__step::before, .journey__step:nth-child(n)::before {
    display: block; top: 46px; bottom: 0; left: 22px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px);
  }
  .journey__step:last-child::before { display: none; }
  .journey__num { flex: none; margin-bottom: 0; }
}
.journey__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: var(--tint); border: 1px solid var(--line);
}
.journey__cta p { margin: 0; flex: 1 1 420px; color: var(--ink-soft); }
.journey__cta b { color: var(--ink); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare__col { border-radius: 22px; padding: clamp(1.4rem, 3vw, 2rem); }
.compare__col h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.compare__col li { position: relative; padding: .65rem 0 .65rem 2rem; border-top: 1px solid var(--line); font-size: .96rem; }
.compare__col li::before {
  content: ""; position: absolute; left: 0; top: .85rem; width: 20px; height: 20px; border-radius: 50%;
  background-position: center; background-repeat: no-repeat; background-size: 11px;
}
.compare__col--alone { background: var(--tint); border: 1px solid var(--line); color: var(--ink-soft); }
.compare__col--alone h3 { color: var(--ink); }
.compare__col--alone li::before {
  background-color: #fff; border: 1px solid var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.compare__col--with { background: var(--primary); color: #fff; box-shadow: 0 24px 48px rgba(0,0,0,.15); }
.compare__col--with h3 { color: #fff; }
.compare__col--with li { border-color: rgba(255,255,255,.16); }
.compare__col--with li::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
}

/* stories */
.mock-note {
  display: inline-block; font-size: .8rem !important; font-weight: 700; color: var(--accent-ink) !important;
  border: 1px dashed currentColor; border-radius: 8px; padding: .3rem .6rem;
}
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }
.story { display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem; }
.story blockquote { margin: 0 0 1.3rem; font-size: 1.02rem; line-height: 1.65; }
.story blockquote::first-letter { color: var(--accent-ink); }
.story__by { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.story__by b { color: var(--ink); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: .8rem; flex: none; }

/* consultation */
.cta__grid { align-items: start; }
.assurances { margin: 1.5rem 0; }
.assurances li { position: relative; padding: .35rem 0 .35rem 1.9rem; color: rgba(255,255,255,.88); }
.assurances li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.next-steps { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.4rem; }
.next-steps h3 { color: #fff; }
.next-steps ol { counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding: .4rem 0 .4rem 2.2rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.next-steps li::before {
  content: counter(n); position: absolute; left: 0; top: .4rem; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-weight: 800; font-size: .8rem;
  background: rgba(255,255,255,.12); color: #fff;
}
.consult-form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.consult-form h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; margin-bottom: .3rem; }
.form-hint { font-size: .84rem !important; color: var(--ink-soft) !important; margin-bottom: 1.1rem; }
.form-hint--center { text-align: center; margin: .8rem 0 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
/* Two fields side by side share four rows (label, control, help, error), so their controls
   line up whatever the label length, and an error under one doesn't move the other. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; gap: 0 1rem; margin-bottom: 1rem; }
.field-row > .field { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; gap: .35rem; margin-bottom: 0; }
.field-row > .field > label { align-self: end; }
@media (max-width: 560px) {
  .field-row { display: block; margin-bottom: 0; }
  .field-row > .field { display: flex; margin-bottom: 1rem; }
  .field-row > .field > label { align-self: auto; }
}
.field label { font-size: .86rem; font-weight: 700; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--tint-2); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.consent input { flex: none; width: auto; margin-top: .25rem; accent-color: var(--primary); }
.consent a { color: var(--primary-600); font-weight: 700; }
.btn--block { width: 100%; }

/* footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 3rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
.footer__about { color: var(--ink-soft); margin-top: 1rem; max-width: 26em; }
.site-footer h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.site-footer nav li { margin: .4rem 0; }
.site-footer nav a, .footer__legal a { text-decoration: none; color: var(--ink-soft); }
.site-footer nav a:hover, .footer__legal a:hover { color: var(--primary); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }
.footer__legal p { margin: 0; }

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

/* ---------- Form states ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.progress__bar { width: 64%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { margin-bottom: 1rem; }
.turnstile-box[hidden] { display: none; }

.field-help { margin: 0; font-size: .8rem; color: var(--ink-soft); }
.field-error { display: flex; gap: .35rem; margin: 0; font-size: .84rem; font-weight: 700; color: #A8261D; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: .1rem; border-radius: 50%; background: #A8261D; color: #fff; font-size: .72rem; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #A8261D; }
.field.is-error input:focus, .field.is-error select:focus, .field.is-error textarea:focus { box-shadow: 0 0 0 3px #F8E5E2; }
.field--consent { margin-bottom: 1.2rem; }
.field--consent .consent { margin-bottom: 0; }

.form-alert { border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-size: .9rem; background: var(--tint); border: 1px solid var(--line); color: var(--ink); }
.form-alert--error { background: #F8E5E2; border-color: #E9B4AE; }
.form-alert__title { font-weight: 800; margin: 0 0 .35rem; color: #8A1F17; }
.form-alert p:not(.form-alert__title) { margin: 0 0 .6rem; color: var(--ink); }
.form-alert ul { list-style: disc; padding-left: 1.2rem; margin: 0; }
.form-alert li { margin: .15rem 0; }
.form-alert a { color: #8A1F17; font-weight: 700; }
.form-alert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
[tabindex="-1"]:focus { outline: none; }

.btn[aria-busy="true"] { cursor: progress; opacity: .9; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

.consult-success { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.consult-success__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); margin-bottom: 1rem; }
.consult-success__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--on-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.consult-success h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; color: var(--primary); }
.consult-success > p { color: var(--ink-soft); }
.consult-success h4 { margin: 1.4rem 0 .6rem; font-size: 1rem; }
.consult-success ol { counter-reset: s; }
.consult-success li { counter-increment: s; position: relative; padding: .45rem 0 .45rem 2.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .94rem; }
.consult-success li::before { content: counter(s); position: absolute; left: 0; top: .5rem; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--tint-2); color: var(--primary); font-weight: 800; font-size: .78rem; }
