/*
 * sunva.ai — the info pages (privacy, terms, security, support, data
 * deletion, 404), in the home page's look: a night hero with the page's
 * facts at a glance, then the text on the warm paper with a contents rail
 * beside it. The text itself is unchanged from what was written; only its
 * frame is designed. Fonts are served from this site (assets/fonts, SIL OFL),
 * so these pages load nothing from anyone else.
 */

@font-face { font-family: 'Manrope'; src: url('fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-700.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --night: #07081d;
  --night-deep: #04051a;
  --indigo: #2c2e76;
  --glow: #a3a8ff;
  --amber: #e4a347;
  --amber-lit: #f0bd6b;
  --cream: #efece5;
  --cream-2: rgba(239, 236, 229, .66);
  --cream-3: rgba(239, 236, 229, .42);
  --rule: rgba(163, 168, 255, .14);

  --paper: #f5f3ee;
  --ink: #12131f;
  --ink-2: #4f5266;
  --ink-3: #7c7f8f;
  --hair: #e4e0d6;
  --faint: #8d8f9c; /* used inline in privacy.html's table */

  --sans: 'Manrope', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --serif: 'Instrument Serif', 'Noto Serif', Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
  --shell: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); color-scheme: dark; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--cream); font: 500 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: #0c0d2e; padding: 10px 16px; border-radius: 12px; }

/* reading progress, a hairline of amber at the top */
.progress { position: fixed; inset: 0 0 auto; z-index: 41; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ------------------------------------------------------------ buttons (the app's AppButton) */

.btn-light, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s var(--ease), filter .25s;
}
.btn-light:hover, .btn-secondary:hover { filter: brightness(1.06); }
.btn-light:active, .btn-secondary:active { transform: scale(.98); }
.btn-light {
  background: linear-gradient(180deg, #fffcf2, #ede4cc) padding-box, linear-gradient(180deg, #fff, #cfc3a2) border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14), 0 3px 6px rgba(0, 0, 0, .40);
  color: #14153f;
}
.btn-secondary {
  background: linear-gradient(180deg, #202128, #1d1f27) padding-box, linear-gradient(180deg, #383b4b, #383b4b) border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25), 0 3px 6px rgba(0, 0, 0, .40);
  color: #f1efea;
}
.btn-light .ic, .btn-secondary .ic { width: 18px; height: 18px; }

.ic, .go { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ header */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(7, 8, 29, .62);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background .5s, color .5s;
}
.bar.on-paper { background: rgba(245, 243, 238, .82); color: var(--ink); }
.bar.on-paper .mark { --mark-ink: var(--indigo); }
.brand { flex: 1; display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--sans); letter-spacing: -.03em; }
.brand .mark { width: 22px; height: 30px; }
.bar nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 600; }
.bar nav .wide { opacity: .7; transition: opacity .25s; }
.bar nav .wide:hover, .bar nav .wide[aria-current] { opacity: 1; }
.bar nav .wide[aria-current] { box-shadow: 0 1.5px 0 var(--amber); }
.bar .get { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.bar.on-paper .get {
  background: linear-gradient(180deg, hsl(238 46% 45%), #2c2e76) padding-box, linear-gradient(180deg, hsl(238 46% 66%), hsl(238 46% 25%)) border-box;
  box-shadow: 0 4px 14px rgba(44, 46, 118, .18), 0 3px 6px rgba(0, 0, 0, .18);
  color: #fff;
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: clamp(130px, 18vh, 170px) var(--gutter) calc(clamp(56px, 8vh, 80px) + 36px);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(44, 46, 118, .7), transparent 70%),
    radial-gradient(30% 40% at 10% 0%, rgba(228, 163, 71, .1), transparent 70%),
    linear-gradient(180deg, var(--night-deep), var(--night));
  overflow: hidden;
}
.hero-in, .glance { max-width: var(--shell); margin-inline: auto; }
.hero-in { display: grid; justify-items: start; gap: 18px; }

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 236, 229, .12);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-2);
}
.updated::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6fd39b; box-shadow: 0 0 0 3px rgba(111, 211, 155, .16); }

h1 {
  margin: 0;
  max-width: 14ch;
  font: 400 clamp(52px, 8vw, 112px)/.92 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fffaf1 30%, #e8dfd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.standfirst { max-width: 46ch; margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--cream-2); text-wrap: pretty; }
.standfirst a, .hero .meta a { color: var(--cream); border-bottom: 1px solid var(--cream-3); }
.hero .meta { margin: 0; font-size: 14px; color: var(--cream-3); }
.hero .meta strong { color: var(--cream-2); font-weight: 700; }

.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 8px; }
.hero-cta span { font-size: 14px; color: var(--cream-3); }

/* the page's facts, at a glance */
.glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(40px, 6vh, 64px);
  padding: 0;
  list-style: none;
}
.g-card, .d-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
  border: 1px solid rgba(163, 168, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
a.g-card:hover { border-color: rgba(228, 163, 71, .45); transform: translateY(-2px); }
.g-card .ic { width: 22px; height: 22px; margin-bottom: 8px; color: var(--amber-lit); }
.g-card b, .d-step b { font: 400 25px/1.1 var(--serif); letter-spacing: -.01em; color: var(--cream); }
.g-card span, .d-step > span:last-child { font-size: 14px; line-height: 1.5; color: var(--cream-2); }
.g-card code, .d-step code { padding: 0 6px; border-radius: 5px; background: rgba(255, 255, 255, .1); font: 700 .95em/1.4 var(--sans); color: var(--amber-lit); }

.help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-card.help { grid-template-columns: auto 1fr auto; grid-template-areas: "ic t go" "ic d go"; column-gap: 14px; align-items: center; }
.g-card.help .ic { grid-area: ic; width: 40px; height: 40px; margin: 0; padding: 9px; border-radius: 12px; background: rgba(228, 163, 71, .12); }
.g-card.help b { grid-area: t; font: 700 16px/1.3 var(--sans); }
.g-card.help span { grid-area: d; font-size: 13.5px; }
.go { width: 18px; height: 18px; color: var(--cream-3); transition: transform .3s var(--ease), color .3s; }
.g-card.help .go { grid-area: go; }
a:hover > .go { transform: translateX(3px); color: var(--amber-lit); }

.d-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d-step { padding-top: 22px; }
.d-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--amber); color: #1d1406; font: 400 19px/1 var(--serif); }
.d-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 38px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--cream-3);
  border-right: 1.5px solid var(--cream-3);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------ the text, on paper */

.paper {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: clamp(56px, 8vh, 88px) var(--gutter) clamp(80px, 12vh, 120px);
  border-radius: 36px 36px 0 0;
  background: var(--paper);
  color: var(--ink);
}
.doc { max-width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

/* contents rail */
.toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: thin; }
.toc summary { list-style: none; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--ink-3); cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
/* on a wide screen it's a label, not a toggle */
@media (min-width: 900px) { .toc summary { pointer-events: none; } }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--hair); }
.toc li { margin: 0; }
.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-3);
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); font-weight: 700; border-left-color: var(--amber); }

/* the prose */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  position: relative;
  margin: 64px 0 16px;
  font: 400 clamp(30px, 2.8vw, 40px)/1.08 var(--serif);
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.prose h2:first-child { margin-top: 0; }
.prose .hash { position: absolute; left: -1.1em; top: 0; width: 1em; color: var(--amber); opacity: 0; transition: opacity .2s; font-family: var(--sans); font-size: .7em; line-height: 1.6; text-align: center; text-decoration: none; }
.prose h2:hover .hash, .prose .hash:focus { opacity: 1; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--amber); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--ink); }
.prose a:not(.hash) { color: var(--indigo); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(44, 46, 118, .3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:not(.hash):hover { text-decoration-color: var(--indigo); }
.prose a.email { white-space: nowrap; }
.prose code {
  padding: 2px 8px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--hair);
  font: 700 .92em/1.4 var(--sans);
  letter-spacing: .02em;
  color: var(--indigo);
  white-space: nowrap;
}

/* the closing fine print */
.prose .fine { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-3); }
.prose .fine strong { color: var(--ink-2); }

/* callouts: the app's cards, indigo for a fact, amber for a warning */
.callout {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6e5f3;
  box-shadow: 0 1px 2px rgba(18, 19, 31, .04), 0 12px 26px -14px rgba(18, 19, 31, .12);
  color: var(--ink-2);
}
.callout > .ic { width: 22px; height: 22px; margin-top: 3px; color: var(--indigo); }
.callout > div { min-width: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.warn { background: #fbf2e1; border-color: #f0dcb4; }
.callout.warn > .ic { color: #b9802c; }
.callout.warn strong { color: #5b3b0c; }

/* tables: a white card */
.table-scroll { margin: 24px 0; overflow-x: auto; border-radius: 18px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 12px 26px -16px rgba(18, 19, 31, .14); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th { padding: 14px 18px; background: #faf8f3; text-align: left; font-size: 13px; font-weight: 700; color: var(--ink-3); border-bottom: 1px solid var(--hair); }
td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid #f0ede5; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

/* keep reading */
.related { max-width: var(--shell); margin: clamp(64px, 10vh, 100px) auto 0; padding-top: 40px; border-top: 1px solid var(--hair); }
.r-title { margin: 0 0 18px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.r-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.r-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "t go" "d go";
  gap: 4px 14px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hair);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.r-card:hover { border-color: #d7cfbd; transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(18, 19, 31, .3); }
.r-card b { grid-area: t; font: 400 24px/1.1 var(--serif); color: var(--ink); }
.r-card span { grid-area: d; font-size: 14px; color: var(--ink-3); }
.r-card .go { grid-area: go; color: var(--ink-3); }
.r-card:hover .go { color: var(--amber); }

/* ------------------------------------------------------------ 404 */

.lost {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(70% 55% at 50% 110%, rgba(44, 46, 118, .85), transparent 70%),
    linear-gradient(180deg, var(--night-deep), var(--night));
}
.lost-in { display: grid; justify-items: center; gap: 20px; max-width: 760px; }
.lost h1 { max-width: 12ch; }
.lost .standfirst { max-width: 40ch; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(239, 236, 229, .12); background: rgba(255, 255, 255, .04); font-size: 13.5px; font-weight: 600; color: var(--cream-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.lost-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.rings { position: absolute; left: 50%; top: 46%; z-index: -1; width: 0; height: 0; }
.rings i { position: absolute; left: 50%; top: 50%; width: min(118vmin, 1000px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(163, 168, 255, .2); translate: -50% -50%; scale: calc(.28 + var(--k, 0) * .24); }
.rings i:nth-child(2) { --k: 1; }
.rings i:nth-child(3) { --k: 2; }
.rings i:nth-child(4) { --k: 3; }
@media (prefers-reduced-motion: no-preference) {
  .rings i { animation: signal 7.2s linear infinite; opacity: 0; }
  .rings i:nth-child(2) { animation-delay: -1.8s; }
  .rings i:nth-child(3) { animation-delay: -3.6s; }
  .rings i:nth-child(4) { animation-delay: -5.4s; }
}
@keyframes signal { 0% { scale: .2; opacity: 0; } 12% { opacity: .9; } 100% { scale: 1.15; opacity: 0; } }

/* ------------------------------------------------------------ footer */

.site-foot { border-top: 1px solid var(--rule); background: var(--night-deep); }
.site-foot .cols { max-width: var(--shell); margin: 0 auto; padding: 56px var(--gutter) 38px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.site-foot .brand { gap: 0; font-size: 22px; }
.site-foot .brand .mark { margin-right: 10px; }
.site-foot .brand span { color: var(--amber); }
.f-brand p { margin: 12px 0 0; max-width: 18rem; color: var(--cream-2); font-size: 14.5px; }
.f-brand .f-fine { color: var(--cream-3); font-size: 13px; }
.site-foot nav { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--cream-2); }
.site-foot nav b { margin-bottom: 4px; font-size: 13px; color: var(--cream-3); font-weight: 600; }
.site-foot nav a:hover { color: #fff; }
.site-foot .base { max-width: var(--shell); margin: 0 auto; padding: 18px var(--gutter) 28px; display: flex; justify-content: space-between; border-top: 1px solid rgba(163, 168, 255, .08); font-size: 13px; color: var(--cream-3); }

@property --gx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
/* ------------------------------------------------------------ the name, big */

/* "sunva.ai" across the whole width under the footer, the bottom of its
   letters sinking off the page. The letters are engraved: barely there, an
   edge of light along their tops. A light in the hero's amber and indigo
   follows the pointer (--gx, --gy from the script) and lights them where it
   passes; on touch it drifts across by itself. */
.giant {
  --gx: 50%;
  --gy: 30%;
  position: relative;
  overflow: hidden;
  height: calc(var(--gs) * .78);
  --gs: min(25.5vw, 400px);
  margin-top: 8px;
  user-select: none;
  -webkit-user-select: none;
}
.giant-in {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: .06em;
  translate: -50% 0;
  font: 800 var(--gs)/.82 var(--sans);
  letter-spacing: -.065em;
  white-space: nowrap;
}
.g-mark { flex: none; width: .5em; height: .7em; margin: .06em .04em 0 0; --mark-ink: rgba(239, 236, 229, .1); filter: drop-shadow(0 0 30px rgba(228, 163, 71, .25)); }
.g-word {
  padding-right: .06em;
  background:
    radial-gradient(28vw 22vw at var(--gx) var(--gy), rgba(240, 189, 107, .95), rgba(163, 168, 255, .55) 45%, transparent 75%),
    linear-gradient(180deg, rgba(239, 236, 229, .16), rgba(239, 236, 229, .03) 70%);
  background-attachment: scroll;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g-word em { font-style: normal; font-size: .38em; letter-spacing: -.02em; vertical-align: .14em; margin-left: .02em; } /* on the baseline, lifted clear of the cut */
/* the light is measured in the word's own box (the script sets it there) */
.giant.lit .g-word { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .giant:not(.pointer) .g-word { animation: drift 9s ease-in-out infinite alternate; }
}
@keyframes drift { from { --gx: 8%; } to { --gx: 92%; } }

/* ------------------------------------------------------------ smaller screens */

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

@media (max-width: 899px) {
  .bar nav .wide { display: none; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  /* the contents become a box you open */
  .toc { position: static; max-height: none; overflow: visible; }
  .toc details { border-radius: 16px; background: #fff; border: 1px solid var(--hair); }
  .toc summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px 18px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
  .toc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
  .toc details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
  .toc ol { margin: 0 18px 14px; }
  .r-grid { grid-template-columns: 1fr; }
  .d-steps { grid-template-columns: 1fr; }
  .d-step:not(:last-child)::after { right: auto; left: 36px; top: auto; bottom: -11px; transform: rotate(135deg); }
}

@media (max-width: 600px) {
  .hero { padding-top: 112px; }
  /* the facts as a compact two-by-two; the help links and steps stay one a row */
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .help-grid, .d-steps { grid-template-columns: 1fr; }
  .g-card { padding: 14px; gap: 4px; border-radius: 16px; }
  .g-card .ic { width: 18px; height: 18px; margin-bottom: 4px; }
  .g-card b { font-size: 19px; }
  .g-card span { font-size: 12.5px; line-height: 1.45; }
  .g-card.help { padding: 14px 16px; }
  .g-card.help b { font-size: 15px; }
  .d-step b { font-size: 21px; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 48px; }
  .prose .hash { display: none; }
  .callout { padding: 16px; gap: 12px; }
  th, td { padding: 12px 14px; }
  .paper { border-radius: 26px 26px 0 0; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

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

/* Fingers need room: 44px-tall targets on touch screens. */
@media (pointer: coarse) {
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  /* padding, not display: on phones these links are hidden and must stay so */
  .bar nav .wide { padding-block: 10px; }
  .bar .get { min-height: 44px; }
  .toc a { padding-block: 12px; }
  .site-foot nav { gap: 0; }
  .site-foot nav a { display: flex; align-items: center; min-height: 44px; }
  .site-foot nav b { margin-bottom: 0; }
}
