/*
 * A Player Mode landing page styles, matched to the app's design system
 * (seq23/aplayer-mode apps/mobile/src/theme/tokens.ts: "C · Calm clarity" type,
 * shape and spacing, "A · Quiet luxury" colour, warm dark mode).
 *
 * Every colour is a token in the two :root blocks below, named after the app's
 * palette keys (--apm-<kebab-case key>), with the SAME names in light and dark.
 * The hex values are pinned in config/aplayermode_theme_tokens.json and
 * validate_aplayermode_landing.mjs fails on any drift, or on a hex colour
 * written anywhere outside these two blocks. Rules use tokens, never values.
 * Phone-first: the base rules are the phone layout, wider screens add columns
 * in the media queries at the end.
 */
:root {
  color-scheme: light dark;
  /* Palette: A · Quiet luxury, light (tokens.ts palettes.light) */
  --apm-bg: #E9E5DE;
  --apm-surface: #F6F4F0;
  --apm-surface-muted: #EFEBE4;
  --apm-ink: #1E1C19;
  --apm-ink-muted: #655F57;
  --apm-line: #D4CEC4;
  --apm-line-strong: #8A8170;
  --apm-brass: #A39780;
  --apm-accent: #3E4B3C;
  --apm-on-accent: #F6F4F0;
  --apm-accent-soft: #E3E6DC;
  --apm-primary: #1E1C19;
  --apm-on-primary: #F6F4F0;
  --apm-chip-on: #1E1C19;
  --apm-on-chip-on: #F6F4F0;
  --apm-warning: #7A5A1E;
  --apm-warning-soft: #F2EAD9;
  --apm-danger: #9C3E33;
  --apm-on-danger: #F6F4F0;
  --apm-danger-soft: #F1E3DE;
  --apm-success: #3E4B3C;
  --apm-success-soft: #E3E6DC;
  --apm-shadow: #1E1C19;
  /* A QR code must stay dark-on-white in both schemes to scan. */
  --apm-qr-bg: #FFFFFF;

  /* Type (tokens.ts FONT_FAMILIES): Outfit 600 display, Nunito Sans body */
  --apm-font-display: "Outfit", "Avenir Next", "Century Gothic", -apple-system, system-ui, sans-serif;
  --apm-font-body: "Nunito Sans", "Avenir Next", -apple-system, "Segoe UI", system-ui, sans-serif;
  /* Type scale (tokens.ts typeScale), px; headings grow on wide screens */
  --apm-size-hero: clamp(40px, 6vw, 60px);
  --apm-size-display: clamp(32px, 4.2vw, 44px);
  --apm-size-heading: 22px;
  --apm-size-card-title: 18px;
  --apm-size-button: 17px;
  --apm-size-body: 16px;
  --apm-size-small: 14px;
  --apm-size-label: 12px;

  /* Spacing (tokens.ts spacing: 4-based, generous) */
  --apm-space-xxs: 4px;
  --apm-space-xs: 8px;
  --apm-space-sm: 12px;
  --apm-space-md: 16px;
  --apm-space-lg: 20px;
  --apm-space-xl: 24px;
  --apm-space-xxl: 32px;
  --apm-space-xxxl: 44px;

  /* Shapes (tokens.ts radius): pill buttons and chips, 20 answer cards, 24 feature cards */
  --apm-radius-sm: 12px;
  --apm-radius-md: 16px;
  --apm-radius-lg: 20px;
  --apm-radius-xl: 24px;
  --apm-radius-pill: 999px;

  /* Tap targets (tokens.ts tap) */
  --apm-tap-button: 52px;
  --apm-tap-primary: 56px;

  /* Layout */
  --apm-gutter: 20px;
  --apm-section-pad: 64px;
  --apm-max: 1120px;
  --apm-narrow: 720px;
  --apm-topbar-h: 60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Palette: A · Quiet luxury, dark (tokens.ts palettes.dark) */
    --apm-bg: #1B1916;
    --apm-surface: #25221E;
    --apm-surface-muted: #2E2A25;
    --apm-ink: #EDE7DC;
    --apm-ink-muted: #A9A193;
    --apm-line: #3A352F;
    --apm-line-strong: #8C8069;
    --apm-brass: #8C8069;
    --apm-accent: #A3B49A;
    --apm-on-accent: #1B1916;
    --apm-accent-soft: #2C3329;
    --apm-primary: #EDE7DC;
    --apm-on-primary: #1B1916;
    --apm-chip-on: #EDE7DC;
    --apm-on-chip-on: #1B1916;
    --apm-warning: #D8B46E;
    --apm-warning-soft: #352D1E;
    --apm-danger: #E8A090;
    --apm-on-danger: #1B1916;
    --apm-danger-soft: #3A2622;
    --apm-success: #A3B49A;
    --apm-success-soft: #2C3329;
    --apm-shadow: #000000;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--apm-topbar-h); }
body {
  margin: 0;
  background: var(--apm-bg);
  color: var(--apm-ink);
  font-family: var(--apm-font-body);
  font-size: var(--apm-size-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--apm-accent); text-underline-offset: 3px; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--apm-font-display); font-weight: 600; margin: 0 0 var(--apm-space-sm); color: var(--apm-ink); }
h1, .h1 { font-size: var(--apm-size-hero); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: var(--apm-size-display); line-height: 1.18; letter-spacing: -0.018em; }
h3 { font-size: var(--apm-size-card-title); line-height: 1.33; letter-spacing: -0.005em; }
p { margin: 0 0 var(--apm-space-sm); }
ul, ol { margin: 0 0 var(--apm-space-sm); padding-left: 1.2em; }
li { margin-bottom: var(--apm-space-xs); }
li::marker { color: var(--apm-brass); }
ol > li::marker { color: var(--apm-ink-muted); font-weight: 700; }

.wrap { max-width: var(--apm-max); margin: 0 auto; padding: 0 var(--apm-gutter); }
.section { padding: var(--apm-section-pad) 0; border-top: 1px solid var(--apm-line); }
.kicker { color: var(--apm-accent); font-size: var(--apm-size-label); line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--apm-space-sm); }
.lede { font-size: 18px; line-height: 1.55; color: var(--apm-ink-muted); }
.muted { color: var(--apm-ink-muted); }
.small { font-size: var(--apm-size-small); line-height: 20px; }
.callout { background: var(--apm-accent-soft); color: var(--apm-ink); border-radius: var(--apm-radius-lg); padding: var(--apm-space-lg) var(--apm-space-xl); margin: var(--apm-space-lg) 0; }

/* Top bar and in-page navigation: Paper glass over a brass hairline */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--apm-bg); border-bottom: 1px solid var(--apm-brass); }
@supports (backdrop-filter: blur(8px)) {
  .topbar { background: color-mix(in srgb, var(--apm-bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--apm-space-sm); min-height: var(--apm-topbar-h); }
.brand { font-family: var(--apm-font-display); font-weight: 600; font-size: var(--apm-size-button); letter-spacing: -0.01em; color: var(--apm-ink); text-decoration: none; white-space: nowrap; }
.toc { display: flex; gap: var(--apm-space-xxs); overflow-x: auto; scrollbar-width: none; font-size: var(--apm-size-small); }
.toc::-webkit-scrollbar { display: none; }
.toc a { color: var(--apm-ink-muted); font-weight: 600; text-decoration: none; white-space: nowrap; padding: var(--apm-space-xs) var(--apm-space-sm); border-radius: var(--apm-radius-pill); }
.toc a:hover, .toc a:focus-visible { color: var(--apm-ink); background: var(--apm-surface); }

/* Buttons: pills, Outfit labels, Ink primary that flips to ivory in dark */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--apm-space-xs); min-height: var(--apm-tap-primary); padding: 14px 28px; border-radius: var(--apm-radius-pill); font-family: var(--apm-font-display); font-weight: 600; font-size: var(--apm-size-button); line-height: 22px; text-decoration: none; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--apm-primary); color: var(--apm-on-primary); }
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 6px 18px color-mix(in srgb, var(--apm-shadow) 18%, transparent); }
.btn-ghost { background: transparent; color: var(--apm-ink); border-color: var(--apm-line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--apm-space-sm); margin: var(--apm-space-xl) 0 var(--apm-space-sm); }
.trust { font-size: var(--apm-size-small); color: var(--apm-ink-muted); }

/* Cards and grids: flat Paper with a hairline ring, rounded and roomy */
.grid { display: grid; gap: var(--apm-space-md); grid-template-columns: 1fr; }
.card { background: var(--apm-surface); border: 1px solid var(--apm-line); border-radius: var(--apm-radius-xl); padding: var(--apm-space-xl); min-width: 0; }
.card h3 { margin-bottom: var(--apm-space-xs); }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--apm-space-xs); padding: 0; list-style: none; }
.chips li { margin: 0; padding: var(--apm-space-xs) 14px; border: 1px solid var(--apm-line); border-radius: var(--apm-radius-pill); background: var(--apm-surface); font-size: 15px; font-weight: 600; line-height: 20px; }
.label { display: block; font-size: var(--apm-size-label); font-weight: 700; color: var(--apm-ink-muted); text-transform: uppercase; letter-spacing: 0.1em; margin: var(--apm-space-sm) 0 var(--apm-space-xxs); }
.arrow-list { list-style: none; padding: 0; }
.arrow-list li { padding: var(--apm-space-sm) var(--apm-space-md); background: var(--apm-surface-muted); border-radius: var(--apm-radius-md); }

/* Tables scroll inside their own box, never the page */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--apm-line); border-radius: var(--apm-radius-lg); background: var(--apm-surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: var(--apm-size-small); line-height: 20px; }
th, td { text-align: left; padding: var(--apm-space-sm) var(--apm-space-md); border-bottom: 1px solid var(--apm-line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--apm-surface-muted); font-family: var(--apm-font-display); font-weight: 600; font-size: 15px; }

/* Chat example */
.chat { background: var(--apm-surface-muted); border-radius: var(--apm-radius-lg); padding: var(--apm-space-md); font-size: var(--apm-size-small); line-height: 20px; }
.chat p { margin-bottom: var(--apm-space-xs); }

/* Product shots */
.shot { border-radius: var(--apm-radius-md); border: 1px solid var(--apm-line); background: var(--apm-surface); }
.shots { display: grid; gap: var(--apm-space-sm); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Hero: the h1 and the two-product chooser fit the first phone screen */
.hero { padding: var(--apm-space-xxl) 0 var(--apm-section-pad); }
.hero h1 { max-width: 15ch; margin-bottom: var(--apm-space-md); }
.hero .lede { margin-bottom: var(--apm-space-xl); max-width: 40em; }
.chooser { display: grid; gap: var(--apm-space-sm); grid-template-columns: 1fr; margin-bottom: var(--apm-space-lg); }
.choice { display: flex; flex-direction: column; gap: var(--apm-space-xs); padding: var(--apm-space-xl); border-radius: var(--apm-radius-xl); border: 1px solid var(--apm-line); background: var(--apm-surface); color: var(--apm-ink); text-decoration: none; min-width: 0; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.choice:hover, .choice:focus-visible { border-color: var(--apm-line-strong); box-shadow: 0 6px 18px color-mix(in srgb, var(--apm-shadow) 12%, transparent); }
.choice-kicker { color: var(--apm-accent); font-size: var(--apm-size-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.choice-title { font-family: var(--apm-font-display); font-size: var(--apm-size-heading); font-weight: 600; line-height: 28px; letter-spacing: -0.01em; }
.choice-detail { font-size: var(--apm-size-small); line-height: 20px; color: var(--apm-ink-muted); }
.choice-cta { align-self: flex-start; margin-top: var(--apm-space-xs); padding: 10px 18px; border-radius: var(--apm-radius-pill); background: var(--apm-primary); color: var(--apm-on-primary); font-family: var(--apm-font-display); font-size: 15px; font-weight: 600; }

/* Reading width for short, one-idea sections */
.narrow > * { max-width: var(--apm-narrow); }

/* The 5 jobs and personas */
.both { display: inline-block; font-size: var(--apm-size-label); font-weight: 700; letter-spacing: 0.04em; color: var(--apm-success); background: var(--apm-success-soft); border-radius: var(--apm-radius-pill); padding: 2px 10px; margin-bottom: var(--apm-space-sm); }
.tag { display: block; font-size: var(--apm-size-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--apm-ink-muted); margin-bottom: var(--apm-space-xxs); }
.tag-off { color: var(--apm-success); }
.personas .card p + p { padding-top: var(--apm-space-sm); border-top: 1px solid var(--apm-line); }

/* Paths */
.path .price-line { font-family: var(--apm-font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.path .price-line .muted { font-family: var(--apm-font-body); font-size: var(--apm-size-small); font-weight: 600; letter-spacing: 0; }
.groups { margin-top: var(--apm-space-md); }
.group h3 { color: var(--apm-ink); }
.previews { margin-top: var(--apm-space-md); }
.previews > .shot { margin-bottom: var(--apm-space-sm); }
.step { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--apm-radius-pill); background: var(--apm-primary); color: var(--apm-on-primary); font-family: var(--apm-font-display); font-weight: 600; margin-bottom: var(--apm-space-sm); }
.sub-h { margin-top: var(--apm-space-xxl); font-size: var(--apm-size-heading); line-height: 28px; }

/* Expanders: "See everything included", the long plan table, the FAQ */
details > summary { cursor: pointer; font-family: var(--apm-font-display); font-weight: 600; font-size: var(--apm-size-button); list-style-position: inside; padding: 18px var(--apm-space-xl); min-height: var(--apm-tap-button); }
details > summary::marker { color: var(--apm-brass); }
details.everything, details.more, details.faq { border: 1px solid var(--apm-line); border-radius: var(--apm-radius-lg); background: var(--apm-surface); margin-top: var(--apm-space-sm); overflow: hidden; }
details.everything[open] > summary, details.more[open] > summary { border-bottom: 1px solid var(--apm-line); }
details.faq p { padding: 0 var(--apm-space-xl) 18px; margin: 0; color: var(--apm-ink-muted); }
details.more .table-scroll { border: 0; border-radius: 0; }
.everything-block { padding: var(--apm-space-xxl) var(--apm-space-md); border-top: 1px solid var(--apm-line); }
.everything-block:first-of-type { border-top: 0; }
.everything-block .wrap { padding: 0; }
.everything-block h2 { font-size: 26px; line-height: 32px; }
.everything-block .card { background: var(--apm-surface-muted); border-color: transparent; }

/* Comparison */
table.compare { min-width: 0; }
.compare td:first-child { font-weight: 700; color: var(--apm-ink-muted); }

/* Pillars */
.pillar { border-top: 4px solid var(--apm-line); }
.pillar-mind { border-top-color: var(--apm-accent); }
.pillar-body { border-top-color: var(--apm-brass); }
.pillar-spirit { border-top-color: var(--apm-warning); }

/* Plans: the billing chips, then the tiers */
.billing-toggle { display: inline-flex; flex-wrap: wrap; gap: var(--apm-space-xs); margin: var(--apm-space-xs) 0 var(--apm-space-xl); }
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle label { display: inline-flex; align-items: center; min-height: var(--apm-tap-button); padding: 0 var(--apm-space-lg); border: 1px solid var(--apm-line-strong); border-radius: var(--apm-radius-pill); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--apm-ink); background: transparent; }
#billing-monthly:checked ~ .billing-toggle label[for="billing-monthly"],
#billing-annual:checked ~ .billing-toggle label[for="billing-annual"] { background: var(--apm-chip-on); color: var(--apm-on-chip-on); border-color: var(--apm-chip-on); }
#billing-monthly:focus-visible ~ .billing-toggle label[for="billing-monthly"],
#billing-annual:focus-visible ~ .billing-toggle label[for="billing-annual"] { outline: 2px solid var(--apm-accent); outline-offset: 2px; }
.billing-input { position: absolute; opacity: 0; pointer-events: none; }
.price-annual { display: none; }
#billing-annual:checked ~ .tiers .price-annual { display: block; }
#billing-annual:checked ~ .tiers .price-monthly { display: none; }
.tier .price { font-family: var(--apm-font-display); font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.02em; margin: var(--apm-space-sm) 0 var(--apm-space-xxs); }
.tier .price small { font-family: var(--apm-font-body); font-size: var(--apm-size-small); font-weight: 600; letter-spacing: 0; color: var(--apm-ink-muted); }
.tier .tagline { display: inline-block; color: var(--apm-ink); background: var(--apm-surface-muted); border-radius: var(--apm-radius-pill); padding: var(--apm-space-xxs) var(--apm-space-sm); font-size: 15px; font-weight: 600; }
.badge { display: inline-block; font-size: var(--apm-size-small); font-weight: 600; padding: 6px 14px; border-radius: var(--apm-radius-pill); background: var(--apm-accent); color: var(--apm-on-accent); }
.offer { border: 1px solid var(--apm-line-strong); background: var(--apm-surface); }
.offer h3 { font-size: var(--apm-size-heading); line-height: 28px; }
.offer .was { text-decoration: line-through; color: var(--apm-ink-muted); font-size: 20px; margin-right: var(--apm-space-xs); }
.offer .now { font-family: var(--apm-font-display); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.025em; color: var(--apm-ink); }

/* Download */
.route { display: flex; flex-direction: column; gap: var(--apm-space-sm); }
.store-btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: var(--apm-tap-primary); padding: 10px var(--apm-space-xl); border-radius: var(--apm-radius-pill); background: var(--apm-primary); color: var(--apm-on-primary); text-decoration: none; font-family: var(--apm-font-display); font-weight: 600; font-size: var(--apm-size-button); border: 1px solid var(--apm-primary); width: 100%; }
.store-btn .sub { font-family: var(--apm-font-body); font-size: var(--apm-size-label); font-weight: 600; }
.store-btn.is-soon { background: transparent; color: var(--apm-ink-muted); border: 1px dashed var(--apm-line-strong); cursor: not-allowed; }
.qr { display: none; }
.qr-box { width: 168px; height: 168px; border-radius: var(--apm-radius-lg); border: 1px dashed var(--apm-line-strong); display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--apm-space-sm); font-size: var(--apm-size-small); color: var(--apm-ink-muted); background: var(--apm-surface); }
.qr-box.is-live { background: var(--apm-qr-bg); border-style: solid; padding: var(--apm-space-xs); }

/* Footer */
.footer { padding: var(--apm-space-xxxl) 0 56px; border-top: 1px solid var(--apm-brass); font-size: var(--apm-size-small); line-height: 20px; color: var(--apm-ink-muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--apm-space-md); margin: var(--apm-space-xs) 0; }

:focus-visible { outline: 2px solid var(--apm-accent); outline-offset: 2px; }

@media (max-width: 559px) {
  .topbar .brand { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .wrap { padding: 0 var(--apm-space-xs); }
  .toc { gap: 0; font-size: 13px; overflow-x: visible; }
  .toc a { padding: var(--apm-space-xs) 6px; }
  .btn-row .btn { width: 100%; }
  .hero { padding-top: var(--apm-space-lg); }
  .hero h1 { font-size: 36px; }
  .hero-ctas .btn { padding: 12px 20px; }
}
@media (min-width: 640px) {
  .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .store-btn { width: auto; }
}
@media (min-width: 960px) {
  :root { --apm-section-pad: 96px; --apm-gutter: 32px; }
  .hero { padding-top: 72px; }
  .grid { gap: var(--apm-space-lg); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-5 .card { padding: var(--apm-space-lg); }
  .qr { display: block; }
  .download-layout { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: var(--apm-space-xxl); align-items: start; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice { transition: none; }
}

/* Hero: the 5 roles, and a picture on each chooser card (8 Oct 2026). */
.roles { max-width: 46em; margin: 0 0 var(--apm-space-xl); }
.roles-lead { margin-bottom: var(--apm-space-xs); }
.roles-list { margin: 0 0 var(--apm-space-md); padding-left: 1.2em; line-height: 1.55; }
.roles-list li { margin-bottom: 4px; }
.choice-img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--apm-radius-lg, 12px); margin-bottom: var(--apm-space-sm); background: var(--apm-line); }
.choice-img-app { object-fit: contain; padding: 14px 0; background: var(--apm-accent-soft); }
.inspect-intro { margin-bottom: var(--apm-space-xl); padding-bottom: var(--apm-space-md); border-bottom: 1px solid var(--apm-line); }
.llm-gap-grid { margin: var(--apm-space-lg) 0 var(--apm-space-xl); }
.llm-gap-grid .card p + p { padding-top: var(--apm-space-sm); border-top: 1px solid var(--apm-line); }
.legal-h { font-size: 1rem; margin: var(--apm-space-lg) 0 var(--apm-space-xs); }

/* Hero (375px first screen): h1, cognitive-load lead, role chips, sub-line, the two buy buttons. */
.hero-def { margin: 0 0 var(--apm-space-sm); max-width: 40em; font-size: 15px; line-height: 1.5; color: var(--apm-ink-muted); }
.hero-lead { margin: 0 0 var(--apm-space-sm); max-width: 36em; color: var(--apm-ink-muted); }
.hero-lead-big { display: block; font-family: var(--apm-font-display); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--apm-ink); margin-bottom: var(--apm-space-xxs); }
.hero-sub { font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--apm-ink); margin: 0 0 var(--apm-space-sm); max-width: 32em; }
.hero-ctas { margin: 0 0 var(--apm-space-xl); }
.hero-ctas .btn { min-height: 48px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--apm-space-md); list-style: none; }
.role-chips li { margin: 0; padding: 5px 11px; border: 1px solid var(--apm-line); border-radius: var(--apm-radius-pill); background: var(--apm-surface); font-size: var(--apm-size-small); font-weight: 700; line-height: 18px; }
.roles-list { font-size: var(--apm-size-small); color: var(--apm-ink-muted); }
.choice-col { display: flex; flex-direction: column; gap: var(--apm-space-xs); min-width: 0; }
.choice-col .choice { flex: 1; }
a.choice-cta { text-decoration: none; }
.choice-day1 { font-weight: 700; font-size: 15px; line-height: 20px; color: var(--apm-ink); }
.plan-cta { margin-top: var(--apm-space-md); width: 100%; }
.tier { display: flex; flex-direction: column; }
.tier .plan-cta { margin-top: auto; }
.tier ul { margin-bottom: var(--apm-space-md); }
/* "Without the System / With the Protocol": three persona rows under the LLM-gap h2. */
.diff-rows { display: grid; gap: var(--apm-space-sm); margin: var(--apm-space-lg) 0 var(--apm-space-xl); }
.diff-head { display: none; grid-template-columns: 1fr 1fr; gap: var(--apm-space-md); padding: 0 var(--apm-space-lg); font-size: var(--apm-size-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--apm-accent); }
.diff-row { padding: var(--apm-space-lg); border: 1px solid var(--apm-line); border-radius: var(--apm-radius-xl); background: var(--apm-surface); }
.diff-row h3 { font-size: var(--apm-size-card-title); }
.diff-row p { margin: 0; }
.diff-row p + p { margin-top: var(--apm-space-sm); padding-top: var(--apm-space-sm); border-top: 1px solid var(--apm-line); }
@media (min-width: 760px) {
  .diff-head { display: grid; }
  .diff-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--apm-space-md); }
  .diff-row h3 { grid-column: 1 / -1; }
  .diff-row p + p { margin-top: 0; padding-top: 0; border-top: 0; padding-left: var(--apm-space-md); border-left: 1px solid var(--apm-line); }
}

/* Plans: Executive Roundtable leads (Founding 100); Autopilot is never featured */
.tier-lead { border: 2px solid var(--apm-primary); }
.tier .badge { align-self: flex-start; margin-bottom: var(--apm-space-xs); }
#founding-100 { margin-bottom: var(--apm-space-md); }

/* Testimonials (hidden until the data file has quotes) */
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 var(--apm-space-sm); font-size: 17px; line-height: 26px; }

/* Launch updates sign-up */
.signup { display: flex; flex-direction: column; gap: var(--apm-space-sm); max-width: 480px; }
.signup-label { font-weight: 600; }
.signup-input { min-height: 48px; padding: 10px 16px; border-radius: var(--apm-radius-pill); border: 1px solid var(--apm-line-strong); background: var(--apm-surface); color: var(--apm-ink); font: inherit; }
.signup-consent { display: flex; gap: var(--apm-space-xs); align-items: flex-start; font-size: var(--apm-size-small); }
.signup-consent input { margin-top: 4px; min-width: 18px; min-height: 18px; }
.signup-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Founding 100 sell-out: app.js swaps these from the live count; hidden must win over .btn span rules. */
[data-join-standard][hidden], [data-join-founding][hidden], [data-founding-full][hidden], [data-founding-open][hidden], [data-founding-left][hidden] { display: none !important; }

/* ---------------------------------------------------------------------------
 * The new logo and header (design system approved 6 Nov 2026,
 * https://claude.ai/artifact/QewMGNAFFtkKtdLokLmdSd). The mark: a primary
 * rounded square (22 % corners), an Outfit 700 "A" in on-primary and, under
 * it, a brass rule cut into five bars, one per role; under 40px the five bars
 * become one. It flips with the primary pill in dark (ivory square, dark "A").
 * ------------------------------------------------------------------------- */
.apm-mark { --s: 32px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 22%; background: var(--apm-primary); color: var(--apm-on-primary); font: 700 calc(var(--s) * .52)/1 var(--apm-font-display); letter-spacing: -.02em; padding-bottom: calc(var(--s) * .14); }
/* The letter is drawn by CSS, so the logo link's text stays exactly "A Player Mode" (search shape). */
.apm-mark::before { content: "A"; }
.apm-mark::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 19%; height: max(2px, calc(var(--s) * .035)); background: var(--apm-brass); }
.apm-mark.five::after { background: repeating-linear-gradient(90deg, var(--apm-brass) 0 14%, transparent 14% 21.5%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.btn-join-top { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
/* Phones: logo and Join on the first row, the on-page links scroll on the second. */
.topbar .wrap { flex-wrap: wrap; row-gap: 0; }
.topbar .brand { display: inline-flex; order: 1; min-height: 52px; }
@media (max-width: 559px) { .topbar .wrap { justify-content: space-between; padding: 0 var(--apm-space-md); } }
.topbar .btn-join-top { order: 2; margin-left: auto; }
.topbar .toc { order: 3; flex: 1 0 100%; min-width: 0; margin: 0; padding-bottom: 4px; }
.topbar .toc a { display: inline-flex; align-items: center; min-height: 44px; }
.topbar .toc a:first-child { padding-left: 0; }
@media (min-width: 760px) {
  .topbar .wrap { flex-wrap: nowrap; }
  .topbar .toc { order: 2; flex: 0 1 auto; margin: 0 0 0 auto; padding-bottom: 0; }
  .topbar .toc a:first-child { padding-left: var(--apm-space-sm); }
  .topbar .btn-join-top { order: 3; margin-left: 0; }
}

/* The line under the H1 and the live Founding 100 count under the hero buttons. */
.hero-cos { margin: 0 0 var(--apm-space-md); max-width: 34em; font-size: 18px; line-height: 1.5; color: var(--apm-ink); }
.hero-count { margin: 0 0 var(--apm-space-md); color: var(--apm-ink-muted); }
.card-more { margin-top: var(--apm-space-sm); }
.card-more a, .text-link { color: var(--apm-accent); font-weight: 700; text-underline-offset: 3px; }
.card-more a { display: inline-flex; align-items: center; min-height: 44px; }

/* The content pages (/ai-chief-of-staff/, /founders/, …): one narrow column, answer first. */
.content-page h1 { margin-bottom: var(--apm-space-md); }
.content-page .definition { font-size: 18px; line-height: 1.55; color: var(--apm-ink); margin: 0 0 var(--apm-space-lg); }
.content-page h2 { margin-top: var(--apm-space-xxl); }
.content-page table { min-width: 0; width: 100%; border-collapse: collapse; margin: var(--apm-space-md) 0; font-size: var(--apm-size-small); }
.content-page th, .content-page td { text-align: left; vertical-align: top; padding: var(--apm-space-xs) var(--apm-space-sm) var(--apm-space-xs) 0; border-bottom: 1px solid var(--apm-line); }
.content-page th { font-weight: 700; color: var(--apm-ink); }
.content-page ol, .content-page ul:not(.arrow-list) { padding-left: 1.2em; }
.content-page li + li { margin-top: var(--apm-space-xs); }
.next-step { margin-top: var(--apm-space-xxl); padding: var(--apm-space-lg); border-radius: var(--apm-radius-lg); background: var(--apm-surface); border: 1px solid var(--apm-line); }
.next-step .btn { width: 100%; margin-top: var(--apm-space-sm); }
.next-step .btn + .btn { margin-top: var(--apm-space-sm); }
.byline { margin-top: var(--apm-space-xl); font-size: var(--apm-size-small); color: var(--apm-ink-muted); }
.crumbs { font-size: var(--apm-size-small); color: var(--apm-ink-muted); margin: 0 0 var(--apm-space-sm); }
.crumbs a { color: var(--apm-ink-muted); }
@media (max-width: 480px) {
  .content-page table.phone-cards, .content-page table.phone-cards tbody { display: block; }
  .content-page table.phone-cards thead { display: none; }
  .content-page table.phone-cards tr { display: block; padding: var(--apm-space-sm) 0; border-bottom: 1px solid var(--apm-line); }
  .content-page table.phone-cards td { display: block; border: 0; padding: 2px 0; }
  .content-page table.phone-cards td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--apm-ink); }
}
/* 44px tap targets on phones (found in the 390px review, 6 Nov 2026). */
.choice-cta { min-height: 44px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Laptop (coordinator review, 6 Nov 2026): the header mark at 40px shows the five bars, one per
   role (the design system's rule: five bars from 40px, one below); phones keep the 32px one-bar
   mark. The hero's empty right half shows the real app start screen, the same capture as the
   App Store mock-up (design system asset fcbc547e…, identical bytes to img/app-screen.webp). */
.hero-shot { display: none; margin: 0; }
@media (min-width: 760px) {
  .topbar .apm-mark { --s: 40px; }
  .topbar .apm-mark::after { background: repeating-linear-gradient(90deg, var(--apm-brass) 0 14%, transparent 14% 21.5%); }
}
@media (min-width: 960px) {
  .hero-choose .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 56px; align-items: start; }
  .hero-choose .wrap > * { grid-column: 1; }
  .hero-choose .wrap > .roles, .hero-choose .wrap > .chooser, .hero-choose .wrap > .small.muted { grid-column: 1 / -1; }
  .hero-choose .hero-shot { display: block; grid-column: 2; grid-row: 1 / span 7; align-self: start; }
  .hero-shot img { display: block; width: 100%; height: auto; border-radius: var(--apm-radius-xl); border: 1px solid var(--apm-line); box-shadow: 0 6px 18px color-mix(in srgb, var(--apm-shadow) 12%, transparent); }
}
