/*
 * Road to Permit site: the one stylesheet (docs/website-plan.md §0 #15, §4.7, §5.5).
 * The tokens mirror design/final-ac/tokens.md and apps/app/src/index.css one to one, so the site
 * and the app read the same values; in apps/site this block comes from packages/web-shared.
 * No inline style anywhere in the pages: the production CSP is style-src 'self'.
 */

/* ---------------------------------------------------------------- fonts (OFL, fonts/OFL-*.txt) */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/baloo2-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/baloo2-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/figtree-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #10304e;
  --ink-2: #46607a;
  --control: #7f93a8;
  --rule: #e3ecf4;

  --ocean: #0a6bcb;
  --ocean-deep: #07509a;
  --ocean-sub: #e6f2ff;
  --sky: #ddf1ff;
  --sky-50: #f0f8ff;
  --sky-line: #c4ddf0;
  --sky-mid: #9ed8ff;

  --sun: #ffc933;
  --sun-deep: #e0a200;
  --sun-50: #fff4cc;
  --sun-line: #f6d873;
  --sea: #14bdb0;
  --sea-deep: #0b8f85;
  --sea-text: #06776e;
  --sea-50: #e3f8f5;
  --sea-line: #a9e3db;
  --coral: #ff6f59;
  --coral-text: #b83420;
  --coral-50: #ffe7e2;
  --lock: #e4eaf1;
  --lock-deep: #c3cfdb;
  --lock-line: #a9b8c7;
  --lock-text: #56697d;

  --fb-sea: #bdede9;
  --fb-sea-text: #05655d;
  --fb-sea-ring: #8dd8cf;
  --fb-coral: #ffd7d1;
  --fb-coral-text: #a02b19;

  --flamingo: #d81f66;
  --flamingo-deep: #a8124c;
  --flamingo-50: #ffe4ef;
  --flamingo-line: #f5b3cd;

  --sand: #fce3a0;
  --sand-deep: #edbe5a;
  --land: #e9f6e1;
  --water: #bdeaf4;
  --wave: #8ed6ea;
  --palm: #3db36f;
  --shrub: #bfe5a8;
  --place-bg: #fff8e7;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-sheet: 28px;
  --radius-panel: 24px;
  --radius-card: 20px;
  --radius-control: 18px;
  --radius-chip: 14px;
  --radius-plate: 10px;
  --radius-key: 9px;

  --gutter: 20px;
  --wrap: 1200px;

  --shadow-card-rest: inset 0 0 0 2px var(--sky-line), 0 var(--e, 4px) 0 var(--sky-line);
  --shadow-card-selected: inset 0 0 0 2.5px var(--ocean), 0 var(--e, 4px) 0 var(--ocean-deep);
  --shadow-card-correct: inset 0 0 0 2.5px var(--ink), 0 4px 0 var(--ink);
  --shadow-card-wrong: inset 0 0 0 2.5px var(--coral-text), 0 4px 0 var(--coral-text);
  --shadow-piece: inset 0 0 0 2.5px var(--ink), 0 var(--e, 6px) 0 var(--ink);
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.55 var(--font-body);
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ocean);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a:hover {
  color: var(--ocean-deep);
}
:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 3px;
  border-radius: 6px;
}
p {
  margin: 0 0 16px;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
h3 {
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 8px;
}
ul,
ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
li {
  margin: 0 0 6px;
}
b,
strong {
  font-weight: 800;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--radius-chip);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 80px 0;
}
.section--tight {
  padding: 56px 0;
}
.band-sky {
  background: var(--sky-50);
}
.band-land {
  background: var(--land);
}
.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
}
.muted {
  color: var(--ink-2);
}
.small {
  font-size: 16px;
  line-height: 1.45;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font: 800 16px/1.2 var(--font-body);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  color: var(--ink-2);
  font-size: 19px;
}
.ico {
  flex: none;
}

/* ---------------------------------------------------------------- buttons: the tactile piece */
.btn {
  --e: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 26px 4px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--ocean);
  color: #fff;
  font: 800 20px/1.1 var(--font-display);
  letter-spacing: 0.2px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  margin-bottom: 5px;
  box-shadow: 0 var(--e) 0 var(--ocean-deep);
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out;
}
.btn:hover {
  color: #fff;
  background: #0b74dc;
}
.btn:active {
  --e: 0px;
  transform: translateY(5px);
}
.btn .ico {
  margin-top: -3px;
}
.btn--sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 var(--e) 0 var(--sun-deep);
}
.btn--sun:hover {
  background: #ffd24f;
  color: var(--ink);
}
.btn--ghost {
  --e: 4px;
  min-height: 54px;
  background: #fff;
  color: var(--ocean);
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 var(--e) 0 var(--sky-line);
}
.btn--ghost:hover {
  background: var(--sky-50);
  color: var(--ocean-deep);
}
.btn--ghost:active {
  transform: translateY(4px);
}
.btn--sm {
  --e: 4px;
  min-height: 46px;
  padding: 6px 18px 3px;
  font-size: 18px;
  border-radius: var(--radius-chip);
  margin-bottom: 4px;
}
.btn--sm:active {
  transform: translateY(4px);
}
.btn--lg {
  min-height: 64px;
  padding: 8px 32px 5px;
  font-size: 22px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.limit {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 300px;
}
.limit b {
  color: var(--ink);
}

/* store badges: placeholders only, the official artwork replaces them at the store launch (§3.8) */
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.badge-ph {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 160px;
  min-height: 52px;
  padding: 4px 12px;
  border-radius: 10px;
  border: 2px dashed var(--lock-line);
  background: #fff;
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.1;
}
.badge-ph b {
  font: 800 16px/1.1 var(--font-body);
  color: var(--ink);
}
.badge-ph span {
  font-size: 16px;
  font-weight: 600;
}
.badge-note {
  font-size: 16px;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 2px 0 var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 3px 0 var(--ocean-deep);
}
.brand span {
  font: 800 24px/1 var(--font-display);
  padding-top: 4px;
  white-space: nowrap;
}
.brand em {
  font-style: normal;
  color: var(--ocean);
}
.brand:hover {
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 10px 12px 8px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
.nav a:hover {
  background: var(--sky-50);
}
.nav a[aria-current="page"] {
  background: var(--sky);
  box-shadow: inset 0 0 0 2px var(--ocean);
  color: var(--ocean-deep);
}
.header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  position: relative;
}
.lang summary,
.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 4px 12px;
  border-radius: var(--radius-chip);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.lang summary::-webkit-details-marker,
.menu summary::-webkit-details-marker {
  display: none;
}
.lang-list {
  position: absolute;
  right: 0;
  top: 54px;
  width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
}
.lang-list li {
  margin: 0;
}
.lang-list a,
.lang-list span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.lang-list a[aria-current="true"] {
  background: var(--sky);
}
.lang-list span {
  color: var(--lock-text);
  font-weight: 600;
}
.lang-list small {
  font-size: 16px;
  font-weight: 700;
  color: var(--lock-text);
}
.menu {
  display: none;
}
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  padding: 12px var(--gutter) 20px;
  background: #fff;
  box-shadow: 0 2px 0 var(--rule);
}
.menu-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 2px solid var(--rule);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.menu-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
  font: 800 16px/1.2 var(--font-body);
  color: var(--ink-2);
}
.menu-h .ico {
  color: var(--ocean);
}
.lang-list--menu {
  position: static;
  width: auto;
  margin: 0 0 12px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  box-shadow: inset 0 0 0 2px var(--sky-line);
}
.lang-list--menu a,
.lang-list--menu span {
  min-height: 44px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0;
}

/* breadcrumbs */
.crumbs {
  margin: -10px 0 8px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.crumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.crumbs li + li::before {
  content: "›";
  color: var(--control);
  font-weight: 800;
  padding: 0 4px;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- chips, badges, tags */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 14px 4px 6px;
  border-radius: 12px;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
  font: 700 16px/1.2 var(--font-body);
  color: var(--ink);
}
.chip--plain {
  padding-left: 14px;
  box-shadow: none;
  background: var(--sky);
  font-weight: 600;
}
.chip--sun {
  background: var(--sun-50);
  box-shadow: inset 0 0 0 2px var(--sun-line);
}
.chip--flamingo {
  background: var(--flamingo-50);
  box-shadow: inset 0 0 0 2px var(--flamingo-line);
  color: var(--flamingo-deep);
}
.code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding-top: 3px;
  border-radius: var(--radius-chip);
  font: 800 19px/1 var(--font-display);
  color: var(--ink);
  background: var(--lock);
  box-shadow: inset 0 0 0 2px rgb(16 48 78 / 0.12);
}
.code--sm {
  width: 32px;
  height: 28px;
  border-radius: 9px;
  font-size: 16px;
}
.code--sun {
  background: var(--sun);
}
.code--coral {
  background: var(--coral);
}
.code--sea {
  background: var(--sea);
}
.code--sky {
  background: var(--sky-mid);
}
.code--flamingo {
  background: var(--flamingo-line);
}
.code--shrub {
  background: var(--shrub);
}
.code--sand {
  background: var(--sand);
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px 3px;
  border-radius: var(--radius-plate);
  font: 800 16px/1 var(--font-body);
  background: var(--lock);
  color: var(--lock-text);
  white-space: nowrap;
}
.tag--sea {
  background: var(--sea-50);
  color: var(--sea-text);
  box-shadow: inset 0 0 0 2px var(--sea-line);
}
.tag--sun {
  background: var(--sun);
  color: var(--ink);
}
.tag--ph {
  background: var(--flamingo-50);
  color: var(--flamingo-deep);
}

/* ---------------------------------------------------------------- panels and cards */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
}
.card--piece {
  box-shadow: var(--shadow-piece);
}
.card--sky {
  background: var(--sky-50);
}
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* the instructor's voice: a steering-wheel disc and a sky bubble (never drawn as a person) */
.coach {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 560px;
}
.coach-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.coach p {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
  font-size: 17px;
  line-height: 1.45;
}

/* option card: the onboarding picker (states, languages) */
.opts {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.opts li {
  margin: 0;
}
.opt {
  --e: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-card-rest);
  margin-bottom: 4px;
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out;
}
a.opt:hover {
  background: var(--sky);
  color: var(--ink);
  box-shadow: var(--shadow-card-selected);
}
a.opt:active {
  --e: 0px;
  transform: translateY(4px);
}
.opt--live {
  background: var(--sky);
  box-shadow: var(--shadow-card-selected);
}
.opt-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.opt-name {
  font: 700 18px/1.25 var(--font-body);
}
.opt-sub {
  font: 500 16px/1.3 var(--font-body);
  color: var(--ink-2);
}
.opt--soon .opt-name {
  color: var(--ink-2);
}
.opt .go {
  color: var(--ocean);
}

/* not-affiliated notice (plan §8): near the top of every state page */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-chip);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--sky-line);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-2);
}
.notice .ico {
  color: var(--ocean);
  margin-top: 1px;
}
.notice p {
  margin: 0;
}
.notice b {
  color: var(--ink);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--sky-50) 0%, #fff 78%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  margin: 14px 0 20px;
}
.hero h1 .h1-2 {
  display: block;
  color: var(--ocean);
}
.hero .lead {
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.hero-trust .ico {
  color: var(--sea-text);
}
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.hero-deco--sun {
  right: 5%;
  top: 22px;
  width: 64px;
}
.hero-deco--cloud1 {
  left: 56%;
  top: 64px;
  width: 92px;
}

/* the trip panel: the app's route screen, framed as a game piece */
.trip {
  position: relative;
  border-radius: var(--radius-sheet);
  background: #fff;
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 7px 0 var(--ink);
  padding: 12px;
}
.trip-legbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--radius-control);
  background: var(--ocean);
  color: #fff;
  box-shadow: 0 4px 0 var(--ocean-deep);
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.legno {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  border-radius: 13px;
  background: var(--sun);
  color: var(--ink);
  font: 800 24px/1 var(--font-display);
  box-shadow: 0 3px 0 var(--sun-deep);
}
.trip-legbar .sub {
  display: block;
  font: 600 16px/1.2 var(--font-body);
  color: var(--ocean-sub);
}
.trip-legbar b {
  display: block;
  font: 800 21px/1.1 var(--font-display);
  padding-top: 3px;
}
.trip-scene {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -14px;
  border-radius: 0 0 18px 18px;
}
.trip-mini {
  position: absolute;
  left: -34px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 6px 0 var(--ink);
  transform: rotate(-3deg);
}
.trip-mini .route-map {
  width: 84px;
  height: auto;
  border-radius: 12px;
  flex: none;
}
.trip-mini p {
  margin: 0;
  max-width: 132px;
  font: 800 16px/1.15 var(--font-display);
  padding-top: 3px;
}
.trip-mini small {
  display: block;
  font: 600 16px/1.2 var(--font-body);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- stamps and postmarks (C) */
.stamp {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.stamp > svg {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  overflow: visible;
}
.stamp-face {
  grid-area: 1 / 1;
  align-self: center;
  margin-top: -5px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}
.stamp-micro {
  font: 800 12px/1 var(--font-body);
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.stamp-num {
  font: 800 34px/1 var(--font-display);
}
.pm {
  position: absolute;
  pointer-events: none;
}

/* ---------------------------------------------------------------- how it works */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps3 > li {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
  overflow: hidden;
}
.step-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  padding: 22px 18px;
  background: var(--sky-50);
  border-bottom: 2px solid var(--sky);
}
.step-art--land {
  background: var(--land);
  padding: 0;
  overflow: hidden;
}
.step-body {
  padding: 22px 24px 26px;
}
.step-body h3 {
  display: flex;
  gap: 12px;
  align-items: center;
}
.step-body p {
  color: var(--ink-2);
  margin: 0;
}
.step-no {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  border-radius: 11px;
  background: var(--sun);
  color: var(--ink);
  font: 800 21px/1 var(--font-display);
  box-shadow: 0 3px 0 var(--sun-deep);
}
.stamp-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.mini-onb {
  width: 100%;
  max-width: 300px;
}
.mini-onb .progress {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- postcard (C) */
.postcard-stage {
  padding: 18px;
  border-radius: var(--radius-sheet);
  background: var(--sky-50);
}
.postcard {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 334 / 232;
  margin: 0 auto;
  padding: 9px;
  border-radius: 14px;
  transform: rotate(-2deg);
  background: repeating-linear-gradient(
    -45deg,
    var(--flamingo) 0 10px,
    #fff 10px 17px,
    var(--ocean) 17px 27px,
    #fff 27px 34px
  );
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 6px 0 var(--ink);
}
.postcard-pic {
  position: relative;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 36% 62%, rgb(255 255 255 / 0.55) 0 7deg, transparent 7deg 20deg),
    var(--sky);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.postcard-pic::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 22%;
  background: var(--sea);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 4px 4px;
}
.postcard-greet {
  position: absolute;
  left: 7%;
  top: 8%;
  z-index: 2;
  font: 800 22px/1 var(--font-display);
  color: var(--ink);
}
.postcard-vig {
  position: absolute;
  left: 6%;
  top: 19%;
  width: 43%;
  z-index: 1;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.postcard-vig img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  background: var(--place-bg);
}
.postcard-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13%;
  z-index: 3;
  text-align: center;
  font: 800 62px/1 var(--font-display);
  letter-spacing: 1px;
  color: var(--flamingo);
  -webkit-text-stroke: 2.2px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    2px 2px 0 var(--ink),
    3px 3px 0 var(--ink),
    5px 5px 0 var(--sun),
    6px 6px 0 var(--sun),
    7px 7px 0 var(--ink);
}
.postcard-stamp {
  position: absolute;
  right: 5%;
  top: 7%;
  width: 22%;
  z-index: 2;
  transform: rotate(4deg);
}
.postcard-pm {
  position: absolute;
  right: 7%;
  top: 25%;
  width: 34%;
  z-index: 3;
  transform: rotate(-10deg);
}
.postcard-chip {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.postcard-caption {
  margin-top: 20px;
}
.postcard-title {
  margin: 0 0 4px;
  font: 800 23px/1.15 var(--font-display);
  color: var(--ink);
}
.postcard-caption p {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

/* ---------------------------------------------------------------- the question card (app look) */
.qcard {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 5px 0 var(--sky-line);
}
.q-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.q-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 10px;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
  font: 700 16px/1 var(--font-body);
}
.q-topic .ico {
  color: var(--ocean);
}
.q-count {
  font: 700 16px/1 var(--font-body);
  color: var(--ink-2);
}
/* The stem is the answers' legend. A floated legend flows like a paragraph. */
.q-body {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.q-body > :not(legend) {
  clear: both;
}
.q-stem {
  float: left;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  font: 800 26px/1.18 var(--font-display);
  color: var(--ink);
}
.q-hint {
  margin: 0 0 12px;
  font: 700 16px/1.3 var(--font-body);
  color: var(--ink-2);
}
/* the sign as the app shows it: centred on its plate between the question and the answers */
.q-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  margin: 4px 0 12px;
  padding: 10px;
  border-radius: var(--radius-card);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
}
.q-sign img {
  width: 124px;
  height: 124px;
  object-fit: contain;
}
.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.answers--1 {
  grid-template-columns: minmax(0, 1fr);
}
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  padding-top: 2px;
  border-radius: var(--radius-key);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky-line);
  color: var(--ink-2);
  font: 800 16px/1 var(--font-display);
}
.key .ico {
  display: none;
}

/* Without JavaScript the options are a plain list, not buttons: nothing to press but Show answer. */
.answer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 6px 12px 6px 8px;
  border-radius: 14px;
  font: 700 18px/1.25 var(--font-body);
  color: var(--ink);
}
html:not(.js) .qcard:has(.reveal[open]) .answer {
  color: var(--ink-2);
}
html:not(.js) .qcard:has(.reveal[open]) .answer[data-correct] {
  background: var(--sea);
  color: var(--ink);
  box-shadow: inset 0 0 0 2.5px var(--ink);
}

/* With quiz.js each option is the app's answer card, a real button. */
.js .answer {
  display: block;
  min-height: 0;
  padding: 0;
}
.answer-btn,
.answer-card {
  --e: 4px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  margin: 0 0 4px;
  padding: 8px 14px 8px 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: 700 18px/1.25 var(--font-body);
  text-align: left;
  box-shadow: var(--shadow-card-rest);
}
.answer-btn {
  cursor: pointer;
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out,
    background 80ms;
}
.answer-btn:hover:not(:disabled) {
  background: var(--sky-50);
}
.answer-btn:active:not(:disabled) {
  --e: 0px;
  transform: translateY(4px);
}
.answer-btn:disabled {
  cursor: default;
  color: var(--ink-2);
}
/* Answered: never colour alone, the key turns into a check or a cross too. */
.qcard.is-answered .answer[data-correct] .answer-btn,
.answer-card.is-correct {
  background: var(--sea);
  color: var(--ink);
  box-shadow: var(--shadow-card-correct);
}
.qcard.is-wrong .answer.is-picked .answer-btn {
  background: var(--coral-50);
  color: var(--coral-text);
  box-shadow: var(--shadow-card-wrong);
}
.qcard.is-answered .answer[data-correct] .key,
html:not(.js) .qcard:has(.reveal[open]) .answer[data-correct] .key,
.answer-card.is-correct .key {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.qcard.is-answered .answer[data-correct] .key .ico,
html:not(.js) .qcard:has(.reveal[open]) .answer[data-correct] .key .ico,
.answer-card.is-correct .key .ico {
  display: block;
}
.qcard.is-answered .answer[data-correct] .key .l,
html:not(.js) .qcard:has(.reveal[open]) .answer[data-correct] .key .l {
  display: none;
}
.qcard.is-wrong .answer.is-picked .key {
  background: var(--coral-text);
  color: #fff;
  box-shadow: none;
}
.qcard.is-wrong .answer.is-picked .key .l {
  display: none;
}
.qcard.is-wrong .answer.is-picked .key::after {
  content: "×";
  font-size: 22px;
  line-height: 0;
}

/* Show answer / Hide answer: the summary stays, so keyboard focus stays on it. */
.reveal {
  margin-top: 12px;
}
.reveal summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 16px 3px;
  border-radius: var(--radius-chip);
  background: #fff;
  color: var(--ocean);
  font: 800 18px/1 var(--font-display);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
}
.reveal summary::-webkit-details-marker {
  display: none;
}
.reveal summary .ico {
  transition: transform 120ms;
}
.reveal[open] summary .ico {
  transform: rotate(90deg);
}
.reveal:not([open]) .s-hide,
.reveal[open] .s-show {
  display: none;
}

/* the explanation: the app's feedback sheet, set into the card */
.fb {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  border-top: 5px solid var(--sea);
  background: var(--fb-sea);
}
.fb .fb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font: 800 23px/1 var(--font-display);
  color: var(--fb-sea-text);
}
.fb-disc {
  width: 34px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sea);
  color: var(--ink);
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.fb-title .t-right,
.fb-title .t-wrong,
.qcard.is-right .fb-title .t-plain,
.qcard.is-wrong .fb-title .t-plain {
  display: none;
}
.qcard.is-right .fb-title .t-right,
.qcard.is-wrong .fb-title .t-wrong {
  display: inline;
}
.fb p {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
}
.fb .answer-line {
  font-weight: 700;
}
.fb-expl:focus {
  outline-offset: 4px;
}
.src {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font: 700 16px/1.35 var(--font-body);
  color: var(--fb-sea-text);
  margin: 0;
}
.fb .src {
  margin: 0;
}
.src .ico {
  margin-top: 1px;
}
.qcard.is-wrong .fb {
  border-top-color: var(--coral);
  background: var(--fb-coral);
}
.qcard.is-wrong .fb-title,
.qcard.is-wrong .src {
  color: var(--fb-coral-text);
}
.qcard.is-wrong .fb-disc {
  background: var(--coral);
}
.qcard.is-wrong .fb-disc .ico {
  display: none;
}
.qcard.is-wrong .fb-disc::after {
  content: "×";
  font: 800 26px/1 var(--font-body);
  margin-top: -2px;
}
.q-list {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.q-list > li {
  margin: 0;
}

/* the translation line under the English (D-042), used in the language demo */
.tr {
  display: block;
  margin-top: 3px;
  font: 500 16px/1.25 var(--font-body);
  color: var(--ink-2);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 16px/1 var(--font-body);
}
.switch i {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: var(--sea-deep);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.switch i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.switch--off i {
  background: #fff;
}
.switch--off i::after {
  left: 4px;
  background: var(--ink-2);
  box-shadow: none;
}

/* ---------------------------------------------------------------- language demo (home) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.demo {
  position: relative;
}
.demo .qcard {
  max-width: 560px;
  margin-left: auto;
}
.demo-lang {
  position: relative;
  z-index: 2;
  width: max-content;
  margin: 0 0 -22px auto;
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 5px 0 var(--ink);
  transform: rotate(-3deg);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.pills li {
  margin: 0;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.bullets .ico {
  margin-top: 3px;
  color: var(--sea-text);
}

/* ---------------------------------------------------------------- language list (home) */
.langs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 16px;
  padding-top: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.langs li {
  margin: 0;
}
.langs .opt {
  min-height: 76px;
}
.langs .opt {
  position: relative;
}
.langs .tag {
  position: absolute;
  top: -12px;
  right: 14px;
  box-shadow: 0 0 0 2px #fff;
}
.langs .tag--sea {
  box-shadow:
    inset 0 0 0 2px var(--sea-line),
    0 0 0 2px #fff;
}
.langs-group {
  margin: 28px 0 12px;
  font: 800 20px/1.2 var(--font-display);
}
[lang="ru"],
[lang="uk"],
[lang="he"] {
  font-family: system-ui, sans-serif;
}

/* ---------------------------------------------------------------- trust row */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.trust .card h3 {
  font-size: 21px;
}
.trust .card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}
.trust-ico {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--radius-chip);
  background: var(--sun-50);
  box-shadow: inset 0 0 0 2px var(--sun-line);
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq details {
  border-radius: var(--radius-control);
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
  margin-bottom: 4px;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 20px;
  font: 700 19px/1.3 var(--font-body);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  color: var(--ocean);
  transition: transform 120ms;
}
.faq details[open] summary .ico {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 20px 16px;
  color: var(--ink-2);
  font-size: 17px;
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- final call to action */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0 24px;
  background: var(--ocean);
  color: #fff;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: var(--ocean-sub);
  font-size: 19px;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
}
.cta-band .badge-ph {
  background: transparent;
  border-color: rgb(255 255 255 / 0.55);
  color: var(--ocean-sub);
}
.cta-band .badge-ph b {
  color: #fff;
}
.cta-band .badge-note {
  color: var(--ocean-sub);
}
.cta-band .limit {
  color: var(--ocean-sub);
  font-size: 16px;
}
.cta-band .limit b {
  color: #fff;
}
.cta-road {
  display: block;
  width: 100%;
  height: 90px;
}

/* ---------------------------------------------------------------- state and article pages */
.page-hero {
  padding: 36px 0 48px;
  background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}
.page-hero h1 {
  margin-bottom: 18px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.byline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.jump li {
  margin: 0;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 14px 3px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 3px 0 var(--sky-line);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.jump a:hover {
  background: var(--sky);
}

/* key facts as postage stamps */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.facts .stamp {
  width: 100%;
  max-width: 150px;
}
.facts .stamp-face {
  align-self: center;
  margin-top: -5%;
}
.facts .stamp-num {
  font-size: 54px;
  margin-top: 4px;
}
.facts .fact-t {
  margin-top: 10px;
  font: 700 16px/1.3 var(--font-body);
}
.facts .fact-s {
  font-size: 16px;
  color: var(--ink-2);
}

/* the Florida route card (mini map from the plan screen) */
.route-card {
  padding: 16px 16px 18px;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 7px 0 var(--ink);
}
.side-title {
  margin: 0 0 8px;
  font: 800 24px/1.15 var(--font-display);
  color: var(--ink);
}
.route-card .side-title {
  margin-bottom: 2px;
}
.route-card .sub {
  font: 700 16px/1.3 var(--font-body);
  color: var(--ink-2);
  margin: 0 0 10px;
}
.route-map {
  border-radius: 16px;
  background: var(--water);
  box-shadow: inset 0 0 0 2px var(--sky-line);
}
.route-places {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 14px;
}
.route-places img {
  width: 25%;
  height: auto;
}

/* article body and aside */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.doc--toc {
  grid-template-columns: 260px minmax(0, 1fr);
}
.aside-sticky {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}
.prose {
  max-width: 740px;
  font-size: 19px;
  line-height: 1.62;
}
.prose h2 {
  margin: 56px 0 14px;
  scroll-margin-top: 100px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 28px 0 8px;
}
.prose li {
  margin-bottom: 8px;
}
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 8px 0 20px;
  font-size: 17px;
  border-radius: var(--radius-chip);
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--sky-line);
}
.prose th,
.prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--sky);
  vertical-align: top;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose thead th {
  background: var(--sky-50);
  font-weight: 800;
}
.prose td.num {
  font: 800 20px/1.2 var(--font-display);
  white-space: nowrap;
}
sup.fn {
  font-size: 0.62em;
  line-height: 0;
  margin-left: 1px;
}
sup.fn a {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 4px;
  margin: -6px -2px;
}
.pull {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  background: var(--sun-50);
  box-shadow: inset 0 0 0 2px var(--sun-line);
}
.pull p:last-child {
  margin: 0;
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 16px 0 24px;
}
.two .card {
  padding: 20px;
}
.two .card h3 {
  font-size: 21px;
  margin-top: 0;
}
.two .card p,
.two .card ul {
  font-size: 17px;
  margin-bottom: 8px;
}
.two .card .tag {
  margin-bottom: 10px;
}

/* the steps to a license: stamps on a sand road */
.road-steps {
  position: relative;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}
.road-steps::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 10px;
  width: 30px;
  border-radius: 15px;
  background:
    linear-gradient(var(--sand), var(--sand)) padding-box,
    var(--sand-deep);
  border: 4px solid var(--sand-deep);
}
.road-steps::after {
  content: "";
  position: absolute;
  left: 43px;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: repeating-linear-gradient(180deg, #fff 0 12px, transparent 12px 24px);
}
.road-steps > li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 22px;
}
.road-steps .stamp {
  width: 64px;
  margin: 0 auto;
}

.road-steps .stamp-num {
  font-size: 30px;
  margin-top: 3px;
}
.road-steps h3 {
  margin: 6px 0 4px;
  font-size: 22px;
}
.road-steps p {
  margin: 0;
  font-size: 18px;
}
.road-steps .stop {
  display: inline-flex;
  margin-top: 8px;
}

/* where to take it */
.places3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 20px;
}
.places3 .card {
  padding: 20px;
}
.places3 h3 {
  font-size: 20px;
  margin-top: 0;
}
.places3 p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.counties {
  border-radius: var(--radius-control);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky-line);
}
.counties summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 20px;
  font: 800 19px/1.2 var(--font-display);
  cursor: pointer;
  list-style: none;
}
.counties summary::-webkit-details-marker {
  display: none;
}
.counties summary .ico {
  color: var(--ocean);
}
.counties[open] summary .ico {
  transform: rotate(45deg);
}
.county-list {
  columns: 3;
  column-gap: 24px;
  margin: 0;
  padding: 4px 20px 16px;
  list-style: none;
  font-size: 16px;
}
.county-list li {
  break-inside: avoid;
  margin: 0 0 6px;
}
.county-list small {
  color: var(--ink-2);
}
.counties .note {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

/* topic legs */
.legs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}
.legs li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-height: 56px;
  padding: 6px 14px 6px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 3px 0 var(--sky-line);
  font: 700 17px/1.25 var(--font-body);
}
.legs .legno {
  width: 36px;
  height: 36px;
  font-size: 20px;
  border-radius: 11px;
}
.legs small {
  display: block;
  font: 600 16px/1.25 var(--font-body);
  color: var(--ink-2);
}

/* sources */
.sources {
  margin-top: 56px;
  padding: 24px 26px 18px;
  border-radius: var(--radius-card);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
  font-size: 16px;
  line-height: 1.45;
}
.sources h2 {
  font-size: 26px;
  margin: 0 0 6px;
}
.sources ol {
  padding-left: 22px;
}
.sources li {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.sources .checked {
  color: var(--ink-2);
}

/* aside cards */
.side-card {
  padding: 20px;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 6px 0 var(--ink);
}
.side-card .side-title {
  font-size: 24px;
  color: var(--ink);
}
.side-card p {
  font-size: 16px;
  color: var(--ink-2);
}
.side-card .btn {
  width: 100%;
}
.toc {
  padding: 18px 18px 12px;
  border-radius: var(--radius-card);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
}
.toc-title {
  margin: 0 0 4px;
  font: 800 18px/1.2 var(--font-display);
  color: var(--ink);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin: 0;
}
.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 6px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.toc a::before {
  content: counter(toc);
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--sky-line);
  font: 800 16px/1 var(--font-display);
  color: var(--ink-2);
}
.toc a:hover {
  background: #fff;
}
.toc-m {
  display: none;
}

/* key-facts box of an article */
.keyfacts {
  position: relative;
  margin: 8px 0 36px;
  padding: 22px 24px 20px;
  border-radius: var(--radius-panel);
  background: var(--sun-50);
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 6px 0 var(--ink);
}
.keyfacts h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.keyfacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.keyfacts li {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}
.keyfacts li .ico {
  margin-top: 2px;
  color: var(--ink);
}
.keyfacts .kf-stamp {
  position: absolute;
  right: 22px;
  top: -34px;
  width: 64px;
  transform: rotate(6deg);
}
.keyfacts .kf-stamp .stamp {
  width: 64px;
}
.keyfacts .kf-stamp .stamp-num {
  font-size: 26px;
}
.keyfacts .kf-stamp .stamp-micro {
  font-size: 10px;
}
.dated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font: 700 16px/1.3 var(--font-body);
  color: var(--sea-text);
}

/* practice page */
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
}
.group-head h2 {
  margin: 0;
  font-size: 28px;
}
.group-head p {
  margin: 2px 0 0;
  font-size: 16px;
  color: var(--ink-2);
}
.group + .group {
  margin-top: 56px;
}
.continue {
  margin-top: 64px;
  padding: 32px;
  border-radius: var(--radius-sheet);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
}
.continue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: center;
}
.continue ul {
  margin-bottom: 22px;
}
.intro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.intro-stats li {
  margin: 0;
}
.score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
}
.miles {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.miles .stamp {
  width: 58px;
}

.miles .stamp-micro {
  font-size: 10px;
}
.miles .stamp-num {
  font-size: 27px;
  margin-top: 2px;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: 0;
  background: var(--sky-50);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}
.foot-road {
  display: block;
  width: 100%;
  height: 90px;
  background: #fff;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 28px 0 36px;
}
.foot-h {
  margin: 0 0 4px;
  font: 800 17px/1.3 var(--font-body);
  color: var(--ink);
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-grid li {
  margin: 0;
}
.foot-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.foot-grid a:hover {
  color: var(--ocean);
  text-decoration: underline;
}
.foot-brand p {
  margin: 14px 0 0;
  max-width: 340px;
}
.foot-legal {
  padding: 22px 0 32px;
  border-top: 2px solid var(--sky);
  font-size: 16px;
}
.foot-legal p {
  margin: 0 0 10px;
}
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-chip);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--sky-line);
  color: var(--ink);
  font-size: 16px;
}
.disclaimer .ico {
  color: var(--ocean);
  margin-top: 2px;
}
.disclaimer p {
  margin: 0;
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero-grid,
  .split,
  .page-hero-grid,
  .doc,
  .doc--toc,
  .practice-grid,
  .continue-grid,
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid {
    gap: 48px;
  }
  .trip {
    max-width: 560px;
    margin: 0 auto 0 34px;
  }
  .langs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }
  .aside-sticky {
    position: static;
  }
  .toc-d {
    display: none;
  }
  .toc-m {
    display: block;
    margin-bottom: 28px;
  }
  .page-hero-grid .route-card {
    max-width: 420px;
  }
  .demo .qcard {
    margin-left: 0;
  }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 17px;
  }
  .section {
    padding: 56px 0;
  }
  .site-header .wrap {
    gap: 10px;
    min-height: 68px;
  }
  .menu-panel {
    top: 68px;
  }
  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .brand span {
    font-size: 20px;
  }
  .header-end {
    gap: 8px;
  }
  .lang {
    display: none;
  }
  .btn--sm {
    padding: 6px 14px 3px;
    font-size: 17px;
  }
  .btn--sm .ico,
  .hide-s {
    display: none;
  }
  .menu summary {
    padding: 4px 10px;
  }
  .hero {
    padding: 32px 0 56px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero .lead,
  .lead {
    font-size: 18px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-deco {
    display: none;
  }
  .trip {
    margin: 0 0 0 0;
    padding: 8px;
  }
  .trip-legbar {
    min-height: 52px;
  }
  .trip-legbar .sub {
    font-size: 16px;
  }
  .trip-legbar b {
    font-size: 19px;
  }
  .trip-mini {
    position: static;
    margin: 16px 0 0;
    transform: none;
    box-shadow: inset 0 0 0 2px var(--sky-line);
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .trust,
  .places3,
  .two,
  .legs {
    grid-template-columns: minmax(0, 1fr);
  }
  .langs {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-lang {
    margin-right: -6px;
    padding: 6px;
    gap: 4px;
  }
  .demo-lang .code--sm {
    width: 28px;
  }
  .qcard {
    padding: 18px 16px 18px;
  }
  .q-stem {
    font-size: 24px;
  }
  .answers {
    grid-template-columns: minmax(0, 1fr);
  }
  .answer,
  .answer-btn,
  .answer-card {
    font-size: 17px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .facts .stamp {
    max-width: 128px;
  }
  .facts .stamp-num {
    font-size: 38px;
  }
  .keyfacts ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .keyfacts .kf-stamp {
    width: 60px;
    top: -26px;
    right: 12px;
  }
  .county-list {
    columns: 1;
  }
  .prose {
    font-size: 18px;
  }
  .prose h2 {
    margin-top: 44px;
  }
  .prose table {
    font-size: 16px;
  }
  .prose th,
  .prose td {
    padding: 10px 12px;
  }
  .road-steps::before {
    left: 17px;
  }
  .road-steps::after {
    left: 30px;
  }
  .road-steps > li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
  .road-steps .stamp {
    width: 56px;
  }
  .continue {
    padding: 24px 18px;
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .cta-band {
    padding-top: 48px;
  }
  .cta-band .btn {
    width: 100%;
  }
  .postcard-greet {
    font-size: 18px;
  }
  .postcard-city {
    font-size: 48px;
  }
  .badge-ph {
    width: 146px;
  }
}
@media (max-width: 380px) {
  .brand span {
    font-size: 18px;
  }
  .postcard-city {
    font-size: 42px;
  }
}

/* ---------------------------------------------------------------- pieces added with the pages */
.c-ocean {
  color: var(--ocean);
}
.c-ink {
  color: var(--ink);
}
.c-lock {
  color: var(--lock-text);
}
.c-flamingo {
  color: var(--flamingo-deep);
}
.radio {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2.5px var(--control);
  background: #fff;
}
.radio--on {
  background: var(--ocean);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio--on::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
.states-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.states-note .ico {
  color: var(--ocean);
}

/* the language demo: a static question card in the answered state */
.qcard--demo {
  padding-top: 38px;
}
.qcard--demo .answer-card {
  min-height: 64px;
}
.answer-card.is-correct .tr {
  color: var(--ink);
}
.answer-card.is-dim {
  color: var(--ink-2);
}
.qcard--demo .answers {
  display: grid;
}
.tr--stem {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
}
.fb-switch {
  margin: 10px 0 0;
}
.demo-cap {
  margin: 14px 0 0 auto;
  max-width: 560px;
}

/* road-signs teaser */
.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-sheet);
}
.teaser h2 {
  margin-bottom: 8px;
}
.sign-fan {
  display: flex;
  gap: 14px;
}
.sign-fan span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: var(--radius-card);
  background: var(--sky-50);
  box-shadow:
    inset 0 0 0 2px var(--sky-line),
    0 4px 0 var(--sky-line);
}
.sign-fan span:nth-child(odd) {
  transform: rotate(-4deg);
}
.sign-fan span:nth-child(even) {
  transform: rotate(3deg) translateY(8px);
}
.faq-more {
  margin-top: 24px;
  font-weight: 700;
}
.faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

/* state page */
.inline-q {
  max-width: 740px;
  margin: 8px 0 20px;
}
.practice-cta {
  margin-bottom: 8px;
}
.guide-links {
  list-style: none;
  padding: 0;
}
.guide-links li {
  margin: 0 0 2px;
}
.guide-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.guide-links a::after {
  content: "→";
  margin-left: 6px;
}
.sources.prose-w {
  max-width: 900px;
}

/* practice page */
.legbar-static {
  margin: 0 0 32px;
}
.side-card .miles {
  margin: 4px 0 14px;
}
.side-card--small {
  padding: 18px;
}
.side-card--small .side-title {
  font-size: 20px;
}
.side-card--small .btn {
  width: auto;
}

/* guide */
.guide-hero {
  max-width: 900px;
}
.guide-doc {
  padding-top: 8px;
  padding-bottom: 72px;
}
.guide-doc .faq {
  max-width: 740px;
}
.guide-doc .sources {
  max-width: 740px;
}
.related-h {
  margin-top: 48px !important;
}
.miles-art {
  width: 100%;
  height: auto;
}
.postcard-city--long {
  font-size: 44px;
}

@media (max-width: 1080px) {
  .teaser {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .teaser {
    padding: 22px 18px;
  }
  .sign-fan {
    gap: 8px;
  }
  .sign-fan span {
    width: 72px;
    height: 72px;
    padding: 6px;
    border-radius: 14px;
  }
  .postcard-city--long {
    font-size: 34px;
  }
  .demo-cap {
    margin-left: 0;
  }
}

/* state page: the article column and its sticky contents */
.state-doc {
  padding-bottom: 72px;
}
.doc-main {
  min-width: 0;
}
.doc-main .places3,
.doc-main .counties,
.doc-main .legs,
.doc-main .faq,
.doc-main .inline-q,
.doc-main .sources {
  max-width: 820px;
}
.sign-row {
  display: flex;
  gap: 8px;
  margin: 4px 0 10px;
}
.sign-row img {
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 2px var(--sky);
}
@media (min-width: 1081px) {
  .page-hero .jump {
    display: none;
  }
}
.facts-band {
  padding: 8px 0 48px;
}
.places3 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
}
.doc-main > .prose:not(:first-child) > h2:first-child {
  margin-top: 56px;
}
.practice-cta {
  margin-top: 4px;
}
.group-head .kicker {
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.practice-end {
  padding-bottom: 72px;
}
.practice-end .sources {
  max-width: 900px;
}
@media (min-width: 1081px) {
  .continue-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
  }
}
.continue ul {
  font-size: 18px;
}
@media (max-width: 1080px) {
  .practice-grid > .aside-sticky {
    display: none;
  }
}

/* ================================================================ round 2 (27 Sep 2026 critique) */

/* home: the Florida line under the h1 (the h1 itself is national) */
.h1-sub {
  margin: -6px 0 18px;
  font: 800 clamp(20px, 1.8vw, 24px) / 1.25 var(--font-display);
}
.h1-sub a {
  color: var(--ocean);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.h1-sub .ico {
  display: inline-block;
  vertical-align: -3px;
  margin-left: 4px;
}
.states-links {
  margin: 20px 0 0;
  font-weight: 700;
}
.states-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

/* the aside first in the source, second on screen (keyboard order: contents before the article) */
@media (min-width: 1081px) {
  .state-doc > .aside-sticky,
  .practice-grid > .aside-sticky {
    grid-column: 2;
    grid-row: 1;
  }
  .state-doc > .doc-main,
  .practice-grid > .practice-main {
    grid-column: 1;
    grid-row: 1;
  }
}
.practice-main {
  min-width: 0;
}

/* practice: the app's mission end after question 10 */
.mile-end {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius-sheet);
  background: var(--sea-50);
  box-shadow:
    inset 0 0 0 2.5px var(--ink),
    0 6px 0 var(--ink);
}
.mile-end-art {
  width: 120px;
  height: auto;
  overflow: visible;
}
.mile-end .kicker {
  margin-bottom: 4px;
  color: var(--sea-text);
}
.mile-end-title {
  margin: 0 0 8px;
  font: 800 28px/1.1 var(--font-display);
  color: var(--ink);
}
.mile-end .btn-row {
  margin: 4px 0 8px;
}
.mile-end .limit {
  max-width: none;
  margin: 0;
}

/* practice: road signs and their meanings (knowledge base, plan §3.3 item 4) */
.meanings {
  margin-top: 72px;
  padding-top: 8px;
}
.meanings > h3 {
  margin: 40px 0 10px;
  font-size: 26px;
  scroll-margin-top: 100px;
}
.meanings > p {
  max-width: 760px;
}
.jump--inline {
  margin: 8px 0 8px;
}
.sign-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 8px 0 12px;
  border-radius: var(--radius-chip);
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--sky-line);
  font-size: 17px;
  line-height: 1.45;
}
.sign-table th,
.sign-table td {
  text-align: left;
  vertical-align: middle;
  padding: 10px 16px;
  border-bottom: 2px solid var(--sky);
}
.sign-table tr:last-child th,
.sign-table tr:last-child td {
  border-bottom: 0;
}
.sign-table thead th {
  background: var(--sky-50);
  font-weight: 800;
}
.sign-table tbody th {
  width: 36%;
  font-weight: 700;
}
.st-shape,
.st-color {
  display: flex;
  align-items: center;
  gap: 12px;
}
.st-shape img {
  width: 48px;
  height: 48px;
  flex: none;
}
.swatch {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.swatch--red {
  background: #c1272d;
}
.swatch--orange {
  background: #f47b20;
}
.swatch--yellow {
  background: #ffcc00;
}
.swatch--ygreen {
  background: #c3e021;
}
.swatch--white {
  background: #fff;
}
.swatch--green {
  background: #00704a;
}
.swatch--blue {
  background: #1f4e9c;
}
.swatch--brown {
  background: #7a4b24;
}
.sign-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 12px 0 8px;
  padding: 0;
  list-style: none;
}
.sign-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px 14px 12px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--sky-line);
}
.sc-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  padding: 6px;
  border-radius: 14px;
  background: var(--sky-50);
}
.sc-art img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.sc-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sc-name {
  font: 800 19px/1.2 var(--font-display);
  padding-top: 2px;
}
.sc-text {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
}
.meanings-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--ink-2);
}
.meanings-note .ico {
  color: var(--ocean);
  margin-top: 2px;
}

/* guide: key facts under the lead, one table of contents */
.guide-hero .keyfacts {
  margin: 44px 0 0;
}
@media (max-width: 1080px) {
  .guide-aside .side-card {
    display: none;
  }
  .guide-aside {
    margin-bottom: 8px;
  }
}

/* reflow at 320 px (WCAG 1.4.10): the icon alone carries the brand; the link keeps its label */
@media (max-width: 359px) {
  .brand span {
    display: none;
  }
  .demo-lang {
    margin-right: 0;
    gap: 3px;
  }
  .demo-lang .code--sm {
    width: 26px;
  }
}
@media (max-width: 640px) {
  .sign-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .sign-table th,
  .sign-table td {
    padding: 10px 12px;
  }
  .sign-table tbody th {
    width: 40%;
  }
  .st-shape {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .mile-end {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 18px;
  }
  .mile-end-art {
    width: 96px;
  }
  .mile-end .btn {
    width: 100%;
  }
  .h1-sub {
    font-size: 22px;
  }
}

/* a date is its own element (<time>): keep it in the line of text, not a separate flex item */
.byline span,
.dated {
  display: inline-block;
}
.byline span > .ico,
.dated > .ico {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}
