/* The front pages of Child Mode: one page for each kind of reader. The
   look is the release console's: paper, ink, one blue, white cards. No
   outside fonts, images or scripts: the content policy allows only this
   service's own files. */

:root {
  --paper: #f4f6fb;
  --card: #ffffff;
  --ink: #0f172a;
  --soft: #4a5871;
  --line: #dde3ee;
  --blue: #2157e0;
  --blue-deep: #1a45b8;
  --wash: #e6edfd;
  --ok: #0c6f47;
  --ok-wash: #e3f4ec;
  --stop: #b3261e;
  --stop-wash: #fdecea;
  --wait: #7a5200;
  --wait-wash: #fff3d2;
  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); }
code { font: .86em/1.4 var(--mono); background: #e9eef8; color: #17223b; padding: .08em .35em; border-radius: .3rem; }
section[id] { scroll-margin-top: 4.5rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem .75rem; z-index: 3; }

/* Top bar */
.bar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.bar-row { display: flex; align-items: center; gap: 1.5rem; min-height: 3.5rem; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.links { display: flex; gap: 1.1rem; margin-right: auto; flex-wrap: wrap; }
.links a { color: var(--soft); text-decoration: none; font-size: .9rem; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.links a[aria-current] { font-weight: 700; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .95rem/1 var(--sans);
  padding: .85rem 1.15rem; border-radius: .6rem;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.button:hover { border-color: #b9c3d6; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button.small { padding: .6rem .9rem; font-size: .85rem; }

/* Hero and video */
.hero { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.eyebrow { font: 700 .78rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }
h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -.028em; font-weight: 800;
  max-width: 24ch; margin-top: .9rem;
}
.lead { max-width: 44rem; margin-top: 1rem; color: #26334d; font-size: 1.08rem; }

.video { margin-top: 2rem; }
.video video {
  display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink);
  border: 1px solid var(--line); border-radius: 1rem;
}
.video figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; margin-top: .7rem; color: var(--soft); font-size: .9rem; }
.video details { margin-top: .9rem; }
.video summary { cursor: pointer; color: var(--blue); font-weight: 600; width: max-content; }
.transcript { margin-top: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 1.1rem 1.3rem; display: grid; gap: .7rem; max-width: 46rem; }
.transcript p { color: #26334d; }
.transcript p b { display: inline-block; min-width: 1.6rem; color: var(--soft); font: 700 .8rem/1.6 var(--mono); }

/* Sections */
.section { padding-top: 2.5rem; }
.section-head h2 { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--soft); max-width: 42rem; margin-top: .4rem; }
h3 { font-size: 1.05rem; letter-spacing: -.005em; }

.claims { display: grid; gap: .75rem; margin-top: 1.25rem; counter-reset: claim; }
.claims li { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1.2rem 1rem 3.4rem; position: relative; font-size: 1.02rem; }
.claims li::before { counter-increment: claim; content: counter(claim, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.05rem; font: 700 .85rem/1.6 var(--mono); color: var(--blue-deep); }
.claims li a { color: var(--blue); }

.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.door { display: flex; flex-direction: column; gap: .5rem; background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 1.2rem 1.3rem; color: var(--ink); text-decoration: none; min-height: 11rem; }
.door:hover { border-color: #b9c3d6; }
.door .kicker { font: 700 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.door strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.015em; }
.door span { color: #26334d; font-size: .95rem; }
.door em { margin-top: auto; font-style: normal; color: var(--blue); font-weight: 600; font-size: .9rem; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 1.3rem 1.4rem; }
.card h3 { margin-top: 0; }
.card p, .card li { color: #26334d; font-size: .97rem; }
.card ul, .card ol { margin-top: .7rem; display: grid; gap: .45rem; }
.card ol { padding-left: 1.3rem; list-style: decimal; }
.card ol li::marker { color: var(--blue); font-weight: 700; }
.card ul li { padding-left: 1rem; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--blue); }
.fine { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--soft); }
.kicker { font-size: .8rem; font-weight: 700; color: var(--soft); }

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; overflow-x: auto; margin-top: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .65rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; color: var(--soft); font-size: .82rem; }
td code { white-space: nowrap; }

.badge { display: inline-block; font: 700 .8rem/1 var(--mono); padding: .3rem .7rem; border-radius: 99rem; white-space: nowrap; }
.badge.ok { background: var(--ok-wash); color: var(--ok); }
.badge.stop { background: var(--stop-wash); color: var(--stop); }
.badge.wait { background: var(--wait-wash); color: var(--wait); }
.badge.plain { background: #eef1f6; color: var(--soft); }

.code { margin: 1.25rem 0 0; background: #0f172a; color: #e6ecf8; border-radius: .9rem; padding: 1.1rem 1.25rem; overflow-x: auto; font-size: .84rem; line-height: 1.6; }
.code code { background: none; color: inherit; padding: 0; font-size: inherit; }

.quote { border-left: 4px solid var(--blue); padding: .2rem 0 .2rem 1rem; font-size: 1.15rem; font-weight: 600; max-width: 40rem; margin-top: 1rem; }

/* What it is not */
.not { margin-top: 2.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.6rem; }
.not h2 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.015em; }
.not ul { margin-top: .8rem; display: grid; gap: .5rem; }
.not li { padding-left: 1.1rem; position: relative; color: #26334d; }
.not li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--stop); }

/* The one action */
.action { margin-top: 2.5rem; background: var(--ink); color: #fff; border-radius: 1rem; padding: 2rem 1.8rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.action h2 { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.15; }
.action p { color: #c7d2ea; margin-top: .4rem; max-width: 40rem; }
.action .buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.action .button { border-color: #3b4a6b; background: #1b2744; color: #fff; }
.action .button.primary { background: var(--blue); border-color: var(--blue); }

.foot { padding-top: 1.75rem; padding-bottom: 3rem; margin-top: 2.5rem; color: var(--soft); font-size: .86rem; border-top: 1px solid var(--line); display: grid; gap: .4rem; }
.foot a { color: var(--soft); }

@media (max-width: 52rem) {
  .doors, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .links { display: none; }
  .bar-row { justify-content: space-between; }
  .hero { padding-top: 2.25rem; }
  .doors, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .action { grid-template-columns: minmax(0, 1fr); }
  .video video { border-radius: .6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .bar, .video, .action, .foot a { display: none; }
  body { background: #fff; }
}
