/* dawnsweeper.com: one stylesheet. Colours are the game's own: the icon's banded
   dawn sky, the board's revealed ground and number colours, the green wall of
   fulfilled numbers, the five levels of the Creep and the Tide's amber shimmer. */

@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-var.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-italic-var.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url(/assets/fonts/noto-sans-latin-var.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  /* the icon's sky, top to horizon */
  --sky-0: #221642; --sky-1: #2b1945; --sky-2: #3a1d4b; --sky-3: #4d2452; --sky-4: #602a59;
  --sky-5: #743061; --sky-6: #873768; --sky-7: #9c426b; --sky-8: #b45b63; --sky-9: #d27a58; --sky-10: #f0994e;
  --sun: #ffd666;
  --gold: #ffd866; --amber: #f0a040; --tide: #f6a04c;
  /* the board */
  --ground: #f4ecd5; --ground-2: #ebe1c4; --tile: #dfe3cc; --hidden: #bfc5cc;
  --hair: rgba(92, 97, 107, .16);
  --n1: #0b2fe0; --n2: #0a7d12; --n3: #e01010; --flag: #e01b1b;
  --wall: #047860; --wall-glow: rgba(18, 184, 135, .16);
  --creep-1: #8a7bb0; --creep-2: #5f4596; --creep-3: #6a2378; --creep-4: #4a1030; --creep-5: #1a0812;
  /* text */
  --ink: #2a1a0e; --ink-2: #5a4434; --cream: #fff4dc; --cream-2: #e9d9e6;
  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: clamp(20px, 5vw, 48px);
  --measure: 66ch;
  --shadow: 6px 6px 0 rgba(34, 22, 66, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden; }
img, video, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--wall); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-style: double; text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--wall); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; font-variation-settings: "opsz" 96; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--cream); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pixel art: whole-number scales only (sizes are set in the markup) */
.px, .wordmark img { image-rendering: pixelated; image-rendering: crisp-edges; }

/* ------------------------------------------------------------------ sky */
.sky {
  color: var(--cream);
  background: linear-gradient(180deg,
    var(--sky-0) 0 12%, var(--sky-1) 12% 22%, var(--sky-2) 22% 32%, var(--sky-3) 32% 42%, var(--sky-4) 42% 52%,
    var(--sky-5) 52% 62%, var(--sky-6) 62% 72%, var(--sky-7) 72% 81%, var(--sky-8) 81% 88%, var(--sky-9) 88% 94%, var(--sky-10) 94% 100%);
}
.sky a { color: var(--cream); }

/* ------------------------------------------------------------------ header */
.top { background: var(--sky-0); color: var(--cream); }
.top__inner.top__inner--home { justify-content: flex-end; min-height: 60px; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 76px; flex-wrap: wrap; }
.wordmark { display: inline-flex; padding: 8px 0; }
.wordmark img { width: 268px; height: 36px; }
.top__nav { display: flex; gap: var(--s1); }
.top__nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 0 var(--s3); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.top__nav a:hover { border-bottom-color: var(--amber); }
.top__nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* ------------------------------------------------------------------ store badges */
.stores { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.store { display: inline-flex; min-height: 50px; }
.store--live img { height: 50px; width: auto; }
.store--play img { height: 74px; margin: -12px -11px; } /* Google's badge carries its own padding */
.store--soon { flex-direction: column; justify-content: center; padding: 6px 16px; border: 2px dashed rgba(255, 244, 220, .7); border-radius: 9px; line-height: 1.2; min-width: 150px; background: var(--sky-0); color: var(--cream); }
.store__name { font-weight: 700; font-size: 1rem; }
.store__state { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------------ home hero */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: end; }
.hero__text { padding-bottom: var(--s9); position: relative; z-index: 3; }
.hero__logo { width: 536px; height: 72px; margin-bottom: var(--s5); }
.hero h1 { margin: 0 0 var(--s5); line-height: 0; }
.hero__tag { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 560; line-height: 1.12; margin-bottom: var(--s5); font-variation-settings: "opsz" 96; letter-spacing: -.01em; text-wrap: balance; }
.hero__lede { font-size: 1.12rem; max-width: 34em; color: var(--cream); margin-bottom: var(--s6); }
.hero__art { position: relative; align-self: end; z-index: 2; }
.hero__sun { position: absolute; width: 300px; height: 300px; right: 12%; bottom: 52%; background: var(--sun);
  clip-path: polygon(35% 0, 65% 0, 65% 4%, 77% 4%, 77% 9%, 86% 9%, 86% 14%, 91% 14%, 91% 23%, 96% 23%, 96% 35%, 100% 35%, 100% 65%, 96% 65%, 96% 77%, 91% 77%, 91% 86%, 86% 86%, 86% 91%, 77% 91%, 77% 96%, 65% 96%, 65% 100%, 35% 100%, 35% 96%, 23% 96%, 23% 91%, 14% 91%, 14% 86%, 9% 86%, 9% 77%, 4% 77%, 4% 65%, 0 65%, 0 35%, 4% 35%, 4% 23%, 9% 23%, 9% 14%, 14% 14%, 14% 9%, 23% 9%, 23% 4%, 35% 4%); }
.hero__shot { position: relative; border: 3px solid var(--sky-0); box-shadow: var(--shadow); margin-bottom: -64px; background: var(--tile); }
.hero__horizon { height: 64px; background: var(--ground); border-top: 4px solid var(--sky-10); position: relative; }
.hero__folk { position: absolute; left: var(--gutter); bottom: 100%; display: flex; align-items: flex-end; gap: 10px; margin-bottom: 4px; }

/* ------------------------------------------------------------------ sections */
.section { padding: var(--s9) 0; }
.section--tight { padding-top: var(--s8); }
.section__head { max-width: var(--measure); margin-bottom: var(--s6); }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: var(--s4); }
.section h3 { font-size: 1.35rem; margin-bottom: var(--s3); }
.lede { font-size: 1.15rem; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.prose img { border: 2px solid var(--sky-0); }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 4px double var(--wall); font-family: var(--display); font-style: italic; font-size: 1.12rem; }
figcaption, .caption { font-size: .9rem; color: var(--ink-2); margin-top: var(--s2); line-height: 1.45; }

/* board grid: the revealed ground with its hairlines */
.board { background-color: var(--ground);
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; }

/* split rows: text beside a capture */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s7); align-items: center; }
.split + .split { margin-top: var(--s9); }
.split--flip > :first-child { order: 2; }
.split__text { max-width: 36em; }

/* framed captures */
.shot { border: 3px solid var(--sky-0); box-shadow: var(--shadow); background: var(--tile); }
.figure { margin: 0; }

/* board tiles as markers: a number in the game's own font and colour */
.tile { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--tile);
  border: 1px solid rgba(92, 97, 107, .38); font: 800 30px/1 var(--body); color: var(--n1); font-variant-numeric: tabular-nums; }
.tile--2 { color: var(--n2); } .tile--3 { color: var(--n3); }
.tile--wall { background: linear-gradient(var(--wall-glow), var(--wall-glow)), var(--tile); outline: 4px double var(--wall); outline-offset: -5px; color: var(--n2); }
.tile--creep { background: var(--creep-3); border-color: var(--creep-5);
  background-image: linear-gradient(rgba(0,0,0,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.28) 1px, transparent 1px); background-size: 16px 16px; }
.tile--flag { position: relative; background: var(--hidden); box-shadow: inset 3px 3px 0 #f5f7f9, inset -3px -3px 0 #7a828c; }
.tile--flag::before { content: ""; position: absolute; left: 22px; top: 9px; width: 4px; height: 26px; background: #1d1d1d; }
.tile--flag::after { content: ""; position: absolute; left: 9px; top: 9px; border-right: 15px solid var(--flag); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.marked { display: flex; gap: var(--s4); align-items: flex-start; }
.marked h2, .marked h3 { margin-top: 4px; }

/* a small honest board: 8 x 5, clues computed, drawn like the game's tiles */
.mini { --cell: 52px; display: grid; grid-template-columns: repeat(8, var(--cell)); width: max-content; margin: 0 auto;
  border: 3px solid var(--sky-0); box-shadow: var(--shadow); background: var(--tile); }
.m { width: var(--cell); height: var(--cell); display: grid; place-items: center; font: 800 calc(var(--cell) * .58)/1 var(--body); font-style: normal;
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); position: relative; }
.m--1 { color: var(--n1); } .m--2 { color: var(--n2); }
.m--wall { background: var(--wall-glow); box-shadow: inset 0 0 0 2px rgba(4, 120, 96, .35); }
.m--tide { box-shadow: inset -5px 0 0 var(--tide); }
.m--hid { background: var(--hidden); box-shadow: inset 3px 3px 0 #f5f7f9, inset -3px -3px 0 #7a828c; }
.m--flag::before { content: ""; position: absolute; left: 54%; top: 20%; width: 8%; height: 58%; background: #1d1d1d; }
.m--flag::after { content: ""; position: absolute; left: 24%; top: 20%; border-right: calc(var(--cell) * .3) solid var(--flag); border-top: calc(var(--cell) * .15) solid transparent; border-bottom: calc(var(--cell) * .15) solid transparent; }
.mini-fig figcaption { max-width: calc(var(--cell, 52px) * 8); margin: var(--s3) auto 0; }

/* the clip */
.clip { position: relative; }
.clip video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--sky-0); }

/* phones: the capture in the phone's own shape, no device frame */
.phones { display: flex; gap: var(--s5); justify-content: center; align-items: flex-start; }
.phone { margin: 0; flex: none; }
.phones .phone { width: calc((100% - 2 * var(--s5)) / 3); max-width: 220px; }
.phone img { border-radius: 22px; border: 3px solid var(--sky-0); box-shadow: var(--shadow); aspect-ratio: 9 / 20; background: var(--sky-0); }
.phone:nth-child(2) { margin-top: var(--s7); }
.phone figcaption { text-align: center; }

/* the blessing, small beside its paragraph */
.bless { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s4); align-items: start; margin-top: var(--s5); }
.bless img { width: 112px; height: 112px; }

/* two captures side by side; one full-width */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s7); }
.wide { margin-top: var(--s8); }
.creep__art { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: var(--s5); align-items: start; }
.creep__art .phone { width: 150px; }
.creep__art .phone:nth-child(2) { margin-top: var(--s7); }

/* sprite rows */
.folk { display: flex; align-items: flex-end; gap: 14px; }

/* five peoples */
.peoples { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.peoples li { background: var(--ground); border: 1px solid var(--hair); padding: var(--s4); text-align: center; font-weight: 700; }
.peoples img { margin: 0 auto var(--s3); }

/* the Creep band */
.creep { color: var(--cream); background-color: var(--creep-5);
  background-image: linear-gradient(rgba(106, 35, 120, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 35, 120, .22) 1px, transparent 1px);
  background-size: 32px 32px; border-top: 4px solid var(--tide); border-bottom: 4px solid var(--tide); }
.creep a { color: var(--gold); }
.creep .shot, .creep .phone img { border-color: #000; box-shadow: 6px 6px 0 rgba(0, 0, 0, .5); }
.creep .caption, .creep figcaption { color: var(--cream-2); }

/* the offer */
.offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: center; }
.card { background: #26222b; color: var(--cream); border-radius: 10px; padding: var(--s6); box-shadow: var(--shadow); }
.card h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: var(--s3); }
.card__price { font: 800 2.2rem/1 var(--body); color: var(--cream); margin-bottom: var(--s4); }
.card__price small { font-size: 1rem; font-weight: 600; color: var(--cream-2); }
.card--frost { background: linear-gradient(rgba(189, 230, 255, .14), rgba(189, 230, 255, .14)), #26222b; outline: 2px solid rgba(235, 248, 255, .5); outline-offset: -8px; }

.offer-band { background: var(--ground-2); }
.cards { display: grid; gap: var(--s5); }
.credits { padding-bottom: var(--s8); }
.credits h2 { font-size: 1.5rem; }
.credits p { max-width: var(--measure); }

/* posts list */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.posts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.postcard { display: grid; grid-template-rows: auto 1fr; background: var(--ground); border: 1px solid var(--hair); color: var(--ink); text-decoration: none; height: 100%; }
.postcard:hover { text-decoration: none; outline: 4px double var(--wall); outline-offset: -4px; }
.postcard__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.postcard__body { padding: var(--s4) var(--s5) var(--s5); }
.postcard h2, .postcard h3 { font-size: 1.3rem; margin: var(--s1) 0 var(--s2); }
.postcard p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.postcard time { font-size: .85rem; color: var(--ink-2); }
.empty { color: var(--ink-2); }

/* inner page head: a short dawn */
.page-head { padding: var(--s8) 0 var(--s8); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: var(--s4); max-width: 18em; }
.page-head__lede { font-size: 1.15rem; max-width: 40em; margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 var(--s3); }
.eyebrow a { text-decoration: none; }
.horizon { height: 4px; background: var(--sky-10); }

/* two-column documents (support, privacy, press) */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s7); padding-top: var(--s8); padding-bottom: var(--s9); }
.doc__nav { position: sticky; top: var(--s5); align-self: start; font-size: .95rem; }
.doc__nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ground-2); }
.doc__nav a { display: block; padding: 10px 0 10px var(--s4); color: var(--ink-2); text-decoration: none; min-height: 44px; }
.doc__nav a:hover { color: var(--wall); }
.doc .prose > h2:first-child { margin-top: 0; }
.doc .prose h2 { scroll-margin-top: 16px; display: flex; align-items: center; gap: var(--s3); }
.contact { background: var(--ground-2); padding: var(--s5); border-left: 4px double var(--wall); margin: 0 0 var(--s6); }
.contact p:last-child { margin: 0; }
.mail { font-weight: 700; font-size: 1.1rem; }

/* press */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s2) var(--s5); margin: 0 0 var(--s6); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); list-style: none; padding: 0; margin: var(--s5) 0 0; }
.prose .downloads { padding: 0; }
.prose .downloads + h3, .press h3 { margin-top: 2em; }
.dl__note { font-size: .92rem; color: var(--ink-2); margin: 0; }
.downloads--phone { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.downloads.downloads--phone img { aspect-ratio: 9 / 16; border-radius: 10px; }
.downloads img.dl__wide { object-fit: contain; background: #1b1310; }
.downloads li { margin: 0; }
.downloads a { display: block; color: var(--ink); text-decoration: none; }
.downloads a:hover .dl__name { text-decoration: underline double 3px var(--wall); }
.downloads img { border: 2px solid var(--sky-0); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--tile); }
.dl__thumb--contain { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--sky-0); border: 2px solid var(--sky-0); overflow: hidden; }
.downloads .dl__thumb--contain img { border: 0; aspect-ratio: auto; object-fit: contain; max-width: 90%; max-height: 80%; }
.downloads .dl__thumb--contain img.px { width: auto; max-width: none; max-height: none; }
.dl__name { display: block; font-weight: 700; margin-top: var(--s2); font-size: .95rem; }
.dl__meta { display: block; font-size: .82rem; color: var(--ink-2); }
.button { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); background: var(--wall); color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; box-shadow: 4px 4px 0 rgba(34,22,66,.3); }
.button:hover { background: #036650; text-decoration: none; }
.features { columns: 2; column-gap: var(--s7); padding-left: 1.2em; }
.features li { break-inside: avoid; }

/* posts */
.post .wrap { max-width: calc(720px + 2 * var(--gutter)); }
.post__head { padding: var(--s8) 0 var(--s7); }
.post__title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: var(--s3); }
.post__meta { margin: 0; }
.post__body { font-size: 1.1rem; padding: var(--s7) 0; max-width: none; }
.post__body figure img, .post__body > p > img { width: 100%; }
.post-fig { margin: 2.2em 0; }
.prose .post-fig--phone { max-width: 340px; margin-left: auto; margin-right: auto; }
.post-fig--phone img { border-radius: 20px; border-width: 3px; }
.post__body table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.5em 0; font-variant-numeric: tabular-nums; }
.post__body th, .post__body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.post__body th { font-weight: 700; border-bottom: 2px solid var(--ink-2); }
.post__body .table-scroll { overflow-x: auto; }
.post__body blockquote p { margin: 0; }
.post__body a { font-weight: 600; }
.post__body code { font-size: .92em; }
.post__body > p:first-of-type { font-size: 1.2rem; }
.post__foot { padding-bottom: var(--s9); display: grid; gap: var(--s5); }
.more { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* 404 */
.lost { padding: var(--s9) 0; text-align: center; }
.lost h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: var(--s4); }
.lost .folk { justify-content: center; margin-bottom: var(--s5); }
.lost__links { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.lost__links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }

/* ------------------------------------------------------------------ footer */
.foot { background: var(--sky-0); color: var(--cream-2); font-size: .93rem; margin-top: 0; }
.foot a { color: var(--cream); }
.foot__field { height: 52px; background: var(--ground); border-bottom: 4px solid var(--sky-10); display: flex; align-items: flex-end; justify-content: flex-end; gap: 22px; padding: 0 var(--gutter) 2px; }
.foot__grid { display: grid; grid-template-columns: 4fr 3fr 5fr; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s7); }
.foot__tag { margin-top: var(--s3); font-family: var(--display); font-style: italic; color: var(--cream); font-size: 1.05rem; }
.foot__nav { display: flex; flex-direction: column; }
.foot__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; }
.foot__nav a:hover { text-decoration: underline; }
.foot__credits p { margin-bottom: .8em; }
.foot__legal { font-size: .8rem; color: #c9b9cf; }

/* ------------------------------------------------------------------ narrow */
@media (max-width: 960px) {
  .hero__grid, .split, .offer { grid-template-columns: minmax(0, 1fr); }
  .split--flip > :first-child { order: 0; }
  .hero__text { padding-bottom: var(--s5); }
  .hero__folk { display: none; }
  .hero__sun { width: 200px; height: 200px; right: 6%; bottom: 40%; }
  .peoples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posts--grid { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-top: var(--s6); }
  .contact { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .doc__nav { position: static; }
  .doc__nav ul { display: flex; flex-wrap: wrap; border-left: 0; gap: 0 var(--s4); }
  .doc__nav a { padding: 10px 0; }
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .top__inner { padding-top: var(--s2); padding-bottom: var(--s2); gap: 0; }
  .top__nav { width: 100%; justify-content: flex-start; margin-left: calc(-1 * var(--s3)); }
  .hero { padding-top: var(--s6); }
  .hero__logo { width: 268px; height: 36px; }
  .hero h1 { font-size: 1.85rem; }
  .hero__lede { font-size: 1.04rem; }
  .section { padding: var(--s7) 0; }
  .split { gap: var(--s5); }
  .split + .split { margin-top: var(--s7); }
  .wide, .pair { margin-top: var(--s6); }
  .phones { gap: var(--s3); overflow: hidden; }
  .phones .phone { width: calc((100% - 2 * var(--s3)) / 3); }
  .phone:nth-child(2) { margin-top: var(--s5); }
  .phone img { border-radius: 12px; border-width: 2px; }
  .phone figcaption { font-size: .78rem; }
  .peoples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .bless { grid-template-columns: 80px minmax(0, 1fr); }
  .bless img { width: 80px; height: 80px; }
  .creep__art { grid-template-columns: minmax(0, 1fr) 110px; gap: var(--s3); }
  .creep__art .phone { width: 110px; }
  .features { columns: 1; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts dd { margin-bottom: var(--s3); }
  .downloads { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
  .downloads--phone { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
  .downloads--phone .dl__name { font-size: .85rem; }
  .tile { width: 40px; height: 40px; font-size: 25px; }
  .mini { --cell: 40px; }
  .mini-fig figcaption { max-width: 320px; }
  .card { padding: var(--s5); }
  .store--soon { min-width: 140px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
