/* ============================================================================
 * /get-started/ styles. Mobile first. Tokens come from /css/styles.css :root
 * (bone-cream, bone-white, bone-black, marrow-red, steel). No new tokens.
 * The iOS app opens https://marrowfitness.com/get-started, so this is the
 * primary phone surface: single column, large tap targets, no horizontal
 * scroll.
 * ==========================================================================*/

.gs-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bone-black);
  color: var(--bone-white);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.gs-skip:focus { left: 0; }

.gs {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 96px;
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  color: var(--bone-black);
}

.gs-mark-row { margin-bottom: 28px; }
.gs-word {
  font-family: var(--display, var(--serif, "Fraunces", Georgia, serif));
  font-weight: var(--weight-serif, 400);
  letter-spacing: 0.16em;
  font-size: 16px;
  color: var(--bone-black);
}

/* Stepper */
.gs-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gs-step {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  color: var(--steel);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--steel-light);
}
.gs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--bone-black);
  font-weight: 550;
  font-size: 11px;
}
.gs-step.is-current { color: var(--bone-black); border-bottom-color: var(--marrow-red); }
.gs-step.is-current .gs-step-num { background: var(--bone-black); color: var(--bone-white); }
.gs-step.is-done { color: var(--bone-black); border-bottom-color: var(--marrow-red); }
.gs-step.is-done .gs-step-num { background: var(--bone-black); color: var(--bone-white); }

/* Panels */
.gs-panel { display: none; }
.gs-panel.is-active { display: block; }

.gs-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marrow-red);
  margin: 0 0 12px;
}
.gs h1 {
  font-family: var(--display, var(--serif, "Fraunces", Georgia, serif));
  font-weight: var(--weight-serif, 400);
  font-size: clamp(26px, 6.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--bone-black);
}
.gs-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0 0 24px;
}

/* Forms */
.gs-form { display: flex; flex-direction: column; gap: 16px; }
.gs-field-row { display: flex; gap: 12px; }
.gs-field-row .gs-field { flex: 1; }
.gs-field { display: flex; flex-direction: column; gap: 6px; }
.gs-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.gs-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--marrow-accent, var(--marrow-red)); }
.gs-check a { color: var(--marrow-accent, var(--marrow-red)); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.gs-label {
  font-size: 13px;
  font-weight: 550;
  color: var(--bone-black);
}
.gs-optional { font-weight: 400; color: var(--steel); font-size: 12px; }
.gs-field input {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--steel-light);
  border-radius: 10px;
  background: var(--bone-white);
  color: var(--bone-black);
  width: 100%;
}
.gs-field input:focus {
  outline: none;
  border-color: var(--marrow-red);
  box-shadow: none;
}

/* ---- Password block ----
   The hint line and the readiness line sit under the two password inputs. They
   are the only running prose inside the form, so they read as sentences rather
   than as labels. */
.gs-field-help {
  margin: -8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--steel);
  font-family: "Public Sans", system-ui, sans-serif;
}
.gs-pw-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: -8px;
}
.gs-pw-row .gs-field-help { margin: 0; flex: 1; }
.gs-pw-toggle {
  flex-shrink: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone-black);
  /* A text underline, not a border, so it stays under the word when the tap
     box grows to its floor. */
  text-decoration: underline;
  text-decoration-color: var(--marrow-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  min-height: 24px;
  min-width: 24px;
}
.gs-pw-toggle:hover,
.gs-pw-toggle:focus-visible { color: var(--marrow-red); }

.gs-field-error {
  color: var(--mz-status-risk, #9E2B18);
  font-size: 14px;
  margin: 4px 0 0;
  font-weight: 500;
}

/* Buttons */
.gs-btn {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 550;
  padding: 15px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  transition: background 0.16s ease, transform 0.08s ease;
}
.gs-btn-primary { background: var(--mz-ember); color: var(--mz-on-ember); border-color: transparent; }
.gs-btn-primary:hover { background: var(--mz-ember-pressed); color: var(--mz-on-ember); border-color: transparent; }
.gs-btn-primary:active { transform: translateY(1px); }
.gs-btn-primary:disabled { opacity: 0.6; cursor: default; }
.gs-btn-ghost {
  background: transparent;
  color: var(--bone-black);
  border-color: var(--steel-light);
}
.gs-btn-ghost:hover { border-color: var(--steel); }
/* A ghost button had no disabled state, so the pay in full button looked
   pressable while a provider was still finishing setup. The primary button has
   carried this rule all along; the two now read the same when they are off. */
.gs-btn-ghost:disabled { opacity: 0.6; cursor: default; }
.gs-btn-ghost:disabled:hover { border-color: var(--steel-light); }
.gs-back { margin-top: 24px; width: auto; padding: 12px 20px; }

.gs-linkbtn {
  background: none;
  border: none;
  color: var(--marrow-red);
  font: inherit;
  font-weight: 550;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.gs-signin { margin: 22px 0 0; font-size: 15px; color: var(--steel); }
.gs-signin-sent { margin: 12px 0 0; font-size: 15px; color: var(--bone-black); font-weight: 500; }

/* Search + chips */
.gs-search { margin: 0 0 14px; }
.gs-search input {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--steel-light);
  border-radius: 12px;
  background: var(--bone-white);
  color: var(--bone-black);
  width: 100%;
}
.gs-search input:focus {
  outline: none;
  border-color: var(--marrow-red);
  box-shadow: none;
}
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.gs-chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--steel-light);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
}
.gs-chip.is-on { background: var(--bone-black); color: var(--bone-white); border-color: var(--bone-black); }

/* Results */
.gs-results { display: flex; flex-direction: column; gap: 10px; }
.gs-provider-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--steel-light);
  border-radius: 14px;
  background: var(--paper-card);
  cursor: pointer;
}
.gs-provider-card:hover { border-color: var(--marrow-red); }
.gs-provider-card:focus-visible {
  outline: none;
  border-color: var(--marrow-red);
  box-shadow: none;
}
.gs-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display, var(--serif, "Fraunces", Georgia, serif));
  font-weight: var(--weight-serif, 400);
  color: var(--bone-black);
  font-size: 16px;
}
.gs-provider-meta { flex: 1; min-width: 0; }
.gs-provider-name {
  font-weight: 580;
  font-size: 16px;
  color: var(--bone-black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gs-provider-sub {
  font-size: 13px;
  color: var(--steel);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bone-black);
  color: var(--bone-white);
  font-weight: 500;
}
.gs-badge-type {
  background: var(--surface-2);
  color: var(--bone-black);
}
.gs-results-empty, .gs-tiers-note {
  color: var(--steel);
  font-size: 15px;
  margin: 16px 0 0;
}

/* Tiers */
.gs-provider-summary-strong { color: var(--bone-black); font-weight: 550; }
.gs-tiers { display: flex; flex-direction: column; gap: 12px; }
.gs-tier {
  border: 1px solid var(--steel-light);
  border-radius: 16px;
  background: var(--paper-card);
  padding: 18px;
}
.gs-tier-name {
  font-family: var(--display, var(--serif, "Fraunces", Georgia, serif));
  font-weight: var(--weight-serif, 400);
  font-size: 18px;
  color: var(--bone-black);
  margin: 0 0 4px;
}
.gs-tier-price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  color: var(--marrow-red);
  font-weight: 550;
  margin: 0 0 10px;
}
.gs-tier-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  margin: 0 0 14px;
}
.gs-tier .gs-btn { margin-top: 4px; }
/* Separates each disclosure from whatever sits above it. A card can now carry
   two of them, one per way to pay, and each has to read as belonging to the
   button under it rather than to the button over it. */
.gs-tier .gs-tier-disclosure { margin-top: 10px; }

.gs-help {
  margin: 44px 0 0;
  font-size: 14px;
  color: var(--steel);
  text-align: center;
}
.gs-help a { color: var(--marrow-red); }

.gs-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (min-width: 560px) {
  .gs { padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-btn, .gs-provider-card { transition: none; }
}

/* ===== ATELIER, 2026-09-16 (BLUEPRINT E1, Get started). The wizard keeps its
   640 column under the Atelier main cap, the one filled pill is bone black, the
   ghost is the ghost, the wordmark is the serif in sentence case, and the
   password help sits under its input instead of over it. Prefixed, order wins. ===== */
:root[data-mz-console="atelier"] main.gs { max-width: 640px; }
:root[data-mz-console="atelier"] .gs-word { font-family: var(--serif); font-weight: var(--weight-serif); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--ink-primary); }
:root[data-mz-console="atelier"] .gs h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.25; letter-spacing: -1px; color: var(--ink-primary); }
:root[data-mz-console="atelier"] .gs h1:focus { outline: none; }
:root[data-mz-console="atelier"] .gs-lede { color: var(--ink-secondary); }
:root[data-mz-console="atelier"] .gs-eyebrow { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.5px; color: var(--marrow-accent); text-transform: uppercase; }
:root[data-mz-console="atelier"] .gs-btn { border-radius: 999px; font-weight: 500; min-height: 48px; }
:root[data-mz-console="atelier"] .gs-btn-primary { background: var(--mz-ember); color: var(--mz-on-ember); border-color: var(--mz-ember); }
:root[data-mz-console="atelier"] .gs-btn-primary:hover { background: var(--mz-ember-pressed); border-color: var(--mz-ember-pressed); }
:root[data-mz-console="atelier"] .gs-btn-primary:disabled { background: transparent; border-color: var(--rule-strong); color: var(--ink-tertiary); opacity: 1; }
:root[data-mz-console="atelier"] .gs-btn-ghost { color: var(--ink-secondary); border-color: var(--ink-secondary); }
:root[data-mz-console="atelier"] .gs-btn-ghost:hover { color: var(--ink-primary); border-color: var(--ink-primary); }
:root[data-mz-console="atelier"] .gs-field input { border-radius: 12px; border-color: var(--rule-strong); background: var(--paper-card); }
:root[data-mz-console="atelier"] .gs-field input:focus { border-color: var(--marrow-accent); box-shadow: none; outline: 2px solid var(--mz-ember); outline-offset: 0; }
:root[data-mz-console="atelier"] .gs-field-help, :root[data-mz-console="atelier"] .gs-pw-row { margin-top: 0; }
:root[data-mz-console="atelier"] .gs-field-help { color: var(--ink-muted); }
:root[data-mz-console="atelier"] :is(.gs-provider-card, .gs-plan-card, .gs-card) { background: var(--paper-card); border: 1px solid var(--rule-soft); border-radius: var(--radius-card); }

/* TAP FLOOR on a phone: the Show toggle measured 30x14 at 390. */
@media (max-width: 767px) {
  .gs-pw-toggle { min-height: 44px; min-width: 44px; }
}

/* ---- Visual premium pass, 2026-10-03 (docs/design-brief-20261003.md D3, D8,
   section 4.1). The step headline is the one display element, every line
   under it is the small tier, the stepper is ink, and the accent fills the
   one submit (the .is-signal rule in assets/css/atelier-public.css). ---- */
:root[data-mz-console="atelier"] .gs h1 { font-size: 48px; letter-spacing: -1.2px; }
:root[data-mz-console="atelier"] main p.gs-eyebrow { color: var(--ink-muted); }
:root[data-mz-console="atelier"] .gs-steps { font-size: 12px; }
:root[data-mz-console="atelier"] .gs-step-num { font-size: 12px; }
:root[data-mz-console="atelier"] :is(.gs-step.is-current, .gs-step.is-done) { border-bottom-color: var(--ink-primary); }
:root[data-mz-console="atelier"] :is(.gs-step.is-current, .gs-step.is-done) .gs-step-num { background: var(--ink-primary); color: var(--paper-card); }
:root[data-mz-console="atelier"] main p.gs-lede { font-size: 14px; line-height: 1.5; color: var(--ink-primary); }
:root[data-mz-console="atelier"] main p.gs-field-help { font-size: 14px; line-height: 1.5; }
:root[data-mz-console="atelier"] main p.gs-signin { font-size: 14px; }
@media (max-width: 559px) { :root[data-mz-console="atelier"] .gs h1 { font-size: 40px; letter-spacing: -1px; } }
:root[data-mz-console="atelier"] .gs-btn-primary.is-signal { background: var(--mz-ember); color: var(--mz-on-ember); border-color: transparent; border-color: var(--marrow-accent); }
:root[data-mz-console="atelier"] .gs-btn-primary.is-signal:hover { background: var(--mz-ember-pressed); color: var(--mz-on-ember); border-color: transparent; border-color: var(--marrow-accent-strong); }

/* LEAD-014 (persona QA 2026-11-10). A member joining their coach or gym is
   not a coach shopping for Marrow: the shared header's coach Join now is left
   off this page so the one accent goes to the member's own next step. The
   step heading takes focus for screen readers on every step change; it is not
   a control, so it draws no focus ring. */
body.pub .nav .nav-cta { display: none; }
.gs h1[tabindex="-1"]:focus { outline: none; }
/* LEAD-014: the atelier focus ring ([tabindex]:focus-visible, 0,4,0) outranked the rule above,
   so a heading the page moves focus to still drew a ring. Moved focus is not a keyboard stop. */
:root[data-mz-console="atelier"] .gs h1[tabindex="-1"]:focus-visible { outline: none; }
/* F-185: public.css "#main :focus-visible" (1,1,0) outranked both rules above.
   This one carries the id (1,3,1) and names only the moved focus heading, so
   every real control on the page keeps its ring. */
#main.gs h1[tabindex="-1"]:focus,
#main.gs h1[tabindex="-1"]:focus-visible { outline: none; }
.gs-link-btn { background: none; border: 0; padding: 0; min-height: 24px; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gs-link-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
