/*
  Grandma website. The app's Porch (Sunroom) look, carried to the web.
  Tokens mirror the app's src/ui/theme.ts: a white room, garden-green ink, sun yellow,
  and buttons that sit on a darker edge (the "lip") and sink onto it when pressed.
  Sizes are in rem so the page follows the reader's browser text size.
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --ink: #1f3a2e;
  --ink-soft: #4b6357;
  --sun: #f4c542;
  --on-sun: #1f3a2e;
  --hairline: #d5ded8;
  --bubble: rgb(255 255 255 / 0.85);
  --press-dim: 31 58 46;
  --room-light: rgb(244 197 66 / 0.3);
  --sun-ring-1: rgb(244 197 66 / 0.25);
  --sun-ring-2: rgb(244 197 66 / 0.12);

  --leaf: #e7efe8;
  --leaf-lip: #6e8b74;
  --sky: #e3eef4;
  --sky-lip: #6a8aa1;
  --butter: #f8edd2;
  --butter-lip: #9c7b25;
  --sun-lip: #9c7b25;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --lip: 0.375rem;
  /* In px on purpose: the side margins should not grow when the reader enlarges the text. */
  --gutter: clamp(18px, 5vw, 48px);
  --band: clamp(3rem, 9vw, 6.5rem);
  --measure: 38rem;
  --page: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #122019;
    --ink: #f1f4ec;
    --ink-soft: #b7c6bb;
    --hairline: #2e4337;
    --bubble: rgb(255 255 255 / 0.1);
    --press-dim: 0 0 0;
    --room-light: rgb(244 197 66 / 0.14);
    --sun-ring-1: rgb(244 197 66 / 0.22);
    --sun-ring-2: rgb(244 197 66 / 0.1);

    --leaf: #22372b;
    --sky: #1e3342;
    --butter: #3a311e;
    --butter-lip: #a8862e;
    --sun-lip: #b8922f;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background-color: var(--bg);
  /* Soft light falling into the room from the top right, as in the app. */
  background-image: radial-gradient(56rem 40rem at 94% -4rem, var(--room-light), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.6;
  font-synthesis: none;
  overflow-wrap: break-word;
}

::selection {
  background: var(--sun);
  color: var(--on-sun);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* The vw caps keep the longest word on one line when the text is enlarged on a small phone. */
h1 {
  font-size: min(clamp(2.25rem, 1.6rem + 3vw, 3.875rem), 15.5vw);
  letter-spacing: -0.022em;
  line-height: 1.04;
}

h2 {
  font-size: min(clamp(1.9rem, 1.5rem + 1.9vw, 3rem), 13.5vw);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
dl {
  margin: 0;
}

p + p,
p + ul,
p + ol,
ul + p,
ol + p {
  margin-top: 1em;
}

strong {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--leaf-lip);
}

a:hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 0.1875rem solid var(--ink);
  outline-offset: 0.1875rem;
  border-radius: 0.375rem;
}

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.big {
  font-size: 1.375rem;
  line-height: 1.5;
  max-width: var(--measure);
}

/* One-column grids may shrink below their longest word, so large text wraps instead of
   pushing the page sideways. Wider layouts set their own columns further down. */
.hero,
.choice,
.her-screen,
.split,
.facts,
.steps,
.store,
.foot__inner {
  grid-template-columns: minmax(0, 1fr);
}

/* ---- skip link, masthead, footer ---------------------------------------- */

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--on-sun);
  font-weight: 700;
}

.skip:focus {
  top: 0.75rem;
}

.mast {
  max-width: var(--page);
  margin-inline: auto;
  padding: 1rem var(--gutter) 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: min(1.625rem, 8.5vw);
  letter-spacing: -0.015em;
}

/* The app's icon mark beside the name: grandma's face in front of the sun. */
.brand__mark {
  flex: none;
  width: 1.5em;
  height: 1.5em;
}

/* A small sun with two soft rings, for the footer. Sized from the text beside it. */
.sun-mark {
  flex: none;
  width: 0.77em;
  height: 0.77em;
  margin: 0.27em;
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 0 0 0.12em var(--sun-ring-1),
    0 0 0 0.27em var(--sun-ring-2);
}

.sun-mark--small {
  width: 0.7em;
  height: 0.7em;
  margin: 0.25em;
}

.mast__nav ul,
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  padding: 0;
  list-style: none;
}

.mast__nav a,
.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.25rem 12px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.mast__nav ul {
  margin-inline: -12px;
}

.mast__nav a:hover,
.foot__links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.14em;
}

.mast__nav a[aria-current="page"] {
  background: var(--leaf);
}

.foot {
  border-top: 1px solid var(--hairline);
  margin-top: 0;
}

.foot__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: 2.5rem var(--gutter) 3.5rem;
  display: grid;
  gap: 0.75rem;
}

.foot__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.foot__links {
  margin-inline: -12px;
}

.foot__note {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* ---- the Porch button --------------------------------------------------- */

.btn {
  --face: var(--leaf);
  --edge: var(--leaf-lip);
  --label: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0.75rem 1.75rem;
  margin-bottom: var(--lip);
  border-radius: 999px;
  background-color: var(--face);
  color: var(--label);
  box-shadow: 0 var(--lip) 0 var(--edge);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 110ms cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 110ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.btn:hover {
  background-image: linear-gradient(rgb(var(--press-dim) / 0.06), rgb(var(--press-dim) / 0.06));
}

.btn:active {
  transform: translateY(var(--lip));
  box-shadow: 0 0 0 var(--edge);
}

.btn:focus-visible {
  border-radius: 999px;
  outline-offset: 0.3rem;
}

.btn--sun {
  --face: var(--sun);
  --edge: var(--sun-lip);
  --label: var(--on-sun);
}

.btn--leaf {
  --face: var(--leaf);
  --edge: var(--leaf-lip);
}

.btn--big {
  min-height: 4.5rem;
  padding-inline: 2.25rem;
  font-size: 1.375rem;
}

/* The welcome screen's two choices: very tall, in the heading face. */
.btn--hero {
  width: 100%;
  min-height: clamp(6.5rem, 18vw, 9.5rem);
  padding: 1.25rem 20px;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: min(clamp(1.75rem, 1.3rem + 2vw, 2.375rem), 10.5vw);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.btn--hero:focus-visible {
  border-radius: 2rem;
}

/* A band of the room's own color around the two choices, so the sun behind them stays a sun. */
.choice .btn--hero {
  box-shadow:
    0 var(--lip) 0 var(--edge),
    0 0 0 0.5rem var(--bg),
    0 var(--lip) 0 0.5rem var(--bg);
}

.choice .btn--hero:active {
  box-shadow:
    0 0 0 var(--edge),
    0 0 0 0.5rem var(--bg),
    0 0 0 0.5rem var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  /* With reduced motion the button darkens instead of moving, as in the app. */
  .btn:active {
    transform: none;
    box-shadow: 0 var(--lip) 0 var(--edge);
    background-image: linear-gradient(rgb(var(--press-dim) / 0.14), rgb(var(--press-dim) / 0.14));
  }
}

/* ---- home: hero --------------------------------------------------------- */

.hero {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(0.75rem, 5vw, 4rem) var(--gutter) var(--band);
  display: grid;
  gap: 1.5rem;
}

.hero > * {
  min-width: 0;
}

/* Two sentences, each kept together on its own lines. */
.hero h1 span {
  display: block;
}

.hero .lead {
  margin-top: 1rem;
  font-size: 1.375rem;
  line-height: 1.5;
  max-width: 34rem;
}

.hero__prompt {
  color: var(--ink-soft);
  font-weight: 700;
  max-width: 24rem;
}

.choice {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  /* Room above the first button for the sun to rise into. */
  padding-top: var(--rise);
  --sun-size: clamp(120px, 30vw, 208px);
  --rise: calc(var(--sun-size) * 0.34);
}

/* The sun coming up behind the first button. Decoration only; the buttons stay opaque. */
.sun-rise {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(var(--sun-size) * 0.16);
  width: var(--sun-size);
  height: var(--sun-size);
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 0 0 calc(var(--sun-size) * 0.1) var(--sun-ring-1),
    0 0 0 calc(var(--sun-size) * 0.22) var(--sun-ring-2);
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
  }

  .hero__prompt {
    margin-left: 0.5rem;
  }
}

/* ---- home: bands -------------------------------------------------------- */

.band {
  padding-block: var(--band);
}

.band--butter {
  background: var(--butter);
}

.band--leaf {
  background: var(--leaf);
}

.band h2 + .big,
.band h2 + .split {
  margin-top: 1.5rem;
}

/* Grandma's side is larger and sparser, as in the app. */
.voice--grandma {
  font-size: 1.375rem;
  line-height: 1.55;
}

.voice--grandma .big {
  font-size: 1.5rem;
}

.her-screen {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

/* A picture of her home screen. It scales as one piece with its own width. */
.screen {
  container-type: inline-size;
  width: 100%;
  max-width: 25rem;
  justify-self: center;
  background: var(--bg);
  border-radius: 2.5rem;
  box-shadow: 0 0.5rem 1.5rem rgb(31 58 46 / 0.12);
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5cqi;
  padding: 6cqi 6cqi 0;
}

.tile {
  --face: var(--leaf);
  --edge: var(--leaf-lip);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1.08;
  padding: 4cqi;
  margin-bottom: 1.6cqi;
  border-radius: 8.5cqi;
  background: var(--face);
  box-shadow: 0 1.6cqi 0 var(--edge);
  color: var(--ink);
}

.tile--sky {
  --face: var(--sky);
  --edge: var(--sky-lip);
}

.tile--butter {
  --face: var(--butter);
  --edge: var(--butter-lip);
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 14.5cqi;
  height: 14.5cqi;
  border-radius: 50%;
  background: var(--bubble);
}

.tile__icon svg {
  width: 8cqi;
  height: 8cqi;
}

.tile__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 6.5cqi;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.screen__help {
  display: flex;
  justify-content: center;
  padding: 4.5cqi 6cqi 6cqi;
}

.screen__help span {
  padding: 2.4cqi 6cqi;
  margin-bottom: 1.2cqi;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 0 1.2cqi 0 var(--leaf-lip);
  font-weight: 700;
  font-size: 4.4cqi;
  line-height: 1.2;
}

.six > div {
  padding-block: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.six > div:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.six dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.six dd {
  margin: 0.15rem 0 0;
}

.start {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: var(--measure);
}

.steps {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  --dot: min(2.5rem, 13vw);
  min-height: var(--dot);
  padding-left: calc(var(--dot) + min(0.9rem, 4vw));
  padding-top: 0.15rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--sun);
  color: var(--on-sun);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
}

.steps + p {
  margin-top: 1.5rem;
}

.split {
  display: grid;
  gap: 2rem;
}

.split .big + p {
  margin-top: 1rem;
  max-width: var(--measure);
}

.adds {
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.adds li {
  padding-block: 0.6rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.adds li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.facts {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.facts h3 + p {
  margin-top: 0.5rem;
}

.get .big {
  margin-top: 1rem;
}

.get .store {
  margin-top: 1.5rem;
}

.get .store + p {
  margin-top: 1.5rem;
}

/* The App Store button. Until the app is live it is a marked placeholder, not a link. */
.store {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

.store__soon {
  display: inline-flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.75rem 2rem;
  border: 0.125rem dashed var(--ink-soft);
  border-radius: 2.25rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}

.store__note {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

@media (min-width: 48rem) {
  .her-screen {
    grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .screen {
    justify-self: start;
  }

  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* ---- documents: Privacy, Terms, Support --------------------------------- */

.doc {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem) var(--gutter) var(--band);
}

.doc__head h1 {
  font-size: min(clamp(2.25rem, 1.7rem + 2.6vw, 3.75rem), 13.5vw);
  max-width: 18ch;
}

.doc__date {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.draft,
.todo {
  max-width: var(--measure);
  padding: 0.9rem 1.15rem;
  border: 0.125rem solid var(--butter-lip);
  border-radius: 1rem;
  background: var(--butter);
}

.draft {
  margin-top: 1.5rem;
}

.blank {
  padding: 0.05em 0.3em;
  border-radius: 0.3em;
  background: var(--sun);
  color: var(--on-sun);
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.contents {
  max-width: var(--measure);
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--hairline);
}

.contents h2 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
}

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

.contents ol {
  margin-top: 0.4rem;
}

.contents ul {
  padding-left: 1.25rem;
}

.contents a {
  display: inline-block;
  padding-block: 0.4rem;
}

.contents ol > li > a {
  font-weight: 700;
}

.prose {
  max-width: var(--measure);
  margin-top: 2.5rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose--intro {
  margin-top: 1.75rem;
  font-size: 1.375rem;
  line-height: 1.5;
}

.prose h2 {
  margin-top: 3.25rem;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}

.prose h3 {
  margin-top: 2.25rem;
}

.prose p,
.prose ul,
.prose ol,
.prose section {
  margin-top: 1em;
}

.prose h2 + p,
.prose h2 + ul,
.prose h2 + ol,
.prose h3 + p,
.prose h3 + ul,
.prose h3 + ol {
  margin-top: 0.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--leaf-lip);
  font-weight: 700;
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.4em;
}

/* A technical name in the text (a server region, say) stays in the body font. */
.prose code {
  font: inherit;
}

/* A two-column table (Privacy: who can see what). On a phone each row is stacked, the first
   cell as its label, so large text never pushes the page sideways. */
.prose table {
  display: block;
  margin-top: 1.25em;
  border-collapse: collapse;
  border-top: 0.125rem solid var(--leaf-lip);
}

.prose thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.prose tbody,
.prose tr,
.prose td {
  display: block;
}

.prose tr {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--hairline);
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
}

.prose th,
.prose td:first-child {
  font-weight: 700;
}

@media (min-width: 34rem) {
  .prose table {
    display: table;
    width: 100%;
    border-top: 0;
  }

  .prose thead {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    display: table-header-group;
  }

  .prose tbody {
    display: table-row-group;
  }

  .prose tr {
    display: table-row;
    padding-block: 0;
  }

  .prose th,
  .prose td {
    display: table-cell;
    padding: 0.7rem 0 0.7rem 1.25rem;
    border-bottom: 1px solid var(--hairline);
  }

  .prose th {
    border-bottom: 0.125rem solid var(--leaf-lip);
  }

  .prose th:first-child,
  .prose td:first-child {
    width: 38%;
    padding-left: 0;
  }
}

.prose section.voice {
  margin-top: 3.25rem;
}

.prose section.voice > h2 {
  margin-top: 0;
}

/* The part of Support written for grandma: larger, on its own warm ground. */
.prose .voice--grandma {
  padding: clamp(20px, 5vw, 40px);
  margin-inline: calc(var(--gutter) * -0.5);
  border-radius: 1.75rem;
  background: var(--butter);
}

.prose .voice--grandma h3 {
  font-size: 1.625rem;
}

/* On wide screens the contents list sits beside the text and stays in view. */
@media (min-width: 64rem) {
  .doc {
    display: grid;
    grid-template-columns: minmax(0, var(--measure)) minmax(14rem, 19rem);
    justify-content: space-between;
    column-gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .doc__head,
  .doc > .prose {
    grid-column: 1;
  }

  .contents {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    margin-top: 0.75rem;
    padding: 1.25rem 0 1.25rem 1.5rem;
    border-block: 0;
    border-left: 1px solid var(--hairline);
    font-size: 1.0625rem;
    line-height: 1.4;
  }

  .contents a {
    padding-block: 0.3rem;
  }
}

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

.lost {
  position: relative;
  isolation: isolate;
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(2rem, 8vw, 5rem) var(--gutter) var(--band);
  --sun-size: clamp(120px, 26vw, 224px);
}

.sun-rise--lost {
  position: static;
  display: block;
  margin: calc(var(--sun-size) * 0.22);
  margin-bottom: calc(var(--sun-size) * 0.4);
}

.lost .big {
  margin-top: 1.25rem;
}

.lost p + p {
  margin-top: 1.75rem;
}

/* ---- narrow screens and large text -------------------------------------- */

@media (max-width: 26rem) {
  .prose ul,
  .prose ol {
    padding-left: 1.15em;
  }
}

/* ---- print -------------------------------------------------------------- */

@media print {
  body {
    background: none;
    font-size: 11pt;
  }

  .skip,
  .mast__nav,
  .contents,
  .foot__links,
  .sun-rise {
    display: none;
  }
}
