/* Shared by the subpages (support, privacy policy, terms, 404). The home page keeps its own
   inline styles; the tokens, type and header/footer here are the same system. */
@font-face { font-family: 'Libre Caslon Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/libre-caslon-display-latin.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Caslon fallback'; src: local('Georgia'); size-adjust: 85.4%; ascent-override: 113.6%; descent-override: 31.6%; line-gap-override: 0%; }
@font-face { font-family: 'Schibsted fallback'; font-weight: 400 500; src: local('Arial'), local('ArialMT'); size-adjust: 104%; ascent-override: 94.3%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: 'Schibsted fallback'; font-weight: 600 800; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 100%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --ground: #FAFAF8; --wall: #F3F3EF; --paper: #FFFEFB; --ink: #1D1D1B; --soft: #55554F; --label: #66665F; --tone: #75746C;
  --green: #38544A; --green-deep: #2F473E; --cream: #FBF3EA; --rule: #E2E1DA; --line: rgba(29, 29, 27, .16);
  --warn: #9A3B24; --warn-ground: #FBEFEA;
  --f-display: 'Libre Caslon Display', 'Caslon fallback', Georgia, serif;
  --f-ui: 'Schibsted Grotesk', 'Schibsted fallback', Arial, sans-serif;
  --gut: max(clamp(20px, 5.2vw, 80px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(29, 29, 27, .07), 0 18px 40px -18px rgba(29, 29, 27, .32);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; background: var(--ground); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--f-ui); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; }
main:focus { outline: none; }
::selection { background: #D3E0D8; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(56, 84, 74, .6); }
a:hover { color: var(--green); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 60; left: 12px; top: -60px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100%, calc(var(--max) + 2 * var(--gut))); margin: 0 auto; padding-inline: var(--gut); }

.h1 { font: 400 clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem)/1.03 var(--f-display); letter-spacing: -.015em; }
.h2 { font: 400 clamp(1.875rem, 1.2rem + 2vw, 3rem)/1.08 var(--f-display); letter-spacing: -.012em; }
.tone { color: var(--tone); }
.kick { margin-bottom: 16px; font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--green); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--soft); max-width: 36em; }
.fine { font-size: 14px; line-height: 1.5; color: var(--label); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--ground); font: 500 14px/1 var(--f-ui); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: #000; color: var(--ground); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(29, 29, 27, .3); }
.btn.ghost:hover { background: rgba(29, 29, 27, .05); color: var(--ink); }
.btn.big { min-height: 48px; padding: 0 22px; font-size: 15.5px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ============ Header ============ */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span { font: 400 21px/1 var(--f-display); letter-spacing: -.005em; white-space: nowrap; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav > a:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; font-size: 14px; color: var(--soft); text-decoration: none; white-space: nowrap; }
.top-nav > a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.top-nav > a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.top .btn { min-height: 38px; font-size: 13.5px; margin-left: 6px; }

/* ============ Page head ============ */
.page-head { padding: clamp(36px, 7vh, 84px) 0 clamp(36px, 6vh, 64px); }
.page-head .lead { margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.updated { margin-top: 18px; font-size: 13.5px; color: var(--label); }
.by { margin-top: 18px; max-width: 44em; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.by + .updated { margin-top: 6px; }

/* ============ Bands: a heading on the left, the matter on the right ============ */
.band { padding: clamp(48px, 8vh, 88px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 0; }
.band.wall { background: var(--wall); border-top: 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px clamp(32px, 6vw, 96px); align-items: start; }
.band-grid > header .lead { margin-top: 16px; font-size: 1.0625rem; }
.band-grid > header { position: sticky; top: 28px; }

.facts { margin-top: 26px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.facts dt { color: var(--label); }
.facts dd { color: var(--ink); overflow-wrap: anywhere; }

/* ============ The contact form ============ */
.card { padding: clamp(22px, 3vw, 36px); border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px rgba(29, 29, 27, .08), var(--shadow); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 14.5px/1.3 var(--f-ui); }
.field .hint { font-size: 13.5px; line-height: 1.45; color: var(--label); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(29, 29, 27, .28); border-radius: 10px; background: #fff; font-size: 16px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 168px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(29, 29, 27, .5); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(56, 84, 74, .22); border-radius: 10px; }
.field [aria-invalid="true"] { border-color: var(--warn); }
.field .err { font-size: 14px; line-height: 1.4; color: var(--warn); }
.field .err:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot .fine { flex: 1; min-width: 14em; }
.status { padding: 12px 14px; border-radius: 10px; background: var(--warn-ground); color: var(--warn); font-size: 15px; line-height: 1.45; }
.status:empty { display: none; }
.status a { color: inherit; }
.sent { display: grid; gap: 10px; }
.sent .sent-t { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.12 var(--f-display); color: var(--ink); }
.sent p { color: var(--soft); }
.sent:focus { outline: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Questions ============ */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 2px; cursor: pointer; list-style: none; font: 500 clamp(17px, 1rem + .25vw, 19px)/1.35 var(--f-ui); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green); }
.qa .ans { padding: 0 2px 22px; max-width: 40em; color: var(--soft); font-size: 16px; line-height: 1.6; }
.qa .ans > * + * { margin-top: 12px; }
.qa .ans b, .qa .ans strong { color: var(--ink); font-weight: 600; }
.qa-group { margin: 34px 0 10px; font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--label); }
.qa-group:first-child { margin-top: 0; }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7.25px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0); }

/* ============ Plain running text (support bands and the legal documents) ============ */
.prose { max-width: 42em; color: var(--soft); font-size: 16.5px; line-height: 1.65; overflow-wrap: break-word; }
.prose > * + * { margin-top: 14px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose h3 { margin-top: 30px; font: 600 1.125rem/1.35 var(--f-ui); color: var(--ink); }
.prose h4 { margin-top: 22px; font: 600 1rem/1.4 var(--f-ui); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 7px; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green-deep); overflow-wrap: anywhere; }

/* ============ Legal documents ============ */
.doc { padding-bottom: clamp(56px, 9vh, 96px); }
.doc-grid { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 46em); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 4px 4px 4px 0; font-size: 14px; line-height: 1.4; }
.toc summary { display: none; }
.toc h2 { margin-bottom: 10px; font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--label); }
.toc ol { padding: 0; list-style: none; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.doc-body { min-width: 0; }
.doc-section { padding: 30px 0 4px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.doc-section:first-child { padding-top: 0; border-top: 0; }
.doc-section > h2 { font: 400 clamp(1.625rem, 1.3rem + 1vw, 2.125rem)/1.14 var(--f-display); letter-spacing: -.008em; color: var(--ink); margin-bottom: 16px; }
.doc-section.prose { max-width: none; }
.doc-section + .doc-section { margin-top: 30px; }
.note, .contact-block, .data-detail, .sub-processor { padding: 16px 18px; border-radius: 12px; background: var(--wall); color: var(--soft); }
.note > * + *, .contact-block > * + *, .data-detail > * + *, .sub-processor > * + * { margin-top: 8px; }
.sub-processor { background: var(--paper); box-shadow: 0 0 0 1px var(--rule); }
.sub-processor h3 { margin-top: 0; }
.prose .sub-processor + .sub-processor, .prose .data-detail + h3 { margin-top: 22px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; box-shadow: 0 0 0 1px var(--rule); background: var(--paper); }
.table-scroll:focus-visible { outline-offset: 2px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; text-align: left; }
.legal-table th { padding: 12px 14px; font: 600 13px/1.3 var(--f-ui); color: var(--ink); background: var(--wall); vertical-align: bottom; }
.legal-table td { padding: 12px 14px; border-top: 1px solid var(--rule); vertical-align: top; color: var(--soft); }
.doc-end { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--soft); }

/* ============ Not found ============ */
.lost { display: grid; place-items: center; min-height: 62vh; text-align: center; padding: clamp(48px, 10vh, 120px) var(--gut); }
.lost .code { font: 400 clamp(5rem, 3rem + 12vw, 11rem)/.9 var(--f-display); letter-spacing: -.02em; color: var(--rule); margin-bottom: 18px; }
.lost .lead { margin: 16px auto 0; }
.lost .jump { justify-content: center; }

/* ============ Kids Mode page (kids-mode.html) ============
   The parts of the home page's Kids Mode chapter, kept the same as its inline CSS: the three
   app examples with a ring on the detail each step is about, the facts, the privacy vows,
   the store badges and the green close. This block carries its own breakpoints. */
.fine b { color: var(--ink); font-weight: 600; }
.sample { font-size: 12.5px; line-height: 1.45; color: var(--label); text-wrap: balance; }
.badges { --bh: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.badges a { display: block; flex: none; line-height: 0; border-radius: calc(var(--bh) * .2); }
.badges img { max-width: none; width: auto; }
.badge-apple img { height: var(--bh); aspect-ratio: 120 / 40; }
/* the Play artwork carries its own padding: crop it so the visible badge matches the App Store one */
.badge-play img { height: calc(var(--bh) * 250 / 168); margin: calc(var(--bh) * -41 / 168); aspect-ratio: 646 / 250; }

.kids-head { padding: clamp(36px, 7vh, 84px) 0 clamp(8px, 2vh, 24px); background: var(--cream); }
.k-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 22px clamp(32px, 6vw, 96px); }
.k-intro .lead + .lead { margin-top: 12px; }
.k-get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.k-get .fine { color: var(--soft); }

.kids { padding: clamp(48px, 8vh, 88px) 0 clamp(56px, 9vh, 96px); background: var(--cream); scroll-margin-top: 0; }
/* the second half of a heading moves to its own line as one piece when it does not fit */
.tone.unit { display: inline-block; }
.k-rail { margin-top: clamp(28px, 4vh, 44px); }
.k-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); margin: 0; padding: 30px 0 0; list-style: none; }
.k-step { min-width: 0; }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(18px, 2vw, 28px); box-shadow: 0 1px 2px rgba(29, 29, 27, .08), 0 30px 60px -30px rgba(29, 29, 27, .38); }
.shot figcaption { position: absolute; top: -26px; left: 2px; font: 500 11.5px/1.2 var(--f-ui); color: var(--label); }
.k-shot { width: min(100%, 252px); aspect-ratio: 400 / 869; }
.ring { position: absolute; border-radius: 9px; box-shadow: 0 0 0 2px var(--green), 0 0 0 7px rgba(56, 84, 74, .16); pointer-events: none; }
.r-you { left: 33.6%; top: 38.9%; width: 13.6%; height: 3.7%; }
.r-jane { left: 33.6%; top: 85.5%; width: 15%; height: 3.7%; }
.r-by { left: 2.2%; top: 39.6%; width: 34%; height: 8.3%; }
.r-liked { left: 2%; top: 78.8%; width: 32%; height: 15.8%; }
.st-n { margin-top: 22px; font: 400 30px/1 var(--f-display); color: var(--green); }
.st-t { margin-top: 10px; font: 600 19px/1.28 var(--f-ui); letter-spacing: -.005em; }
.st-p { margin-top: 8px; max-width: 22em; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.k-note { margin-top: 28px; }
.k-facts, .vows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px clamp(24px, 3.4vw, 56px); margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; list-style: none; }
.k-facts li, .vows li { padding-top: 16px; border-top: 1px solid var(--line); }
.k-facts h3, .vows h3 { font: 600 17px/1.3 var(--f-ui); }
.k-facts p, .vows p { margin-top: 8px; max-width: 26em; font-size: 15px; line-height: 1.5; color: var(--soft); }
.vows { margin-top: clamp(28px, 4vh, 44px); }
.vows p + p { font-size: 14px; }
.privacy-more { margin-top: 28px; font-size: 15px; color: var(--soft); }

.close { background: var(--green); color: var(--cream); text-align: center; padding: clamp(64px, 10vw, 112px) var(--gut); }
.close .h2 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1.02; }
.close .tone { display: block; color: #C3CBC3; }
.close .badges { --bh: 48px; justify-content: center; margin-top: 30px; }
.close .fine { margin-top: 14px; color: #DCDAD1; }
.close a { color: var(--cream); text-decoration-color: rgba(251, 243, 234, .6); }
.close a:hover { color: #fff; }
.close a:focus-visible { outline-color: var(--cream); }
.close-more { margin-top: 22px; }
.qr { display: none; }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .qr { display: flex; align-items: center; gap: 14px; width: max-content; max-width: 30rem; margin: 22px auto 0; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(251, 243, 234, .1); text-align: left; }
  .qr img { width: 76px; height: 76px; border-radius: 6px; background: #fff; padding: 4px; }
  .qr figcaption { font-size: 13.5px; line-height: 1.45; color: #E6E3DA; }
}
@media (max-width: 1099px) {
  .st-t { font-size: 17px; }
  .st-p { font-size: 15px; }
}
@media (max-width: 899px) {
  .k-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 799px) {
  /* the three app examples become one sideways row */
  .k-rail { margin-inline: calc(var(--gut) * -1); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .k-rail::-webkit-scrollbar { display: none; }
  .k-rail:focus-visible { outline-offset: -2px; border-radius: 0; }
  .k-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(68vw, 270px); gap: 22px; width: max-content; padding: 30px var(--gut) 6px; }
  .k-step { scroll-snap-align: start; }
  .k-shot { width: 100%; }
  .k-note { margin-top: 18px; }
}
@media (max-width: 640px) {
  .st-n { margin-top: 16px; font-size: 26px; }
  .st-t { font-size: 16.5px; }
  .st-p { font-size: 14.5px; }
  .k-facts, .vows { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ============ Guide and compare pages (child-diary-prompts.html, compare.html) ============
   Both open with the Kids Mode page's cream head. The guide lists its prompts between hairlines;
   the compare page has four "choose this if" notes and one table that scrolls sideways on phones. */
.g-head { padding-bottom: clamp(40px, 7vh, 72px); }
.g-head .jump { margin-top: 26px; }
.g-head .updated { margin-top: 18px; }
.prompts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prompts li { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1rem + .2vw, 18.5px); line-height: 1.42; color: var(--ink); max-width: 40em; }
.cmp { margin-top: clamp(28px, 4vh, 44px); }
.cmp-table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; line-height: 1.5; text-align: left; }
.cmp-table col.c-row { width: 14%; }
.cmp-table col.c-ours { width: 26%; }
.cmp-table thead th { padding: 14px; font: 600 15px/1.3 var(--f-ui); color: var(--ink); background: var(--wall); vertical-align: bottom; }
.cmp-table tbody th { padding: 13px 14px; border-top: 1px solid var(--rule); font: 600 13.5px/1.4 var(--f-ui); color: var(--ink); vertical-align: top; }
.cmp-table td { padding: 13px 14px; border-top: 1px solid var(--rule); vertical-align: top; color: var(--soft); }
.cmp-table .ours { background: #EEF2EE; color: var(--ink); }
.cmp-table thead .ours { background: var(--green); color: var(--cream); }
.cmp-note { margin-top: 14px; max-width: 60em; }
.cmp-swipe { display: none; margin-top: 18px; }
.cmp-swipe + .cmp { margin-top: 10px; }
.srcs { margin-top: 26px; }
.srcs a { color: var(--green-deep); overflow-wrap: anywhere; }
@media (max-width: 899px) { .cmp-swipe { display: block; } }

/* ============ Footer ============ */
.foot { background: var(--wall); text-align: center; padding: 44px var(--gut) 40px; }
.foot-tag { font: 400 clamp(1.5rem, 1rem + 1.4vw, 2.25rem)/1.15 var(--f-display); letter-spacing: -.008em; text-wrap: balance; }
.foot-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; }
.foot-nav a { display: inline-block; padding-block: 6px; color: var(--soft); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--label); }
.to-top { display: inline-block; margin-top: 14px; padding-block: 6px; font-size: 13px; color: var(--soft); }

@media (max-width: 899px) {
  .band-grid { grid-template-columns: minmax(0, 1fr); }
  .band-grid > header { position: static; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; max-height: none; padding: 0; border-radius: 12px; background: var(--wall); }
  .toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font: 600 15px/1.3 var(--f-ui); color: var(--ink); }
  .toc summary::-webkit-details-marker { display: none; }
  .toc h2 { display: none; }
  .toc ol { margin: 0 16px 14px; }
  .toc a { padding-block: 9px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .top-nav > a.nav-opt { display: none; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .form-foot .btn { width: 100%; }
  .jump .btn { flex: 1 1 auto; }
}
@media (max-width: 350px) { .top-nav > a:not(.btn) { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print {
  .top-nav, .toc, .foot-nav, .to-top, .jump, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .doc-grid { display: block; }
  a { text-decoration: none; }
}
