/* Instructor Tool styles, Owner Stride brand.
   Palette F (decided 2026-11-25): primary green #1F4433, slate blue
   #5B7A94 as the accent, clean white surfaces with a light neutral
   panel tint. Green carries the call-to-action buttons; slate is
   reserved for badges, highlights, links, and small markers.
   Headings in a sturdy serif system stack, body in a clean sans
   system stack. No external fonts, no textures, no decoration.
   Mobile-first, large tap targets, high contrast text. */

:root {
  --ink: #242a2c;
  --muted: #5d666b;
  --line: #dde1e3;
  --bg: #ffffff;
  --card: #ffffff;
  --brand: #1f4433;
  --brand-ink: #ffffff;
  --accent: #5b7a94;
  --accent-dark: #3f6079;
  --accent-ink: #ffffff;
  --attention: #b03a2e;
  --waiting: #8a6d1a;
  --ontrack: #2e7d46;
  --radius: 14px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype",
    "Book Antiqua", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* Page-level guard (sample-frame clipping fix, 2026-11-25):
     no element may push the page wider than the phone screen
     and leave the whole page panned sideways. "clip" is used
     rather than "hidden" because it does not create a scroll
     container, so the sticky landing bars keep working. */
  overflow-x: hidden;
  overflow-x: clip;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

h1, h2, .brand, .price-big, .step-title {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

/* Top bar: the dark green brand band */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(31, 68, 51, 0.22);
}

.topbar .brand {
  font-weight: 700;
  font-size: 1.05rem;
}

/* The brand in the top bar is a button (view-site fix,
   2026-11-27): it carries the .brand type styles above and
   needs only the button chrome stripped, so it reads as
   the brand it has always been. */
.topbar .brand-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.topbar .who {
  color: var(--brand-ink);
  opacity: 0.85;
  font-size: 0.9rem;
  text-align: right;
}

/* Screen headers */
header.screen-head {
  padding: 18px 0 6px;
}

header.screen-head h1 {
  font-size: 1.55rem;
  margin: 0 0 4px;
  color: var(--brand);
}

header.screen-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Landing hero: a deep green panel that opens on the scattered
   messages a coach actually gets, then answers them.
   Bigger hero pass (2026-11-26): the panel now carries real
   first-screen presence. Generous padding, a min-height floor
   sized to fill most of the first screen under the sticky bar
   and landing nav, and type scaled up across the headline,
   the supporting line, the lede, and the features card. The
   hero content is naturally tall, so the floor binds only on
   tall screens; it never clips, because the panel still grows
   with its content. */
.hero-panel {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 18px;
  padding: 44px 22px 48px;
  margin-top: 14px;
  min-height: calc(100svh - 170px);
  box-shadow: 0 10px 28px rgba(31, 68, 51, 0.28);
}

.hero-panel .kicker { font-size: 0.86rem; }

.hero-panel h1 {
  /* The plain headline is long; sized so it wraps into a
     few even lines at phone width instead of a ragged
     tower (both-view check, front door pass). Bigger hero
     pass: 1.78rem -> 2.2rem, line-height tightened. */
  font-size: 2.2rem;
  line-height: 1.15;
  text-wrap: balance;
  margin: 20px 0 12px;
  color: var(--brand-ink);
}

.hero-panel .hero-sub {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--brand-ink);
  opacity: 0.92;
  margin: 0 0 12px;
}

.hero-panel p.lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--brand-ink);
  opacity: 0.94;
  margin: 0 0 22px;
}

/* The hero's Start free is the page's main action: give it
   the big-button treatment without touching the markup. */
.hero-panel .cta-row .btn {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 1.1rem;
  border-radius: 14px;
}

.cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Hero family entry (quick copy fixes pass): a quiet text
   link under the CTA row, so Start free is the only big
   button in the hero. Styled as a link, wired as a button
   so the data-action dispatcher treats it like the rest. */
.hero-family-line { margin: 10px 0 0; }

.quiet-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--brand-ink);
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.quiet-link:hover { opacity: 1; }

/* The scattered week: message fragments as they arrive
   today. Sits below the hero's headline block (headline
   first, Nov 26) as the problem illustration, so it needs
   clear air after the white features card above it. On
   desktop the grid rule below overrides this margin and
   keeps the stack in the right column. */
.chaos {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 32px;
}

.chaos-item {
  max-width: 86%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.4;
}

.chaos-item .chaos-who {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a9c2d4;
  margin-bottom: 2px;
}

.chaos-item.ci-left { align-self: flex-start; border-bottom-left-radius: 4px; }
.chaos-item.ci-right { align-self: flex-end; border-bottom-right-radius: 4px; }

.chaos-item.ci-note {
  align-self: center;
  background: #f4f6f4;
  color: var(--ink);
  border-color: #cfd8d2;
  transform: rotate(-1deg);
}

.chaos-item.ci-note .chaos-who { color: var(--accent-dark); }

.chaos-label {
  text-align: center;
  color: var(--brand-ink);
  opacity: 0.75;
  font-size: 0.95rem;
  font-style: italic;
  margin: 16px 0 0;
}

/* Step cards on the landing page */
.steps {
  display: block;
  margin-top: 8px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.step-card .step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.step-card p { margin: 0; }
.step-card .step-title { font-weight: 700; margin-bottom: 2px; color: var(--brand); }

/* Made for strip under the hero: a small label and the
   audiences as pill chips that wrap evenly at any width */
.made-for {
  margin: 16px 0 2px;
  text-align: left;
}

.made-for-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.made-for-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.made-for-chip {
  background: #edf2f5;
  border: 1px solid #cfdde6;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: nowrap;
}

/* Booking hold modes on the landing page: three stacked
   rows, every line left-aligned */
.hold-intro {
  margin: 10px 0 8px;
  font-weight: 600;
  text-align: left;
}

.hold-modes { display: block; }

.hold-mode {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.hold-mode p { margin: 0; text-align: left; }

.hold-mode .hold-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 2px;
}

/* No-shows block in Booking's visible layer (audit fixes
   pass): one headed card, three named parts, all text
   left-aligned, styled to sit with the hold-mode rows. */
.noshow-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 18px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.noshow-card .noshow-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand);
  margin: 0 0 10px;
  text-align: left;
}

.noshow-item { margin-top: 12px; }

.noshow-item:first-of-type { margin-top: 0; }

.noshow-item p { margin: 0; text-align: left; }

.noshow-item .noshow-name {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 2px;
}

/* Price card */
.price-card {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 10px;
  box-shadow: 0 6px 22px rgba(91, 122, 148, 0.14);
}

.price-card .price-big {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--brand);
}

.price-card p { margin: 0 0 8px; }
.price-card p:last-child { margin-bottom: 0; }

/* Two plan cards on the landing pricing section */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.plan-grid .price-card { margin-bottom: 0; }

/* Upgrade prompt standing in a locked Pro feature's place */
.upgrade-panel {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 10px 0;
}

.upgrade-panel .card-title { margin: 0 0 4px; font-weight: 700; color: var(--brand); }
.upgrade-panel .card-detail { margin: 0 0 6px; }
.upgrade-panel .row-actions { margin-top: 8px; }

/* FAQ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.faq-item .q { font-weight: 600; margin: 0 0 4px; }
.faq-item .a { margin: 0; color: var(--ink); }

/* View toggle / nav row */
.view-toggle {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.toggle-btn {
  flex: 1;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--card);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.toggle-btn.active {
  background: var(--brand);
  color: var(--brand-ink);
}

/* Student switcher and slot picker */
.student-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.student-btn, .slot-btn {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.student-btn.active {
  border-color: var(--accent);
  background: #e7eef3;
  color: var(--accent-dark);
}

.slot-btn {
  border-radius: 12px;
  border-color: var(--brand);
  color: var(--brand);
}

/* The three home groups */
section.group {
  margin-top: 22px;
}

section.group h2,
section.plain-section h2 {
  font-size: 1.12rem;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}

section.group h2 .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

.group-attention h2 .dot { background: var(--attention); }
.group-waiting h2 .dot { background: var(--waiting); }
.group-ontrack h2 .dot { background: var(--ontrack); }

section.plain-section {
  margin-top: 34px;
}

section.plain-section h2 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.card .card-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 2px;
}

.card .card-detail {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.card .card-action {
  margin-top: 10px;
}

.empty-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 10px;
  background: rgba(244, 246, 244, 0.8);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

/* Buttons: green is the call to action */
.btn {
  display: inline-block;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(31, 68, 51, 0.28);
}

.btn:active { transform: translateY(1px); }

.btn.secondary {
  background: var(--card);
  color: var(--brand);
  border-color: var(--brand);
}

.btn.danger {
  background: var(--card);
  color: #a02c1e;
  border-color: #a02c1e;
}

.btn.small {
  min-height: 48px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.btn.block { display: block; width: 100%; }

.btn.big {
  min-height: 58px;
  padding: 16px 22px;
  font-size: 1.08rem;
  border-radius: 14px;
}

.btn.join {
  font-size: 1.1rem;
  padding: 16px 20px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* File input dressed as a button (the "send a clip" control) */
.file-btn {
  display: inline-block;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--card);
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.file-btn input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Chips */
.chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8eef2;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

.chip.demo {
  background: var(--brand);
  color: var(--brand-ink);
}

.chip.booked {
  background: #e3ecdf;
  color: var(--ontrack);
}

.chip.makeup {
  background: #dbe6ee;
  color: var(--accent-dark);
}

.chip.paid {
  background: #e3ecdf;
  color: var(--ontrack);
}

/* Mark-paid method chooser (feature pass 3) */
.pay-chooser {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Lesson terms text keeps the coach's own line breaks */
.terms-text {
  white-space: pre-wrap;
}

/* Practice timer */
.timer-box {
  text-align: center;
}

.timer-readout {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}

.timer-sub {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.progress {
  height: 12px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 4px;
}

.progress > div {
  height: 100%;
  background: var(--ontrack);
  border-radius: 999px;
}

/* Message thread */
.thread {
  margin-top: 4px;
}

.msg {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 8px;
  background: var(--card);
  max-width: 88%;
}

.msg.from-family { margin-right: auto; border-bottom-left-radius: 4px; }
.msg.from-instructor { margin-left: auto; border-bottom-right-radius: 4px; }

.msg .msg-who {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 2px;
}

.msg .msg-text { margin: 0; }

.msg .msg-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin: 4px 0 0;
}

.msg.from-instructor {
  background: #f4f6f4;
  border-color: #cfd8d2;
}

.msg.system {
  background: transparent;
  border: none;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px 8px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Forms */
form.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-top: 14px;
}

form.form-card label,
fieldset.check-group legend {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
}

form.form-card label:first-child { margin-top: 0; }

form.form-card input[type="text"],
form.form-card input[type="email"],
form.form-card input[type="password"],
form.form-card input[type="date"],
form.form-card input[type="time"],
form.form-card input[type="number"],
form.form-card select,
form.form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
}

form.form-card textarea { min-height: 84px; }

form.form-card .hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
  font-weight: 400;
}

form.form-card .btn { margin-top: 22px; }

fieldset.check-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px 12px;
  margin: 16px 0 0;
}

fieldset.check-group legend {
  margin: 0;
  padding: 0 4px;
}

fieldset.check-group label.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin: 10px 0 0;
  min-height: 40px;
}

fieldset.check-group input[type="checkbox"],
fieldset.check-group input[type="radio"] {
  width: 24px;
  height: 24px;
  flex: none;
}

.form-error {
  background: #fbeae7;
  border: 1px solid #e3b3ab;
  color: #7c2115;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.95rem;
}

.notice {
  background: #f4f6f4;
  border: 1px solid #cfd8d2;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.95rem;
}

.stub-note {
  background: #eef2f5;
  border: 1px solid #b9c9d4;
  border-left: 4px solid #5b7a94;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.95rem;
}

/* Wizard progress */
.wizard-progress {
  display: flex;
  gap: 6px;
  margin: 14px 0 4px;
}

.wizard-progress .wp-dot {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.wizard-progress .wp-dot.done { background: var(--accent); }

.wizard-progress-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Join link box */
.link-box {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
  word-break: break-all;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
  text-align: center;
}

/* Lesson door */
.door-card {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 10px;
}

.door-card .card-title { color: var(--brand-ink); font-family: var(--font-display); font-size: 1.15rem; }
.door-card .card-detail { color: var(--brand-ink); opacity: 0.88; }
.door-card .link-box { margin-top: 12px; }

/* Definition rows */
dl.rows {
  margin: 0;
}

dl.rows .row {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

dl.rows .row:last-child { border-bottom: none; }

dl.rows dt {
  flex: 0 0 108px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

dl.rows dd {
  margin: 0;
  flex: 1;
}

ul.plain-list {
  margin: 6px 0 0;
  padding-left: 20px;
}

ul.plain-list li { margin-bottom: 6px; }

footer.app-foot {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

footer.app-foot .btn { margin-top: 10px; }

/* ---------- Design pass, 2026-11-25 ----------
   Perceived-craft layer: section kickers, sample screen renderings
   in phone frames, the dark between-lesson band, checkmark feature
   lists, and a closing call-to-action band. Palette and type stay
   Owner Stride palette F: green, slate blue, white, serif headings. */

/* Section kicker: the small slate label above a heading */
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 6px;
}

.kicker.light { color: #a9c2d4; }

.micro {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}

.micro.light {
  color: var(--brand-ink);
  opacity: 0.85;
}

/* Checkmark feature lists: every line names a concrete thing */
.feat-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.feat-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.45;
}

.feat-list li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.feat-list.light li::before { color: #a9c2d4; }

.price-card .feat-list { margin-bottom: 14px; }

/* Sample screens in phone frames */
.showcase {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

@media (min-width: 580px) {
  .showcase { grid-template-columns: 1fr 1fr; align-items: start; }
}

.phone {
  background: var(--card);
  border: 1px solid #c9cfd2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31, 68, 51, 0.16);
  margin-top: 14px;
  font-size: 0.93rem;
  /* A sample frame never exceeds the screen it sits on
     (clipping fix, 2026-11-25). */
  max-width: 100%;
}

/* As a grid item the frame must also be allowed to shrink
   below its content's preferred width (clipping fix). */
.showcase .phone { margin-top: 0; min-width: 0; }

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.phone-body { padding: 14px 14px 16px; }

.phone-body .rows dt { flex-basis: 84px; }

.mock-h {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

.mock-title {
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 2px;
}

.mock-sub { color: var(--muted); font-size: 0.88rem; margin: 0; }

.mock-divider {
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.mock-lesson {
  display: flex;
  /* flex-start, not the default stretch: a status chip in
     one of these rows used to stretch to the full row height
     and render as a tall empty oval with its label riding at
     the top (Cristina's screenshot, 2026-11-25). */
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.mock-lesson:last-of-type { border-bottom: none; }

/* The chip hugs its label and never stretches or shrinks;
   the gap above does the spacing, not the chip's own
   margin. */
.mock-lesson .chip { flex: none; margin-left: 0; }

.mock-when {
  flex: 0 0 62px;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.88rem;
  line-height: 1.3;
}

/* min-width: 0 lets the text column actually shrink and
   wrap inside the frame instead of forcing the row, and
   with it the frame, wider than the phone screen. */
.mock-what { flex: 1; min-width: 0; line-height: 1.4; }

.mock-clip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mock-clip > span { min-width: 0; }

.mock-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
}

.mock-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.mock-slot {
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--card);
}

.mock-clipcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--card);
}

.mock-btn {
  margin-top: 10px;
  box-shadow: none;
  cursor: default;
}

.phone .thread .msg { max-width: 92%; }
.phone .thread .msg.system { max-width: 100%; }

/* Landing in-page nav */
.landing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 10px 2px 0;
}

.landing-nav a {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 11px 0;
}

.landing-nav a:hover { text-decoration: underline; }

/* The getting-paid band: light panel, high on the landing page */
.band-pay {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 24px 20px 26px;
  margin-top: 30px;
  box-shadow: 0 6px 22px rgba(91, 122, 148, 0.14);
}

.band-pay h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--brand);
}

.band-pay .pay-piece { margin-top: 20px; }

.band-pay .pay-piece h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--brand);
  margin: 0 0 6px;
}

.band-pay .pay-piece p { margin: 0; }

.band-pay .showcase { margin-top: 18px; }

.band-pay .pay-honest {
  background: #f4f6f4;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 20px 0 0;
}

.band-pay .cta-row { margin-top: 18px; }

/* A card inside a phone mock (the settle-up nudge card) */
.mock-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.mock-card .mock-sub { margin: 4px 0 10px; }

/* The between-lesson band: deep green, the differentiator */
.band-dark {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 18px;
  padding: 24px 20px 26px;
  margin-top: 38px;
  box-shadow: 0 10px 28px rgba(31, 68, 51, 0.28);
}

.band-dark h2 {
  color: var(--brand-ink);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.band-dark p { opacity: 0.94; }

.band-dark .phone {
  color: var(--ink);
  border-color: #12291d;
}

/* The demo band: deep green, directly under the hero and the
   Made for strip, so a visiting coach can open the real app
   from either side before reading the rest of the page. The
   two white cards are split by whose eyes: the coach's side
   and the family's side. */
.band-demo {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 18px;
  padding: 26px 20px 28px;
  margin-top: 26px;
  box-shadow: 0 10px 28px rgba(31, 68, 51, 0.28);
}

.band-demo h2 {
  color: var(--brand-ink);
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.band-demo > p { opacity: 0.94; margin: 0 0 18px; }

.demo-cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .demo-cards { grid-template-columns: 1fr 1fr; }
}

.demo-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.demo-card .demo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  margin: 0 0 4px;
}

.demo-card .demo-detail {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 0.98rem;
}

.demo-card .demo-pick {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

.demo-btns {
  display: grid;
  gap: 10px;
}

.demo-btns .btn { width: 100%; }

/* The proof line closing the demo band (audit fixes pass):
   the live app, not a claim about it, is the evidence. */
.band-demo .demo-proof {
  margin: 18px 0 0;
  font-weight: 600;
  text-align: center;
}

/* How it works expanders (balance pass): the deeper
   explanation inside a landing section, collapsed by
   default behind one labeled tap. Native details/summary. */
.how-it-works {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f6f4;
  margin-top: 16px;
  padding: 0 14px;
  text-align: left;
}

.how-it-works summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  padding: 4px 0;
}

.how-it-works .how-body { padding: 2px 0 14px; }

.how-it-works .how-body > :first-child { margin-top: 0; }

/* The expander inside the deep green band reads light */
.band-dark .how-it-works {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.band-dark .how-it-works summary { color: var(--brand-ink); }

/* The expander inside the getting-paid card sits on white */
.band-pay .how-it-works { background: #f7f9f7; }

/* Feature sections sit a little tighter to their mock */
section.feat .phone { margin-bottom: 4px; }

/* Closing call to action */
.cta-band {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 18px;
  padding: 26px 20px 28px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(31, 68, 51, 0.28);
}

.cta-band h2 {
  color: var(--brand-ink);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

.cta-band .cta-row { justify-content: center; }

/* Maker line under the closing band (audit fixes pass):
   one quiet, human line naming who stands behind it. */
.maker-line {
  margin: 22px 0 4px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Landing CTA pass, 2026-11-25 ----------
   The signup stays one tap away at any scroll depth: a sticky
   top bar, a sticky bottom bar on phone widths, and a compact
   CTA row at the natural breaks. All three are rendered only
   by the landing screen, so they never appear inside the app. */

.sticky-bar {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius);
  padding: 8px 10px 8px 16px;
  margin-top: 6px;
  box-shadow: 0 6px 18px rgba(31, 68, 51, 0.25);
}

.sticky-bar .sticky-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.sticky-bar .sticky-btn {
  background: var(--brand-ink);
  color: var(--brand);
  border-color: var(--brand-ink);
  box-shadow: none;
}

/* The compact CTA row at the natural breaks */
.cta-mid {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-mid .cta-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.band-pay .cta-mid { margin-top: 18px; }

/* The sticky bottom bar and its spacer stay hidden until
   phone widths, where the bar is fixed to the viewport and
   the spacer keeps it from covering the end of the page. */
.sticky-bottom { display: none; }
.sticky-bottom-spacer { display: none; }

@media (max-width: 640px) {
  .sticky-bottom {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(31, 68, 51, 0.12);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-bottom-in {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .sticky-bottom .btn { flex: 1 1 auto; }

  .sticky-bottom-note {
    font-weight: 600;
    color: var(--brand);
    white-space: nowrap;
  }

  .sticky-bottom-spacer {
    display: block;
    height: 86px;
  }
}

/* Form focus: a visible slate ring instead of the browser default */
form.form-card input:focus,
form.form-card select:focus,
form.form-card textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(91, 122, 148, 0.3);
  outline-offset: 0;
}

/* ---------- Branding pass, 2026-11-25 ----------
   The family-page brand band, the Powered by line, and the
   coach accent scope. Palette F stays the default everywhere:
   the scope variable starts at the product green, and a Pro
   coach's picked accent replaces it on family pages only, for
   the buttons, headings, and links. The coach's own dashboard
   never sits inside the scope, so it always wears palette F. */

.fam-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(31, 68, 51, 0.05), 0 5px 16px rgba(31, 68, 51, 0.05);
}

.fam-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  flex: none;
}

.fam-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
  color: var(--brand);
}

.fam-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.powered-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 30px 0 0;
}

.powered-line.small { font-size: 0.8rem; }

.fam-scope { --coach-accent: #1f4433; }

.fam-scope .fam-brand-name { color: var(--coach-accent); }

.fam-scope .btn {
  background: var(--coach-accent);
  border-color: var(--coach-accent);
}

.fam-scope .btn.secondary {
  background: var(--card);
  color: var(--coach-accent);
}

.fam-scope .btn.danger {
  background: var(--card);
  color: #a02c1e;
  border-color: #a02c1e;
}

.fam-scope header.screen-head h1 { color: var(--coach-accent); }

.fam-scope section.plain-section h2,
.fam-scope section.group h2 { color: var(--coach-accent); }

.fam-scope .slot-btn {
  border-color: var(--coach-accent);
  color: var(--coach-accent);
}

.fam-scope .door-card { background: var(--coach-accent); }

.fam-scope .toggle-btn {
  border-color: var(--coach-accent);
  color: var(--coach-accent);
}

.fam-scope .toggle-btn.active {
  background: var(--coach-accent);
  color: var(--brand-ink);
}

.fam-scope .file-btn {
  border-color: var(--coach-accent);
  color: var(--coach-accent);
}

.fam-scope .link-box {
  border-color: var(--coach-accent);
  color: var(--coach-accent);
}

.fam-scope .timer-readout { color: var(--coach-accent); }

.fam-scope .notice { border-left-color: var(--coach-accent); }

.fam-scope a { color: var(--coach-accent); }

/* Settings branding controls: logo preview and accent swatches */
.brand-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.brand-logo-preview {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.swatch.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

/* ---------- Responsive + readability pass, 2026-11-25 ----------
   Three parts. (1) The hero family box: the second door, stated
   plainly under the coach's Start free. (2) Anchor jumps land
   with the section heading clear of the sticky bar, at every
   width. (3) A desktop treatment at 1024px and up: the landing
   screen (and only the landing screen, marked by the hero
   panel's presence) widens to 1120px and its sections use the
   width in grids, with a larger type scale and looser leading.
   Below 1024px nothing in this block applies, and the phone
   layout, sticky top bar, and phone sticky bottom bar are
   unchanged. Palette F only: green, slate, white. */

/* (1) The family door in the hero: a quiet panel on the green,
   in the same visual language as the chaos bubbles. */
.hero-family-box {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
}

.hero-family-box p { margin: 0; line-height: 1.5; }

.hero-family-box .hero-family-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-family-box .hero-family-line { margin-top: 8px; }

/* (2) Anchor targets clear the sticky bar when jumped to. */
section[id] { scroll-margin-top: 92px; }

/* (3) Desktop treatment */
@media (min-width: 1024px) {

  /* The landing widens to 1400px. The app's own screens
     widen too, to 1200px, in the all-screens subsection at
     the end of this media query (2026-11-27); this rule's
     higher specificity keeps the landing at its own width
     and padding. */
  .wrap:has(.hero-panel) {
    max-width: 1400px;
    padding: 24px 40px 56px;
  }

  /* Readability: bigger headings, looser leading, and
     paragraph blocks held to a readable line length. */
  .wrap:has(.hero-panel) section.plain-section h2 { font-size: 1.65rem; }
  .wrap:has(.hero-panel) .band-pay h2,
  .wrap:has(.hero-panel) .band-dark h2 { font-size: 1.8rem; }
  .wrap:has(.hero-panel) .band-demo h2 { font-size: 1.9rem; }
  .wrap:has(.hero-panel) .cta-band h2 { font-size: 1.8rem; }

  .wrap:has(.hero-panel) section.plain-section p,
  .wrap:has(.hero-panel) .band-pay p,
  .wrap:has(.hero-panel) .band-dark p,
  .wrap:has(.hero-panel) .band-demo p { line-height: 1.6; }

  .wrap:has(.hero-panel) section.plain-section > p,
  .wrap:has(.hero-panel) .band-pay > p,
  .wrap:has(.hero-panel) .band-dark > p,
  .wrap:has(.hero-panel) .band-demo > p {
    font-size: 1.05rem;
    max-width: 68ch;
  }

  /* The in-page nav: one comfortable row, larger targets. */
  .wrap:has(.hero-panel) .landing-nav {
    gap: 6px 26px;
    padding-top: 14px;
  }

  .wrap:has(.hero-panel) .landing-nav a { font-size: 1rem; }

  .wrap:has(.hero-panel) .sticky-bar { padding: 10px 12px 10px 20px; }
  .wrap:has(.hero-panel) .sticky-bar .sticky-brand { font-size: 1.2rem; }

  /* Hero: copy on the left, the scattered week on the right.
     Bigger hero pass: deeper padding and a first-screen
     min-height floor; align-content keeps the rows packed at
     the top so any extra height reads as breathing room at
     the bottom of the panel, not stretched gaps. */
  .wrap:has(.hero-panel) .hero-panel {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    column-gap: 56px;
    align-items: start;
    align-content: start;
    padding: 76px 72px 84px;
    min-height: calc(100svh - 190px);
  }

  .wrap:has(.hero-panel) .hero-panel .kicker { grid-column: 1; grid-row: 1; }
  .wrap:has(.hero-panel) .hero-panel h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: 3.9rem;
    line-height: 1.08;
    margin: 16px 0 18px;
  }
  .wrap:has(.hero-panel) .hero-panel .hero-sub {
    grid-column: 1;
    grid-row: 3;
    font-size: 2.1rem;
  }
  .wrap:has(.hero-panel) .hero-panel p.lede {
    grid-column: 1;
    grid-row: 4;
    font-size: 1.45rem;
    line-height: 1.55;
  }
  .wrap:has(.hero-panel) .hero-panel .cta-row { grid-column: 1; grid-row: 5; margin-top: 14px; }
  .wrap:has(.hero-panel) .hero-panel .cta-row .btn {
    min-height: 62px;
    padding: 16px 34px;
    font-size: 1.15rem;
  }
  .wrap:has(.hero-panel) .hero-panel .hero-features {
    grid-column: 1;
    grid-row: 6;
    padding: 24px 26px 16px;
    margin-top: 28px;
  }
  .wrap:has(.hero-panel) .hero-panel .hero-features-title { font-size: 1.5rem; }
  .wrap:has(.hero-panel) .hero-panel .standout-list li { font-size: 1.08rem; }
  .wrap:has(.hero-panel) .hero-panel .chaos-item { font-size: 1.05rem; }
  .wrap:has(.hero-panel) .hero-panel .micro { grid-column: 1; grid-row: 7; }
  .wrap:has(.hero-panel) .hero-panel .chaos {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 4px;
  }
  .wrap:has(.hero-panel) .hero-panel .chaos-item { max-width: 92%; }
  .wrap:has(.hero-panel) .hero-panel .chaos-label {
    grid-column: 2;
    grid-row: 7;
    align-self: end;
  }

  /* Phone mocks keep a phone's proportions, centered in
     whatever wider cell they sit in. */
  .wrap:has(.hero-panel) .phone {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .wrap:has(.hero-panel) .band-demo { padding: 36px 40px 40px; }
  .wrap:has(.hero-panel) .demo-card { padding: 22px 20px; }

  /* Getting paid: roomier band, the two sample screens
     centered as a pair, the four pieces in two columns
     inside the expander, the three hold modes side by side. */
  .wrap:has(.hero-panel) .band-pay { padding: 36px 40px 40px; }

  .wrap:has(.hero-panel) .band-pay .showcase {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  .wrap:has(.hero-panel) .band-pay .how-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 32px;
  }

  .wrap:has(.hero-panel) .band-pay .pay-piece { margin-top: 10px; }

  .wrap:has(.hero-panel) .hold-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .wrap:has(.hero-panel) .hold-mode { margin-bottom: 0; }

  /* Feature sections (Booking): words on the left, the
     sample screen on the right, the wide blocks full width. */
  .wrap:has(.hero-panel) section.feat {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 36px;
    align-items: start;
  }

  .wrap:has(.hero-panel) section.feat > .kicker { grid-column: 1; grid-row: 1; }
  .wrap:has(.hero-panel) section.feat > h2 { grid-column: 1; grid-row: 2; }
  .wrap:has(.hero-panel) section.feat > p:not(.kicker) { grid-column: 1; grid-row: 3; }
  .wrap:has(.hero-panel) section.feat > .phone {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
  .wrap:has(.hero-panel) section.feat > .noshow-card,
  .wrap:has(.hero-panel) section.feat > .how-it-works { grid-column: 1 / -1; }

  /* The no-show block: its three parts side by side. */
  .wrap:has(.hero-panel) .noshow-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px;
    padding: 20px;
  }

  .wrap:has(.hero-panel) .noshow-card .noshow-title { grid-column: 1 / -1; }
  .wrap:has(.hero-panel) .noshow-item { margin-top: 0; }

  /* Between lessons: words on the left, the clip screen
     on the right, the expander full width under both. */
  .wrap:has(.hero-panel) .band-dark {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 36px;
    align-items: start;
    padding: 36px 40px 40px;
  }

  .wrap:has(.hero-panel) .band-dark > .kicker { grid-column: 1; grid-row: 1; }
  .wrap:has(.hero-panel) .band-dark > h2 { grid-column: 1; grid-row: 2; }
  .wrap:has(.hero-panel) .band-dark > p:not(.kicker) { grid-column: 1; grid-row: 3; }
  .wrap:has(.hero-panel) .band-dark > .phone {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
  .wrap:has(.hero-panel) .band-dark > .how-it-works { grid-column: 1 / -1; }

  /* Setup: the four steps in a two-by-two grid. */
  .wrap:has(.hero-panel) .steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .wrap:has(.hero-panel) .step-card { margin-bottom: 0; }

  /* Questions: two columns of answers, heading full width. */
  .wrap:has(.hero-panel) section#questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .wrap:has(.hero-panel) section#questions > .kicker,
  .wrap:has(.hero-panel) section#questions > h2 { grid-column: 1 / -1; }

  .wrap:has(.hero-panel) .faq-item { margin-bottom: 0; }

  .wrap:has(.hero-panel) .cta-band { padding: 40px; }

  /* ---------- All screens widen, 2026-11-27 ----------
     Cristina's ruling: every screen gets the width on
     desktop, not just the landing. The wrap goes to
     1200px (the landing keeps its 1400px: the :has rule
     above carries the higher specificity and still wins
     there). Every rule in this subsection is guarded to
     the non-landing screens by the same :has test,
     inverted, and all of it sits inside this media
     query, so below 1024px nothing changes at all.

     Card lists flow into two columns. Two, not three:
     at the 1200px wrap a card lands near 550px, the
     measure the cards were designed at in the 620px
     column, so titles, detail lines, and action rows
     keep the room they were written for. Everything
     that is not a card spans the full width, so
     headings, intros, forms, and threads keep the
     reading order they have on the phone. minmax(0, 1fr)
     and min-width: 0 keep any wide child from pushing
     the page sideways; the body's overflow-x clip guard
     stands behind them. */

  .wrap { max-width: 1200px; padding: 24px 32px 56px; }

  /* The section and the family scope are the containers
     the app renders its card lists into: sibling cards
     under a heading, on the dashboard, billing, help,
     the wizard, the join and coach pages, the family
     home groups, and the family page's loose reminder
     and settle-up cards (direct children of .fam-scope). */
  .wrap:not(:has(.hero-panel)) section.plain-section,
  .wrap:not(:has(.hero-panel)) section.group,
  .wrap:not(:has(.hero-panel)) .fam-scope {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
  }

  .wrap:not(:has(.hero-panel)) section.plain-section > *,
  .wrap:not(:has(.hero-panel)) section.group > *,
  .wrap:not(:has(.hero-panel)) .fam-scope > * {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .wrap:not(:has(.hero-panel)) section.plain-section > .card,
  .wrap:not(:has(.hero-panel)) section.group > .card,
  .wrap:not(:has(.hero-panel)) section.plain-section > .faq-item,
  .wrap:not(:has(.hero-panel)) section.plain-section > .door-card,
  .wrap:not(:has(.hero-panel)) .fam-scope > .card {
    grid-column: auto;
  }

  /* Reading width: single forms and message threads
     stay at the measure they were written for, and
     section intro paragraphs keep the landing's own
     68ch line length. */
  .wrap:not(:has(.hero-panel)) form.form-card { max-width: 760px; }

  .wrap:not(:has(.hero-panel)) .thread { max-width: 760px; }

  .wrap:not(:has(.hero-panel)) section.plain-section > p,
  .wrap:not(:has(.hero-panel)) section.group > p { max-width: 68ch; }
}

/* =====================================================================
   Front door pass (2026-11-25): the hero features card, the
   family door card in the demo band, the pricing table, and
   the public coach page's confirmation pieces. Palette F
   only; presence comes from weight, size, and border
   contrast, never new colors.
   ===================================================================== */

/* What you get: a white card on the green hero, in the
   slot the family panel used to hold. Strong on purpose:
   a stranger should be able to scan it in seconds. */
.hero-features {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px 14px;
  margin-top: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-features-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
  margin: 0 0 8px;
}

.standout-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.standout-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.5;
}

.standout-list li:last-child { border-bottom: none; }

.standout-list li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 10px;
  font-weight: 700;
  color: var(--brand);
}

.standout-list li strong { color: var(--brand); }

/* Here as a family: its own card in the demo band's family
   column, white with a heavy slate border on the green
   band, so a family landing on a coach's page spots it at
   a glance. */
.family-door-card {
  background: var(--card);
  color: var(--ink);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.family-door-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand);
  margin: 0 0 6px;
}

.family-door-card p { margin: 0 0 8px; line-height: 1.5; }
.family-door-card .family-door-line { margin-bottom: 0; }

@media (min-width: 560px) {
  /* In the family column, beside the family sample card. */
  .family-door-card { grid-column: 2; }
}

/* The two sample screens inside the demo band. */
.band-demo .demo-screens { margin-top: 18px; }

/* Pricing: the Free / Pro table. The frame scrolls
   sideways at phone width so the columns never crush. */
.plan-table-lead {
  font-size: 1.02rem;
  margin: 20px 0 10px;
}

.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.plan-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 540px;
  font-size: 0.97rem;
}

.plan-table th,
.plan-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}

.plan-table thead th {
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.plan-table .plan-col { text-align: center; width: 17%; }

.plan-table tbody th { font-weight: 600; }

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td { border-bottom: none; }

.pt-yes { color: var(--brand); font-weight: 700; font-size: 1.05rem; }
.pt-no { color: var(--muted); }

/* Guest booking confirmation on the public coach page. */
.guest-confirm .link-box { margin-top: 10px; }

.guest-link-block {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ---------- Typography emphasis pass, 2026-11-25 ----------
   Cristina's call: bolding and type contrast so a scanner's
   eye catches what matters. Palette F only, no new colors,
   body text untouched at 16px+. The bolding inside the copy
   itself lives in app.js (short <strong> phrases, never
   whole paragraphs); this block only strengthens headline
   separation on the landing and hardens the sample frames'
   title bars. The landing scope is the same :has(.hero-panel)
   test the desktop pass uses, so app screens never see it. */

/* Section headlines a step larger on the landing, phone and
   desktop, so they separate from body copy at a glance. The
   desktop value matches the existing desktop-pass rule. */
.wrap:has(.hero-panel) section.plain-section h2 { font-size: 1.45rem; }

@media (min-width: 1024px) {
  .wrap:has(.hero-panel) section.plain-section h2 { font-size: 1.65rem; }
}

/* Sample frame title bars: the business name may shrink and
   wrap; the Sample chip never does (clipping fix). */
.phone-bar .phone-biz { min-width: 0; }
.phone-bar .chip { flex: none; }
