/* Digital Event Program landing page. PB token block: red #E31B23, black #1A1A1A, white.
   Bebas Neue for display, Montserrat for body (self-hosted, OFL). No framework. */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/bebas-neue-latin.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/montserrat-latin-var.woff2) format("woff2"); }

:root {
  --red: #E31B23;          /* CTAs, accents. 4.7:1 on white */
  --red-dark: #B81419;     /* hover */
  --red-on-dark: #FF5A5F;  /* red text on #1A1A1A, 5.3:1 */
  --ink: #1A1A1A;
  --ink-2: #2B2B2B;
  --muted: #4F4F4F;        /* 8.2:1 on white */
  --muted-on-dark: #C9C9C9;
  --line: #DADADA;
  --field-line: #767676;   /* 4.5:1 on white, meets non-text contrast */
  --paper: #FFFFFF;
  --paper-2: #F3F3F3;
  --gold: #D9B45A;         /* sample-program accent only */
  --display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: 0.01em; margin: 0 0 0.4em; }
h2 { font-size: clamp(42px, 6vw, 68px); }
h3 { font-size: clamp(28px, 3vw, 34px); }
h4 { font-size: 32px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .plan-feature :focus-visible, .founding :focus-visible { outline-color: #FFFFFF; }
.seasons :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
section[id] { scroll-margin-top: 72px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent; font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wm-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: var(--red); color: #fff; font-family: var(--display); font-size: 21px; line-height: 1; padding-top: 2px; flex: none; }
.wm-text { font-family: var(--display); font-size: 25px; line-height: 1; padding-top: 3px; letter-spacing: 0.02em; }
.site-nav { display: none; gap: 26px; margin-left: auto; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--red-dark); text-decoration: underline; }
.header-cta { margin-left: auto; }
@media (min-width: 900px) { .site-nav { display: flex; } .header-cta { margin-left: 8px; } }
@media (max-width: 380px) { .wm-text { font-size: 21px; } .header-cta { padding: 8px 12px; font-size: 14px; } }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(60px, 7vw, 100px); line-height: 0.92; margin-bottom: 24px; max-width: 9.5em; }
@media (min-width: 960px) { .hero h1 { max-width: none; } }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); max-width: 36em; }
.hero .lead-2 { color: var(--muted-on-dark); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-price { font-weight: 600; margin: 0; }
.from-program { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #4a4a4a; border-radius: var(--radius); max-width: 34em; }
.hero-phone { display: flex; flex-direction: column; align-items: center; }
.phone-caption { margin: 16px 0 0; font-size: 15px; color: var(--muted-on-dark); text-align: center; max-width: 22em; }
.phone-caption a { color: #fff; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
}

/* phone frame */
.phone { position: relative; width: 272px; height: 560px; padding: 10px; border-radius: 44px; background: #050505; border: 1px solid #3a3a3a; box-shadow: 0 28px 50px rgba(0,0,0,0.5); }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #050505; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #121212; }
.phone-screen iframe { width: 100%; height: 100%; border: 0; background: #121212; }
@media (min-width: 960px) { .phone { width: 312px; height: 640px; } }

/* sample program mock (fictional) */
.mock { height: 100%; padding: 50px 18px 18px; color: #F4F1EA; font-size: 13px; line-height: 1.4; overflow: hidden; }
.mock p { margin: 0; }
.mock-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #121212; background: var(--gold); padding: 3px 8px; border-radius: 3px; margin-bottom: 14px !important; }
.mock-org { font-size: 12px; color: var(--gold); font-weight: 600; }
.mock-title { font-family: var(--display); font-size: 40px; line-height: 0.95; margin: 4px 0 6px !important; }
.mock-when { font-size: 12px; color: #CFCAC0; }
.mock-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.mock-tabs span { font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid #5a5446; border-radius: 6px; }
.mock-tabs .mock-give { background: var(--gold); color: #121212; border-color: var(--gold); }
.mock-h { font-family: var(--display); font-size: 21px; letter-spacing: 0.03em; color: var(--gold); margin-bottom: 8px !important; }
.mock-list { list-style: none; margin-bottom: 16px; }
.mock-list li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 0; border-top: 1px solid #2c2a26; }
.mock-list li::before { content: attr(data-initials); grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--gold); }
.mock-list b { font-weight: 700; font-size: 13px; }
.mock-list i { font-style: normal; font-size: 12px; color: #CFCAC0; }
.mock-sponsors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.mock-sponsors span { padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 700; background: #1d1c19; border: 1px solid #2c2a26; border-radius: 6px; }
.mock-pdf { font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (min-width: 960px) { .mock { padding-top: 56px; } .mock-title { font-size: 46px; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.intro { font-size: 18px; color: var(--muted); max-width: 38em; margin-bottom: 36px; }
@media (min-width: 960px) { .section { padding: 96px 0; } }

/* print vs digital */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.05; border-bottom: 2px solid var(--ink); }
.compare thead .col-us { color: var(--red); }
.compare tbody th { font-weight: 700; width: 20%; }
.compare tbody td { color: var(--muted); width: 40%; }
.compare tbody td + td { color: var(--ink); font-weight: 600; background: #FBF2F2; }
@media (max-width: 759px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { padding: 18px 0; border-top: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 10px; border: 0; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1; }
  .compare tbody td { padding: 10px 14px; border: 0; }
  .compare tbody td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
  .compare tbody td + td { border-radius: 6px; margin-top: 6px; }
  .compare tbody td + td::before { color: var(--red-dark); }
}

/* who it's for */
.who-grid { display: grid; gap: 36px 40px; }
.who { border-top: 3px solid var(--ink); padding-top: 18px; }
.who p { color: var(--muted); }
.who .who-fit { color: var(--ink); font-weight: 600; margin: 0; font-size: 16px; }
@media (min-width: 680px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .who-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* pricing */
.group-title { font-size: 34px; margin-bottom: 18px; }
.plans { display: grid; gap: 24px; margin-bottom: 64px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px; display: flex; flex-direction: column; background: #fff; }
.plan h4 { font-size: 36px; margin-bottom: 6px; }
.price { margin: 0 0 12px; font-weight: 600; }
.price .amt { font-family: var(--display); font-size: 64px; line-height: 1; margin-right: 6px; letter-spacing: 0.01em; }
.plan-for { color: var(--muted); }
.incl-lead { font-weight: 700; margin-bottom: 8px; }
.incl, .ticks { list-style: none; margin-bottom: 24px; }
.incl li, .ticks li, .safety-list li { position: relative; padding: 7px 0 7px 30px; border-top: 1px solid #ECECEC; }
.incl li:first-child, .ticks li:first-child, .safety-list li:first-child { border-top: 0; }
.incl li::before, .ticks li::before, .safety-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23E31B23' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.plan-actions { margin-top: auto; display: grid; gap: 10px; }
.plan-feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-feature .plan-for { color: var(--muted-on-dark); }
.plan-feature .incl li { border-color: #333; }
.plan-feature .incl li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23FF5A5F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-feature .btn-outline { border-color: #fff; color: #fff; }
.plan-feature .btn-outline:hover { background: #fff; color: var(--ink); }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } .plan { padding: 36px 34px; } }

.seasons { background: var(--red); color: #fff; padding: 56px 0 60px; }
.seasons .group-title { color: #fff; font-size: clamp(38px, 5vw, 56px); }
.seasons-intro { font-size: 18px; max-width: 40em; margin-bottom: 30px; }
.season-row { display: grid; gap: 18px; }
.season { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; }
.season h4 { font-size: 32px; margin-bottom: 4px; }
.season .price { margin-bottom: 0; }
.season .price .amt { font-size: 56px; }
.season .per { font-weight: 700; color: var(--red-dark); margin-bottom: 12px; }
.season p:not(.price):not(.per) { color: var(--muted); }
.season .btn { margin-top: auto; }
@media (min-width: 900px) { .season-row { grid-template-columns: 1fr 1fr 1fr; } .seasons { padding: 72px 0 80px; } }

.pricing-notes { display: grid; gap: 32px; margin-top: 56px; }
.founding { background: var(--ink); color: #fff; border-radius: 12px; padding: 28px 26px; align-self: start; }
.founding h3 { font-size: 40px; }
.founding p { margin: 0; color: #E9E9E9; }
.fine { list-style: none; }
.fine li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.fine li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .pricing-notes { grid-template-columns: 5fr 7fr; gap: 48px; } }

/* how it works */
.steps { list-style: none; counter-reset: step; display: grid; gap: 28px; margin: 12px 0 56px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--red); margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; max-width: 36em; }
@media (min-width: 760px) {
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 72px minmax(0, 300px) minmax(0, 1fr); column-gap: 28px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .steps li::before { margin: 0; font-size: 56px; }
  .steps h3 { margin: 0; }
}
.how-detail { display: grid; gap: 40px; margin-bottom: 48px; }
.revisions p { color: var(--muted); }
.revisions p:first-of-type { color: var(--ink); }
@media (min-width: 900px) { .how-detail { grid-template-columns: 1fr 1fr; gap: 56px; } }
.safety { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 28px 24px 18px; }
.safety > p { color: var(--muted); }
.safety-list { list-style: none; }
@media (min-width: 900px) { .safety { padding: 36px 40px 26px; } .safety-list { columns: 2; column-gap: 48px; } .safety-list li { break-inside: avoid; } }

/* forms */
.form-wrap { display: grid; gap: 32px; }
.form-intro p { max-width: 32em; }
.section-dark .form-intro p { color: #E6E6E6; }
.form-intro .small { font-size: 15px; color: var(--muted-on-dark) !important; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; } .form-intro { position: sticky; top: 96px; } }
.dep-form { display: grid; gap: 18px; }
.grid2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 18px 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field legend, .seg legend { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.section-dark .opt { color: var(--muted-on-dark); }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.section-dark .hint { color: var(--muted-on-dark); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--field-line); border-radius: 6px; min-height: 48px; padding: 10px 12px; width: 100%; max-width: 100%; }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--red); }
.check label, .checks label { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-top: 10px; font-weight: 500; }
.checks { border: 0; padding: 0; margin: 0; }
.checks legend { margin-bottom: 4px; padding: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; }
.seg label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid #6b6b6b; border-radius: 6px; font-weight: 600; cursor: pointer; }
.seg label:has(input:checked) { border-color: #fff; background: #fff; color: var(--ink); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border: 2px solid var(--red); }
.section-dark .field.invalid input, .section-dark .field.invalid select { border-color: var(--red-on-dark); box-shadow: 0 0 0 1px var(--red-on-dark); }
.err { font-size: 14px; font-weight: 600; color: var(--red-dark); margin: 0; }
.section-dark .err { color: var(--red-on-dark); }
.form-status:empty { display: none; }
.form-status { padding: 18px 20px; border-radius: var(--radius); background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.form-status.is-error { border-color: var(--red); }
.form-status h3 { font-size: 30px; margin-bottom: 6px; }
.form-status p { margin: 0; }
.dep-form-light .form-status { background: var(--paper); }
.dep-form.is-done .grid2, .dep-form.is-done .field, .dep-form.is-done .seg, .dep-form.is-done .checks, .dep-form.is-done button { display: none; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p, .faq details ul { color: var(--muted); max-width: 44em; }
.faq details ul { padding-left: 22px; margin-bottom: 20px; }
.faq details li { margin-bottom: 6px; }

/* project baseline */
.pb { background: var(--paper-2); border-top: 1px solid var(--line); }
.pb-grid { display: grid; gap: 40px; }
.pb p { color: var(--muted); max-width: 36em; }
.pb-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pb-links a { color: var(--ink); font-weight: 700; display: inline-block; padding: 10px 0; }
.pb-services { list-style: none; }
.pb-services li { padding: 14px 0; border-top: 1px solid var(--line); }
.pb-services li:first-child { border-top: 0; padding-top: 4px; }
.pb-services a { font-weight: 700; color: var(--ink); display: inline-block; padding: 4px 0; }
.pb-services span { display: block; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .pb-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* footer */
.site-footer { background: var(--ink); color: #E6E6E6; padding: 40px 0 48px; font-size: 15px; }
.footer-row { display: grid; gap: 18px; }
.foot-brand { margin: 0; }
.foot-brand .wm-mark { display: inline-grid; vertical-align: middle; margin-right: 10px; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer nav a { display: inline-block; padding: 10px 0; }
.copy { margin: 0; color: var(--muted-on-dark); }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(48px, 7vw, 80px); }
.notice { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0 32px; background: var(--paper-2); }
.notice p:last-child { margin-bottom: 0; }
.legal h2 { font-size: 36px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); max-width: 44em; }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.back { display: inline-block; padding: 10px 0; font-weight: 700; }

/* ---------- live demo embed (scaled phone render, mock stays underneath as the fallback) ---------- */
.phone-screen { position: relative; }
.phone-screen iframe { position: absolute; top: 0; left: 0; z-index: 1; border: 0; max-width: none; transform-origin: 0 0; opacity: 0; transition: opacity 0.3s ease; }
.phone-screen iframe.is-loaded { opacity: 1; }
.phone-open { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; padding: 0; text-decoration: none; border-radius: 35px; overflow: hidden; }
.phone-open span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 8px 10px 12px; border-radius: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,0.45); }
.phone-open:hover span { background: var(--red-dark); }
.phone-open:focus-visible { outline-offset: -4px; }
.phone.is-interactive .phone-open { display: none; }

/* ---------- mobile hero: headline, then the product, then the copy ---------- */
@media (max-width: 959px) {
  .hero { padding: 28px 0 48px; }
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: clamp(44px, 12.4vw, 76px); max-width: none; margin-bottom: 18px; }
  .from-program { order: 2; margin: 0 0 16px; font-size: 16px; padding: 12px 14px; }
  .hero .lead { order: 3; font-size: 17px; line-height: 1.5; }
  .hero .lead-2 { display: none; }
  .hero-price { order: 4; font-size: 15px; margin: 4px 0 0; }
  .hero-actions { order: 5; margin: 16px 0 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-phone { order: 6; }
  .phone { width: 240px; height: 430px; border-radius: 40px; }
  .phone-screen, .phone-open { border-radius: 31px; }
  .phone-notch { top: 16px; width: 72px; margin-left: -36px; height: 20px; }
  .mock { padding-top: 44px; }
  .mock-title { font-size: 36px; }
  .phone-caption { display: none; }
}
@media (max-width: 420px) {
  .wm-text { font-size: 19px; line-height: 0.95; max-width: 6.6em; padding-top: 2px; }
  .wm-mark { width: 30px; height: 30px; font-size: 19px; }
  .header-row { gap: 12px; }
  .header-cta { white-space: nowrap; padding: 8px 12px; font-size: 14px; }
}

/* ---------- legal pages: counsel's numbered clauses and tables ---------- */
.legal .effective { font-weight: 600; color: var(--ink); }
.legal .clauses { list-style: none; padding-left: 0; margin: 0 0 1em 1.4em; }
.legal .clauses li { margin-bottom: 8px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 1.6em; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-table thead th { color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 700; }
.legal-table tbody th { color: var(--ink); font-weight: 700; }
@media (max-width: 639px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-table th, .legal-table td { border: 0; padding: 4px 0; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
}

/* links on dark surfaces: hover stays light (dark red on black fails contrast) */
.hero a:not(.btn):not(.phone-open):hover, .section-dark a:not(.btn):hover, .site-footer a:hover, .plan-feature a:not(.btn):hover, .founding a:hover { color: #fff; text-decoration-color: var(--red-on-dark); }
.skip:hover { color: #fff; }
.phone.demo-loaded .mock { visibility: hidden; }

/* inquiry: planning choice and the steps under the form */
.seg.field { gap: 0; }
.seg.field .err { width: 100%; margin-top: 6px; }
.form-col { display: grid; gap: 28px; min-width: 0; }
.next-steps { border-top: 1px solid #3a3a3a; padding-top: 22px; }
.next-steps h3 { font-size: 30px; margin-bottom: 12px; }
.next-steps ol { list-style: none; counter-reset: ns; display: grid; gap: 10px; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 40px; color: #E6E6E6; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: -2px; font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--red-on-dark); }
