/*
 * The home page below the hero (public/index.html): the section close, the three steps, the fair
 * questions, the value stack tweaks and the phone CTA bar. Builds on brand.css tokens and parts
 * (mk-section, ui-*, receipt, mk-plan, qa). Motion: transform and opacity only, off for reduced motion.
 */

/* ---------- every section closes the same way: one button, one quiet line ---------- */
.hm-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 48px auto 0; text-align: center; }
.hm-cta p { margin: 0; font-size: .92rem; color: var(--ink-3); font-weight: 600; }
.hm-cta .b-link { color: var(--ink-2) !important; font-weight: 650; }
.mk-dark .hm-cta p { color: var(--ink-3); }
@media (min-width: 900px) { .hm-cta { margin-top: 64px; } }
.hm-more { text-align: center; margin: 28px 0 0; }
/* calmer section heads: a little more air under the headline, a narrower lede */
.hm-sec .mk-sec-head .mk-h2 { margin-bottom: .35em; text-wrap: balance; }
.hm-sec .mk-sec-head .mk-lede { max-width: 46ch; text-wrap: pretty; }

/* ---------- phones: a short page (about eleven screens), every section one glance ---------- */
@media (max-width: 759px) {
  .hm-sec.mk-section { padding: 56px 0; }
  .hm-sec .mk-sec-head { margin-bottom: 26px; }
  .hm-sec .mk-sec-head .mk-eyebrow { margin-bottom: 10px; }
  .hm-cta { margin-top: 30px; gap: 10px; }
  /* the film: the invite, the plan and the shopping list say it; reminders and run of show live in the product */
  #magic .fp--remind, #magic [data-fp="run"] { display: none; }
  #magic .fp--invite { min-height: 360px; }
  #magic .fp li:nth-child(n+5) { display: none; }
  #magic .film__note { display: none; }
  /* fair questions: the words carry it on a phone */
  .ans { gap: 12px; }
  .ans__ui, .ans__paper, .ans__fine { display: none !important; }
  .ans__card p { font-size: .97rem; }
  /* the price: a tighter receipt */
  #pricing .receipt { padding: 22px 20px 30px; }
  #pricing .receipt__head { padding-bottom: 12px; }
  #pricing .receipt__list li { padding: 6px 0; font-size: .94rem; }
  #pricing .mk-plan__lede { display: none; }
  .mk-final.hm-sec .mk-h2 { font-size: 2.4rem; }
}
/* the short FAQ, folded into "Fair questions" */
.hm-faq { max-width: 780px; margin: 48px auto 0; }
.hm-faq__h { text-align: center; font-size: clamp(1.4rem, 1vw + 1.1rem, 1.8rem); margin-bottom: 16px; }
.hm-faq .qa summary { font-size: 1rem; padding: 16px 20px; min-height: 52px; }

/* phones: wide content swipes sideways instead of stacking (answers, the film, any party) */
@media (max-width: 759px) {
  .hm-rail-ph { display: grid !important; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 16px; scrollbar-width: none; }
  .hm-rail-ph::-webkit-scrollbar { display: none; }
  .hm-rail-ph > * { scroll-snap-align: center; grid-column: auto !important; min-width: 0; }
  .ans.hm-rail-ph { align-items: stretch; }
  #magic .film__screen.hm-rail-ph { grid-auto-columns: 86%; align-items: start; }
  #magic .film__screen.hm-rail-ph .fp--invite { grid-row: auto; }
  #occasions .occ-sec__grid.hm-rail-ph { grid-auto-columns: 46%; }
  .hm-faq { margin-top: 32px; }
  #themes .mk-sec-head .mk-lede { display: none; }
  #themes .gal__grid { grid-auto-columns: 66% !important; }
  #pricing .mk-plan__facts li:last-child { display: none; }
  #pricing .receipt__head, #pricing .mk-plan .paybadges, #pricing .mk-plan__fine { display: none; }
  #pricing .mk-plan__top { margin-bottom: 12px; }
  #problem .ba__side { min-height: 400px !important; }
  #problem .ba__cap { display: none; }
  #magic .mk-sec-head .mk-lede, #magic .film__rail { display: none; }
  .hm-sec.mk-section { padding: 48px 0; }
}
@media (max-width: 400px) { .hm-rail-ph { margin: 0 -16px; padding-inline: 16px; } }
.hm-swipe { display: none; }
@media (max-width: 759px) { .hm-swipe { display: block; margin: -4px 0 0; text-align: center; font-size: .82rem; font-weight: 650; color: var(--ink-3); } .mk-dark .hm-swipe { color: var(--ink-3); } }

/* desktop: two rows of real theme cards, the rest one tap away on /themes */
@media (min-width: 600px) { .gal--rail .gal__grid > .tcard:nth-child(n+7) { display: none; } }
@media (min-width: 1000px) { .gal--rail { margin-top: 0; } }

/* ---------- 1. the problem ---------- */
#problem .ba__side { min-height: 480px; }
@media (min-width: 760px) { #problem .ba__side { min-height: 540px; } }

/* ---------- 2. the magic: watch-only (the hero already has the name/age/theme controls) ---------- */
.film--watch .film__q { display: none; } /* still in the DOM (inert) so mk-film.js can mark each take */
.film--watch { grid-template-columns: 1fr !important; }
.film--watch .film__rail { order: 2; position: static; width: min(420px, 100%); margin: 0 auto; padding: 10px 14px; border-radius: 999px; gap: 0; }
.film--watch .film__bar { padding: 0; }
/* a one-second glance always lands on a finished plan, never on grey skeletons mid-take */
.js-motion .film.film--watch:not(.is-done) .fp:not(.is-on) { opacity: 1; transform: none; }
.js-motion .film.film--watch:not(.is-done) .fp:not(.is-on) .fp__skel { display: none; }
.js-motion .film.film--watch .fp:not(.is-on) li { opacity: 1; transform: none; }

/* ---------- 4. how it works: three steps ---------- */
.hw { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: hw; }
@media (min-width: 860px) { .hw { grid-template-columns: repeat(3, 1fr); gap: 28px; } .hw__ui { height: 176px; } }
.hw__step { background: #fff; border-radius: var(--r-lg); padding: 14px 14px 26px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.hw__step h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; letter-spacing: -.025em; margin: 20px 10px 8px; }
.hw__step > p:last-child { margin: 0 10px; color: var(--ink-2); }
.hw__no { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--midnight); color: #fff; font-family: var(--f-body); font-weight: 800; font-size: .85rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hw__ui { min-height: 176px; border-radius: 20px; background: linear-gradient(160deg, var(--frosting), var(--lilac)); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
/* step 1: a real theme's art on a little invite card */
.hw-inv { width: min(220px, 80%); margin: 0 auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--sh-2); transform: rotate(-2deg); }
.hw-inv__art { position: relative; height: 92px; background: linear-gradient(#26307a, #0b1033); overflow: hidden; }
.hw-inv__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hw-inv__txt { display: grid; gap: 1px; padding: 10px 12px 12px; text-align: center; }
.hw-inv__txt small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hw-inv__txt b { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.15; }
.hw-inv__txt span { font-size: .78rem; color: var(--ink-2); }
/* step 2: the text, written for you */
.hw__ui--msg { align-items: stretch; display: grid; align-content: center; }
.hw-to { margin: 0; font-size: .74rem; font-weight: 700; color: var(--ink-3); text-align: center; }
.hw__ui--msg .ui-bubble { max-width: 94%; font-size: .84rem; }
.hw__ui--msg .ui-bubble u { text-decoration-color: rgba(255, 255, 255, .7); }
.hw-sent { margin: 0; text-align: right; }
/* step 3: the headcount */
.hw-hc { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.hw-hc b { font-family: var(--f-display); font-size: 3.4rem; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hw-hc span { font-weight: 700; color: var(--ink-2); }
.hw-chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.js-motion .hw__step .hw-inv { transition: transform 900ms var(--ease) 200ms; }
.js-motion .hw__step:not(.is-in) .hw-inv { transform: rotate(-6deg) translate3d(0, 14px, 0); }

/* ---------- 5. fair questions ---------- */
.ans { display: grid; gap: 16px; }
.ans__card { background: #fff; border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-1); }
.ans__card h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
/* phones: the icon sits beside the question, the reply card keeps only the nudge itself */
@media (max-width: 759px) {
  .ans__card { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .ans__card > *, .ans__card--wide > div:first-child > * { grid-column: 1 / -1; }
  .ans__card--wide > div:first-child { display: contents; }
  .ans__card h3 { grid-column: 2 !important; grid-row: 1; align-self: center; margin: 0; }
  .ans__card h3 + p { margin-top: 12px; }
  .ans__ic { grid-column: 1 !important; grid-row: 1; width: 36px; height: 36px; border-radius: 11px; margin: 0; }
  .ans__ui, .ans__paper { grid-column: 1 / -1 !important; }
  .ans__who { display: none; }
}
.ans__card p { color: var(--ink-2); margin: 0; }
.ans__card p + p { margin-top: 12px; }
.ans__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 18px; background: var(--lilac); color: var(--grape-ink); }
.ans__ic .ic { width: 21px; height: 21px; }
.ans__fine { font-size: .84rem; color: var(--ink-3) !important; }
.ans__fine a { font-weight: 700; white-space: nowrap; }
.ans__ui, .ans__paper { margin-top: 20px; }
.ans__ui { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--frosting); }
.ans__who { display: flex; align-items: center; gap: 10px; margin: 0; }
.ans__who > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.ans__who small { color: var(--ink-3); font-size: .8rem; }
.ans__msg { margin: 0; background: var(--lilac); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .88rem; color: var(--ink-2); }
.ans__paper { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; max-width: 240px; margin-left: auto; margin-right: auto; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 18px 34px -18px rgba(26, 20, 51, .4); transform: rotate(2deg); }
.ans__paper b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.02em; }
.ans__qr { display: flex; align-items: center; gap: 10px; margin-top: 6px; text-align: left; }
.ans__qr .flyer__qr { width: 72px; height: 72px; }
.ans__qr small { font-size: .78rem; color: var(--ink-3); max-width: 9ch; }
@media (min-width: 760px) {
  .ans { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ans__card--class { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
  .ans__card--class .ans__paper { margin: 0 12px 0 0; }
}
@media (min-width: 1060px) {
  .ans { grid-template-columns: repeat(6, 1fr); }
  .ans__card { grid-column: span 2; padding: 30px 28px; }
  .ans__card--wide { grid-column: span 3; }
  .ans__card--class { grid-template-columns: 1fr auto; }
  .ans__card--class .ans__paper { margin: 0 8px 0 0; }
}

/* ---------- 6 + 7. the price ---------- */
#pricing .receipt__foot { letter-spacing: .02em; }
/* a quiet check instead of eight "INCLUDED"s (the word stays for screen readers) */
#pricing .receipt__list li { align-items: flex-start; }
#pricing .receipt__list b { order: -1; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--mintwash); font-size: 0; position: relative; }
#pricing .receipt__list b::before { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #0b6e57; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
#pricing .receipt__list span { color: var(--ink); }

/* ---------- the phone CTA bar ---------- */
.hm-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(26, 20, 51, .35); }
.hm-bar__txt { margin: 0; min-width: 0; font-size: .82rem; line-height: 1.25; color: var(--ink-2); }
.hm-bar__txt b { display: block; font-size: .98rem; color: var(--ink); font-weight: 800; }
.hm-bar .b-btn { flex: none; min-height: 48px; padding-inline: 20px; }
.hm-bar:not(.is-on) { opacity: 0; transform: translate3d(0, 130%, 0); visibility: hidden; pointer-events: none; }
@media (max-width: 359px) { .hm-bar { gap: 8px; padding-left: 14px; } .hm-bar__txt span { display: none; } .hm-bar .b-btn { padding-inline: 16px; } }
@media (min-width: 980px) { .hm-bar { display: none; } }
/* While the bar is up, it is the one CTA on screen: the header's button steps back (no layout change). */
@media (max-width: 979px) {
  .mk-head__act > .b-btn { transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s; }
  .hm-bar-on .mk-head a.b-btn[data-cta] { --bb: transparent; background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-2, rgba(26, 20, 51, .2)); }
  .hm-bar-on .mk-head.on-dark a.b-btn[data-cta] { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
}
@media (max-width: 979px) and (prefers-reduced-motion: reduce) { .mk-head__act > .b-btn, .hm-bar-on .mk-head__act > .b-btn { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-bar { transition: transform .34s var(--ease), opacity .22s ease, visibility 0s linear 0s; }
  .hm-bar:not(.is-on) { transition: transform .24s ease-in, opacity .2s ease, visibility 0s linear .24s; }
}

/* ======================================================================
   One-tap start (Oct 2026 rebuild): "What's the party?" cards, three finished invites, the Texts
   strip and the price card. Brand 2026: Ink/Linen/Night, one Balloon accent, no mascots in chrome
   (the cards' small pictures are the builder's own icons, not characters).
   ====================================================================== */
.hm-hero .hm-lede { max-width: 40ch; }
.pk-wrap { margin-top: 22px; }
.mk-hero--lights .pk-h { margin: 0 0 10px; font: 700 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.pk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.pk-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pk { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); color: #fff !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms; }
.pk:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1.5px rgba(255, 224, 138, .7); }
.pk:active { transform: scale(.98); }
.pk:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pk__art { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.pk__art svg { width: 30px; height: 30px; }
.pk b { font: 700 1.02rem/1.15 var(--f-body); letter-spacing: -.01em; align-self: end; }
.pk small { font-size: .8rem; line-height: 1.25; color: rgba(255, 255, 255, .68); align-self: start; }
.mk-hero--lights .pk-trust { margin: 12px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.pk-trust span { white-space: nowrap; }
@media (max-width: 359px) { .pk { padding: 8px 10px 8px 8px; column-gap: 9px; } .pk__art { width: 34px; height: 34px; } .pk small { display: none; } .pk-trust span { white-space: normal; } }
/* the final section repeats the cards, centered */
.pk-grid--final { margin: 28px auto 0; text-align: left; }
@media (min-width: 760px) { .pk-grid--final { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; } .pk-grid--final > li:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 980px) {
  .hm-hero .lt-grid { grid-template-areas: "copy zone"; }
  .hm-hero .lt-copy { align-self: center; }
}
/* a phone-tall first screen: the cards, not the paragraph, stay in view */
@media (max-width: 979px) and (max-height: 760px) { .hm-hero .hm-lede { display: none; } }

/* three finished invites */
.hm-ex .show__head { text-align: center; }
@media (min-width: 1100px) {
  .hm-ex .hm-ex__rail { grid-template-columns: repeat(3, 270px); justify-content: center; gap: 48px; }
  .hm-ex .show__item:nth-child(1), .hm-ex .show__item:nth-child(3) { --lift: 28px; }
  .hm-ex .show__item:nth-child(2) { --lift: 0px; }
}
.hm-ex .show__note { margin: 26px auto 0; text-align: center; }
.hm-ex .hm-cta p, .hm-ex .hm-cta .b-link { color: #d9d2e3 !important; }

/* step 2: the real Texts page, in miniature */
.hw__ui--texts { justify-content: flex-start; gap: 6px; padding: 14px; }
@media (min-width: 860px) { #how .hw__ui { height: 206px; } }
.tx-mini__h { margin: 0 0 2px; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tx-mini { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 11px; border-radius: 12px; background: #fff; box-shadow: var(--sh-1); }
.tx-mini > span:first-child { display: grid; min-width: 0; }
.tx-mini b { font-size: .9rem; }
.tx-mini small { font-size: .76rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 759px) { #how .hw.hm-rail-ph { grid-auto-columns: 86%; } }

/* the price card */
.hm-price { max-width: 720px; margin: 0 auto; padding: 30px 24px; border-radius: 28px; background: #fff; box-shadow: var(--sh-2); }
@media (min-width: 760px) { .hm-price { padding: 44px 48px; } }
.hm-price__top { text-align: center; margin-bottom: 22px; }
.hm-price__top .mk-h2 { margin-bottom: .2em; }
.hm-price__sub { margin: 0; color: var(--ink-2); }
.hm-price__list, .hm-price__promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-price__list li, .hm-price__promise li { display: flex; gap: 10px; align-items: flex-start; }
.hm-price__list .ic { color: #0b6e57; margin-top: 3px; }
@media (min-width: 760px) { .hm-price__list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.hm-price__promise { margin: 22px 0; padding: 18px; border-radius: 18px; background: var(--b26-stone, #f1ece4); font-size: .95rem; color: var(--ink-2); }
.hm-price__promise b { color: var(--ink); }
.hm-price__promise .ic { color: var(--balloon); margin-top: 3px; }
.hm-price .paybadges { margin-top: 14px; }
@media (max-width: 759px) { .hm-price__promise li:last-child { display: none; } }

/* ======================================================================
   "Party invites in minutes" (owner, Oct 17): the hero sells the service; one filled button per
   screen (the cards are choices, the preview's button is a ghost); Party HQ shown as the parent sees it.
   ====================================================================== */
.mk-hero--lights .hm-h1 { font-size: clamp(2.3rem, 4.6vw + .7rem, 4.6rem); line-height: 1; letter-spacing: -.04em; max-width: 13ch; text-wrap: balance; }
.mk-hero--lights .hm-h1 .mk-serif { white-space: normal; }
.mk-hero--lights .hm-lede { margin-top: 4px; max-width: 42ch; }
.mk-hero--lights .pk-trust { letter-spacing: .005em; }
/* the preview's button: a ghost on dark, so the screen keeps one filled button (the header's or a card tap) */
.hm-hero .lt-go { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); }
.hm-hero .lt-go:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: none; }
.hm-hero .lt-go:active { transform: scale(.97); }
/* the marquee shows a real sample (Maya, turning 7) lit, not greyed, until they type */
.hm-hero .lt-marquee__name.is-empty { color: var(--bulb); text-shadow: 0 0 6px rgba(255, 246, 201, .9), 0 0 24px rgba(255, 194, 61, .6); }
@media (max-width: 979px) { .mk-hero--lights.hm-hero { padding-bottom: 64px; } }

/* 2: the invites read themselves: each one slowly scrolls its own page (transform only, paused off screen, still for reduced motion) */
.hm-ex .show__head .mk-lede { color: #cbc4d6; }
.hm-ex .mk-inv.is-auto .mk-inv__scroll { animation: mk-autoscroll var(--scroll-dur, 18s) var(--ease-io) 1.2s infinite alternate; }
.hm-ex .show__item:nth-child(2) .mk-inv.is-auto .mk-inv__scroll { animation-delay: 3.4s; }
.hm-ex .show__item:nth-child(3) .mk-inv.is-auto .mk-inv__scroll { animation-delay: 5.6s; }
.hm-ex [data-off] .mk-inv__scroll { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hm-ex .mk-inv.is-auto .mk-inv__scroll { animation: none; } }
.hm-ex .show__rail:focus-visible { outline: 2.5px solid #f0cf8e; outline-offset: 4px; border-radius: 12px; }

/* 3: timed steps */
.hw__time { margin: 18px 10px 0; font: 700 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--balloon); }
.hw__step h3 { margin-top: 8px; }
.hw__ui--form { justify-content: center; gap: 6px; padding: 14px; }
.fm-row { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; }
.fm-row span { color: var(--ink-3); font-weight: 600; }
.fm-row b { font-weight: 650; }
.hw:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 4px; border-radius: 12px; }

/* 4: Party HQ, as the parent sees it */
.hm-hq { background: var(--b26-stone, #f1ece4); }
.hm-hq__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hm-hq__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.hm-hq__copy .mk-h2 { margin-bottom: .3em; }
.hm-cta--left { align-items: flex-start; text-align: left; margin: 28px 0 0; }
@media (max-width: 979px) { .hm-hq__copy { text-align: center; } .hm-hq__copy .mk-lede { margin-inline: auto; } .hm-cta--left { align-items: center; text-align: center; margin-inline: auto; } }
.hq-mock { display: grid; gap: 12px; padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 2px 6px rgba(27, 23, 36, .07), 0 32px 64px -28px rgba(27, 23, 36, .32); width: min(100%, 520px); margin-inline: auto; }
.hq-mock__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hq-mock__bar b { font-size: 1.02rem; letter-spacing: -.01em; }
.hq-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hq-mock__stats p { margin: 0; display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--b26-linen, #faf7f2); }
.hq-mock__stats b { font-size: 1.9rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hq-mock__stats span { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.hq-mock__meter { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--b26-stone, #f1ece4); }
.hq-mock__meter i:first-child { background: #1f9d6b; }
.hq-mock__meter i:last-child { background: #e3b341; }
.hq-mock__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-mock__card { padding: 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.hq-mock__h { margin: 0 0 6px; font: 700 .7rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hq-mock__li { margin: 0; display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: .86rem; }
.hq-mock__li + .hq-mock__li { border-top: 1px solid var(--line); }
.hq-mock__li span { color: var(--ink-2); }
.hq-mock__chips { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }

/* the section buttons use the kit's quiet pill (no shine) */
.hm-cta .k-btn, .hm-price .k-btn { text-decoration: none; }
.hm-bar .k-btn { flex: none; }
.mk-hero--lights .pk-trust span { white-space: nowrap; }
/* the price is stated once in the first screen: under the cards (principle 10), not again under the preview */
.hm-hero .lt-trial { display: none; }
/* the kit button inside marketing pages: .mk a sets link colors; the button keeps its own ink */
.mk a.k-btn, .mk a.k-btn:hover { color: var(--_ink); text-decoration: none; }
.hw__time { margin-top: 22px; }
@media (min-width: 860px) { #how .hw__ui { height: auto; min-height: 224px; } }
.fm-row { padding: 7px 12px; }
@media (min-width: 860px) { #how .hw__ui { height: 246px; min-height: 0; } }
#how .hw__time { margin: 22px 10px 0 !important; }

/* ======================================================================
   Design review punch list (Oct 17): one action in the hero (the cards), quiet preview link and field,
   equal cards, the price on two deliberate lines, calmer serif, roomier sections.
   ====================================================================== */
/* the cards are the action: the header's button goes quiet while they're on screen (same look as .ask-in-view) */
body.hm-ask .mk-head a.b-btn[data-cta] { --bb: transparent; --bf: var(--ink); background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-2, rgba(26, 20, 51, .2)); }
body.hm-ask .mk-head.on-dark a.b-btn[data-cta] { --bf: #fff; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
/* the preview: a quiet text link under the marquee, a quiet field */
.mk-hero--lights.hm-hero .lt-go.hm-go { min-height: 44px; padding: 0 4px; justify-self: center; background: none; box-shadow: none; color: rgba(255, 255, 255, .9); font: 600 1rem/1.2 var(--f-body);
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-decoration-thickness: 1.5px; text-underline-offset: 5px; border-radius: 6px; }
.mk-hero--lights.hm-hero .lt-go.hm-go:hover { text-decoration-color: #fff; transform: none; }
.mk-hero--lights.hm-hero .lt-go.hm-go:focus-visible { outline: 2.5px solid #fff; outline-offset: 3px; }
.hm-hero .lt-field { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
/* the five cards: one height, sub-labels on one line */
.pk-grid { grid-auto-rows: 1fr; }
.pk small { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.mk-hero--lights .pk-h { margin-bottom: 16px; }
/* the price, two deliberate lines, centered */
.mk-hero--lights .pk-trust { margin: 16px 0 0; text-align: center; font-size: 15px; line-height: 1.45; color: #cfc9d6; max-width: 560px; }
.mk-hero--lights .pk-trust span { display: block; white-space: normal; }
/* a calmer serif: the same size as the words around it */
.hm-hero .mk-serif, .hm-sec .mk-serif { font-size: 1em; }
/* roomier sections: 72px on phones, 120px on wide screens */
.hm-sec.mk-section { padding: 72px 0; }
@media (min-width: 900px) { .hm-sec.mk-section { padding: 120px 0; } }
@media (max-width: 759px) { .hm-sec.mk-section { padding: 72px 0; } }
@media (max-width: 420px) { .pk { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; padding: 10px 10px 10px 8px; } .pk__art { width: 36px; height: 36px; } .pk__art svg { width: 27px; height: 27px; } .pk small { font-size: .78rem; } }
/* the pay badges on the light price card: ink on paper (the dark-band ghost was 1.7:1 here) */
.hm-price .pb { background: var(--b26-stone, #f1ece4); box-shadow: none; }
.hm-price .pb--ghost { background: transparent; color: var(--ink-2) !important; box-shadow: inset 0 0 0 1.5px var(--line-2, #d9d2c6); }
