/* Consent flow and the announcement page. Same tokens as styles.css. */
:root { --ok: #1f6b45; --ok-wash: #e3f1e8; --bad: #9b1c1c; --bad-wash: #fdeaea; --gold-wash: #f6efd9; }

.demo { background: #1a1a1a; color: #f2e3b3; font: 500 14px/1.45 Inter, sans-serif; text-align: center; padding: 9px 16px; }
.demo b { color: #fff; }

/* announcement */
.hero.announce .wrap { padding-block: 72px 112px; }
.hero.announce h1 { max-width: 880px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.steps3 > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.steps3 .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 15px/1 Inter, sans-serif; margin-bottom: 14px; }
.steps3 p { margin: 8px 0 0; color: var(--mute); font-size: 15.5px; }
.videoband .grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .videoband .grid { grid-template-columns: 1fr; } }

/* video: plays in place; closing it leaves you where you were */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; max-width: 100%; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-poster { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; text-align: left; padding: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%), url(media/heart-mountain-welcome-poster.jpg) 50% 100% / 125% auto no-repeat, #1a1a1a; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; font: inherit; }
.video-poster .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.video-poster .play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--ink); }
.video-poster b { font: 700 22px/1.25 "Roboto Slab", Georgia, serif; }
.video-poster span.len { font-size: 14px; color: #d8d8d8; }
.video-note { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #eee; font-size: 16px; }
details.transcript { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
details.transcript summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details.transcript p { color: var(--text); font-size: 15.5px; }

/* the consent flow */
.flow { max-width: 760px; margin: 0 auto; padding-inline: 20px; padding-block: 40px 80px; display: grid; gap: 26px; }
.flow h1 { font-size: clamp(30px, 4.6vw, 42px); }
.flow h2 { font-size: clamp(22px, 3vw, 28px); }
.progress { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font: 600 14px/1.3 Inter, sans-serif; color: var(--mute); }
.progress ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; width: 100%; }
.progress li { flex: 1; height: 8px; border-radius: 99px; background: var(--line); }
.progress li.done { background: var(--gold); }
.progress li.here { background: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 14px; }
.panel.wash { background: var(--wash); }
.legal-text { font-size: 17px; line-height: 1.65; color: var(--ink); display: grid; gap: 12px; }
.legal-text h3 { font: 700 17px/1.4 Inter, sans-serif; margin-top: 6px; }
.legal-text p { margin: 0; }
.legal-text ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-text .meta { font-size: 13.5px; color: var(--mute); }
details.why { background: var(--gold-wash); border: 1px solid #e7d6a3; border-radius: 10px; padding: 14px 18px; }
details.why summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 17px; }
details.why p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 600 16.5px/1.35 Inter, sans-serif; color: var(--ink); }
.field .help { font-size: 14.5px; color: var(--mute); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=password], .field select, .field textarea {
  font: 400 18px/1.4 Inter, sans-serif; padding: 12px 14px; border: 2px solid #8a8a8a; border-radius: 8px; min-height: 52px; width: 100%; background: #fff; color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field input[aria-invalid=true] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 15.5px; font-weight: 500; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 2px solid #8a8a8a; border-radius: 8px; font-weight: 500; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .two-col { grid-template-columns: 1fr; } }
.signer { border: 2px solid var(--ink); border-radius: 12px; padding: 20px; display: grid; gap: 14px; }
.signer.signed { border-color: var(--ok); background: var(--ok-wash); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn.big { padding: 17px 26px; font-size: 17px; min-height: 54px; }
.btn.plain { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.plain:hover { background: var(--wash); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.done-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font: 700 28px/1 Inter, sans-serif; }
.signer.pending { border-style: dashed; border-color: #8a8a8a; background: #fff; }
.spouse-block { display: grid; gap: 14px; }
.field input[type=password] { letter-spacing: .3em; max-width: 220px; }
.field select { max-width: 460px; cursor: pointer; }
.slot-wrap, .slots { display: grid; gap: 16px; }
.panel > :empty { display: none; }
.slot-day h3 { font: 600 16px/1.3 Inter, sans-serif; margin: 0 0 8px; color: var(--ink); }
.slot-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-height: 48px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font: 600 15px/1 Inter, sans-serif; cursor: pointer; }
.slot:hover { background: var(--wash); }
.reviewer { border: 2px dashed #b9a15a; border-radius: 12px; padding: 18px 20px; background: #fffbea; font-size: 15px; }
.reviewer h3 { font: 700 15px/1.3 Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #6b5313; }
.reviewer ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.reviewer ul + h3 { margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* the hidden attribute wins over display: grid on .field and friends */
[hidden] { display: none !important; }

/* jump links land below the sticky header */
section[id] { scroll-margin-top: 84px; }
.flow p { margin: 0; }
.flow .panel { gap: 12px; }

/* the date each signature carries, and the first screen's two big choices */
.signed-date { margin: 0; font-size: 16px; }
.choice-big { margin: 8px 0 18px; }
@media (max-width: 520px) { .choice-big .btn { width: 100%; justify-content: center; } }

/* announcement beside the video, and the way to start below both */
.hero.announce .lead-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero.announce .lead-grid .lede { margin-bottom: 0; }
.hero.announce .start { margin-top: 40px; display: flex; gap: 18px 24px; align-items: center; flex-wrap: wrap; }
.hero.announce .start p { margin: 0; color: #cfcfcf; font-size: 16px; }
.hero.announce .video { box-shadow: 0 18px 50px rgba(0,0,0,.45); }
@media (max-width: 900px) { .hero.announce .lead-grid { grid-template-columns: 1fr; gap: 28px; } }
.linkish { background: none; border: 0; padding: 4px 0; margin-top: 4px; font: 600 15px/1.4 Inter, sans-serif; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.linkish:hover { color: var(--ink); }

/* what the video covers: large, plain bullets for older readers */
.video-summary { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 14px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.video-summary b { color: var(--ink); }
.video-summary a { color: var(--ink); font-weight: 600; }


/* next steps under the video: big cards, one action each, for older readers */
.nextsteps .step-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
@media (max-width: 900px) { .nextsteps .step-cards { grid-template-columns: 1fr; } }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; font-size: 18px; line-height: 1.55; }
.step-card.main { border: 2px solid var(--gold); }
.step-card .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 18px/1 Inter, sans-serif; }
.step-card h3 { margin: 0; font: 700 22px/1.3 "Roboto Slab", Georgia, serif; color: var(--ink); }
.step-card p { margin: 0; }
.step-card .tag { font: 600 13px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.step-card a:not(.btn) { color: var(--ink); font-weight: 600; }
.step-card select { font-size: 18px; min-height: 52px; }
.booking { display: grid; gap: 12px; }
.booking-phone { font-size: 18px; }
.summary-wrap { max-width: 820px; }
/* A business, trust or estate: one row per entity (name and title), "Add another" adds a row. */
.ent-row { display: grid; gap: 12px; }
.ent-row + .ent-row { border-top: 1px solid var(--line); padding-top: 14px; }
.field select[aria-invalid=true] { border-color: var(--bad); }
@media (min-width: 640px) { .ent-row { grid-template-columns: 3fr 2fr; align-items: start; } .ent-row > .err, .ent-row > .linkish { grid-column: 1 / -1; justify-self: start; } }
