/* Get a Will -- plain HTML/CSS/JS, no build step, no framework. */

:root {
  --bg: #F6F1E7;
  --bg-card: #FFFDF8;
  --ink: #1C1C1C;
  --ink-soft: #5B5B5B;
  --accent: #C4161C;
  --accent-dark: #8C1015;
  --accent-on-dark: #EB5156;
  --grey: #D1D3D4;
  --grey-mid: #A9ABAC;
  --grey-text: #75787B;
  --surface-dark: #4A4B4D;
  --on-dark: #FFFFFF;
  --on-dark-soft: #E6E6E6;
  --sage-light: #9AC17E;
  --sage: #5C6B4C;
  --line: #D1D3D4;
  --tint: #F7DEDE;
  --radius: 14px;
  /* Legacy name: used for headings, now backed by Raleway. */
  --serif: "Raleway", sans-serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --max-width: 1120px;
  --flow-width: 680px;
  --color-error: #8C1015;
  font-size: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

a { color: var(--accent-dark); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; font-family: var(--serif); font-weight: 500; }
p { margin-top: 0; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 28px; }

.vv-mark { display: inline-block; flex-shrink: 0; object-fit: contain; }
.lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.lockup .pre, .lockup .post { white-space: nowrap; }
.lockup .vv-mark { position: relative; top: 0; width: 0.92em; height: 0.78em; margin: 0 0.01em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  box-shadow: 0 4px 18px rgba(28, 28, 28, 0.14);
}
.site-header__inner,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 28px;
}
.brand { text-decoration: none; color: #F3EEE3; }
.brand-block { display: flex; flex-direction: column; gap: 2px; }
.brand .lockup, .nav .lockup { font-size: 21px; }
.header-credential {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #9A9A9A;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #FFFDF8;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--accent-dark); color: #FFFDF8; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(196, 22, 28, 0.28); }
.btn--primary { background: var(--accent); color: #FFFDF8; }
.btn--secondary, .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--secondary:hover, .btn-ghost:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent); }
.btn--large { padding: 16px 32px; font-size: 1.05rem; }
.btn--small { padding: 10px 18px; font-size: 0.9rem; }
.btn:not(.btn--large):not(.btn--small) { padding: 12px 22px; }

.hero { padding: 88px 0 64px; text-align: center; }
.hero-lockup { display: flex; align-items: baseline; justify-content: center; margin-bottom: 34px; }
.hero-lockup .lockup { font-size: clamp(30px, 4.4vw, 42px); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 950px;
  margin: 0 auto 22px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0;
}
.hero h1 em { color: var(--accent); font-style: italic; font-weight: 500; }
.hero p { max-width: 560px; margin: 0 auto 36px; color: var(--ink-soft); font-size: 18px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero p.hero-note { margin-top: 32px; color: var(--ink-soft); font-family: var(--mono); font-size: 18px; letter-spacing: 0.02em; }

/* Hero entrance: the headline rises in word-by-word on load (not scroll-linked),
   and the V-mark lockup above it drifts slightly slower than the page as you
   scroll away from the hero -- a light parallax depth cue, JS-driven below. */
@keyframes heroWordRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1.word-stagger span { display: inline-block; opacity: 0; animation: heroWordRise 1.1s cubic-bezier(.2,.8,.3,1) forwards; }
.hero h1.word-stagger span:nth-child(1) { animation-delay: 0.1s; }
.hero h1.word-stagger span:nth-child(2) { animation-delay: 0.6s; }
.hero h1.word-stagger span:nth-child(3) { animation-delay: 1.1s; }
.hero-lockup { transform: translateY(calc(var(--parallax-y, 0) * 1px)); will-change: transform; }

section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2, .section-title {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: 0;
}
.section-head h2.section-head-lg { color: var(--accent); font-size: clamp(36px, 5vw, 52px); }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

.clauses, .steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.clause, .steps__item, .path-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Progress bar: a thick red bar fills left to right across the top of the
   trust bands as you scroll through them, like a reading-progress
   indicator. Driven continuously by scroll position and fully reversible. */
.scroll-wipe-host { position: relative; }
.scroll-wipe-host::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: calc(var(--wipe-progress, 0) * 100%);
  background: var(--accent-on-dark);
  z-index: 6;
  transition: width 0.12s linear;
}

/* Anticipation pulse: the final CTA visibly grows and its glow builds as it
   arrives in view, instead of snapping into place -- a build toward the
   button rather than a static block. */
.scroll-pulse-host { position: relative; overflow: hidden; }
.scroll-pulse-host::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 40%, rgba(249, 237, 238, 0.55), transparent 60%);
  opacity: var(--pulse-progress, 0);
  transition: opacity 0.12s linear;
  pointer-events: none;
}
.scroll-pulse-host .wrap-narrow {
  position: relative;
  transform: scale(calc(0.8 + (var(--pulse-progress, 0) * 0.2)));
  opacity: calc(0.55 + (var(--pulse-progress, 0) * 0.45));
  transition: transform 0.12s linear, opacity 0.12s linear;
}
.clause h3, .steps__item h3, .path-card h3 { margin-bottom: 10px; color: var(--ink); font-size: 21px; font-weight: 600; }
.clause p, .steps__item p, .path-card li { color: var(--ink-soft); font-size: 15px; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__number { display: none; }

.cred { background: var(--ink); color: #EFE7D8; padding: 44px 0; }
.cred-note { padding: 64px 0; }
.cred-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cred-text { max-width: 600px; }
.cred-text-wide { max-width: 780px; margin: 0 auto; }
.cred-text p { margin-bottom: 16px; color: #CFCFCF; font-size: 16px; line-height: 1.7; }
.cred-text p:last-child { margin-bottom: 0; }
.cred-text strong { color: #FFFDF8; font-weight: 600; }
.cred-reg {
  border: 1px solid #3C3C3C;
  border-radius: 10px;
  padding: 14px 18px;
  color: #9A9A9A;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cred-reg span { display: block; margin-top: 3px; color: #EFE7D8; font-size: 14px; }
.cred-cta { margin-top: 28px; }
.cred-note .btn-ghost { border-color: rgba(243, 238, 227, 0.35); color: #F3EEE3; }
.cred-note .btn-ghost:hover { background: rgba(243, 238, 227, 0.08); border-color: #F3EEE3; color: #FFFDF8; }

.pathway { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* Fork-in-the-road divider: a vertical accent line grows top-to-bottom
   between the two path cards as the section scrolls into view, driven by
   the same shared progress value used for the kicker underlines below.
   Desktop-only -- on the single-column mobile layout there's no fork to draw. */
@media (min-width: 761px) {
  .pathway::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: calc(var(--path-progress, 0) * 100%);
    background: var(--accent);
    transform: translateX(-50%);
    transition: height 0.12s linear;
    z-index: 1;
  }
}
.path-kicker {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.path-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(var(--path-progress, 0) * 100%);
  background: currentColor;
  transition: width 0.12s linear;
}
.path-card.simple .path-kicker { color: var(--sage); }
.path-card.complex .path-kicker { color: #63666A; }
.path-card ul { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.path-card li { position: relative; padding-left: 22px; }
.path-card.simple li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.path-card.complex li::before { content: "→"; position: absolute; left: 0; color: #63666A; font-weight: 700; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}
.faq-q .mark { color: var(--accent); font-family: var(--mono); font-size: 18px; transition: transform 0.25s ease; }
.faq-item[data-open="true"] .mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { max-width: 680px; padding: 0 4px 24px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }

.final-cta { background: var(--accent-dark); color: #F9EDEE; text-align: center; padding: 96px 0; }
.final-cta h2 { max-width: 640px; margin: 0 auto 18px; font-size: clamp(30px, 4.4vw, 46px); }
.final-cta p { margin-bottom: 34px; color: #E3B7B8; font-size: 16.5px; }
.final-cta .btn { background: #F9EDEE; color: var(--accent-dark); }
.final-cta .btn:hover { background: #FFFFFF; color: var(--accent-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

.site-footer, footer {
  background: var(--ink);
  color: #B0B0B0;
  padding: 56px 0 36px;
  font-size: 0.9rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #3C3C3C; }
.foot-brand { margin-bottom: 14px; color: #F3EEE3; font-size: 18px; }
.foot-col h4 { margin-bottom: 14px; color: #8A8A8A; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.foot-col a { display: block; margin-bottom: 9px; color: #CFCFCF; font-size: 14.5px; text-decoration: none; }
.foot-col a:hover { color: #F3EEE3; }
.foot-legal { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.foot-legal p, .site-footer p { max-width: 820px; color: #8A8A8A; font-size: 13px; line-height: 1.7; }
.foot-legal a { color: var(--accent-on-dark); }
.foot-legal a:hover { color: #FFFDF8; }
.foot-powered { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.foot-powered img { height: 32px; width: auto; }

/* Page transition: a full-screen panel wipes up to cover index.html when you
   click through to the will flow, then wipes away on will.html to reveal it
   -- one continuous motion across the two static pages. Distinct from the
   step-to-step transition below (that one stays inside the form card). */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}
.page-transition-overlay.is-covering,
.page-transition-overlay.is-incoming { pointer-events: auto; }
.page-transition-overlay.is-covering { transform: translateY(0); }
.page-transition-overlay.is-incoming { transform: translateY(0); transition: none; }
.page-transition-overlay.is-leaving { transform: translateY(-100%); transition: transform 0.55s cubic-bezier(.65, 0, .35, 1); }

/* Complex-estate confirmation modal: interrupts before the site silently
   jumps a trust/minor-children/large-split answer straight to step 6.
   Always in the DOM, toggled via .is-open rather than [hidden] so the
   opacity/transform transition below actually runs. */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 28, 28, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(28, 28, 24, 0.3);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal-card { transform: translateY(0); }
.modal-card h2 { margin-bottom: 12px; font-size: 1.4rem; }
.modal-card p { color: var(--ink-soft); margin-bottom: 24px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* Large-estate prompt: shares the modal shell above. Body copy is rendered
   from app.js. */
.modal-card [data-large-estate="body"] p { margin-bottom: 14px; }
.modal-card [data-large-estate="body"] { margin-bottom: 24px; }
.large-estate-smallprint { margin: 16px 0 0; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.5; }
.modal-card .large-estate-smallprint { margin: 16px 0 0; }
/* Step-6 forms' own offshore-consent box: breathing room below the hint text above it. */
.form-consent { margin: 16px 0 12px; }
/* Step-6 forms are scrolled to from shortcuts; keep their headings clear of the sticky header. */
#contactDetailsBlock, #consultantForm, #policyForm { scroll-margin-top: 88px; }
@media (max-width: 560px) {
  #largeEstateModal { padding: 16px; }
  #largeEstateModal .modal-card { padding: 24px 20px; max-height: calc(100vh - 32px); overflow-y: auto; }
}

/* Step-to-step transition inside the will flow: the outgoing step fades and
   slides out sideways, the incoming step fades and slides in from the other
   side. Same treatment every time you move between steps, forward or back. */
.flow-step { transition: opacity 0.22s ease, transform 0.22s ease; }
.flow-step.step-exit { opacity: 0; transform: translateX(-18px); }
.flow-step.step-enter { opacity: 0; transform: translateX(18px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.clause.reveal, .path-card.reveal { transform: translateY(34px) scale(0.96); transition: opacity 0.7s cubic-bezier(.2,.8,.3,1), transform 0.7s cubic-bezier(.2,.8,.3,1); }
.clause.reveal.in, .path-card.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.clause.reveal.in:hover, .path-card.reveal.in:hover { transform: translateY(-6px) scale(1); box-shadow: 0 20px 38px rgba(28, 28, 24, 0.12); }
.clauses .clause.reveal:nth-child(1), .pathway .path-card.reveal:nth-child(1) { transition-delay: 0s; }
.clauses .clause.reveal:nth-child(2), .pathway .path-card.reveal:nth-child(2) { transition-delay: 0.14s; }
.clauses .clause.reveal:nth-child(3), .pathway .path-card.reveal:nth-child(3) { transition-delay: 0.28s; }

/* Magnetic hover: primary CTA buttons nudge toward the cursor. JS sets the inline transform directly (avoids fighting the :hover lift below); no JS or reduced-motion means the button just sits still. */
.btn:not(.btn-ghost) { transition: transform 0.15s ease-out, background 0.18s ease, box-shadow 0.18s ease; }

.legal-page { padding: 40px 0 56px; }
.legal-page h1 { margin-bottom: 4px; font-size: 1.9rem; }
.legal-page__updated { margin: 0 0 28px; color: var(--ink-soft); font-size: 0.9rem; }
.legal-page h2 { margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.2rem; }
.legal-page h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; }
.legal-page li { margin-bottom: 10px; }

.flow-body { background: var(--bg); }
.flow-main { padding: 40px 0 72px; }
.flow-wrap { max-width: var(--flow-width); }
.flow-title { margin-bottom: 18px; font-size: 2rem; }
.explainer-strip { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.explainer-strip__item {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.explainer-strip__item.is-active { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-dark); }
.progress { margin-bottom: 28px; }
.progress__bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__fill { height: 100%; width: 25%; background: var(--accent); transition: width 0.2s ease; }
.progress__label { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.85rem; }

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.flow-step h2 { margin-bottom: 8px; font-size: 1.65rem; }
.step-intro, .field-hint { color: var(--ink-soft); }
.field, .field-group { margin-bottom: 20px; }
.field label, .field-static-label, .field-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea,
.field-group input[type="text"],
.field-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-static {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
}
.field-hint { margin: 6px 0 0; font-size: 0.85rem; }
.field-hint--spaced { margin-bottom: 16px; }
.field-error { min-height: 1em; margin: 6px 0 0; color: var(--color-error); font-size: 0.85rem; }
.radio-inline { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-weight: 400; }
.radio-block, .checkbox-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
  font-weight: 400;
}
.radio-block input, .checkbox-block input { margin-top: 4px; }
.checkbox-block span { display: block; }
.child-fields { display: grid; gap: 12px; margin-top: 12px; }
.child-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #FFFFFF; }
.child-card h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.address-block { margin: 0 0 20px; padding: 14px 14px 0; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; min-width: 0; }
.address-block legend { padding: 0 6px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.address-block > .field-hint { margin: 0 0 14px; }
.address-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.address-grid .field { margin-bottom: 16px; }
@media (min-width: 600px) { .address-grid { grid-template-columns: 1fr 1fr; } .address-grid .address-wide { grid-column: 1 / -1; } }

.notice {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--tint);
}
.notice p { margin: 0; }
.notice--urgent { border-color: var(--color-error); background: #F7DEDE; color: var(--accent-dark); }
.notice--callout { border: 2px solid var(--accent); border-left-width: 6px; background: var(--bg-card); }
.notice--soft { border-color: var(--line); background: #FFFFFF; }
.link-button { appearance: none; border: 0; background: transparent; color: var(--accent-dark); cursor: pointer; font: inherit; font-weight: 600; padding: 0; text-decoration: underline; }
.link-button:hover { color: var(--accent); }

.calculator-grid { display: grid; gap: 16px; }
.result-panel { margin-top: 20px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; overflow: hidden; }
.result-total { padding: 18px 20px; background: var(--ink); color: var(--on-dark); }
.result-total span { display: block; color: var(--on-dark-soft); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.result-total strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.result-lines { width: 100%; border-collapse: collapse; }
.result-lines th, .result-lines td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.92rem; }
.result-lines td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.result-lines small { display: block; color: var(--ink-soft); line-height: 1.45; }

.flow-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.review-card, .cta-card, .consultant-form {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
}
.review-list { margin: 0; }
.review-list dt { margin-top: 10px; color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }
.review-list dd { margin: 2px 0 0; }
.consent { margin-bottom: 28px; }
.witnessing { margin-bottom: 28px; }
.witnessing__checklist { padding-left: 20px; }
.witnessing__checklist li { margin-bottom: 8px; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.cta-card { text-align: center; }
.cta-card h3 { font-size: 1.1rem; }
.cta-card p { color: var(--ink-soft); font-size: 0.9rem; }
.cta-card .btn { width: 100%; }
.cta-card--solo { text-align: center; }

@media (max-width: 760px) {
  .clauses, .steps__list, .pathway, .cta-pair, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
  .site-header__inner, .nav { padding: 14px 18px; }
  .brand .lockup, .nav .lockup { font-size: 17px; }
  .header-credential { display: none; }
  .flow-step { padding: 22px; }
  .btn--small { padding: 10px 16px; font-size: 14px; }
}
