/* HIT Intake Engine — Onyx/Turquoise "Velvet Rope" luxury design system.
   Tokens mirror master_website: onyx black (zinc-950), crisp white, turquoise
   #2BC7B5 as the single accent. No frameworks, no CDNs, no external fonts. */

:root {
  --onyx-0: #09090b;   /* zinc-950 — page ground */
  --onyx-1: #101012;   /* raised surface */
  --onyx-2: #17171a;   /* card surface */
  --line:   #27272a;   /* zinc-800 hairlines */
  --turquoise:   #2BC7B5;   /* THE accent. The only accent. */
  --turquoise-hi:#56E0D0;   /* hover — contrast-tuned, mirrors master_website */
  --white:  #FAFAFA;
  --muted:  #A1A1AA;   /* zinc-400 */
  --soft:   #D4D4D8;   /* zinc-300 — quieter than white, louder than muted */
  --error:  #d97066;
  --serif:  "Palatino", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--onyx-0);
  color: var(--white);
  font: 16px/1.7 var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px 120px; }

/* Header / footer — quiet, spacious, exact */
.site-header { text-align: center; padding: 56px 24px 10px; }
.wordmark {
  font-weight: 700; letter-spacing: .34em; font-size: 13px;
  color: var(--white); text-decoration: none; text-transform: uppercase;
}
.wordmark span { color: var(--turquoise); }
.tagline { color: var(--muted); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; margin-top: 10px; }
.site-footer {
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center;
  padding: 36px 24px; font-size: 12px; color: var(--muted);
  letter-spacing: .06em;
}
/* Each item stays whole: at 375px "© Opulence 99, LLC" was squeezed onto
   three lines beside the two links. The row wraps instead. */
.site-footer > * { white-space: nowrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--turquoise); }

/* Hero — cinematic type, generous air */
.hero { padding: 96px 0 40px; }
.hero.narrow { max-width: 600px; margin: 0 auto; }
/* The private pay pages (pay in full, the payment plan, the welcome), on the
   header's centre line like the application (owner, 2026-09-25: "not some in
   the center and some to the left ... more premium"). */
.hero.centered { text-align: center; }
.hero.centered .lede, .hero.centered .submit-note { margin-left: auto; margin-right: auto; }
.hero.centered .form-alert { text-align: center; }
.hero.centered .lede strong { color: var(--white); }
.kicker {
  color: var(--turquoise); font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 24px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.5vw, 48px); line-height: 1.12;
  margin: 0 0 26px; font-weight: 600; letter-spacing: -.01em;
}
h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 17px; max-width: 58ch; }
a { color: var(--turquoise-hi); text-decoration-color: rgba(43, 199, 181, .4); }

/* Landing doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 680px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: block; background: var(--onyx-1); border: 1px solid var(--line);
  border-radius: 2px; padding: 40px 32px; text-decoration: none; color: var(--white);
  transition: border-color .25s ease, transform .25s ease;
}
.door:hover { border-color: var(--turquoise); transform: translateY(-3px); }
.door p { color: var(--muted); font-size: 15px; }
.door-kicker { color: var(--turquoise); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.door-cta { color: var(--turquoise); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Form */
.application { margin-top: 16px; }
.form-hero { padding-bottom: 16px; }
/* The spec's "bonus" note under the h1: what comes with the call, said once,
   quietly. A hairline card with one turquoise edge — no badge-shouting, no
   second accent colour. */
.bonus-note {
  display: flex; flex-direction: column; gap: 8px;
  /* 58ch at the lede's own 17px, so the card squares with the paragraphs
     under it (the children set their own sizes). */
  font-size: 17px; max-width: 58ch; margin: 0 0 30px; padding: 18px 22px;
  background: var(--onyx-1); border: 1px solid var(--line);
  border-left: 2px solid var(--turquoise); border-radius: 2px;
}
.bonus-tag {
  color: var(--turquoise); font-size: 10.5px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
}
.bonus-text {
  color: var(--white); font-family: var(--serif); font-size: 17.5px;
  line-height: 1.5;
}

/* ── The one-page application: compact and centred (owner, 2026-09-25) ───
   Afternoon: "I want it to appear as a short application that they can
   scroll and easily see isn't long." On a 375px phone the page was 5.7
   screens and the first box to type in sat at 1,092px; five heavy cards read
   as five pages. Evening: "Make the text aligned center format, not some in
   the center and some to the left. I want this application to look more
   premium not cheaply made. Remember, people are about to pay 10-12k, if not
   100k." The header was centred and everything under it hung left, so the
   page had two axes. Now it has one: kicker, h1, the glance line, the bonus,
   every section label, question, answer and line of fine print, and the
   button all sit on the header's centre line. Answers are tap-cards (the
   radio circles go, the chosen card lights turquoise) wherever the browser
   can style a checked card — elsewhere the circles stay, so a choice is
   never invisible. Scoped to the single-page layout (body.page-compact,
   .form-hero.compact, form[data-layout="single"]): every stepper, survey
   and the check-in look exactly as before. */
.page-compact .site-header { padding: 30px 24px 0; }
.page-compact .tagline { margin-top: 8px; }
.page-compact main { padding-bottom: 72px; }
@media (max-width: 560px) {
  .page-compact main { padding-left: 16px; padding-right: 16px; }
}
.page-compact .form-alert { text-align: center; }
.form-hero.compact { padding: 36px 0 18px; text-align: center; }
.form-hero.compact .kicker { margin-bottom: 14px; text-wrap: balance; }
.form-hero.compact h1 {
  font-size: clamp(28px, 4.6vw, 40px); margin: 0 0 12px; text-wrap: balance;
}
.form-hero.compact .bonus-note {
  align-items: center; text-align: center; gap: 6px;
  max-width: 470px; margin: 0 auto 16px; padding: 16px 24px 18px;
  background: rgba(43, 199, 181, .05);
  border: 1px solid rgba(43, 199, 181, .38); border-radius: 2px;
}
.form-hero.compact .bonus-text { font-size: 16px; line-height: 1.5; }

/* The glance: one plain sentence (his ruling: no check marks). */
.glance {
  margin: 0 0 22px; color: var(--soft);
  font-size: 14.5px; letter-spacing: .03em; line-height: 1.5;
}

/* His intro, one tap away. */
.intro-more { max-width: 58ch; margin: 0 auto; }
.intro-more summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  color: var(--muted); font-size: 13.5px; letter-spacing: .04em; list-style: none;
}
.intro-more summary::-webkit-details-marker { display: none; }
.intro-more summary::after { content: "+"; color: var(--turquoise); font-size: 16px; line-height: 1; }
.intro-more[open] summary::after { content: "\2212"; }
.intro-more summary:hover { color: var(--turquoise); }
.intro-more .lede { font-size: 14.5px; line-height: 1.6; margin: 10px auto 0; }

/* One card; the sections are hairline-divided parts of it, not pages. */
form[data-layout="single"] {
  margin-top: 8px; padding: 6px 36px 32px; text-align: center;
  background: var(--onyx-1); border: 1px solid var(--line); border-radius: 2px;
}
@media (max-width: 560px) { form[data-layout="single"] { padding: 4px 18px 22px; } }
form[data-layout="single"] .step {
  background: none; border: 0; border-radius: 0; margin: 0; padding: 22px 0 8px;
}
form[data-layout="single"] .step + .step { border-top: 1px solid var(--line); }
/* A grid, so two short answers can share a row. Grid margins do not
   collapse, so the spacing is the gap and the children carry none. */
form[data-layout="single"] .step:not(.hidden) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px; align-items: start;
}
form[data-layout="single"] .step > * { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
@media (min-width: 520px) {
  form[data-layout="single"] .step > .q-full_name,
  form[data-layout="single"] .step > .q-email,
  form[data-layout="single"] .step > .q-phone,
  form[data-layout="single"] .step > .q-number { grid-column: auto; }
}
form[data-layout="single"] .step h2 {
  display: flex; align-items: center; justify-content: center; margin: 0;
  font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.4;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
form[data-layout="single"] .step-letter {
  width: auto; height: auto; margin-right: 10px; border: 0;
  font: inherit; color: var(--turquoise);
}
form[data-layout="single"] .section-intro {
  max-width: 52ch; margin: -8px auto 0; font-size: 14px; line-height: 1.55;
}
form[data-layout="single"] .q-label { font-size: 15px; line-height: 1.45; margin-bottom: 7px; }
/* Help sits UNDER its box here, so a question with help (Phone) and one
   without (Age) start their labels and boxes on the same line when they
   share a row. */
form[data-layout="single"] .question { display: flex; flex-direction: column; }
form[data-layout="single"] .q-help { order: 1; font-size: 12.5px; line-height: 1.5; margin: 7px 0 0; }
form[data-layout="single"] .field-error { order: 2; }
form[data-layout="single"] input[type="text"],
form[data-layout="single"] input[type="email"],
form[data-layout="single"] input[type="number"],
form[data-layout="single"] textarea {
  padding: 11px 14px; line-height: 1.45; text-align: center;
}
/* "One or two sentences" gets a box that size: three lines, still
   stretchable. */
form[data-layout="single"] textarea { min-height: 0; height: 96px; }
form[data-layout="single"] .choices { gap: 8px; }
form[data-layout="single"] .choice {
  align-items: center; justify-content: center; text-align: center;
  padding: 12px 16px; font-size: 14.5px; line-height: 1.45;
}
form[data-layout="single"] .choice input { margin-top: 0; }
/* The consent boxes: the box above its sentence, both on the centre line. */
form[data-layout="single"] .consents .choice {
  flex-direction: column; gap: 8px; padding: 14px 18px;
  font-size: 13px; line-height: 1.55;
}
form[data-layout="single"] .consents .choice input { margin: 0; }
/* A two-answer question (Yes / No) is two taps side by side. A browser
   without :has() keeps them stacked, which is only taller. */
form[data-layout="single"] .choices[role="radiogroup"]:not(:has(> label:nth-of-type(3))) {
  flex-direction: row;
}
form[data-layout="single"] .choices[role="radiogroup"]:not(:has(> label:nth-of-type(3))) > .choice {
  flex: 1 1 0;
}
/* Three or more answers sit two to a row on a wide screen; an odd last one
   (here: "Other") takes the full row so nothing hangs off-centre, and the
   "Other" line takes the full width under them. */
@media (min-width: 520px) {
  form[data-layout="single"] .choices[role="radiogroup"]:has(> label:nth-of-type(3)) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  form[data-layout="single"] .choices[role="radiogroup"] > label:last-of-type:nth-of-type(odd),
  form[data-layout="single"] .choices[role="radiogroup"] > .other-wrap { grid-column: 1 / -1; }
}
/* Tap-cards. ONLY where :has() can light the chosen card — the circle is
   the only other sign of a choice, and it must not vanish without one. The
   input stays in the page (opacity, not display:none), so keyboard, screen
   readers and form.js see exactly what they saw before. */
@supports selector(:has(*)) {
  form[data-layout="single"] .choices[role="radiogroup"] .choice { position: relative; }
  form[data-layout="single"] .choices[role="radiogroup"] .choice input {
    position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0;
  }
  form[data-layout="single"] .choice:has(input:checked) {
    border-color: var(--turquoise); background: rgba(43, 199, 181, .08);
  }
  form[data-layout="single"] .choice:has(input:focus-visible) {
    outline: 1px solid var(--turquoise-hi); outline-offset: 2px;
  }
}
form[data-layout="single"] .cta-row { justify-content: center; margin-top: 8px; }
@media (max-width: 560px) {
  form[data-layout="single"] .btn.submit { width: 100%; }
}
.form-alert {
  background: rgba(217, 112, 102, .08); border: 1px solid var(--error);
  color: var(--white); border-radius: 2px; padding: 14px 18px; margin: 20px 0;
  font-size: 14.5px;
}
.progress { margin: 28px 0 36px; }
#progress-label { font-size: 10px; color: var(--muted); letter-spacing: .3em; text-transform: uppercase; }
.bar { height: 1px; background: var(--line); margin-top: 12px; }
.bar i { display: block; height: 100%; width: 0; background: var(--turquoise); transition: width .4s cubic-bezier(.22,1,.36,1); }

.step {
  background: var(--onyx-1); border: 1px solid var(--line); border-radius: 2px;
  padding: 44px 40px; margin-bottom: 28px;
}
@media (max-width: 560px) { .step { padding: 32px 22px; } }
.step.hidden { display: none; }
.step-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-right: 12px;
  border: 1px solid var(--turquoise); color: var(--turquoise);
  font-family: var(--serif); font-size: 15px; font-weight: 600;
}
.section-intro { color: var(--turquoise-hi); font-family: var(--serif); font-size: 15.5px; font-style: italic; margin-top: 2px; }

.question { margin: 34px 0; }
.question.hidden { display: none; }
.q-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15.5px; }
.optional { color: var(--muted); font-weight: 400; font-size: 10px; margin-left: 10px; text-transform: uppercase; letter-spacing: .2em; }
.q-help { color: var(--muted); font-size: 13.5px; margin: -2px 0 12px; }

input[type="text"], input[type="email"], input[type="date"], input[type="number"], textarea {
  width: 100%; background: var(--onyx-0); color: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px; font: inherit;
  transition: border-color .2s ease;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus { outline: none; border-color: var(--turquoise); }

.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--onyx-0); border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px; cursor: pointer; font-size: 15px;
  transition: border-color .2s ease;
}
.choice:hover { border-color: var(--turquoise); }
.choice input { accent-color: var(--turquoise); margin-top: 4px; flex: none; }
.consents .choice { font-size: 13.5px; color: var(--muted); }
.other-line { margin-top: 2px; }

/* ── Rank cards (tap in order; first tap = 1) ──────────────────────────────
   Buttons wearing the .choice card look — buttons inherit nothing, so font,
   width and color are restated. The badge is the empty circle that fills
   with the pick number; order lives in hidden inputs, not the DOM here. */
.rank-card {
  width: 100%; text-align: left; font: inherit; color: var(--white);
  align-items: center; -webkit-appearance: none; appearance: none;
}
.rank-badge {
  flex: none; width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--onyx-0);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: border-color .2s ease;
}
.rank-card:hover .rank-badge { border-color: var(--turquoise); }
.rank-card.ranked { border-color: var(--turquoise); background: rgba(43, 199, 181, .08); }
.rank-card.ranked .rank-badge {
  background: var(--turquoise); border-color: var(--turquoise);
}

.field-error, .step-error { color: var(--error); font-size: 13.5px; margin-top: 10px; font-weight: 600; }

.btn {
  display: inline-block; background: var(--turquoise); color: var(--onyx-0);
  font-weight: 700; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  border: none; border-radius: 2px; padding: 17px 34px; cursor: pointer;
  margin-top: 14px; text-decoration: none;
  /* An <a class="btn"> gets none of a <button>'s manners: the call's full
     name wraps to two lines at 375px, and it must wrap CENTRED. */
  text-align: center; line-height: 1.5;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--turquoise-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--turquoise); border: 1px solid var(--turquoise); }
.submit-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; letter-spacing: .04em; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
/* ── Weekly Coaching Check-In ──────────────────────────────────────────────
   His own words from last week, quoted back above this week's first question.
   Serif and turquoise so it reads as HIS line, not ours. */
.prior-commitment {
  margin-top: 28px; padding-left: 16px; border-left: 1px solid var(--turquoise);
  color: var(--muted); font-size: 15px; max-width: 58ch;
}
.prior-commitment em { color: var(--turquoise-hi); font-family: var(--serif);
  font-style: italic; font-size: 16.5px; }

/* The 1-10 trajectory question is a select of numeric strings (a `number`
   input is hard-coded to ages here, and a new field type would touch four
   files for one question). These rules are what make it read as a scale
   instead of ten stacked radio rows. */
.question[data-qid="trajectory"] .choices {
  /* .choices is a COLUMN by default — without resetting direction the ten
     numbers stack full-width and read as ten separate questions. */
  flex-direction: row; flex-wrap: wrap; gap: 8px;
}
.question[data-qid="trajectory"] .choice {
  flex: 0 0 auto; min-width: 52px; justify-content: center; text-align: center;
}
.question[data-qid="trajectory"] .choice input { display: none; }
.question[data-qid="trajectory"] .choice span { padding: 0; font-weight: 600; }
.question[data-qid="trajectory"] .choice:has(input:checked) {
  border-color: var(--turquoise); background: rgba(43, 199, 181, .08);
}

/* Secondary ending action: a quiet text link by default. One primary CTA
   per screen — the secondary exists to name a cheaper door, not to compete
   with the one we want him to take. The single deliberate exception is a
   spec cta2 marked style:"button" (the qualified fork: book the call vs pay
   in full), which ending.html renders as a ghost button instead. */
.ending-secondary { margin-top: 18px; font-size: 14px; }
.ending-secondary a { color: var(--muted); text-decoration-color: var(--line); }
.ending-secondary a:hover { color: var(--turquoise); }

.prose p { color: var(--muted); }

/* Honeypot: visually gone, still in the DOM for bots. */
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }

/* ── Admin response view (Front Door campaign) ─────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.admin-table th { text-align: left; color: var(--muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: .18em; padding: 8px 10px;
  border-bottom: 1px solid var(--line); }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table a { color: var(--turquoise); text-decoration: none; }
.admin-table a:hover { color: var(--turquoise-hi); }
.admin-table .q-col { width: 45%; color: var(--muted); }
.badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--turquoise);
  border-radius: 999px; color: var(--turquoise); font-size: 12px; letter-spacing: .06em; }

/* ── Admin: who is signed in, team access, sharing (2026-09-24) ─────────── */
.admin-bar { display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 0; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.admin-bar + .hero { padding-top: 48px; }
.admin-bar strong { color: var(--white); font-weight: 600; }
.admin-bar-links { display: flex; align-items: center; gap: 18px; }
.admin-bar-links a { color: var(--muted); text-decoration: none; }
.admin-bar-links a:hover { color: var(--turquoise); }
.admin-bar form { margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted);
  cursor: pointer; }
.linklike:hover { color: var(--turquoise); }
.notice { border-left: 1px solid var(--turquoise); padding: 4px 0 4px 14px;
  color: var(--white); font-size: 14.5px; margin-top: 18px; }
.btn.small { font-size: 11px; padding: 8px 14px; margin: 0; }
input[type="password"], select {
  width: 100%; background: var(--onyx-0); color: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px; font: inherit; transition: border-color .2s ease; }
select:focus, input[type="password"]:focus { outline: none; border-color: var(--turquoise); }
.key-door { margin-top: 40px; max-width: 420px; }
.key-door summary { color: var(--muted); font-size: 13.5px; cursor: pointer; }
.key-door summary:hover { color: var(--turquoise); }
.share-panel { max-width: 760px; margin: 0 auto; padding: 8px 24px 64px;
  border-top: 1px solid var(--line); }
.share-panel h2 { margin-top: 40px; }
.share-panel h3 { margin: 36px 0 6px; font-size: 16px; }
.share-panel .question { margin: 18px 0; }
.share-form .choice, .team-form .choice { margin: 6px 0 4px; }
.copy-text { font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 10px 0 4px; min-height: 160px; }
.copy-box { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.copy-box input { flex: 1 1 320px; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-box .btn { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
/* Team tables on a phone: an address may break anywhere, the "Added" column
   steps aside, and a table that is still too wide scrolls inside its own box
   rather than dragging the whole page sideways. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table td.who { overflow-wrap: anywhere; }
@media (max-width: 560px) { .admin-table .col-optional { display: none; } }
.admin-section { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
@media (max-width: 560px) {
  /* main already carries the 24px phone gutter; a second one inside it
     squeezed the team table into a column of broken addresses. */
  .admin-section { padding: 0 0 48px; }
  .share-panel { padding: 8px 0 48px; }
}
