/* Dialogue.Dance home. Uses the tokens in app.css. */
body.home { line-height: 1.6; overflow-x: hidden; }
.home .wrap { max-width: var(--col); margin: 0 auto; padding: 0 16px; }
.home p { margin: 0 0 1em; }
.home .hero { background: var(--band); color: var(--band-text); text-align: center; padding: 8px 16px 48px; }
.home .hero .brand { letter-spacing: .2em; text-transform: uppercase; font: 600 14px var(--sans); opacity: .8; }
.home .hero h1, .home .hero h2, .home .hero h3, .home .hero h4 { color: var(--band-text); }
/* Paul, 2026-11-28: the headline in hot pink, the one confetti colour with enough lift to read
   as a decision rather than a mistake on the teal ground. The ground is teal night in both
   themes, so the headline takes one value in both. */
.home .hero h1 { color: #F0509A; font-size: clamp(34px, 7vw, 60px); line-height: 1.05; margin: .15em 0; }
.home .hero p { max-width: 560px; margin: 12px auto; font-size: 19px; }
.home .hero .tagline { font: 600 15px var(--sans); letter-spacing: .04em; opacity: .9; margin-top: 4px; }
.home .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.home .btn { font-family: var(--sans); text-decoration: none; }
.home .hero .btn.primary { background: var(--band-cta); color: var(--band-cta-text); }
.home .hero .btn.ghost { color: var(--band-text); border-color: var(--on-band-line); }
.home section { padding: 40px 0; }
.home section.ends { display: block; font-size: inherit; color: inherit; }
.home h2 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 12px; }
.home h3 { font-size: 22px; margin: 0 0 4px; }
.home .gap { margin-top: 18px; }
.home .pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.home .ends .pains { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.home .pain, .home .step, .home .tier, .home details, .home .chat { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.home .pain { border-radius: 12px; padding: 18px; }
.home .pain b { display: block; font-size: 20px; color: var(--cta-ink); margin-bottom: 4px; }
.home .song { font-size: clamp(22px, 4.4vw, 28px); line-height: 1.3; color: var(--brand); text-align: center; margin: 28px auto 6px; max-width: 560px; }
.home .song-sub { text-align: center; color: var(--muted); margin: 0 auto; max-width: 520px; }
.home .chat { border-radius: 14px; padding: 18px; margin: 16px 0; }
.home .msg { margin: 10px 0; padding: 10px 14px; border-radius: 12px; max-width: 85%; }
.home .msg.you { background: var(--bubble); color: var(--bubble-text); margin-left: auto; }
.home .msg.them { background: var(--surface-2); color: var(--text); }
.home .who { font: 12px var(--sans); opacity: .7; display: block; }
.home .decide { text-align: center; font-size: 20px; }
.home .steps { display: grid; gap: 14px; margin-top: 16px; }
.home .step { border-radius: 12px; padding: 18px; }
.home .step h4 { font: 700 15px var(--sans); margin: 12px 0 2px; color: var(--cta-ink); }
.home .eg { font-style: italic; margin: 10px 0 0; }
.home .eg.plain { font-style: normal; }
.home .split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.home .tier { border-radius: 14px; padding: 22px; border-top: 6px solid var(--trust-fill); }
.home .tier.paid { border-top-color: var(--cta); }
.home .tier ul { padding-left: 20px; margin: 8px 0 0; }
.home .tier li + li { margin-top: 6px; }
.home .soon { display: inline-block; font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--cta-ink); margin-bottom: 8px; }
.home details { border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
.home summary { cursor: pointer; font-weight: 600; }
.home a.more, .home footer a { color: var(--cta-ink); font-weight: 600; }
.home .join { margin-top: 16px; font-family: var(--sans); }
.home .join label { display: block; font-weight: 650; margin-top: 16px; }
.home .join label:first-child { margin-top: 0; }
.home .check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; margin-top: 14px; }
.home .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--cta); }
.home .join .btn { margin-top: 20px; }
/* The second door, for a member who has no password yet and for anybody brand new. */
.home .join-or { margin-top: 32px; }
.home #member { padding-top: 32px; font-family: var(--sans); }
.home #member h1 { margin-bottom: 8px; }
.home .applets { display: grid; gap: 14px; margin-top: 16px; }
.home .applet h3 { font-family: var(--serif); }
.home .applet .btn { margin-top: 12px; }
.home .member-actions { margin-top: 24px; }
.home footer { background: var(--band); color: var(--band-text); text-align: center; padding: 40px 16px; margin-top: 24px; }
.home footer .foot-brand { font-size: 28px; }
.home footer p { margin: 12px 0; }
.home footer .small { font-size: 14px; opacity: .85; }
.home footer a { color: var(--band-text); }
.home .hero .pain-bubbles { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0 auto 18px; max-width: 520px; text-align: left; }
.home .hero .pain-bubbles .msg.them { background: var(--bg); color: var(--text); font: 500 17px var(--sans); margin: 8px 0; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.home .hero .pain-bubbles .msg.them:nth-child(even) { margin-left: auto; }
.home .hero .pain-bubbles .msg.them:first-child { margin-top: 0; }

/* Invitation code, next to the hero button */
/* Paul, 2026-11-28: the code box sat wider than it needs and lower than the button beside it.
   Centred against the button, and sized to the code it holds rather than to a guess. */
.home .hero .btns { align-items: center; }
.home .invite-code-form { text-align: left; }
.home .code-label { display: block; font: 600 13px var(--sans); opacity: .9; margin: 0 0 4px 14px; }
.home .code-field { display: grid; grid-template-columns: 8.6ch auto; gap: 6px; align-items: center; background: var(--code-field); border-radius: 999px; padding: 4px 4px 4px 13px; width: max-content; }
.home .code-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 8px 0; font: 700 17px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--code-text); box-sizing: content-box; }
.home .code-field input::placeholder { color: var(--code-muted); font-weight: 500; opacity: 1; }
.home .code-field button { border: 0; border-radius: 999px; background: var(--apply); color: var(--apply-text); padding: 10px 18px; font: 700 14px var(--sans); cursor: pointer; }
.home .code-field:focus-within { outline: 3px solid var(--band-text); outline-offset: 2px; }
/* Apply stands inside the cream field rather than on the band, so its own ring is coral:
   4.67 against the cream it is drawn on. Cream on cream would be nothing at all. */
.home .hero .code-field button:focus-visible { outline-color: var(--apply); }
.home .code-status { margin: 6px 0 0 14px; font-size: 14px; max-width: 300px; min-height: 0; }
.home .code-status:empty { display: none; }
.home .code-status.confirmed { font-weight: 700; }
@media (max-width: 560px) { .home .hero .btns { flex-direction: column; align-items: center; } .home .invite-code-form { width: 100%; max-width: 320px; } .home .code-field { width: auto; grid-template-columns: 1fr auto; } .home .code-label, .home .code-status { margin-left: 16px; } }
/* Less text-heavy: air, compact cards, collapsed example wording */
.home section { padding: 32px 0; }
.home .pain { padding: 14px 16px; }
.home .pains { gap: 10px; }
.home .more-eg { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 10px 0 0; }
.home .more-eg summary { color: var(--cta-ink); font: 600 14px var(--sans); }
.home .more-eg .eg { margin-top: 8px; }
.home .tier li { line-height: 1.45; }
@media (min-width: 720px) { .home .pains { grid-template-columns: repeat(3, 1fr); } .home .ends .pains { grid-template-columns: repeat(2, 1fr); } }

/* Hero art and claim */
.home .hero-art { display: block; width: min(300px, 70%); height: auto; margin: 6px auto 4px; }
.home .hero .claim { font: 700 clamp(22px, 4.6vw, 30px)/1.2 var(--serif); color: var(--band-text); margin: 4px auto 2px; }
.home .hero .claim-sub { font: 500 16px var(--sans); opacity: .9; margin: 0 auto 14px; max-width: 460px; }

/* Launch simplification: one video above the Join form, one pointer line */
.home .video-card { max-width: 300px; margin: 0 auto 28px; text-align: center; }
.home .video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 70vh; background: var(--well); border-radius: 14px; box-shadow: var(--shadow); }
.home .video-cap { color: var(--muted); font: 500 15px var(--sans); margin: 10px 0 0; }
.home .here-line { text-align: center; color: var(--muted); font: 500 15px var(--sans); margin: 20px 0 0; }

/* Paul's invitation at the front of the app: his real video, then the door where you answer him */
.home #invitation { text-align: center; padding-top: 30px; }
.home #invitation .eyebrow { display: block; margin-bottom: 6px; }
.home #invitation p { max-width: 520px; margin-left: auto; margin-right: auto; }
.home #invitation .video-card { margin-top: 18px; }
.home .status-line { color: var(--muted); font: 500 14.5px var(--sans); max-width: 480px; margin: 16px auto 0; }

/* Root page follows the dialogue.dance copy (2026-11-19): the premise line above the headline,
   and the pure-pitch sections step aside once someone is signed in. #how stays, because the
   member's own card links to it. */
.home .hero .premise { font: 500 17px var(--sans); opacity: .9; max-width: 560px; margin: 8px auto 10px; }
body.home.signed-in #explainer .pitch { display: none; }

/* The pre-qualifying kicker above the headline (Paul, 2026-11-21): says who it is for and what
   it saves them, before the headline says what to do. */
.home .hero .prequal { font: 500 clamp(19px, 2.6vw, 24px)/1.3 var(--serif); letter-spacing: 0;
  text-transform: none; opacity: .88; margin: 0 auto 6px; max-width: 520px; }

/* The School For Love credit moved out of the app bar and down to the bottom right of the footer
   (Paul, 2026-11-23). It is a parent-brand credit, not navigation, and the top right corner is
   the member's own door now. */
.home footer .foot-sfl { max-width: var(--col); margin: 22px auto 0; padding-right: 4px; text-align: right; }

/* The hero's second line is a heading, not body copy (Paul, 2026-11-24): serif like the
   headline, clearly smaller than it, and above the mechanics sentence. */
.home .hero .hero-sub { font: 500 clamp(21px, 3.2vw, 28px)/1.25 var(--serif); margin: 10px auto 6px;
  max-width: 620px; letter-spacing: -.01em; }

/* ---- The mutual meet, above the door (Paul, 2026-11-25) ----------------------------------
   The payoff a visitor sees before they sign up, and the one place the bright palette appears
   on this page. It sits straight after "How the Dance works", whose last step is "Miss or
   meet", so the burst is the next beat in the argument and needs no setting up. It is also the
   last thing before the page asks for money and for an email, which is where a payoff earns
   its keep.

   It is a depiction and it says so underneath: no invented names, no invented faces, no
   testimonial. The whole section is .pitch, so it steps aside once somebody is signed in, the
   same as every other passage that is there to persuade.

   The stage keeps its teal night ground in both themes, which is set in css/app.css. Confetti
   needs a dark ground: on cream the amber piece all but vanishes. */
.home .meet { padding-top: 8px; }
.home .meet .moment { margin: 0; }
.home .moment .m-kick { margin: 0 0 7px; }
.home .moment .m-big { margin: 0 0 10px; font-size: clamp(28px, 5.4vw, 40px); line-height: 1.1; }
.home .moment .m-sub { margin: 0 0 20px; font-size: 16px; }
.home .meet-note { margin: 12px 0 0; font: 500 14.5px/1.5 var(--sans); color: var(--muted); max-width: 62ch; }
@media (max-width: 480px) { .home .meet .moment { min-height: 260px; } }

/* Paul has asked more than once for these two to line up. The Get Started pill was sized to its
   own words while the code field was sized to a seven-character code, so they sat at different
   widths with different left edges. Both are now one column, same width, same edges, on every
   screen. Paul, 2026-11-30. */
.hero .btns { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero .btns > .btn.primary,
.hero .invite-code-form { width: 100%; max-width: 320px; }
.hero .btns > .btn.primary { display: block; text-align: center; box-sizing: border-box; }
.hero .code-field { width: 100%; box-sizing: border-box; grid-template-columns: 1fr auto; }
.hero .code-label, .hero .code-status { margin-left: 16px; }

/* "What is this?" answered right under the video, because Paul realised the page never said it:
   a dating evaluation tool that works with whatever app somebody already uses, rather than a
   rival to it. Paul, 2026-11-30. */
.what-is { max-width: 560px; margin: 18px auto 20px; text-align: left; }
.what-is h3 { margin: 0 0 6px; font-size: 18px; }
.what-is p { margin: 0 0 10px; }
