/* Meeting Decision Hub landing. "Minute book": ink, warm paper, one signal yellow, hairlines, tight corners. */

@font-face {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --ink: #16181d;
  --ink-2: #22252c;
  --paper: #f3f0e8;
  --card: #ffffff;
  --line: #d6d0c2;
  --yellow: #f4c20d;
  --yellow-soft: #f9eaa9;
  --slate: #57606e;
  --stop: #bf3b1b;
  --title: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: 32px;
  --rule: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--yellow);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.ink :focus-visible,
.sheets__foot :focus-visible {
  outline-color: var(--yellow);
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

.wrap {
  width: 100%;
  max-width: 1304px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
}

.skip:focus {
  top: 12px;
}

.small {
  font-size: 0.9rem;
  color: var(--slate);
}

/* Section label: mono capitals with the yellow square that marks every section in the app */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.sq {
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
}

.sq--ink {
  background: var(--ink);
}

.num {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.num--box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 36px;
  background: var(--yellow-soft);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-size: 0.95rem;
  letter-spacing: 0;
}

/* ---------- Header ---------- */

.top {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 48px;
}

.top__nav {
  margin-left: auto;
}

.top__nav ul {
  display: flex;
  gap: 4px;
}

.top__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
}

.top__nav a:hover,
.top__nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.top__play {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.top__play--soon {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
}

/* ---------- Call to action ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 5px 5px 0 rgba(22, 24, 29, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(22, 24, 29, 0.28);
}

.cta__icon {
  flex: none;
}

/* On white and paper the button is the app's yellow with the hard ink edge of its floating button */
.close .cta,
.doc .cta {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.close a.cta:hover,
.doc a.cta:hover {
  box-shadow: 3px 3px 0 var(--ink);
}

/* Not published yet: a notice, not a button */
.cta.cta--soon {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
  box-shadow: none;
  cursor: default;
}

.hero .cta.cta--soon {
  background: rgba(255, 255, 255, 0.45);
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
}

/* ---------- Hero: the yellow head of the page ---------- */

.hero {
  background: var(--yellow);
  padding: 72px 0 176px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px 72px;
  align-items: end;
}

.hero .label {
  color: var(--ink);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 6.4vw, 5.7rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  max-width: 13ch;
}

.hl {
  background: var(--ink);
  color: var(--yellow);
  padding: 0 0.12em;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lede {
  margin-top: 30px;
  max-width: 54ch;
  font-size: 1.22rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 34px;
}

.fiche {
  border-top: 3px solid var(--ink);
}

.fiche > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.35);
}

.fiche dt {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
}

.fiche dd {
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.35;
}

/* ---------- Sheets: three real screens laid over the page, cut by the ink foot ---------- */

.sheets {
  border-top: 3px solid var(--ink);
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 calc(var(--rule) - 1px), var(--line) calc(var(--rule) - 1px) var(--rule));
}

.sheets__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 290px));
  gap: 28px;
  align-items: end;
  margin-top: -128px;
}

.sheet {
  border: 3px solid var(--ink);
  border-bottom: 0;
  background: var(--paper);
  overflow: hidden;
}

.sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sheet--1 {
  height: 590px;
}

.sheet--2 {
  height: 520px;
}

.sheet--3 {
  height: 450px;
}

.sheets__note {
  align-self: end;
  padding: 20px 20px 22px;
  margin-bottom: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
}

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

.sheets__note li {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.sheets__note .num {
  color: var(--slate);
}

.sheets__foot {
  background: var(--ink);
  color: var(--paper);
}

.sheets__foot p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheets__foot span {
  color: var(--yellow);
}

/* ---------- Section heads ---------- */

.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  max-width: 20ch;
}

.sec-head__lede {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--slate);
}

/* ---------- Flow: the five steps set as an agenda ---------- */

.flow {
  padding: 104px 0 112px;
}

.agenda {
  margin-top: 44px;
  border-top: 2px solid var(--ink);
}

.agenda li {
  display: grid;
  grid-template-columns: 76px 200px minmax(0, 1fr) 250px;
  gap: 8px 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.agenda h3 {
  font-size: 1.45rem;
  padding-top: 3px;
}

.agenda p {
  max-width: 62ch;
}

.agenda__where {
  justify-self: end;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--slate);
  padding-top: 6px;
}

.agenda--help li {
  grid-template-columns: 76px 300px minmax(0, 1fr);
}

/* ---------- Board: seven leaves in two columns, like a spread of the minute book ---------- */

.board {
  background: var(--card);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 104px 0 72px;
}

.board__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 28px;
}

.board__col--left {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.board__col--right {
  padding-left: 56px;
  padding-top: 132px;
}

.leaf {
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--line);
}

.board__col .leaf:last-child {
  border-bottom: 0;
}

.leaf__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.leaf__label .num {
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0;
}

.leaf h3 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
}

.leaf h3 + p {
  margin-top: 12px;
  max-width: 54ch;
}

.extract {
  margin-top: 26px;
  border: 3px solid var(--ink);
  background: var(--paper);
}

.extract img {
  width: 100%;
}

.ticks {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.ticks li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.15em;
  width: 11px;
  height: 11px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
}

/* ---------- Ink band: four product decisions ---------- */

.ink {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 96px;
}

.ink .label {
  color: #b9bdc6;
}

.rulings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.rulings li {
  background: var(--ink-2);
  border-left: 5px solid var(--yellow);
  border-radius: 4px;
  padding: 24px 22px 26px;
}

.rulings .num--box {
  background: var(--yellow);
  color: var(--ink);
}

.rulings h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  line-height: 1.15;
  color: #fff;
}

.rulings p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #c9ccd3;
}

.ink__more {
  margin-top: 32px;
  color: #c9ccd3;
}

.ink__more a {
  color: var(--yellow);
}

/* ---------- Questions ---------- */

.faq {
  padding: 104px 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px 64px;
}

.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.qa > div {
  border-top: 2px solid var(--ink);
  padding: 18px 0 30px;
}

.qa dt {
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.qa dd {
  margin-top: 8px;
  font-size: 0.99rem;
}

/* ---------- Closing sheet ---------- */

.close {
  padding: 0 0 112px;
}

.close__sheet {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: center;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 44px 48px;
}

.close__icon {
  border-radius: 10px;
  align-self: start;
}

.close__text h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  max-width: 19ch;
}

.close__text h2 + p {
  margin-top: 14px;
  max-width: 50ch;
}

.close__actions {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 320px;
}

/* ---------- Footer ---------- */

.foot {
  border-top: 3px solid var(--ink);
  padding: 52px 0 32px;
  font-size: 0.97rem;
}

.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 36px 56px;
}

.foot__brand p {
  margin-top: 10px;
  max-width: 40ch;
  color: var(--slate);
}

.foot__col h2 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.foot__col li a,
.foot__col p a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.foot__col p + p {
  color: var(--slate);
  max-width: 36ch;
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 40px;
  padding-top: 18px;
  background: linear-gradient(var(--line), var(--line)) top / 100% 1px no-repeat content-box;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--slate);
}

/* ---------- Document pages: privacy, help, versions, 404 ---------- */

.doc__head {
  padding-top: 64px;
  padding-bottom: 52px;
}

.doc__head h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.doc__lede {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 1.18rem;
  font-weight: 500;
}

.doc__date {
  display: inline-block;
  margin-top: 22px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 0.82rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}

.links a:hover {
  background: var(--yellow-soft);
}

.doc__head {
  border-bottom: 3px solid var(--ink);
}

.doc__head.wrap {
  background: var(--yellow);
  max-width: none;
  padding-left: max(var(--gutter), calc((100% - 1304px) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - 1304px) / 2 + var(--gutter)));
}

.doc__head .label {
  color: var(--ink);
}

.doc__head .sq {
  background: var(--ink);
}

.page-none .doc__head {
  padding-bottom: 96px;
  border-bottom: 0;
  min-height: 60vh;
}

.doc__cols {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 104px;
}

.toc {
  position: sticky;
  top: 24px;
}

.toc h2 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.toc a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  background: var(--yellow-soft);
}

.toc .num {
  color: var(--slate);
}

.prose {
  max-width: 800px;
}

.prose section {
  padding-bottom: 44px;
  scroll-margin-top: 24px;
}

.prose section + section {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.prose h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  text-wrap: wrap;
}

.prose h2 .num--box {
  flex: none;
}

.prose p,
.prose table {
  margin-top: 16px;
}

.prose .ticks,
.crosses {
  margin-top: 18px;
}

.crosses {
  border-top: 1px solid var(--line);
}

.crosses li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}

.crosses li::before,
.crosses li::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1.45em;
  width: 14px;
  height: 2px;
  background: var(--stop);
  transform: rotate(45deg);
}

.crosses li::after {
  transform: rotate(-45deg);
}

.grid {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1.5px solid var(--ink);
  font-size: 0.93rem;
  line-height: 1.4;
}

.grid th,
.grid td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.grid thead th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow-soft);
  border-bottom: 1.5px solid var(--ink);
}

.grid tbody th {
  font-weight: 600;
  width: 32%;
}

.grid tbody tr:last-child th,
.grid tbody tr:last-child td {
  border-bottom: 0;
}

.doc__body {
  padding-top: 8px;
}

.doc > .doc__body {
  padding-bottom: 104px;
}

.help {
  padding-top: 72px;
  scroll-margin-top: 8px;
}

.note {
  margin-top: 28px;
  max-width: 78ch;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
}

.qa--wide {
  margin-top: 40px;
  gap: 0 56px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 64px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 44px 48px;
}

.contact h2 {
  margin-top: 16px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.contact h2 + p {
  margin-top: 14px;
  max-width: 44ch;
  font-weight: 500;
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contact__mail:hover {
  text-decoration-color: var(--ink);
}

.contact__tips {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 22px 24px;
}

.contact__tips h3 {
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.contact__tips .ticks {
  margin-top: 14px;
}

.contact__tips .small {
  margin-top: 14px;
}

.release {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px 56px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.release__no {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.25rem;
}

.tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.release__text {
  max-width: 720px;
}

.release__text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.release__play {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 56px;
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .rulings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda li {
    grid-template-columns: 76px 180px minmax(0, 1fr);
  }

  .agenda__where {
    grid-column: 3;
    justify-self: start;
    text-align: left;
    padding-top: 0;
  }

  .close__sheet {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .close__actions {
    grid-column: 2;
    max-width: none;
  }

  .sheets__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sheets__note {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 0 32px;
  }
}

@media (max-width: 899px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 1rem;
  }

  .top__in {
    flex-wrap: wrap;
    padding-top: 6px;
  }

  .top__play {
    margin-left: auto;
  }

  .top__nav {
    order: 3;
    width: 100%;
    margin: 0 -12px;
    border-top: 1px solid var(--line);
  }

  .top__nav ul {
    flex-wrap: wrap;
    gap: 0;
  }

  .top__nav a {
    padding: 0 8px;
    font-size: 0.94rem;
  }

  .hero {
    padding: 44px 0 108px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__lede {
    font-size: 1.1rem;
  }

  .sheets__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: -72px;
  }

  .sheet--1 {
    height: 96vw;
    max-height: 620px;
  }

  .sheet--2 {
    height: 82vw;
    max-height: 540px;
  }

  .sheet--3 {
    display: none;
  }

  .sheets__note {
    margin-bottom: 24px;
  }

  .sheets__note li:last-child {
    display: none;
  }

  .flow,
  .faq {
    padding: 68px 0 72px;
  }

  .agenda li,
  .agenda--help li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 20px 0;
  }

  .agenda li > :not(.num) {
    grid-column: 2;
  }

  .agenda h3 {
    font-size: 1.3rem;
  }

  .board {
    padding: 68px 0 28px;
  }

  /* One column in reading order: the two column wrappers dissolve and the leaves follow their number */
  .board__grid {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
  }

  .board__col {
    display: contents;
  }

  .leaf {
    padding: 36px 0 40px;
  }

  .board__col .leaf:last-child {
    border-bottom: 1px solid var(--line);
  }

  .leaf--1 { order: 1; }
  .leaf--2 { order: 2; }
  .leaf--3 { order: 3; }
  .leaf--4 { order: 4; }
  .leaf--5 { order: 5; }
  .leaf--6 { order: 6; }
  .board__col .leaf--7 { order: 7; border-bottom: 0; }

  .ink {
    padding: 68px 0;
  }

  .faq__grid,
  .doc__cols,
  .contact,
  .release,
  .foot__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .close {
    padding-bottom: 76px;
  }

  .close__sheet,
  .contact {
    padding: 28px 22px 32px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .doc__head {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .doc__cols {
    gap: 36px;
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .toc {
    position: static;
  }

  .toc a {
    padding: 12px 0;
  }

  .help {
    padding-top: 56px;
  }

  .doc > .doc__body {
    padding-bottom: 76px;
  }

  .release {
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .top__play {
    display: none;
  }

  .rulings,
  .qa {
    grid-template-columns: minmax(0, 1fr);
  }

  .close__sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .close__actions {
    grid-column: 1;
  }

  .cta {
    width: 100%;
    justify-content: center;
    padding: 0 16px;
  }

  .hero__actions,
  .close__actions,
  .release__play {
    display: grid;
    justify-items: stretch;
  }

  .fiche > div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .prose h2 {
    align-items: start;
  }

  /* The data table becomes one card per row */
  .grid thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .grid,
  .grid tbody,
  .grid tr,
  .grid th,
  .grid td {
    display: block;
    width: auto;
  }

  .grid tbody th {
    width: auto;
    background: var(--yellow-soft);
    border-bottom: 1px solid var(--line);
  }

  .grid tr {
    border-bottom: 1.5px solid var(--ink);
  }

  .grid tr:last-child {
    border-bottom: 0;
  }

  .grid td {
    border-bottom: 1px solid var(--line);
  }

  .grid tbody tr td:last-child {
    border-bottom: 0;
  }

  .grid td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta {
    transition: none;
  }
}

@media print {
  .top,
  .foot,
  .toc,
  .skip {
    display: none;
  }
}
