/* Shree Docs — minimal landing page. Mobile first; two columns from 1024px. */

@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url(fonts/public-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-display: swap; src: url(fonts/public-sans-500.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url(fonts/public-sans-600.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(fonts/source-serif-4-600.woff2) format("woff2"); }

:root {
  --navy: #0F1E3A;      /* ink */
  --ink-2: #44506A;     /* body copy on paper */
  --gold: #B8892B;
  --gold-text: #8A6414;
  --seal: #8E2C2C;      /* official-seal red, used sparingly */
  --muted: #4F586A;
  --faint: #7C8496;
  --line: #E7E0D0;
  --field: #DCD4C2;
  --paper: #F6F1E6;     /* parchment */
  --white: #fff;
  --danger: #B42318;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1em; height: 1em; flex: none; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { font: 600 20px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.logo__dot { color: var(--gold); }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--navy); }
.call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field);
  text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s;
}
.call:hover { border-color: var(--navy); }
.call span { display: none; }
.call .ico { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 24px; }
.intro { max-width: 720px; margin-bottom: 28px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-size: clamp(30px, 6.4vw, 52px); letter-spacing: -.02em; line-height: 1.08; }
.lede { margin-top: 14px; font-size: 18px; color: var(--muted); }
.points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.points li { display: inline-flex; align-items: center; gap: 8px; }
.points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.app { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }

/* ---------- form ---------- */
.booking { border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; background: var(--white); scroll-margin-top: calc(var(--header-h) + 12px); }
.booking__head h2 { font: 600 22px/1.2 var(--serif); }
.booking__head p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.stepper { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stepper li { display: flex; flex-direction: column; gap: 8px; }
.stepper li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s var(--ease); }
.stepper li.is-done::before, .stepper li.is-active::before { background: var(--navy); }
.stepper__num { display: none; }
.stepper__label { font-size: 12px; color: var(--faint); transition: color .2s; }
.stepper li.is-active .stepper__label { color: var(--navy); font-weight: 600; }
.stepper li.is-done .stepper__label { color: var(--muted); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: sd-in .3s var(--ease); }
@keyframes sd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step__title { padding: 0; margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.step__title:focus { outline: none; }
.step__actions { display: flex; gap: 10px; margin-top: 22px; }
.step__actions .btn--primary { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 14px; min-width: 0; }
.field label, .field .label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea, .readonly {
  display: block; width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--field); border-radius: 10px; background: var(--white);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C6475' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); }
.field input::placeholder, .field textarea::placeholder { color: #A9AEB9; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .input-prefix { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 13px; margin-top: 6px; }
.field__error:empty { display: none; }
.field__hint { color: var(--faint); font-size: 12px; margin-top: 6px; }
.readonly { background: var(--paper); border-color: transparent; font-weight: 600; display: flex; align-items: center; }

.input-prefix { display: flex; border: 1px solid var(--field); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.input-prefix:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); }
.input-prefix span { display: flex; align-items: center; padding: 0 12px; color: var(--faint); border-right: 1px solid var(--line); font-size: 15px; }
.field .input-prefix input { border: 0; border-radius: 0; box-shadow: none; }

.field-row { display: grid; grid-template-columns: minmax(0, 1fr); }
.field-row--age { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
@media (min-width: 400px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.toggle { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; gap: 3px; border-radius: 12px; background: var(--paper); }
.toggle label { position: relative; margin: 0; cursor: pointer; }
.toggle input, .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.toggle span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s var(--ease), color .2s, box-shadow .2s; }
.toggle input:checked + span { background: var(--white); color: var(--navy); font-weight: 600; box-shadow: 0 1px 3px rgba(20, 33, 61, .12); }
.toggle input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-width: 60px; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field); font-weight: 500; font-size: 14px; transition: all .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.field.has-error .chips span { border-color: var(--danger); }

.person { padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.person__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; min-height: 22px; }
.person__title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.person:first-child [data-remove] { display: none; }

.summary { margin: 4px 0 14px; padding: 0; border-top: 1px solid var(--line); }
.summary > div { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); font-size: 14px; }
.summary dt small { display: block; font-size: 12px; color: var(--faint); }
.summary dd { margin: 0; font-weight: 600; white-space: nowrap; }

.note { font-size: 13px; line-height: 1.55; padding: 12px 14px; border-radius: 10px; }
.note--info { background: #F1F5FD; color: #1E3A8A; }
.note--warn { background: #FFF8EA; color: #7A4B00; }
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FEF3F2; color: var(--danger); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .08s;
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #1d2d52; }
.btn--primary[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { background: var(--white); border-color: var(--field); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--block { width: 100%; }
.btn-link { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy); }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-link--danger { color: var(--danger); font-weight: 500; font-size: 13px; }
.inline-link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; text-decoration: underline; color: inherit; }

.success { text-align: center; padding-top: 8px; animation: sd-in .35s var(--ease); }
.success:focus { outline: none; }
.success__icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--paper); color: var(--gold-text); }
.success__icon .ico { width: 24px; height: 24px; }
.success h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 8px; }
.success > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.success .summary { text-align: left; margin-bottom: 20px; }

/* ---------- agreement terms (step 4) ---------- */
.terms { margin: 8px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.terms__head h3 { font-size: 15px; font-weight: 600; }
.terms__head p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.terms__group { margin: 18px 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.field label small { font-weight: 400; color: var(--faint); }
.toggle--3 span { font-size: 13.5px; padding: 0 6px; text-align: center; line-height: 1.2; }
.chips--sm span { min-width: 0; min-height: 36px; padding: 0 12px; font-size: 13px; }

/* "i" info buttons — hover on a computer, tap on a phone */
.tip { position: relative; display: inline-block; vertical-align: middle; margin-left: 4px; }
.tip__btn, .tip-i {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--field); background: var(--white); color: var(--muted);
  font: italic 600 11px/1 var(--serif); cursor: pointer; padding: 0; transition: all .15s;
}
.tip-i { cursor: default; vertical-align: -3px; }
.tip__btn:hover, .tip.is-open .tip__btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.tip__box {
  position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  width: max-content; max-width: min(280px, 78vw); padding: 10px 12px; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.5; text-transform: none; letter-spacing: 0;
  box-shadow: 0 10px 30px rgba(20, 33, 61, .22);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s var(--ease), visibility .15s;
}
.tip__box::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy); }
.tip__box b { color: var(--gold); font-weight: 600; }
.tip__box a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.tip.is-open .tip__box { pointer-events: auto; }
@media (hover: hover) { .tip:hover .tip__box { pointer-events: auto; } }
.tip.is-open .tip__box { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .tip:hover .tip__box { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
/* keep bubbles inside narrow screens: anchor to the left edge of the label instead */
@media (max-width: 520px) {
  .tip { position: static; }
  .field { position: relative; }
  .tip__box { left: 0; right: 0; transform: translateY(4px); max-width: none; width: auto; bottom: calc(100% - 14px); }
  .tip.is-open .tip__box { transform: none; }
  .tip__box::after { display: none; }
}

/* Rules: one row each — name + (i) on the left, [ −  1 month  + ] on the right */
.steppers { border-top: 1px solid var(--line); }
.steppers .field { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steppers .field .label { margin: 0; font-size: 14px; color: var(--navy); font-weight: 500; }
.stepper-input {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; flex: none;
  width: 168px; height: 42px; border: 1px solid var(--field); border-radius: 999px; overflow: hidden; background: var(--white);
}
.stepper-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); }
.stepper-input button { height: 100%; border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--navy); cursor: pointer; transition: background .15s; }
.stepper-input button:hover { background: var(--paper); }
.stepper-input button:active { background: var(--line); }
.stepper-input__val { display: flex; align-items: baseline; justify-content: center; gap: 4px; min-width: 0; }
.field .stepper-input input {
  border: 0; box-shadow: none; padding: 0; min-height: 0; height: auto; width: 2.4ch; min-width: 0;
  text-align: right; font-size: 16px; font-weight: 600; background: transparent; -moz-appearance: textfield;
}
.stepper-input input::-webkit-outer-spin-button, .stepper-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-input__unit { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- live preview ---------- */
.hero__preview { min-width: 0; }
.preview__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.preview__head h2 { font: 600 18px/1.2 var(--serif); }
.preview__head p { font-size: 13px; color: var(--faint); }
.preview__status:empty { display: none; }
.preview__frame {
  position: relative; background: var(--paper); border-radius: 18px; padding: 14px;
  overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; max-height: 64vh;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  scrollbar-width: thin; scrollbar-color: #D9D5CA transparent;
}
.preview__pages { position: relative; display: grid; gap: 14px; }
.preview__page { position: relative; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .06); }
.preview__page canvas { display: block; width: 100%; height: auto; pointer-events: none; }
.preview__mark {
  position: absolute; left: 7%; right: 5%; top: 0; height: 0; border-radius: 6px; pointer-events: none;
  background: rgba(201, 162, 39, .13); box-shadow: inset 3px 0 0 var(--gold);
  opacity: 0; transition: top .35s var(--ease), height .35s var(--ease), opacity .25s ease;
}
.preview__mark.is-on { opacity: 1; }
.preview__shield { position: absolute; inset: 0; z-index: 2; }
.preview__skeleton { aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; padding: 14% 12% 0; display: grid; align-content: start; gap: 12px; }
.preview__skeleton span { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #F1EEE7 25%, #F8F6F1 50%, #F1EEE7 75%); background-size: 200% 100%; animation: sd-shimmer 1.2s infinite linear; }
.preview__skeleton span:nth-child(1) { width: 40%; justify-self: center; height: 12px; margin: 30% 0 8px; }
.preview__skeleton span:nth-child(3n) { width: 78%; }
@keyframes sd-shimmer { to { background-position: -200% 0; } }
.preview__note { font-size: 12.5px; color: var(--faint); margin-top: 10px; }

/* ---------- sections ---------- */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section__title { font: 600 26px/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 28px; }
.steps, .delivery { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps__num { display: block; font: 600 14px/1 var(--serif); color: var(--gold-text); margin-bottom: 10px; letter-spacing: .04em; }
.steps h3, .delivery h3 { font-size: 16px; margin-bottom: 4px; }
.steps p, .delivery p { color: var(--muted); font-size: 15px; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact__inner { text-align: left; }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 600 clamp(20px, 4vw, 28px)/1.3 var(--serif); }
.contact__links a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .15s; }
.contact__links a:hover { border-color: var(--gold); }
.contact__meta { margin-top: 14px; color: var(--muted); font-size: 14px; }

.footer { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--faint); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero { padding-top: 56px; }
  .booking { padding: 28px; }
  .call span { display: inline; }
  .hero__form, .hero__preview { max-width: 640px; }
}

/* ---------- desktop: form | agreement ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --header-h: 68px; }
  .nav { display: flex; }
  .hero { padding: 64px 0 56px; }
  .intro { margin-bottom: 40px; }
  .app { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; }
  .hero__form, .hero__preview { max-width: none; }
  .hero__preview {
    position: sticky; top: calc(var(--header-h) + 20px);
    height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column;
  }
  .preview__frame { flex: 1; min-height: 0; max-height: none; padding: 20px; }
  .section { padding: 80px 0; }
  .section__title { font-size: 32px; margin-bottom: 36px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 1440px) {
  .app { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 72px; }
}

/* ================= UI upgrade ================= */

/* hero: soft paper wash behind the headline, gold-dot points with icons */


/* the form card floats a little */
.booking { box-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 40px rgba(20, 33, 61, .06); }

/* preview header with Full screen button */
.preview__head { align-items: center; justify-content: space-between; }
.preview__head > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.preview__expand {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--field); background: var(--white); color: var(--navy); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, transform .08s;
}
.preview__expand:hover { border-color: var(--navy); }
.preview__expand:active { transform: scale(.97); }
.preview__expand .ico { width: 15px; height: 15px; }
.preview__frame { cursor: zoom-in; }

/* success */
.success__actions { display: grid; gap: 10px; }

/* sections */
.section__lede { color: var(--muted); font-size: 16px; margin: -16px 0 28px; max-width: 46em; }
@media (min-width: 1024px) { .section__lede { margin-top: -22px; margin-bottom: 40px; } }

/* how it works: icon cards joined by a thin line */
.steps { counter-reset: none; }
.steps li { position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.steps li:hover { border-color: #E2DCCB; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20, 33, 61, .06); }
.steps__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #FBF6E6; color: var(--gold-text); margin-bottom: 14px; }
.steps__icon .ico { width: 20px; height: 20px; }
.steps__num { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
@media (min-width: 1024px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 42px; right: -40px; width: 40px; height: 1px; background: var(--line); }
}

/* delivery */
.delivery li { padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.delivery__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); color: var(--navy); margin-bottom: 14px; }
.delivery__icon .ico { width: 20px; height: 20px; }

/* FAQ */
.faq__list { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-size: 16px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 18px 0; color: var(--muted); font-size: 15px; animation: sd-in .25s var(--ease); }
.faq details a { color: var(--navy); font-weight: 600; }

/* footer */
.footer { padding: 48px 0 0; background: #FBFAF7; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer__grid h3 { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.footer__grid p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.footer__grid .logo { display: inline-block; margin-bottom: 10px; }
.footer__grid a { text-decoration: none; color: var(--navy); }
.footer__grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__base { padding-top: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); margin-top: 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- full-screen viewer ---------- */
html.viewer-open, html.viewer-open body { overflow: hidden; }
.viewer {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  background: rgba(20, 24, 33, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: sd-fade .2s ease;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
@keyframes sd-fade { from { opacity: 0; } to { opacity: 1; } }
.viewer__bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top));
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.viewer__title { display: grid; margin-right: auto; min-width: 0; }
.viewer__title strong { font: 600 16px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__title span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.viewer__zoom { display: flex; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.viewer__zoom button { min-width: 38px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.viewer__zoom button:hover { background: rgba(255, 255, 255, .12); }
.viewer__fit { font-size: 12.5px !important; font-weight: 600; min-width: 54px !important; }
.viewer__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.viewer__close:hover { background: rgba(255, 255, 255, .2); }
.viewer__close .ico { width: 20px; height: 20px; }
.viewer__frame { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 18px 16px 24px; scroll-behavior: smooth; }
.viewer__pages { position: relative; display: grid; gap: 18px; margin: 0 auto; }
.viewer .preview__page { background: #fff; border-radius: 3px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.viewer .preview__page canvas { display: block; width: 100%; height: auto; pointer-events: none; }
.viewer .preview__mark { display: none; }
.viewer__note { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .55); padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) { .viewer__zoom button { min-width: 34px; } .viewer__fit { min-width: 46px !important; } }

/* phones: floating button to open the draft while filling the form */
.draft-fab {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 12px 30px rgba(20, 33, 61, .3); animation: sd-rise .3s var(--ease);
}
.draft-fab .ico { width: 18px; height: 18px; color: var(--gold); }
@keyframes sd-rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (min-width: 1024px) { .draft-fab { display: none !important; } }
@media print { .viewer, .draft-fab { display: none !important; } }

/* ================= Legal studio theme =================
   Ink, parchment, gold and a seal red — the look of a well-made agreement. */

body { font-size: 16.5px; line-height: 1.65; background: var(--white); }
::selection { background: rgba(184, 137, 43, .22); }

/* header */
.header { background: rgba(251, 249, 244, .9); border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font: 600 18px/1 var(--serif);
  box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3.5px var(--gold);
}
.nav a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--navy); }
.header__cta {
  display: none; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s;
}
.header__cta:hover { background: #1B2D52; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* type */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .16em; color: var(--gold-text); margin-bottom: 14px; }
.eyebrow__rule { width: 28px; height: 1px; background: var(--gold); }
h1 { font-size: clamp(36px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
h1 em { font-style: italic; color: var(--gold-text); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.section__title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; max-width: 20em; }
.section__lede { color: var(--ink-2); font-size: 17px; margin: -12px 0 32px; }

/* buttons */
.btn { font-size: 15.5px; border-radius: 12px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--primary { background: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 8px 22px rgba(15, 30, 58, .18); }
.btn--primary:hover { background: #1B2D52; }
.btn--ghost { background: rgba(255, 255, 255, .7); border-color: var(--field); }

/* ---------- cover ---------- */
.cover {
  position: relative; overflow: hidden; padding: 40px 0 48px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(184, 137, 43, .10), transparent 60%),
    linear-gradient(180deg, #FBF9F4 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
/* faint guilloche, like the security print on stamp paper */
.cover::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 100% 0%, transparent 0 22px, rgba(184, 137, 43, .07) 22px 23px);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.cover__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.cover__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cover .points { margin-top: 26px; gap: 10px 24px; font-size: 14.5px; }
.points li::before { content: none; }
.points li { gap: 8px; color: var(--navy); font-weight: 500; }
.points .ico { width: 18px; height: 18px; color: var(--gold-text); }

/* the drawn agreement */
.doc-art { position: relative; width: min(100%, 470px); margin: 0 auto; aspect-ratio: 210 / 250; font-family: Georgia, "Times New Roman", serif; }
.doc-art__sheet {
  position: absolute; inset: 0; background: #FFFEFB; border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 1px rgba(15, 30, 58, .05), 0 14px 30px rgba(15, 30, 58, .10), 0 40px 80px rgba(15, 30, 58, .10);
  transform: rotate(1.2deg); animation: doc-in .7s var(--ease) both;
}
.doc-art__sheet--back { transform: rotate(-4deg) translate(-10px, 8px); background: #F4EFE3; animation-delay: .05s; box-shadow: 0 10px 30px rgba(15, 30, 58, .08); }
@keyframes doc-in { from { opacity: 0; transform: translateY(14px) rotate(0); } }
.estamp {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 14px 16px;
  background:
    repeating-linear-gradient(115deg, rgba(158, 60, 60, .07) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(65deg, rgba(47, 107, 79, .06) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #F9E3DA, #F3EAD8);
  border-bottom: 1.5px dashed rgba(142, 44, 44, .35); font-family: var(--sans);
}
.estamp__emblem { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(142, 44, 44, .55); color: var(--seal); font: 700 18px/1 Georgia, serif; }
.estamp__text { display: grid; gap: 1px; min-width: 0; }
.estamp__text b { font-size: 11px; letter-spacing: .14em; color: #5A2323; }
.estamp__text span { font-size: 9.5px; color: #6E4A3A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.estamp__art { font-style: italic; }
.estamp__value { display: grid; text-align: right; font: 700 20px/1 Georgia, serif; color: #5A2323; }
.estamp__value small { font: 600 8.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8A5A4A; }
.doc-art__body { padding: 18px 22px 0; display: grid; gap: 9px; color: #1F2A3D; }
.doc-art__title { text-align: center; font-size: 15px; letter-spacing: .32em; font-weight: 700; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid #E8E1D2; }
.doc-art__line { font-size: 10.5px; line-height: 1.55; text-align: justify; }
.doc-art__party, .doc-art__clause { display: flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: .04em; white-space: nowrap; }
.doc-art__party i, .doc-art__clause i { display: block; height: 6px; border-radius: 3px; flex: none; width: var(--w, 60%); background: linear-gradient(90deg, #E7E1D4, #EFEBE1); }
.doc-art__party i { --w: 58%; }
.doc-art__clause:nth-of-type(odd) i { animation: ink 2.4s var(--ease) infinite alternate; }
@keyframes ink { from { opacity: .65; } to { opacity: 1; } }
.doc-art__signs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 12px; }
.doc-art__signs div { display: grid; gap: 2px; }
.doc-art__signs svg { width: 100%; height: 30px; }
.doc-art__signs path { fill: none; stroke: #1E3A8A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: sign 1.6s .6s var(--ease) forwards; }
.doc-art__signs div + div path { animation-delay: 1.1s; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.doc-art__signs span { border-top: 1px solid #C9C1AF; padding-top: 3px; font: 600 8.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6B7280; }
.seal { position: absolute; right: 18px; bottom: 16px; width: 92px; height: 92px; transform: rotate(-14deg); opacity: .86; mix-blend-mode: multiply; animation: stamp .45s 1.6s cubic-bezier(.3, 1.6, .5, 1) both; }
.seal circle { fill: none; stroke: var(--seal); stroke-width: 2.4; }
.seal circle + circle { stroke-width: 1.2; }
.seal text { fill: var(--seal); font: 700 9.6px/1 var(--sans); letter-spacing: .18em; }
.seal .seal__big { font-size: 12px; letter-spacing: .12em; }
.seal .seal__small { font-size: 8.5px; letter-spacing: .3em; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } }
.doc-art__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; color: var(--navy); font: 600 13px/1 var(--sans); white-space: nowrap;
  box-shadow: 0 10px 30px rgba(15, 30, 58, .14); animation: doc-in .6s .3s var(--ease) both;
}
.doc-art__chip--live { left: -10px; top: -14px; }
.doc-art__chip--stamp { right: -10px; top: 46%; background: var(--navy); color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* standards strip */
.trust { background: var(--navy); color: #fff; }
.trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 22px; padding-bottom: 22px; }
.trust li { display: grid; gap: 3px; padding-left: 14px; border-left: 2px solid var(--gold); }
.trust b { font: 600 15px/1.3 var(--serif); }
.trust span { font-size: 13px; color: rgba(255, 255, 255, .7); line-height: 1.45; }

/* ---------- drafting desk (form + live agreement) ---------- */
.desk { background: var(--paper); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.desk__head { max-width: 720px; margin-bottom: 26px; }
.desk__head h2 { font: 600 clamp(26px, 3.2vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; }
.desk__head p:last-child { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }
.desk .points { display: none; }

.booking {
  position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 30, 58, .04), 0 18px 50px rgba(15, 30, 58, .08);
}
.booking::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--navy), var(--navy) 70%, var(--gold) 70%); }
.booking__kicker { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.booking__head h2 { font-size: 26px; }
.booking__head p { font-size: 14px; color: var(--ink-2); }

.stepper { margin: 22px 0 24px; gap: 8px; }
.stepper li { gap: 6px; }
.stepper li::before { height: 4px; }
.stepper__label { font-size: 13px; }
.stepper__sub { font-size: 11.5px; color: var(--faint); margin-top: -4px; }
.stepper li.is-active .stepper__label { color: var(--navy); }

.step__title { display: block; margin-bottom: 18px; font: 600 21px/1.25 var(--serif); letter-spacing: -.01em; }
.step__title small { font: 500 14px/1 var(--sans); color: var(--faint); letter-spacing: 0; }
.step__no { display: block; margin-bottom: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }

.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea, .readonly, .input-prefix { border-color: var(--field); background-color: #FFFEFB; }
.field input, .field select, .field textarea { min-height: 50px; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus, .input-prefix:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(184, 137, 43, .16); background-color: #fff; }
.person__title { font-size: 12px; letter-spacing: .14em; }
.terms__group { font-size: 12px; }
.toggle { background: #F1ECE0; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); }

.preview__head h2 { font-size: 20px; }
.preview__frame { background: #E9E3D5; box-shadow: inset 0 2px 8px rgba(15, 30, 58, .06); }
.preview__page { border-radius: 2px; box-shadow: 0 1px 2px rgba(15, 30, 58, .08), 0 12px 32px rgba(15, 30, 58, .12); }

/* ---------- contents page ---------- */
.clauses { background: #fff; }
.clauses__grid { display: grid; gap: 32px; }
.clauses__intro .btn { margin-top: 4px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.toc li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toc__no { grid-row: span 2; font: 600 20px/1.1 var(--serif); color: var(--gold-text); }
.toc__t { font: 600 17px/1.3 var(--serif); }
.toc__d { font-size: 14.5px; color: var(--ink-2); }

/* sections */
.section { padding: 64px 0; }
#how { background: var(--paper); }
.steps li { border-color: var(--line); background: #fff; }
.steps__icon { background: var(--navy); color: var(--gold); border-radius: 50%; }
.steps__num { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--gold-text); }
.steps h3, .delivery h3 { font: 600 19px/1.3 var(--serif); margin-bottom: 6px; }
.steps p, .delivery p { color: var(--ink-2); font-size: 15.5px; }
.delivery__icon { background: var(--paper); border-radius: 50%; }
.faq summary { font: 600 18px/1.4 var(--serif); }
.faq details p { font-size: 16px; color: var(--ink-2); }
.contact { background: var(--navy); color: #fff; border-top: 0; }
.contact .section__title { color: #fff; }
.contact__links a { color: #fff; border-color: rgba(255, 255, 255, .25); }
.contact__links a:hover { border-color: var(--gold); }
.contact__meta { color: rgba(255, 255, 255, .7); }
.footer { background: #FBF9F4; }

@media (min-width: 640px) {
  .booking { padding: 32px 30px; }
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cover { padding: 72px 0 80px; }
  .cover__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
  .doc-art { margin-right: 12px; }
  .desk { padding: 72px 0 64px; }
  .desk__head { margin-bottom: 36px; }
  .section { padding: 96px 0; }
  .clauses__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .clauses__intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 520px) {
  .doc-art { width: 100%; max-width: 360px; }
  .doc-art__body { padding: 14px 16px 0; gap: 7px; }
  .doc-art__line { font-size: 9.5px; }
  .seal { width: 74px; height: 74px; right: 12px; bottom: 12px; }
  .doc-art__chip { font-size: 12px; padding: 7px 12px; }
  .doc-art__chip--live { left: -4px; top: -12px; }
  .doc-art__chip--stamp { right: -4px; }
  .cover__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .doc-art__signs path { stroke-dashoffset: 0; } }
@media print { .cover, .trust { display: none !important; } }

@media print { .hero__preview { display: none !important; } }

/* ---------- notary add-on + total payable ---------- */
.addon { display: block; position: relative; margin: 18px 0 12px; cursor: pointer; }
.addon input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.addon__box { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--field); border-radius: 12px; background: #FFFEFB; transition: border-color .15s, background .15s, box-shadow .15s; }
.addon__check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--field); background: #fff; color: transparent; transition: all .15s; }
.addon__check .ico { width: 14px; height: 14px; }
.addon__text { display: grid; gap: 3px; }
.addon__text b { font-size: 15px; font-weight: 600; color: var(--navy); }
.addon__text small { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.addon:hover .addon__box { border-color: #C9BFA9; }
.addon input:checked + .addon__box { border-color: var(--navy); background: #F7F4EC; box-shadow: 0 0 0 3px rgba(184, 137, 43, .14); }
.addon input:checked + .addon__box .addon__check { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.addon input:focus-visible + .addon__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 6px; padding: 16px 18px; border-radius: 12px; background: var(--navy); color: #fff; }
.total__label { display: grid; gap: 2px; font-weight: 600; font-size: 15px; }
.total__label small { font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.total strong { font: 600 26px/1 var(--serif); color: #fff; white-space: nowrap; }
.success .summary dt small { display: block; font-size: 12px; color: var(--faint); }

/* ---------- more services ---------- */
.services { background: #fff; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.svc__card { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #FFFEFB, #FBF8F1); }
.svc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 6px; }
.svc__icon .ico { width: 21px; height: 21px; }
.svc__card h3 { font: 600 21px/1.25 var(--serif); }
.svc__card p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.svc__btns { display: flex; gap: 10px; margin-top: 10px; }
.svc__btns .btn { flex: 1; min-height: 46px; }
@media (min-width: 760px) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- pricing + inline calculator ---------- */
.pricing { background: #fff; }
.pricing__grid { display: grid; gap: 32px; align-items: start; }
.price-list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list dt { font-weight: 600; color: var(--navy); }
.price-list dt small { font-weight: 400; color: var(--muted); }
.price-list dd { margin: 0; color: var(--ink-2); text-align: right; }
.calc-widget { display: grid; gap: 16px; padding: 24px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.calc-widget__title { font: 600 21px/1.25 var(--serif); }
.calc-widget__inputs { display: grid; gap: 4px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-widget__inputs .field:last-child { grid-column: 1 / -1; }
.calc-widget .field { margin-bottom: 8px; }
.stepper-input--wide { width: 100%; }
.calc-widget__out { margin: 0; display: grid; gap: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.calc-widget__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; }
.calc-widget__out dt { font-weight: 600; }
.calc-widget__out dt small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.calc-widget__out dd { margin: 0; font: 600 20px/1 var(--serif); }
.calc-widget__total { background: var(--navy); color: #fff; }
.calc-widget__total dt small { color: rgba(255, 255, 255, .75); }
.calc-widget__total dd { font-size: 26px; }
.calc-widget__note { font-size: 13.5px; color: var(--muted); }
.calc-widget__note a { color: var(--navy); font-weight: 600; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #A77B22; color: #fff; }
@media (min-width: 900px) {
  .pricing__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; }
  .calc-widget { padding: 28px; }
}

/* five-step progress */
.stepper--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step__lede { margin: -6px 0 16px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 420px) { .stepper--5 .stepper__sub { display: none; } .stepper--5 .stepper__label { font-size: 12px; } }

/* live preview: gold flash on the value that just changed */
.preview__flash { position: absolute; z-index: 1; border-radius: 2px; pointer-events: none; background: rgba(201, 162, 39, .38); box-shadow: 0 0 0 1px rgba(184, 137, 43, .35); animation: pv-flash 1.5s ease-out forwards; }
@keyframes pv-flash { 0% { opacity: 0; } 12% { opacity: 1; } 65% { opacity: .85; } 100% { opacity: 0; } }

.viewer__frame { scrollbar-gutter: stable both-edges; }

.doc-art[data-goto] { cursor: pointer; transition: transform .25s var(--ease); }
@media (hover: hover) { .doc-art[data-goto]:hover { transform: translateY(-4px); } }

/* ---------- trust: rating line, testimonials, document writer ---------- */
.rating-line { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.rating-line__stars { color: var(--gold); font-size: 18px; }
.rating-line b { color: var(--navy); }
.rating-line a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.trust__writer { display: block; margin-top: 2px; font-weight: 600; color: #fff !important; }
.testimonials { background: #fff; }
.tcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #FFFEFB; }
.tcard__stars { color: var(--gold); letter-spacing: 2px; }
.tcard__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); flex: 1; }
.tcard__name { font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.tcards__more { margin-top: 18px; }
.tcards__more a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 760px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- phones: sticky WhatsApp / Call bar ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 30, 58, .08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), opacity .2s;
}
.mobilebar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.mobilebar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: 12px; border: 1px solid var(--field); background: #fff; color: var(--navy);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
}
.mobilebar__btn svg { width: 19px; height: 19px; }
.mobilebar__btn--wa { background: #128C4A; border-color: #128C4A; color: #fff; }
.mobilebar__btn--draft { background: var(--navy); border-color: var(--navy); color: #fff; }
.mobilebar__btn--draft .ico { color: var(--gold); }
.mobilebar__btn[hidden] { display: none; }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
.draft-fab { display: none !important; }
@media (min-width: 1024px) { .mobilebar { display: none; } body { padding-bottom: 0; } }
@media print { .mobilebar { display: none !important; } }

/* ---------- how it works: timeline (vertical on phones, horizontal from 900px) ---------- */
.how { background: var(--paper); }
.steps--timeline { position: relative; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.steps--timeline li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 0 0 26px; border: 0; background: none; box-shadow: none; transform: none; border-radius: 0; }
.steps--timeline li:hover { transform: none; box-shadow: none; }
.steps--timeline li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); right: auto; height: auto; }
.steps--timeline li:last-child { padding-bottom: 0; }
.steps--timeline li:last-child::after { display: none; }
.steps__dot { grid-row: span 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 17px/1 var(--serif); position: relative; z-index: 1; }
.steps--timeline .steps__num { margin: 0 0 4px; }
@media (min-width: 900px) {
  .steps--timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps--timeline li { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .steps--timeline .steps__dot { grid-row: auto; margin-bottom: 16px; }
  .steps--timeline li::after { left: 48px; right: -28px; top: 19px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- clickable clauses ---------- */
.toc li { display: block; padding: 0; }
.toc__btn {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 14px 8px; margin: 0;
  border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: background .15s;
}
.toc__btn .toc__no { grid-row: span 3; }
.toc__go { font-size: 13px; font-weight: 600; color: var(--navy); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.toc__btn:hover, .toc__btn:focus-visible { background: var(--paper); }
.toc__btn:hover .toc__go, .toc__btn:focus-visible .toc__go { opacity: 1; transform: none; }
.clauses__hint { font-size: 14.5px; color: var(--ink-2); }
@media (hover: none) { .toc__go { opacity: 1; transform: none; } }

/* ---------- delivery: one compact row ---------- */
.delivery--row { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.delivery--row li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 18px; border: 0; border-radius: 0; background: none; }
.delivery--row li + li { border-top: 1px solid var(--line); }
.delivery--row .delivery__icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
.delivery--row h3 { font-size: 16px; margin: 0; }
.delivery--row p { font-size: 14.5px; }
@media (min-width: 760px) {
  .delivery--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .delivery--row li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- one contact block + slim footer ---------- */
.contact__grid { display: grid; gap: 24px; align-items: center; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; }
.contact__card { font-style: normal; display: grid; gap: 8px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.contact__card b { font: 600 19px/1.3 var(--serif); color: #fff; }
.contact__card a { color: #fff; font-weight: 600; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.footer--slim { padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); background: #FBF9F4; border-top: 1px solid var(--line); }
.footer__slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__slim .logo { font-size: 18px; margin: 0; }
.footer__slim .logo__mark { width: 28px; height: 28px; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { font-size: 13px; color: var(--muted); }

/* ================= Readability & colour discipline =================
   16px / 1.6 body, AA-contrast greys on cream, gold only for primary CTAs,
   active form states and highlighted preview values. */
:root { --faint: #5F6778; --muted: #4A5366; }
body { font-size: 16px; line-height: 1.6; }
.lede { line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #697183; }

/* labels and numbers: ink, not gold */
.eyebrow, .booking__kicker, .step__no, .person__title, .terms__group, .steps__num, .toc__no { color: var(--ink-2); }
.eyebrow__rule { background: var(--ink-2); opacity: .5; }
h1 em { color: var(--navy); }
.points .ico, .delivery__icon, .delivery__icon .ico { color: var(--navy); }
.booking::before { background: var(--navy); }
.trust li { border-left-color: rgba(255, 255, 255, .35); }
.svc__icon { color: #fff; width: 44px; height: 44px; }
.tip__box b { color: #fff; }
.contact .eyebrow, .sd-nap .eyebrow { color: rgba(255, 255, 255, .75); }
.contact .eyebrow__rule { background: rgba(255, 255, 255, .6); }

/* gold where it means "do this" or "you are here" */
.stepper li.is-active::before { background: var(--gold); }
.stepper li.is-done::before { background: var(--navy); }
.btn--gold { box-shadow: 0 8px 22px rgba(184, 137, 43, .28); font-weight: 700; }
.btn--gold:focus-visible, .btn--primary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn--gold:hover { background: #CDA14A; color: var(--navy); }

/* ================= Tool-first page ================= */
.desk { padding: 24px 0 40px; background: var(--paper); }
.desk__head { max-width: none; margin-bottom: 20px; }
.desk__head h1 { font: 600 clamp(26px, 4.2vw, 40px)/1.12 var(--serif); letter-spacing: -.02em; max-width: 22em; }
.desk__sub { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 46em; }
.desk__points { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; color: var(--navy); }
.desk__points li { display: inline-flex; align-items: center; gap: 6px; }
.desk__points li::before { content: "✓"; color: #15803D; font-weight: 700; }
.desk__head .rating-line { margin-top: 10px; }
@media (min-width: 1024px) {
  .desk { padding: 32px 0 56px; }
  .desk__head { margin-bottom: 24px; }
}
/* the page headline already says what this is — no second heading inside the form card */
.desk .booking__head { display: none; }
.desk .stepper { margin-top: 4px; }

/* ---------- e-stamp explainer (sample certificate + numbered legend) ---------- */
.estamp { background: #fff; }
.estamp__grid { display: grid; gap: 28px; align-items: start; }
.es-sheet { margin: 0; }
.es-sheet__inner {
  position: relative; overflow: hidden; padding: 22px 20px 18px; background: #FDFEFF; border-radius: 6px;
  border: 10px solid transparent;
  background-image: linear-gradient(#FDFEFF, #FDFEFF), repeating-linear-gradient(45deg, #B9C7DA 0 3px, #E3EAF3 3px 7px);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 1px 2px rgba(15, 30, 58, .06), 0 16px 40px rgba(15, 30, 58, .10);
  font-family: "Public Sans", system-ui, sans-serif; color: #1F2937;
}
.es-sample {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-24deg); white-space: nowrap; pointer-events: none;
  font: 800 clamp(18px, 4vw, 28px)/1 var(--sans); letter-spacing: .14em; color: rgba(180, 35, 24, .13);
}
.es-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.es-emblem { flex: none; display: grid; place-items: center; width: 58px; height: 64px; border: 1.5px dashed #9AA8BC; border-radius: 6px; font-size: 10px; line-height: 1.2; text-align: center; color: #64748B; }
.es-head__a { font-weight: 800; font-size: 17px; letter-spacing: .04em; }
.es-head__b { font-weight: 700; font-size: 18px; color: #1D3A8A; text-decoration: underline; text-underline-offset: 3px; }
.es-band { margin: 6px 0 12px; padding: 6px; text-align: center; font-weight: 800; font-size: 17px; border-radius: 4px; background: #DCE7F7; color: #0F172A; }
.es-row, .es-codes { position: relative; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 2px 12px; padding: 6px 30px 6px 8px; border-radius: 6px; font-size: 13.5px; transition: background .2s, box-shadow .2s; }
.es-row__label { color: #374151; }
.es-row__value { font-weight: 600; color: #0F172A; }
.es-pin { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 11.5px/1 var(--sans); }
.es-codes { grid-template-columns: 64px minmax(0, 1fr); align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px dashed #B6C2D3; }
.es-qr { width: 58px; height: 58px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 10px 10px; outline: 4px solid #111; outline-offset: -4px; }
.es-bar { height: 40px; background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 4px, #111 4px 5px, #fff 5px 8px); }
.es-agreement { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #B6C2D3; display: grid; gap: 4px; text-align: center; font-family: Georgia, serif; }
.es-agreement b { letter-spacing: .12em; }
.es-agreement span { font-size: 13px; color: #6B7280; font-style: italic; }
.es-sheet figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.es-row.is-on, .es-codes.is-on { background: rgba(201, 162, 39, .22); box-shadow: inset 3px 0 0 var(--gold); }
.es-row.is-on .es-pin, .es-codes.is-on .es-pin { background: var(--gold); color: var(--navy); }

.es-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.es-key { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.es-key b { display: block; font-size: 15px; color: var(--navy); }
.es-key span span { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.es-key__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px/1 var(--sans); }
.es-key:hover { border-color: #C9BFA9; }
.es-key.is-on { border-color: var(--gold); background: #FFFBEF; }
.es-key.is-on .es-key__n { background: var(--gold); color: var(--navy); }
.estamp__cta { margin-top: 24px; }
.es-link { margin: 0 0 10px; font-size: 14px; }
.es-link a, .tip__box a[data-es-go] { font-weight: 600; }
.es-link a { color: var(--navy); text-underline-offset: 3px; }
@media (min-width: 960px) {
  .estamp__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; }
  .es-sheet { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 420px) {
  .es-row { grid-template-columns: minmax(0, 1fr); padding-right: 32px; }
  .es-row__label { font-size: 12px; }
}

.es-sheet [data-es] { cursor: pointer; }
.es-note { margin: 2px 0 6px; padding: 8px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13.5px; line-height: 1.5; animation: sd-in .2s var(--ease); }
.es-note b { color: #fff; }
@media (min-width: 960px) { .es-note { display: none; } }
@media (max-width: 959px) { .es-legend { display: none; } }

/* ---------- header: highlighted Affidavits button right after the logo (all screen sizes) ---------- */
.header .logo { margin-right: 0; }
.header__pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; margin-right: auto;
  border-radius: 999px; background: var(--gold); color: var(--navy); text-decoration: none;
  font: 700 13.5px/1 var(--sans); white-space: nowrap; box-shadow: 0 4px 12px rgba(184, 137, 43, .28);
  transition: background .15s, transform .08s;
}
.header__pill .ico { width: 15px; height: 15px; }
.header__pill:hover { background: #CDA14A; }
.header__pill:active { transform: scale(.97); }
.header__inner { gap: 12px; }
@media (min-width: 1024px) { .header__inner { gap: 24px; } .header__pill { height: 38px; padding: 0 16px; font-size: 14px; } }
@media (max-width: 380px) { .logo { font-size: 18px; gap: 8px; } .logo__mark { width: 30px; height: 30px; } .header__pill { padding: 0 10px; font-size: 13px; } }
/* arriving at the Affidavits card: a brief gold outline so it is easy to spot */
#affidavits { scroll-margin-top: calc(var(--header-h) + 20px); }
#affidavits:target { animation: svc-hl 2.2s ease-out; }
@keyframes svc-hl { 0%, 60% { box-shadow: 0 0 0 3px var(--gold), 0 12px 30px rgba(184, 137, 43, .25); } 100% { box-shadow: none; } }
.header .logo { white-space: nowrap; flex: none; }
@media (max-width: 559px) {
  .header__inner { gap: 10px; }
  .header .logo { font-size: 18px; gap: 8px; }
  .header .logo__mark { width: 30px; height: 30px; font-size: 16px; }
  .header__pill { height: 32px; padding: 0 11px; font-size: 13px; gap: 5px; }
  .header__pill .ico { width: 14px; height: 14px; }
  .header .call { width: 40px; padding: 0; }
}
/* very small phones: the bottom bar already has Call */
@media (max-width: 359px) { .header .call { display: none; } .header__pill .ico { display: none; } }

/* ---------- 8-step flow ---------- */
.stepper--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; }
.stepper--8 .stepper__label { font-size: 11.5px; line-height: 1.2; }
.stepper__caption { margin: 0 0 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) { .stepper--8 .stepper__label { display: none; } .stepper--8 { margin-bottom: 10px; } }
@media (min-width: 761px) { .stepper__caption { display: none; } }

/* one-tap choices (Agreement type, Property type) */
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-cards label { position: relative; margin: 0; cursor: pointer; }
.choice-cards input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-cards span {
  display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 14px 10px; text-align: center;
  border: 1.5px solid var(--field); border-radius: 14px; background: #FFFEFB; font: 600 16px/1.3 var(--sans); color: var(--navy);
  transition: border-color .15s, background .15s, box-shadow .15s, transform .08s;
}
.choice-cards label:hover span { border-color: #C9BFA9; }
.choice-cards input:checked + span { border-color: var(--gold); background: #FFF8E6; box-shadow: 0 0 0 3px rgba(184, 137, 43, .2); }
.choice-cards input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.choice-cards label:active span { transform: scale(.98); }
[data-step="2"] .field .label, [data-step="3"] .field .label { margin-bottom: 12px; }

/* review list on the last step */
.review { margin-top: 0; }
.review > div { align-items: flex-start; }
.review dd { white-space: normal; text-align: right; max-width: 60%; }
/* the progress bar already says "Step n of 8" */
.stepper--8 ~ #booking-form .step__no { display: none; }
/* steps 2-3: the step heading already names the question */
[data-step="2"] .field > .label, [data-step="3"] .field > .label { display: none; }
/* eight steps: a bar + one clear caption reads better than eight tiny labels */
.stepper--8 .stepper__label { display: none; }
.stepper--8 { margin-bottom: 10px; }
.stepper__caption { display: block !important; }

/* ---------- affidavit list ---------- */
.affs { background: var(--paper); }
.affs__grid { display: grid; gap: 12px; align-items: start; }
.affs__group { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.affs__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; cursor: pointer; font: 600 18px/1.3 var(--serif); color: var(--navy); }
.affs__group summary::-webkit-details-marker { display: none; }
.affs__group summary b { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--paper); font: 700 12.5px/1 var(--sans); color: var(--ink-2); }
.affs__group summary::after { content: ""; width: 9px; height: 9px; margin-left: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.affs__group[open] summary::after { transform: rotate(-135deg); }
.affs__group summary > span { margin-right: auto; }
.affs__list { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; }
.affs__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: 15px; }
.affs__list a::after { content: "→"; color: var(--muted); transition: transform .15s; }
.affs__list a:hover { background: var(--paper); }
.affs__list a:hover::after { transform: translateX(3px); color: var(--navy); }
.affs__list li + li a { border-top: 1px solid #F2EEE4; border-radius: 0; }
.affs__cta { margin-top: 18px; color: var(--ink-2); }
.affs__cta a { color: var(--navy); font-weight: 600; }
#affidavits { scroll-margin-top: calc(var(--header-h) + 12px); }
@media (min-width: 900px) {
  .affs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .affs__group summary { cursor: default; pointer-events: none; }
  .affs__group summary::after { display: none; }
}
#affidavits:target { animation: none; }

/* headline highlight: a gold marker stroke behind the words */
.hl {
  color: var(--navy); padding: 0 .12em; border-radius: .18em;
  background: linear-gradient(transparent 52%, rgba(201, 162, 39, .45) 52%, rgba(201, 162, 39, .45) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* "optional" tag next to a label */
.opt { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); font: 600 11px/1.5 var(--sans); letter-spacing: .02em; vertical-align: 1px; }
.field-row--age { grid-template-columns: 138px minmax(0, 1fr); }
