/* ============================================================================
   Montalvan Law PLLC — Deed Intake
   Styled to match montalvanlaw.com (Carrd): dark panel over a dimmed
   architectural photo, Inter-style sans, uppercase letter-spaced labels,
   pill inputs and a light pill primary button.
   ============================================================================ */
:root {
  --page-bg: #0f0f10;
  --overlay: rgba(14, 14, 15, 0.78);
  --panel: rgba(34, 33, 36, 0.85);
  --panel-solid: #201f21;
  --text: #c9c8ca;          /* body copy (site uses ~#9b9a9b; lifted for contrast) */
  --text-strong: #ffffff;
  --muted: #9b9a9b;
  --line: rgba(255, 255, 255, 0.14);
  --input-border: rgba(255, 255, 255, 0.38);
  --input-border-focus: #ffffff;
  --btn: #b8b7b8;
  --btn-text: #1c1b1d;
  --btn-hover: #d2d1d2;
  --error: #f3b4b4;
  --error-border: #e08a8a;
  --notice-bg: rgba(255, 255, 255, 0.06);
  /* grayscale accents (replace the old yellow) */
  --accent: #a3a2a7;        /* medium gray: filled tags, counters, highlights */
  --accent-ink: #121113;    /* text on --accent */
  --accent-soft: rgba(255, 255, 255, 0.07);
  --raise: #353438;         /* mid-dark surface for icon tiles and add-ons */
  --radius-pill: 999px;
  --radius-btn: 12px;       /* buttons: rounded rectangles, matching montalvanlaw.com */
  --radius: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --content: 820px;
  --gutter: 56px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
}
/* Background photo + dimming layer, matching montalvanlaw.com. Fixed layers
   (not background-attachment: fixed) so the photo also stays put on iPhone. */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body::before { z-index: -2; background: var(--page-bg) url("../img/bg.jpg") 50% 50% / max(160vw, 70vh) auto no-repeat; }
body::after { z-index: -1; background: var(--overlay); }
a { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { color: var(--text-strong); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: 1.75rem; margin-top: 0.4em; }
h3 { font-size: 1.15rem; margin-top: 2.2em; padding-top: 1.4em; border-top: 1px dotted var(--line); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
strong { color: var(--text-strong); font-weight: 600; }

/* ---------------------------------------------------------------- layout */
.demo-banner {
  background: var(--accent); color: var(--accent-ink); font-size: 0.9rem; font-weight: 600; text-align: center;
  padding: 0.55rem 1rem; letter-spacing: 0.02em; position: sticky; top: 0; z-index: 50;
}
.demo-banner a { color: inherit; }
.wrap { max-width: var(--content); margin: 1rem auto 2.5rem; background: var(--panel); padding: 3.5rem var(--gutter) 3rem; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px dotted var(--line); margin-bottom: 1.5rem; }
header.site .logo img { display: block; width: 270px; max-width: 100%; height: auto; }
header.site .logo { text-decoration: none; }
header.site nav { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
header.site nav a { color: var(--text-strong); text-decoration: none; padding: 0 0.9rem; border-left: 1px solid var(--line); }
header.site nav a:first-child { border-left: 0; }
header.site nav a.current { text-decoration: underline; text-underline-offset: 5px; }
footer.site { margin-top: 3rem; padding-top: 2rem; border-top: 1px dotted var(--line); text-align: center; line-height: 1.9; }
footer.site .fine { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
footer.site .foot-line { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.6rem; row-gap: 0.1rem; }
footer.site .foot-dot { color: var(--muted); }
@media (max-width: 520px) { footer.site .foot-line { flex-direction: column; align-items: center; } footer.site .foot-dot { display: none; } }

/* -------------------------------------------------------------- progress */
.progress { margin: 0 0 1.5rem; }
.progress-text { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-strong); margin: 0 0 0.5rem; }
.stepnav { position: relative; margin: 0 0 0.5rem; }
.stepnav > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; border-radius: 6px; }
.stepnav > summary::-webkit-details-marker { display: none; }
.stepnav > summary:focus-visible { outline: 2px solid var(--input-border-focus); outline-offset: 4px; }
.sn-caret { width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s; }
.stepnav[open] .sn-caret { transform: translateY(0.1rem) rotate(-135deg); }
.stepnav > summary:hover .sn-caret { border-color: var(--text-strong); }
.sn-list { position: absolute; z-index: 40; top: calc(100% + 0.5rem); left: 0; min-width: min(20rem, 100%); max-height: 70vh; overflow: auto; list-style: none; margin: 0; padding: 0.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-solid); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); display: grid; gap: 2px; }
.sn-item { display: flex; align-items: center; gap: 0.7rem; width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-size: 0.95rem; letter-spacing: normal; text-transform: none; padding: 0.55rem 0.75rem; border-radius: 9px; cursor: pointer; }
.sn-item:hover:not([disabled]):not(.is-current), .sn-item:focus-visible { background: var(--accent-soft); color: var(--text-strong); outline: none; }
.sn-item.is-current { color: var(--text-strong); font-weight: 600; background: rgba(255, 255, 255, 0.08); cursor: default; }
.sn-item[disabled] { color: var(--muted); opacity: 0.45; cursor: default; }
.sn-n { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: var(--raise); color: var(--text-strong); }
.sn-item.is-current .sn-n { background: var(--accent); color: var(--accent-ink); }
.bar { height: 4px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--btn); transition: width 0.25s ease; }

/* ---------------------------------------------------------------- fields */
.field { margin: 0 0 1.6rem; }
.field > label:not(.check), .radio-group > legend { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-strong); margin-bottom: 0.55rem; }
.req { color: var(--muted); margin-left: 0.1em; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 0.4em; }
.hint { font-size: 0.93rem; color: var(--muted); margin: -0.25rem 0 0.7rem; line-height: 1.55; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text-strong);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--input-border);
  border-radius: var(--radius-btn); padding: 0.8rem 1.25rem; outline: none;
  -webkit-appearance: none; appearance: none;
}
textarea { border-radius: var(--radius); resize: vertical; min-height: 3.5rem; line-height: 1.5; }
select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23c9c8ca' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 1.2rem center;
}
select option { color: #111; background: #fff; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--input-border-focus); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.row .field { margin-bottom: 1.6rem; }
.row.half { grid-template-columns: 1fr 1fr; align-items: start; }

/* radios & checkboxes */
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.radio-options { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.radio-options.stacked { flex-direction: column; gap: 0.7rem; }
.radio, .check { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-size: 1rem; color: var(--text); line-height: 1.5; }
.check { text-transform: none; letter-spacing: 0; font-weight: 400; }
.radio input, .check input { flex: 0 0 auto; width: 1.35rem; height: 1.35rem; margin: 0.12rem 0 0; accent-color: #e6e5e6; cursor: pointer; }
.radio-label { display: block; }
.radio-help { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.radio input:focus-visible, .check input:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; border-radius: 50%; }
.check input:focus-visible { border-radius: 3px; }

/* errors */
.has-error input, .has-error select, .has-error textarea { border-color: var(--error-border); }
.field-error { color: var(--error); font-size: 0.92rem; margin: 0.45rem 0 0; line-height: 1.45; }
.error-summary { background: rgba(224, 138, 138, 0.12); border: 1px solid var(--error-border); color: #fff; padding: 0.8rem 1.1rem; border-radius: var(--radius); margin: 0 0 1.6rem; }
.error-summary:focus { outline: 3px solid rgba(255, 255, 255, 0.4); }

/* notices */
.notice { background: var(--notice-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.2rem; margin: 0 0 1.6rem; color: var(--text); }
.notice.strong { border-color: var(--accent); border-left-width: 3px; background: var(--accent-soft); }
.callout { border-left: 3px solid var(--btn); padding: 0.2rem 0 0.2rem 1.2rem; margin: 1.6rem 0; }
.callout p { margin: 0; }
.fee-line { margin: -0.4rem 0 1.6rem; }

/* cards (repeaters) */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 0.4rem; margin: 0 0 1.4rem; background: rgba(255, 255, 255, 0.025); }
.card > .btn:last-child, .card > .add-row:last-child { margin-bottom: 1.3rem; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h3 { margin: 0; padding: 0; border: 0; font-size: 1.05rem; }
.add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin: 0.5rem 0 1.5rem; }
.add-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-strong); margin-right: 0.3rem; }

.subcard { border-left: 2px solid var(--line); padding: 0.2rem 0 0 1.2rem; margin: -0.6rem 0 1.6rem; }
.subcard .field:last-child { margin-bottom: 0.4rem; }
.subcard h3 { margin-top: 0.3rem; padding-top: 0; border-top: 0; }
.subcard > .hint:first-child { margin-top: 0.2rem; }
/* Specific gifts: three kinds grouped under one heading */
.gift-group { border-left: 2px solid var(--line); padding: 0.1rem 0 0.2rem 1.3rem; margin: 0.6rem 0 0.4rem; }
.gift-group h4 { color: var(--text-strong); font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 1.5rem 0 0.15rem; }
.gift-group h4:first-child { margin-top: 0.3rem; }
.gift-group .hint { margin-bottom: 0.5rem; }
.gift-group .add-row { margin-bottom: 0.4rem; }
.notice.guide { margin-top: 2.2rem; border-left: 3px solid var(--accent); }
.notice.guide p { margin: 0 0 0.6rem; }
.notice.guide p:last-child { margin-bottom: 0.2rem; color: var(--muted); }
.notice.guide ul { margin: 0 0 0.8rem; padding-left: 1.2rem; }
.notice.guide li { margin: 0 0 0.45rem; }

/* files */
.file-slot input[type="file"] { width: 100%; font: inherit; font-size: 0.95rem; color: var(--text); padding: 0.6rem 0; }
.file-slot input[type="file"]::file-selector-button {
  font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-strong); background: transparent; border: 1px solid var(--input-border); border-radius: var(--radius-btn);
  padding: 0.6rem 1.2rem; margin-right: 1rem; cursor: pointer;
}
.file-slot input[type="file"]:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.4); outline-offset: 3px; border-radius: 6px; }
.file-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.file-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; padding: 0.5rem 0; border-top: 1px dotted var(--line); }
.file-name { color: var(--text-strong); word-break: break-all; }
.file-size { color: var(--muted); font-size: 0.9rem; }

/* buttons */
.btn {
  font: inherit; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: var(--radius-btn); padding: 0.95rem 1.8rem; cursor: pointer; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; line-height: 1.2;
}
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--text-strong); border-color: var(--input-border); }
.btn-secondary:hover { border-color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.55); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn .arrow { font-size: 1.1em; }
.btn-wide { width: 100%; }
.actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px dotted var(--line); }
.actions .btn-primary { flex: 1 1 auto; }
.link-btn { font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-strong); background: none; border: 0; padding: 0.2rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.5); outline-offset: 3px; border-radius: 3px; }

/* payment call-to-action */
.pay-cta { border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; margin: 1.6rem 0 2.2rem; text-align: center; }
.pay-cta-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-strong); margin: 0 0 1rem; }
.btn-pay { width: 100%; justify-content: center; font-size: 1rem; padding: 1.2rem 1.8rem; background: linear-gradient(180deg, #e8e7ec 0%, #cfced4 100%); color: #111; text-decoration: none; }
.btn-pay:hover { background: #e0dfe3; box-shadow: 0 0 0 4px rgba(255,255,255,0.14); }
.btn-pay.is-disabled { background: #6a696b; color: #ccc; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }

/* review */
.rv-section { margin: 0 0 1.8rem; padding-top: 1.4rem; border-top: 1px dotted var(--line); }
.rv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rv-section h3 { margin: 0 0 0.8rem; padding: 0; border: 0; }
dl { margin: 0; }
.rv-row { display: grid; grid-template-columns: 220px 1fr; gap: 0.4rem 1.5rem; padding: 0.55rem 0; border-top: 1px dotted rgba(255, 255, 255, 0.07); }
dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-strong); padding-top: 0.2rem; }
dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.flags ul { margin: 0.4rem 0 0; padding-left: 1.3rem; }
.flags li { margin-bottom: 0.4rem; }
.proposed-copy { color: var(--accent); }
.acks .check { font-size: 0.97rem; }
.payload { font-size: 0.8rem; line-height: 1.45; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; overflow: auto; max-height: 28rem; color: #d8d7d8; }
details summary { cursor: pointer; color: var(--text-strong); font-weight: 600; margin-bottom: 0.6rem; }

/* intake summary (work-product view) */
.summary-wrap { background: #fff; border-radius: 4px; padding: 0; margin: 0 0 1.4rem; overflow: auto; box-shadow: 0 6px 30px rgba(0,0,0,0.5); }
.summary-tools { display: flex; justify-content: flex-end; margin: 0 0 0.8rem; }
details.dev summary { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
@media (max-width: 760px) { .intake-summary { padding: 1rem !important; font-size: 10.5pt; } .intake-summary .s-tbl th { width: 1.4in; } .intake-summary .s-head td { display: block; } .intake-summary .s-head td.s-brand { border-bottom: 0; padding-bottom: 0.5rem; } .intake-summary .s-head .s-meta { text-align: left; } .intake-summary .s-glance td { display: block; width: auto !important; } .intake-summary .s-glance .g-arrow { padding: 2pt 0; } .intake-summary .s-glance .g-r { display: none; } .intake-summary .s-glance .g-d { display: inline; } .intake-summary .s-glance tr.g-gap, .intake-summary .s-glance td:empty { display: none; } .intake-summary .s-glance .g-hl { padding: 2pt 0; text-align: center; } .intake-summary .s-glance colgroup { display: none; } .intake-summary .s-glance, .intake-summary .s-glance > tbody, .intake-summary .s-glance tr, .intake-summary .g-bd-t, .intake-summary .g-bd-t > tbody, .intake-summary .g-bd-t tr { display: block; width: 100% !important; } .intake-summary .g-bd-t td { display: block; width: auto !important; } .intake-summary .g-bd-t td.g-bd-c { margin: 0 0 5pt; } .intake-summary .g-bd-t td:empty { display: none; } .intake-summary .g-bd-t { margin: 0; } }

/* modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; max-width: 460px; width: 100%; }
.modal h2 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.modal p { margin: 0 0 1.4rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.8rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 760px) {
  :root { --panel: rgba(34, 33, 36, 0.88); }
  body { font-size: 16px; }
  .card, .subcard, .notice { background: rgba(255, 255, 255, 0.035); }
  .wrap { margin: 12px; padding: 1.9rem 24px 2rem; }
  /* Phones: logo on its own line at a readable size, links underneath (side by side they'd both be tiny). */
  header.site { flex-direction: column; align-items: center; gap: 1rem; padding-bottom: 1.3rem; text-align: center; }
  header.site .logo img { width: 230px; margin: 0 auto; }
  header.site nav { font-size: 0.78rem; letter-spacing: 0.18em; white-space: nowrap; }
  header.site nav a { padding: 0 0.8rem; }
  .row, .row.half { grid-template-columns: 1fr; gap: 0; }
  .rv-row { grid-template-columns: 1fr; gap: 0.15rem; }
  .actions { flex-direction: column-reverse; }
  .actions .btn { width: 100%; }
  .modal-actions .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.45rem; }
  input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-size: 16px; } /* prevents iOS zoom */
}
@media (prefers-reduced-motion: reduce) { .bar-fill { transition: none; } }

/* trust intake extras */
.share-row, .gift-row { grid-template-columns: 2fr 1fr auto; align-items: start; }
.tier2-row { grid-template-columns: 1.6fr 1.5fr 0.9fr auto; align-items: end; }
.share-row .link-btn, .gift-row .link-btn, .tier2-row .link-btn { margin-top: 0.9rem; }
@media (max-width: 760px) { .share-row, .gift-row, .tier2-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ guidance */
/* Continue bar stays in reach while you scroll a long screen. */
.nav-wrap {
  position: sticky; bottom: 0; z-index: 30;
  margin: 2.2rem calc(-1 * var(--gutter)) 0; padding: 0.95rem var(--gutter) 1.05rem;
  background: rgba(30, 29, 32, 0.94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-wrap .actions { margin-top: 0; padding-top: 0; border-top: 0; }
.needed { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; min-height: 1.6rem; margin: 0 0 0.8rem; font-size: 0.93rem; color: var(--text); }
.needed:empty { display: none; }
.needed-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.45rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.85rem; }
.needed-check { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #d6d5da; color: #1c1b1d; font-weight: 700; font-size: 0.85rem; }
.needed.is-done { color: var(--text-strong); }
.needed-go { margin-left: 0.2rem; font-size: 0.72rem; }
/* "Show me" and error-list jumps briefly light up the field */
.pulse { animation: pulse 1.8s ease-out; border-radius: 14px; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); background-color: rgba(255, 255, 255, 0.10); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); background-color: rgba(255, 255, 255, 0.05); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); background-color: transparent; }
}
.error-summary p { margin: 0 0 0.4rem; }
.jump-list { margin: 0; padding-left: 1.1rem; }
.jump-list li { margin: 0.2rem 0; }
.jump-list .jump { display: inline; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; text-align: left; }
.acks-intro { margin: -0.2rem 0 1.1rem; }
.rv-section.acks h3 .opt { font-size: 0.9rem; }

/* Screens ease in */
.step.enter { animation: stepIn 0.32s ease-out both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Choices: stacked options read as tiles, short ones as pills */
.radio-options.stacked .radio { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.15s, background-color 0.15s; }
.radio-options:not(.stacked) .radio { align-items: center; padding: 0.42rem 1rem 0.42rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.15s, background-color 0.15s; }
.radio-options:not(.stacked) .radio input { margin-top: 0; }
.radio-options .radio:hover { border-color: rgba(255, 255, 255, 0.36); }
.radio-options .radio:has(input:checked) { border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.1); color: var(--text-strong); }
.radio-options .radio:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.radio-options:not(.stacked) { gap: 0.55rem 0.6rem; }
.has-error .radio-options .radio { border-color: var(--error-border); }

/* Funding step items */
.fund-item { border: 1px solid var(--line); border-radius: 14px; padding: 0.95rem 1.1rem 0.15rem; margin: 0 0 0.8rem; background: rgba(255, 255, 255, 0.02); transition: border-color 0.15s, background-color 0.15s; }
.fund-item:has(input:checked) { border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.07); }
.fund-name { color: var(--text-strong); font-weight: 600; margin: 0 0 0.6rem; }

@media (max-width: 760px) {
  .nav-wrap { margin: 1.8rem -24px 0; padding: 0.8rem 24px calc(0.85rem + env(safe-area-inset-bottom)); }
  .nav-wrap .actions { flex-direction: row; }
  .nav-wrap .actions .btn { width: auto; }
  .nav-wrap .actions .btn-secondary { flex: 0 0 auto; padding-left: 1.1rem; padding-right: 1.1rem; }
  .nav-wrap .actions .btn-primary { flex: 1 1 auto; }
  .needed { margin-bottom: 0.65rem; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .step.enter, .pulse { animation: none; } }

/* Frame the panel evenly between the two buildings on desktop.
   The opening in the photo spans 29.75%–72.38% of its width (centre 51.06%).
   At 2150px wide it is ~916px: the 820px panel plus ~48px of sky on each side. */
@media (min-width: 1000px) {
  body::before { background-size: 2150px auto; background-position: calc(50% - 23px) calc(55vh - 1265px); }
}

/* --------------------------------------------------------------- visuals */
.tag-default { display: inline-block; margin: 0.45rem 0.6rem 0.2rem 0; padding: 0.16rem 0.6rem; border-radius: 999px; background: #d6d5da; color: #1c1b1d; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; vertical-align: middle; }
.mini-flow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.4rem 0 0.15rem; font-size: 0.86rem; vertical-align: middle; }
.mini-flow > span:not(.mf-arrow) { padding: 0.12rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-strong); }
.mf-arrow { color: var(--muted); }
.radio-note { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.lapse-group .radio:has(.tag-default) { border-color: rgba(255, 255, 255, 0.55); }
.lapse-group .radio:has(.tag-default):has(input:checked) { border-color: #ffffff; background: rgba(255, 255, 255, 0.09); }

.share-bar { display: flex; gap: 3px; height: 46px; margin: 0.2rem 0 0.45rem; border-radius: 12px; overflow: hidden; }
.sb-seg { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0 0.75rem; font-size: 0.82rem; line-height: 1.25; transition: flex-grow 0.25s ease; }
.sb-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sb-pct { font-weight: 700; }
.sb-0 { background: #d6d5da; color: #1c1b1d; }
.sb-1 { background: #b8b7b8; color: #1c1b1d; }
.sb-2 { background: #6f6e71; color: #ffffff; }
.sb-3 { background: #46454a; color: #ffffff; }
.sb-note { margin: 0 0 1rem; }
.sb-note.warn { color: var(--error); }

.timeline { display: flex; align-items: flex-start; margin: 0.3rem 0 0.3rem; max-width: 30rem; }
.tl-pt { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: 5.2rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
.tl-pt b { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); color: #ffffff; font-size: 0.95rem; }
.tl-age { width: 3rem; height: 3rem; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.04); color: #ffffff; font: inherit; font-size: 1rem; font-weight: 700; text-align: center; }
.tl-age:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }
.fl-protect ul { margin: 0.4rem 0 0.6rem; }
.tl-line { flex: 1; height: 1px; margin-top: 1.5rem; background: rgba(255, 255, 255, 0.3); }
.timeline { max-width: 34rem; }
.timeline .tl-pt { min-width: 7.6rem; gap: 0.5rem; }
.timeline input.tl-age { width: 3rem; height: 3rem; min-height: 0; padding: 0; border-radius: 50%; text-align: center; }
.timeline input.tl-portion { width: 7.4rem; min-height: 0; height: auto; padding: 0.3rem 0.5rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: var(--text); font: inherit; font-size: 0.82rem; text-align: center; letter-spacing: normal; }
.timeline input.tl-portion:focus { outline: none; border-color: #fff; color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.tl-bal { font-size: 0.82rem; color: var(--muted); padding: 0.35rem 0; }
.tl-note { margin-bottom: 1.2rem; }

.plan-strip, .deed-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0.45rem; margin: 0.1rem 0 1.6rem; }
.ps-box, .df-box { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.ps-k, .df-k, .pm-k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ps-v { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.9rem; color: var(--text-strong); }
.df-v { font-size: 0.88rem; line-height: 1.35; color: var(--text-strong); }
.ps-box.is-empty .ps-v { color: var(--muted); }
.ps-box.is-current { border-color: var(--accent); background: var(--raise); }
.ps-box.is-current .ps-k { color: #e4e3e6; }
.ps-arrow, .df-arrow, .pm-arrow { align-self: center; color: var(--muted); font-size: 1.1rem; }
.deed-flow { margin-top: -0.4rem; }

.plan-map { margin: 0 0 2rem; padding: 1.3rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.plan-map h3 { margin: 0 0 0.2rem; padding: 0; border: 0; }
.pm-head .hint { margin: 0; }
.pm-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 0.6rem; margin: 1.1rem 0 1rem; }
.pm-col { min-width: 0; padding: 0.85rem 0.95rem; border: 1px solid var(--line); border-radius: 12px; }
.pm-trust { display: flex; flex-direction: column; justify-content: center; text-align: center; background: linear-gradient(160deg, #f1f0f4 0%, #d9d8de 100%); border-color: #ffffff; box-shadow: inset 0 0 0 3px #e9e8ec, inset 0 0 0 4px #b9b8be; }
.pm-trust .pm-k { color: #4a494e; }
.pm-trust-name { margin: 0.35rem 0 0.25rem; font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: #111111; }
.pm-trust .pm-small { color: #2e2d31; }
.pm-trust-card { padding: 0.35rem 0.2rem; }
.pm-trust-card + .pm-trust-card { margin-top: 0.55rem; padding-top: 0.75rem; border-top: 1px solid #b9b8be; }
.pm-trust-card .pm-trust-name { margin: 0.2rem 0 0.15rem; }
.pm-trust-card .pm-small { margin-top: 0.25rem; }
.pm-sub { margin: 0.85rem 0 0.1rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pm-k + .pm-sub { margin-top: 0.5rem; }
.pm-lane-label { margin: 1.2rem 0 0.45rem; font-size: 0.95rem; font-weight: 600; color: var(--text-strong); }
.pm-couple { row-gap: 0.9rem; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 0.9fr) auto minmax(0, 1fr); margin-bottom: 0.4rem; }
.pm-couple .pm-col { padding: 0.6rem 0.75rem; }
.pm-couple .pm-k { margin: 0; }
.pm-couple .pm-list { margin-top: 0.3rem; }
.pm-couple .pm-list li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.45rem; margin: 0 0 0.35rem; }
.pm-couple .pm-list li:last-child { margin-bottom: 0; }
.pm-list li.muted { font-size: 0.85rem; }
.pm-couple .pm-name { font-size: 0.88rem; }
.pm-couple .pm-tag { font-size: 0.7rem; padding: 0.05rem 0.4rem; }
.pm-couple .pm-trust { padding: 0.5rem 0.6rem; }
.pm-couple .pm-trust-name { margin: 0; font-size: 0.95rem; }
.pm-couple .pm-trust .pm-small { margin-top: 0.2rem; font-size: 0.78rem; line-height: 1.35; }
.pm-heirs { margin: 0.3rem 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--text-strong); }
.pm-foot { margin: 0 0 1.1rem; }
.pm-foot .pm-small { margin: 0.15rem 0 0; }
.pm-couple .pm-joint-note { display: none; }
.pm-joint { border-style: dashed; border-color: rgba(255, 255, 255, 0.26); background: var(--accent-soft); }
.pm-joint-note { margin-top: 0.2rem; color: var(--text); }
.pm-hline, .pm-split { position: relative; }
.pm-hline::before { content: ""; position: absolute; left: -0.6rem; right: -0.6rem; top: 50%; border-top: 1.5px solid var(--muted); }
.pm-split { min-height: 3.2rem; }
.pm-split .sp-h { position: absolute; left: -0.6rem; right: 50%; top: 50%; border-top: 1.5px solid var(--muted); }
.pm-split .sp-v { position: absolute; left: 50%; top: calc(-0.9rem + 6px); bottom: calc(-0.9rem + 6px); border-left: 1.5px solid var(--muted); transform: translateX(-0.75px); }
.pm-split .sp-head { position: absolute; left: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; transform: translateX(-5px); }
.pm-split .sp-up { top: -0.9rem; border-bottom: 8px solid var(--muted); }
.pm-split .sp-down { bottom: -0.9rem; border-top: 8px solid var(--muted); }
.pm-split .sp-l { position: absolute; left: calc(50% + 0.55rem); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text); }
.pm-split .sp-l-up { top: 0.05rem; }
.pm-split .sp-l-down { bottom: 0.05rem; }
.pm-head + .pm-lane-label { margin-top: 1rem; }
.plan-map .pm-lane { margin: 0 0 0.6rem; }
.pm-tag.half { margin-bottom: 0.25rem; border: 1px solid var(--line); color: var(--text-strong); }
.pm-list li .pm-tag + .pm-tag { margin-top: 0; }
.pm-list { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.pm-list li { display: flex; flex-direction: column; gap: 0.2rem; margin: 0 0 0.6rem; }
.pm-name { overflow-wrap: anywhere; font-size: 0.92rem; color: var(--text-strong); }
.pm-share { font-size: 0.85rem; color: var(--text); }
.pm-tag { width: fit-content; max-width: 100%; padding: 0.14rem 0.5rem; border-radius: 6px; font-size: 0.76rem; font-weight: 600; line-height: 1.35; }
.pm-tag.ok { background: #d6d5da; color: #1c1b1d; }
.pm-tag.amber { background: var(--accent); color: var(--accent-ink); }
.pm-tag.amber-line { border: 1px dashed var(--accent); color: #d6d5d9; }
.pm-tag.line { border: 1px solid var(--input-border); color: var(--text); }
.pm-tag.muted { border: 1px solid var(--line); color: var(--muted); }
.pm-small { margin: 0.5rem 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.pm-steps ol { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.pm-steps li { margin: 0.2rem 0; font-size: 0.92rem; }

@media (max-width: 760px) {
  .plan-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; margin-bottom: 1.3rem; }
  .plan-strip .ps-arrow { display: none; }
  .ps-box { padding: 0.45rem 0.55rem; }
  .ps-k { font-size: 0.58rem; letter-spacing: 0.12em; }
  .ps-v { font-size: 0.78rem; }
  .deed-flow, .pm-grid { grid-template-columns: minmax(0, 1fr); }
  .df-arrow, .pm-arrow { justify-self: center; transform: rotate(90deg); }
  .pm-hline, .pm-split, .pm-gap { display: none; }
  .pm-couple .pm-joint { margin: 0.4rem 0; }
  .pm-couple .pm-joint-note { display: block; }
  .plan-map { padding: 1rem 1rem 0.9rem; }
  .share-bar { height: 42px; }
  .sb-seg { padding: 0 0.5rem; font-size: 0.76rem; }
}

/* --------------------------------------------------------------- landing */
.landing .eyebrow { margin: 0.4rem 0 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.landing h1 { margin: 0 0 0.9rem; font-size: 2.3rem; line-height: 1.15; letter-spacing: -0.02em; }
.landing .lead { margin: 0 0 1.8rem; font-size: 1.12rem; line-height: 1.65; color: var(--text-strong); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin: 0 0 0.6rem; }
.why-item, .price, .how-step { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.ico { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; margin: 0 0 0.45rem; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 12px; background: var(--raise); color: var(--text-strong); }
.ico svg, .how-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
.ico-sm svg { width: 18px; height: 18px; }
.why-item b, .how b, .incl b { color: var(--text-strong); font-weight: 600; }
.why-item > span:not(.ico), .how-step > span:not(.ico):not(.how-n), .incl li span { font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.how { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0.5rem; margin: 0.4rem 0 0.6rem; }
.how-n { align-self: flex-start; padding: 0.1rem 0.5rem; border-radius: 6px; background: var(--raise); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #d6d5d9; }
.how-arrow { align-self: center; display: grid; place-items: center; color: var(--muted); }
.how-arrow svg { width: 20px; height: 20px; }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.6rem; margin: 0.4rem 0 0.6rem; padding: 0; list-style: none; }
.incl li { display: flex; align-items: flex-start; gap: 0.85rem; }
.incl li .ico { margin: 0.1rem 0 0; }
.incl li > div { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.incl.incl-1 { grid-template-columns: minmax(0, 1fr); margin: 0.2rem 0 1rem; }
.incl.incl-1 li .ico { width: 34px; height: 34px; border-radius: 10px; }
.incl.incl-1 li .ico svg { width: 18px; height: 18px; }
.entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.85rem; row-gap: 0.45rem; padding: 0.8rem 1rem; margin: 0 0 0.7rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.entry-txt { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.entry-txt b { color: var(--text-strong); font-weight: 600; overflow-wrap: anywhere; }
.entry-txt span { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.entry-btns { display: flex; gap: 1.1rem; flex: none; }
.entry-edit { padding: 1.1rem 1.1rem 0.8rem; margin: 0 0 0.8rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.row.acct { grid-template-columns: 1.6fr 1.2fr 1.4fr; align-items: end; }
.row.acct.four { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.entry-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.3rem; margin: -0.4rem 0 0.6rem; }
.card .entry-actions { margin: -0.2rem 0 1.1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.72rem; letter-spacing: 0.18em; }
.doc-opt { display: inline-flex; align-items: flex-start; gap: 0.75rem; }
.doc-opt .ico { margin-top: 0.05rem; }
.landing .price-scope { margin: 0.9rem 0 0; }
.addons-h { margin: 1.5rem 0 0.55rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.addon { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.9rem 1rem; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 14px; background: var(--accent-soft); }
.addon .ico { background: #48474c; }
.addon .ico { margin: 0.1rem 0 0; }
.addon > div { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.addon b { color: var(--text-strong); font-weight: 600; }
.addon > div > span { font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.addon .addon-p { font-weight: 600; color: var(--text-strong); }
.fee-fine { margin: 0.8rem 0 0; font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.landing .start-note { margin: 0.95rem 0 0; }
/* small line-art illustration beside the headline */
.landing.has-art { position: relative; }
.landing.has-art .eyebrow, .landing.has-art h1, .landing.has-art .lead { max-width: calc(100% - 250px); }
.landing.has-art .hero-block { position: relative; }
/* centered on the eyebrow, headline and lead beside it */
.hero-art { position: absolute; top: 50%; right: 0.9rem; width: 258px; transform: translateY(calc(-50% + 24px)); pointer-events: none; }
.hero-art svg { display: block; width: 100%; height: auto; }
.engage-note { margin: 1.4rem 0 0; padding: 0.7rem 0.9rem; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); font-size: 0.88rem; line-height: 1.5; color: var(--text); }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 0.4rem 0 0.8rem; }
.price-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.price-v { font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--text-strong); }
.price-s { font-size: 0.9rem; color: var(--text); }
.price-v-sm { font-size: 1.35rem; line-height: 1.25; }
/* grayscale rhythm on the landing pages: subtle → raised → plain → light */
.landing .how-step { background: #3b3a3f; border-color: rgba(255, 255, 255, 0.14); }
.landing .how-step .ico { background: #4c4b51; border-color: rgba(255, 255, 255, 0.16); }
.landing .how-n { background: #4c4b51; color: #e4e3e7; }
.landing .price { background: linear-gradient(160deg, #f1f0f4 0%, #d9d8de 100%); border-color: #ffffff; box-shadow: inset 0 0 0 4px #e9e8ec, inset 0 0 0 5px #b9b8be, 0 6px 18px rgba(0, 0, 0, 0.25); }
.landing .price .price-k { color: #4a494e; }
.landing .price .price-v { color: #111112; }
.landing .price .price-s { color: #2a292d; }
.landing .price.price-alt { background: var(--accent-soft); border-color: var(--line); box-shadow: none; }
.landing .price.price-alt .price-k { color: var(--muted); }
.landing .price.price-alt .price-v { color: var(--text-strong); }
.landing .price.price-alt .price-s { color: var(--text); }
.landing .incl li .ico { background: #2f2e32; }
.price-scope { margin: 14px 0 6px; font-size: 0.95rem; line-height: 1.55; color: var(--text); }
.center { text-align: center; }
.landing .actions { border-top: 0; margin-top: 1.7rem; padding-top: 0; }
@media (max-width: 760px) {
  .landing h1 { font-size: 1.85rem; }
  .landing .lead { font-size: 1.02rem; }
  .why, .how, .incl { grid-template-columns: minmax(0, 1fr); }
  .how-arrow { justify-self: center; transform: rotate(90deg); }
  .addons { grid-template-columns: minmax(0, 1fr); }
  .row.acct { grid-template-columns: 1fr; }
  .landing.has-art .eyebrow, .landing.has-art h1, .landing.has-art .lead { max-width: none; }
  /* Phones: label on top, then the headline with the illustration beside it */
  .hero-head { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; }
  .hero-head h1 { flex: 1 1 auto; min-width: 0; margin: 0; }
  .hero-art { position: static; flex: none; width: clamp(84px, 26vw, 108px); margin: -0.3rem 0.35rem -0.3rem 0; transform: none; }
  .entry { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .entry-btns { grid-column: 2; }
}
.landing .btn-primary { background: linear-gradient(180deg, #f3f2f6 0%, #dcdbe1 100%); color: #111111; border-color: #ffffff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.landing .btn-primary:hover { background: linear-gradient(180deg, #f8f7fa 0%, #e5e4e9 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.14); }
@media (max-width: 760px) { .ps-v { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.pm-bd { margin: 0.9rem 0 0.2rem; }
.pm-bd .pm-k { margin: 0 0 0.5rem; }
.pm-bd-cards { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pm-bd-card { display: flex; align-items: center; gap: 0.7rem; min-width: 12.5rem; max-width: 100%; padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.pm-bd-card b { display: block; color: var(--text-strong); font-size: 0.92rem; font-weight: 600; }
.pm-bd-card span { display: block; font-size: 0.78rem; color: var(--muted); }
.pm-bd .pm-small { margin-top: 0.55rem; }
@media (max-width: 640px) {
  .timeline { max-width: none; }
  .timeline .tl-pt { min-width: 0; flex: 1 1 0; }
  .timeline input.tl-portion { width: 100%; max-width: 6.6rem; padding: 0.3rem 0.3rem; font-size: 0.78rem; }
  .tl-line { flex: 0 0 0.5rem; }
}

/* Start button near the top of the landing pages (the full-width one stays at the bottom) */
.hero-cta { margin: 1.5rem 0 2rem; }
.hero-cta .btn { min-width: 15rem; justify-content: space-between; gap: 1.2rem; }
@media (max-width: 640px) { .hero-cta .btn { width: 100%; } }

/* step menu status */
.sn-t { flex: 1 1 auto; }
.sn-need { flex: none; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.sn-ok { flex: none; color: var(--text-strong); font-weight: 700; }
.sn-muted { flex: none; color: var(--muted); font-size: 0.72rem; white-space: nowrap; }
.still-needed .sn-h { margin: 0 0 0.35rem; font-weight: 600; color: var(--text-strong); }
.still-needed .sn-secs { margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sec-link { font: inherit; font-size: 0.88rem; color: var(--text-strong); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 8px; padding: 0.38rem 0.75rem; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.sec-link::after { content: " \2192"; color: var(--muted); }
.sec-link:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.sec-link:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; }
.draft-note { margin: 0 0 1rem; }

/* headline line break kept for wider screens only */
@media (max-width: 640px) { .br-wide { display: none; } }
.defer-note { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; color: var(--text); }

/* "What goes into your trust?" cards */
.fg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 0.4rem 0 1rem; }
.fg-card { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.fg-card .ico { flex: none; margin-top: 0.1rem; }
.fg-card > div { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.fg-card b { color: var(--text-strong); font-weight: 600; line-height: 1.3; }
.fg-tag { align-self: flex-start; padding: 0.1rem 0.5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; }
.fg-d { font-size: 0.88rem; line-height: 1.5; color: var(--text); }
.notice.guide.fg { border-left-width: 1px; }
.notice.guide .fg-h { margin: 0 0 0.5rem; }
@media (max-width: 760px) { .fg-grid { grid-template-columns: minmax(0, 1fr); } }
/* "Same as" toggles for agents and surrogates */
.same-toggle { margin: 0 0 0.8rem; }
.same-list { margin: 0 0 1.4rem; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); display: grid; gap: 0.3rem; color: var(--text-strong); }
p.same-list { color: var(--muted); display: block; }
.same-k { display: inline-block; min-width: 11.5rem; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 640px) { .same-k { display: block; min-width: 0; } }

.nowrap { white-space: nowrap; }
@media (max-width: 400px) { .landing h1 { font-size: clamp(1.4rem, 7.2vw, 1.85rem); } }

/* joint assets: dashed connector — treatment to be confirmed */
.pm-tbd.pm-hline::before, .pm-tbd .sp-h { border-top-style: dashed; }
.pm-tbd .sp-v { border-left-style: dashed; }
.pm-tbd .sp-head { display: none; }
