/* Paperhanger site. Layout: a dark night-blue page; the hero is one sheet of
   Paperhanger's own wave wallpaper with its corner peeling back to the wall,
   then real app screenshots in alternating rows, a privacy band, a grid of
   smaller features, the FAQ and a closing call to action. */
:root {
  color-scheme: dark;
  --ground: #050c22;
  --ground-2: #081535;
  --surface: #0c1b42;
  --surface-2: #12285a;
  --line: rgb(140 180 255 / 0.16);
  --ink: #eef4ff;
  --ink-soft: #b6c5e4;
  --ink-faint: #8497bf;
  --aqua: #79d6ff;
  --blue: #2b6dff;
  --wall: #e6ddcf;

  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);

  --radius-sheet: clamp(28px, 4vw, 44px);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  /* A word too long for its line breaks rather than widening the page
     (it only comes up with very large text on a small screen). */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; overflow-wrap: anywhere; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
/* The one-column grids below may be narrower than their longest word. (Not
   the hero's: there the app's name sets the width of the words under it.) */
.band .wrap, .more .wrap, .tile, .faq .wrap, details .answer, .closing .wrap, .legal .wrap {
  grid-template-columns: minmax(0, 1fr);
}

/* Keyboard users can jump past the top bar; it shows only when focused. */
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
.topbar { padding-block: 18px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.125rem/1 var(--display); }
.brand img { width: 32px; height: 32px; }
.topnav { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px clamp(14px, 2.5vw, 28px); }
.topnav a { color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; }
.topnav a:hover { color: var(--ink); }
.topnav .store, .topnav .store:hover { color: #fff; }
@media (max-width: 560px) { .topnav .opt { display: none; } }
/* Small phones: tighten up, then keep only the name and the App Store pill,
   so nothing overlaps or runs off the edge down to the narrowest screens.
   (If it still can't fit, say with very large text, the links move under the name.) */
@media (max-width: 430px) { .topbar .wrap, .topnav { column-gap: 12px; } }
@media (max-width: 389px) { .topnav a:not(.store) { display: none; } }
@media (max-width: 350px) { .store.small svg { display: none; } .store.small { padding-inline: 12px; } }
@media (max-width: 300px) { .store.small { display: none; } }

/* ---------- Hero sheet ---------- */
.sheet {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sheet);
  /* A deep-blue scrim under the words keeps them readable where the waves run
     bright. It follows the text column (rem, not %), and fades out to the right
     so the rest of the sheet stays as vivid as the icon. */
  --scrim: linear-gradient(90deg, rgb(3 26 110 / 0.66) 0, rgb(3 26 110 / 0.62) 38rem, rgb(3 26 110 / 0) 60rem);
  background:
    var(--scrim),
    url("waves.jpg") center 35% / cover no-repeat,
    #0656ea;
  box-shadow: 0 40px 120px -40px rgb(20 90 255 / 0.55);
}
.sheet-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  --pad-x: clamp(24px, 6vw, 84px);
  /* How wide the sheet is between its side padding. */
  --room: calc(min(100vw, 1180px) - var(--gutter-l) - var(--gutter-r) - 2 * var(--pad-x));
  padding: clamp(40px, 7vw, 92px) var(--pad-x) clamp(96px, 10vw, 120px);
  display: grid;
  gap: 22px;
  justify-items: start;
}
/* The app's name is one word, and it sets the width of the words under it, so
   nothing here may grow wider than the sheet. At its normal size the name
   always fits on one line. A browser that enlarges the text alone (Safari's
   and Firefox's "zoom text only", a large font setting on a phone) can make
   it wider than the sheet: then the name goes onto two lines and the words
   under it wrap, instead of all of them being cut off at the sheet's edge. */
.sheet-inner > * { max-width: var(--room); }
.app-icon { width: clamp(72px, 9vw, 104px); height: auto; filter: drop-shadow(0 10px 24px rgb(0 20 80 / 0.45)); }
.sheet h1 {
  /* The last size keeps the name on one line on screens under 280 pixels. */
  font-size: min(var(--step-4), 12.2vw, calc((100vw - 64px) / 6.3));
  font-weight: 700;
  letter-spacing: -0.025em;
  /* As wide as the whole name, so it stays on one line and sets the column's
     width. Only the cap under it can make it break: first between "Paper" and
     "hanger" (the <wbr> in the page), then wherever it must. The name may use
     the side padding, up to 8 pixels from the sheet's edge. */
  width: max-content;
  max-width: calc(var(--room) + var(--pad-x) - 8px);
  overflow-wrap: break-word;
  text-shadow: 0 2px 30px rgb(0 20 90 / 0.35);
}
.sheet .lede { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.45; color: rgb(255 255 255 / 0.92); max-width: min(34rem, var(--room)); text-shadow: 0 1px 16px rgb(0 20 90 / 0.4); }
.sheet .lede strong { color: #fff; font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.meta { font-size: var(--step--1); color: rgb(255 255 255 / 0.82); text-shadow: 0 1px 12px rgb(0 20 90 / 0.4); }
@media (max-width: 700px) {
  .sheet-inner { padding-bottom: 180px; }
  /* On phones the words fill the sheet's width, so the scrim runs top to bottom
     and lets go before the peeling corner. */
  .sheet { --scrim: linear-gradient(175deg, rgb(3 26 110 / 0.64) 8%, rgb(3 26 110 / 0.64) 58%, rgb(3 26 110 / 0) 95%); }
}

/* The peeling corner: the icon's own curl and wall layers. */
.corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 24vw, 300px);
  aspect-ratio: 424 / 444;
  background: url("corner-2.webp") right bottom / 100% 100% no-repeat;
  filter: drop-shadow(-10px -8px 18px rgb(0 10 60 / 0.35));
  transform-origin: 100% 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet:hover .corner { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .corner { transition: none; } .sheet:hover .corner { transform: none; } }

/* ---------- App Store placeholder button ---------- */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.28);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.6);
  line-height: 1.1;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 0.75rem; color: rgb(255 255 255 / 0.75); letter-spacing: 0.01em; }
.store b { display: block; font: 600 1.25rem/1.15 var(--display); }
.store[aria-disabled="true"] { cursor: default; }
.store.small { padding: 6px 12px 6px 10px; border-radius: 10px; gap: 8px; }
.store.small svg { width: 18px; height: 18px; }
.store.small b { font-size: 0.875rem; white-space: nowrap; }

/* ---------- Screenshots ---------- */
.shot { margin: 0; }
.shot img { width: 100%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.55)) drop-shadow(0 0 1px rgb(255 255 255 / 0.25)); }
.shot figcaption { margin-top: 18px; font-size: var(--step--1); color: var(--ink-faint); text-align: center; }
.hero-shot { margin-top: clamp(40px, 6vw, 72px); }
.hero-shot .shot { max-width: 1080px; margin-inline: auto; }

/* ---------- Sections ---------- */
section { padding-block: clamp(72px, 10vw, 136px); }
.eyebrow {
  font: 600 0.8125rem/1 var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua);
}
.section-title { font-size: var(--step-3); font-weight: 700; }
.section-lede { color: var(--ink-soft); font-size: var(--step-1); max-width: 40rem; }
.center { text-align: center; }
.center .section-lede { margin-inline: auto; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.row + .row { margin-top: clamp(80px, 11vw, 150px); }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .copy { order: 2; }
.copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.copy h2 { font-size: var(--step-3); font-weight: 700; }
.copy p { color: var(--ink-soft); max-width: 34rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 6px 0 0; list-style: none; }
.chips li {
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
@media (max-width: 860px) {
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); }
  .row.flip .copy { order: 0; }
}

kbd {
  font: 500 0.8125rem/1 var(--mono);
  color: var(--ink);
  background: linear-gradient(var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 3px 6px;
  white-space: nowrap;
}

/* ---------- Privacy band ---------- */
.band {
  background:
    radial-gradient(120% 140% at 85% 0%, rgb(43 109 255 / 0.35), transparent 60%),
    linear-gradient(180deg, var(--ground-2), var(--surface));
  border-block: 1px solid var(--line);
}
.band .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.band p { color: var(--ink-soft); font-size: var(--step-1); max-width: 44rem; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; }
.pills li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(5 12 34 / 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}
.pills svg { width: 16px; height: 16px; color: var(--aqua); }

/* ---------- More features ---------- */
.more .wrap { display: grid; gap: 18px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } }
/* In two columns an odd tile at the end takes the whole line instead of
   leaving a hole beside it. */
@media (min-width: 601px) and (max-width: 960px) { .grid .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.tile {
  background: linear-gradient(180deg, var(--surface), rgb(12 27 66 / 0.6));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 24px;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.tile .ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #3d8bff, #1046d8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 1.125rem; font-weight: 650; margin-top: 4px; }
.tile p { color: var(--ink-soft); font-size: 0.9688rem; line-height: 1.55; }
.tile .keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tile .note { font-size: 0.8125rem; color: var(--ink-faint); }

/* ---------- FAQ ---------- */
.faq .wrap { max-width: 860px; display: grid; gap: 14px; }
.faq .section-title { margin-bottom: 18px; }
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ground-2);
}
details[open] { background: var(--surface); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font: 600 1.0625rem/1.4 var(--display);
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
details .answer { padding: 0 22px 20px; color: var(--ink-soft); display: grid; gap: 10px; }
.faq .more-help { margin-top: 18px; color: var(--ink-soft); text-align: center; }

/* ---------- Closing ---------- */
.closing { padding-top: clamp(24px, 4vw, 56px); }
.closing .wrap { display: grid; justify-items: center; gap: 20px; text-align: center; }
.closing img { width: 112px; filter: drop-shadow(0 14px 30px rgb(20 90 255 / 0.45)); }
.closing p { color: var(--ink-soft); font-size: var(--step-1); }

footer {
  border-top: 1px solid var(--line);
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--ink-faint);
  font-size: 0.875rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
/* The social accounts get their own row above the copyright line: each network's
   logo in a round 44-pixel button, with its name hidden for screen readers and shown
   as a tooltip. The logos are white (the networks ask for theirs in one color, black
   or white, when not in their own colors). The five stay on one line from 276 pixels
   wide (5 x 44 + 4 x 6); the words "Follow Paperhanger" sit beside them when there is
   room and go above them when there isn't. */
footer .social { flex: 1 0 100%; margin: 0 0 8px; align-items: center; gap: 8px 16px; }
footer .social ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
footer .social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}
footer .social a:hover { background: var(--surface-2); text-decoration: none; }
footer .social a:focus-visible { border-radius: 50%; }
footer .social svg { width: 20px; height: 20px; fill: currentColor; }
/* Narrower than that (a phone zoomed in), three and then two, so none is left alone. */
@media (max-width: 275px) { footer .social ul { max-width: calc(3 * 44px + 2 * 6px); } }

/* Text that only screen readers read. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Legal page ---------- */
.legal { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 100px); }
.legal .wrap { max-width: 760px; display: grid; gap: 16px; }
.legal h1 { font-size: var(--step-3); }
.legal h2 { font-size: 1.25rem; margin-top: 18px; }
.legal p { color: var(--ink-soft); }
.legal .date { color: var(--ink-faint); font-size: var(--step--1); }

/* ---------- Page not found ---------- */
.notfound { padding-block: clamp(56px, 12vw, 140px); }
.notfound h1 { font-size: var(--step-3); font-weight: 700; }
.notfound .wrap { max-width: 640px; }

/* ---------- Motion ----------
   The hero settles in on load, and as you scroll each screenshot slides in
   from the side it sits on. Only with JavaScript (the "motion" class) and
   only when the visitor hasn't asked for reduced motion; otherwise
   everything is simply shown. */
#features { overflow-x: clip; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes peel { from { opacity: 0; transform: scale(0.55); } }

@media screen and (prefers-reduced-motion: no-preference) {
  .motion .sheet-inner > * { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .motion .sheet-inner > :nth-child(2) { animation-delay: 0.08s; }
  .motion .sheet-inner > :nth-child(3) { animation-delay: 0.16s; }
  .motion .sheet-inner > :nth-child(4) { animation-delay: 0.24s; }
  .motion .corner { animation: peel 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards; }

  .motion .hero-shot .shot,
  .motion .row .shot,
  .motion .row .copy,
  .motion .band .wrap > *,
  .motion .grid .tile,
  .motion .closing .wrap > * {
    transition: opacity 0.8s ease var(--delay, 0s), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
  }
  .motion .hero-shot .shot:not(.is-in) { opacity: 0; transform: translateY(60px) scale(0.96); }
  .motion .hero-shot .shot { --delay: 0.3s; }

  .motion .row .shot { --delay: 0.1s; }
  .motion .row .shot:not(.is-in) { opacity: 0; transform: translateX(var(--slide, 140px)) scale(0.96); }
  .motion .row.flip .shot { --slide: -140px; }
  .motion .row .copy:not(.is-in) { opacity: 0; transform: translateY(28px); }

  .motion .band .wrap > :not(.is-in),
  .motion .grid .tile:not(.is-in),
  .motion .closing .wrap > :not(.is-in) { opacity: 0; transform: translateY(28px); }
  .motion .band .wrap > :nth-child(2),
  .motion .closing .wrap > :nth-child(2),
  .motion .grid .tile:nth-child(3n + 2) { --delay: 0.08s; }
  .motion .band .wrap > :nth-child(3),
  .motion .closing .wrap > :nth-child(3),
  .motion .grid .tile:nth-child(3n + 3) { --delay: 0.16s; }
  .motion .band .wrap > :nth-child(4),
  .motion .closing .wrap > :nth-child(4) { --delay: 0.24s; }
}
@media screen and (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .motion .row .shot { --slide: 60px; }
  .motion .row.flip .shot { --slide: -60px; }
}
/* Browsers too old to clip one axis would let a waiting screenshot widen the
   page, so there the screenshots only fade in. */
@supports not (overflow-x: clip) {
  .motion .row .shot, .motion .row.flip .shot { --slide: 0px; }
}

/* ---------- Print ----------
   Paper is white and browsers leave backgrounds out, so the page turns to
   dark ink, drops what only makes sense on a screen, and (with the script at
   the end of the home page) prints every answer opened. */
@media print {
  :root {
    color-scheme: light;
    --ground: #fff;
    --ground-2: #fff;
    --surface: #fff;
    --surface-2: #f1f3f8;
    --line: #c5cbd8;
    --ink: #10162a;
    --ink-soft: #2e3750;
    --ink-faint: #555f78;
    --aqua: #0a4fc4;
  }
  body { background: #fff; font-size: 11pt; }
  .skip, .topnav, .corner, .store, .more-help, footer nav { display: none; }
  .topbar { padding-block: 0 12px; }
  section, .legal { padding-block: 22px; }
  .sheet { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .sheet-inner { padding: 0; max-width: none; }
  .sheet-inner > * { max-width: none; }
  .sheet h1, .sheet .lede, .sheet .lede strong, .meta { color: var(--ink); text-shadow: none; }
  .app-icon, .closing img { filter: none; }
  .sheet h1 { font-size: 30pt; max-width: none; }
  .sheet .lede { max-width: 34rem; }
  .section-title, .copy h2 { font-size: 17pt; }
  .hero-shot { margin-top: 20px; }
  .hero-shot .shot { max-width: 5.4in; }
  .shot img { filter: none; }
  /* Words beside each picture, as on a wide screen, so the page count stays low. */
  .row, .row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .row + .row { margin-top: 28px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .grid .tile:last-child:nth-child(odd) { grid-column: auto; }
  .tile { padding: 12px 12px 14px; gap: 6px; }
  /* The tiles and the questions each start a fresh page, so no heading is
     left behind at the foot of one. */
  .more, .faq { break-before: page; }
  .tile p { font-size: 9.5pt; line-height: 1.45; }
  .faq .wrap { gap: 8px; }
  summary { padding: 10px 14px; }
  details .answer { padding: 0 14px 12px; }
  .band { background: none; border: 0; }
  .pills li, .chips li { background: none; }
  .tile, details, details[open] { background: none; }
  .tile .ico { color: var(--ink); background: none; box-shadow: none; border: 1px solid var(--line); }
  kbd { background: none; }
  summary::after { display: none; }
  a { color: var(--ink); }
  .row, .shot, .tile, details, .band .wrap, .closing .wrap { break-inside: avoid; }
  h1, h2, h3, summary { break-after: avoid; }
}
/* Where the browser allows it, closed answers print opened even without the script. */
@media print { details:not([open])::details-content { content-visibility: visible; } }
