/* Phone readability floor (audit item 14, WCAG 2.2 2.5.8).
   Loaded last in <head> on the indexable pages so it can sit on top of each
   page's own rules without editing them.

   1. Tap areas: every link or button is at least 24x24 px to the finger. The
      extra area is invisible (padding with a matching negative margin, or a
      transparent ::before), so nothing moves.
   2. Text floor: on phones, UI labels, eyebrows, chips, counters, captions and
      the footer are at least 12 px. Uppercase mono labels keep their look by
      giving back some letter-spacing instead of growing wider.

   Hard rule: nothing here may match inside the homepage hero (section#top).
   Device mock-ups (the phone screens on /kanban and /triage, the glasses
   display on /silentinput) stay at their scaled size on purpose: they are
   pictures of a screen, not page text. */

/* ── 1. Tap areas (all widths; invisible) ─────────────────────────────── */

/* /features: the 3 px chapter rail. Its existing ::before hit strip was 23 px. */
html .seg a::before{inset:0 -11px}
@media(max-width:940px){
  /* Phone: the strip reaches the screen edge but not past it (that would
     scroll the page sideways), so it grows to the left. */
  html .cv--2 .seg a::before{inset:0 -8px 0 -14px}
}

/* Footer links (current footer markup, where they are inline links straight
   inside a span): vertical padding on an inline box grows the hit area
   without moving the line. */
html .foot__row>span>a{padding-block:6px}

/* /triage, /kanban, /silentinput: in-header section links are 18-22 px tall.
   (Not the shared masthead, #mast-nav, whose phone menu rows are 44 px.) */
html .mast__nav:not(#mast-nav) a{padding-block:4px;margin-block:-4px}

/* /kanban, /silentinput: the step pips under the clip were 22 px wide. One
   px more each side, given back by margin, so the row keeps its size. */
html .take__pips button{padding-inline:5px;margin-inline:-1px}

/* /silentinput: the "Next-word suggestions" checkbox is 15 px; its label is
   the real target, made 25 px tall. */
html .toy__opt{padding-block:5px;margin-block:-5px}

/* ── 2. Text floor (phones) ───────────────────────────────────────────── */
@media(max-width:720px){

  /* Footer (all pages) */
  html .foot{font-size:12px;letter-spacing:.1em}
  html .foot__aff small{font-size:12px;letter-spacing:.02em}
  /* the second line is now the longer one; keep both lines flush left as before */
  html .foot__aff{text-align:left}

  /* Section eyebrows, page eyebrows, headings in mono */
  html .sec__eyebrow,
  html .page-head .eyebrow,
  html p.eyebrow,
  html .hero__eyebrow:not(#top *){font-size:12px;letter-spacing:.12em}
  html .col__n,html .gest__k,html .note b{font-size:12px;letter-spacing:.12em}
  html .mast__nav:not(#mast-nav){font-size:12px;letter-spacing:.1em}
  /* inline code in 14 px running text is .85em, a hair under 12 px */
  html .note code,html .col__d code{font-size:max(12px,.85em)}

  /* Buttons and button-like links outside the homepage hero */
  html .btn:not(#top *){font-size:12px}
  html .mast__home{font-size:12px;letter-spacing:.08em}
  html .release-notes-trigger{font-size:12px;letter-spacing:.08em}

  /* Disclosures, captions, source notes */
  html .hw__disc,html .aff-disc{font-size:12px;letter-spacing:.04em}
  html .mock__cap{font-size:12px;letter-spacing:.02em}
  html .mock__cap b{letter-spacing:.1em}
  html .take__src,html .toy__src{font-size:12px;letter-spacing:0}
  html .panel__bar{font-size:12px;letter-spacing:.06em}
  html .door__bar{font-size:12px;letter-spacing:.1em}
  html .ringbox .ring__cap,html .ringbox .ring__lbl{font-size:12px;letter-spacing:.04em}

  /* Chips, counters, dates, legends */
  html .chip{font-size:12px;letter-spacing:.06em}
  html .node__date{font-size:12px;letter-spacing:.08em}
  html .legend{font-size:12px;letter-spacing:.04em}
  html .stp button{font-size:12px;letter-spacing:.08em}
  html .lead-card .grp h4{font-size:12px}

  /* Homepage, below the hero */
  html #what .hud-cap{font-size:12px;letter-spacing:.1em}
  html #what .what__k,html #what .what__agent,html #what .what__more{font-size:12px;letter-spacing:.1em}
  html #hardware .hws__hint,html #hardware .hw__ext{font-size:12px;letter-spacing:.1em}

  /* /features */
  html .pin__cap,html .speck-rule__label{font-size:12px;letter-spacing:.1em}

  /* /silentinput toy controls (real page controls, not the glasses mock) */
  html .toy__stats,html .toy__opt,html .toy__reset,html .tpad__b{font-size:12px;letter-spacing:.06em}
  html .toy__help kbd{font-size:12px}
  html .tpad__lbl small{font-size:12px;letter-spacing:.08em}

  /* /setup: step banner, choice labels, statuses and small actions */
  html .spk-kick,html.spk-strip .spk-kick{font-size:12px;letter-spacing:.08em}
  html .spk-tip-t{font-size:12px}
  html .spk-timer,html.spk-strip .spk-timer{font-size:12px}
  html .spk-map li,html .spk-map em,html.spk-strip .spk-map li{font-size:12px}
  html .spk-foot,html .spk-jump{font-size:12px}
  html .micro{font-size:12px}
  html .choice-field legend,
  html .choice-field .field-status{font-size:12px;letter-spacing:.06em}
  html .choice-option .option-meta,
  html .choice-option.glasses-option .option-meta,
  html .choice-option:not(.provider-option) .option-meta,
  html .agent-option .option-meta,html .runtime-option .option-meta,
  html .os-option .option-meta,html .status-option .option-meta{font-size:12px;letter-spacing:.04em}
  html .agent-option-copy,html .runtime-option .option-copy,
  html .os-option .option-copy,html .status-option .option-copy{font-size:12px}
  html .choice-kicker,html .choice-head .choice-kicker,
  html .choice-reset,html .choice-head .choice-reset,
  html .choice-change,html .choice-back,
  html .glasses-gate__change,html .glasses-prereq__change,
  html .choice-shell.is-confirmed .choice-change{font-size:12px;letter-spacing:.06em}
  html .choice-trail__value,html .choice-shell.is-confirmed .choice-trail__value{font-size:12px}
  html .glasses-gate__kicker,html .glasses-gate__rail,html .glasses-continue,
  html .glasses-disclosure,html .glasses-gate__summary-note,html .glasses-prereq__label{font-size:12px;letter-spacing:.06em}
  html .provider-use,html .choice-confirm,html .choice-review__kicker,
  html .choice-review .choice-review__glasses-note{font-size:12px;letter-spacing:.06em}
  html .choice-reset-dialog__actions button,html .provider-info-dialog__kicker,
  html .provider-info-fact dt{font-size:12px;letter-spacing:.06em}
  html .cloud-context,html .cloudways-disclosure,html .flow-stage,html .flow-context{font-size:12px}
  html .route-kicker,html .route-badge,html .manual-route__meta{font-size:12px;letter-spacing:.06em}
  html .fp__hint,html .fp__meta,html .fp__action-k,html .fp__switch{font-size:12px}
  html .agent-feedback__kicker,html .agent-feedback__action,html .agent-feedback__close,
  html .agent-feedback__field-label,html .agent-feedback__status,html .agent-feedback__button{font-size:12px;letter-spacing:.06em}
  html .node__inner>p.tested-with,html .phase-lock,html .node__head .pk,
  html .node__phase,html .node__head .pc{font-size:12px}
  html .ovr .lbl,html .ovr .rst,html .step .d,html .step .nn,html .slot .lbl,
  html .cmd,html .ph-legend,html .copybtn{font-size:12px}
  html .tok .chev,html .runtime-option .choice-option-mark{font-size:12px}

  /* /setup flow (flow.css, pocket.css) */
  /* At 12 px, equal thirds left "Get your agent" no room on one line. Size each
     column to its label and spread them instead: one line from 360 px up in
     every language; narrower screens still wrap rather than overflow. */
  html .sf-phases{grid-template-columns:repeat(3,auto);justify-content:space-between}
  html .sf-phases b{font-size:12px;letter-spacing:.04em}
  html .sf-crumb,html .sf-crumb i,html .sf-road span{font-size:12px}
  html .sf-term__bar span{font-size:12px}
  html .sf-hand__ico,html .sf-hand__tabs,html .sf-hub__k{font-size:12px;letter-spacing:.06em}
  html .sf-offer__tag,html .sf-opt__badge,html .sf-plan__badge{font-size:12px;letter-spacing:.06em}
  html .sf-qr p,html .sf-card--cloudways .pk-look .sf-qr p{font-size:12px}
  html .pk-look__k,html .pk-pip__foot,html .pk-sizes small,html .sf-code__k{font-size:12px;letter-spacing:.06em}

  /* /setup guides (guide.css, loaded when a guide opens) */
  html .pv-phone-prep .pv-ts{font-size:12px}
  html .pv-stage-tabs button,html .pv-switch button,html .uv-progress button,
  html .u-review-top button,html .u-review-top>span,html .u-options [data-u-variant]{font-size:12px;letter-spacing:.06em}
  html .su-affiliate,html .u-note,html .uv-support{font-size:12px}
  html .uv-help-row .pv-every summary span{font-size:12px}
  html .uv-section .pv-command button,html .uv-section .pv-command code{font-size:12px}

  /* /support troubleshooting cards */
  html .fix h4,html .fix dt{font-size:12px;letter-spacing:.1em}
  html .cmds__who,html .fix__link{font-size:12px;letter-spacing:.06em}

  /* /404: the links line and the setState() readout under the animation */
  html .vb__small{font-size:12px;letter-spacing:.06em}
  html .nf-ro{font-size:12px;letter-spacing:0}
}

/* /setup stage row, phones: flow.css pins the 7 px status box 3 px from the top
   for 10 px labels. At 12 px the line is taller, so 4.5 px re-centres the box
   on the capitals. */
@media(max-width:640px){
  html .sf-phases li::before{top:4.5px}
}
