/* Jourday landing page — Ink & Paper. Tokens match CLAUDE.md / docs/design. */

:root {
  --paper: #F2ECE0;
  --card: #FBF8F1;
  --ink: #1F2A3A;
  --muted: #5B574F;
  --body: #3E3A33;
  --rule: #DCD2C1;
  --line: #CFC4B1;
  --kraft: #D9C7A7;
  --kraft-shade: #C9B48F;
  --kraft-deep: #CDB991;
  --seal: #A63A2B;
  --night: #1E2735;
  --green: #2F5D50;

  --f-title: 'Fraunces', Georgia, serif;
  --f-body: 'Newsreader', Georgia, serif;
  --f-mono: 'Courier Prime', ui-monospace, monospace;

  --gutter: 20px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: #000; }
img, svg { display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }

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

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px;
  font-family: var(--f-mono); font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--paper); }

:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }

/* Shared bits */

.label, .mono-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin-top: 10px;
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-lede { margin-top: 18px; max-width: 34em; color: var(--body); font-size: 19px; }

.stamp {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border: 1.5px solid var(--seal); border-radius: 3px;
  color: var(--seal);
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transform: rotate(-3deg);
  white-space: nowrap;
}
.stamp-small { font-size: 11px; padding: 3px 9px; }

.wax {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px;
  border-radius: 47% 53% 50% 50%;
  background: var(--seal);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.15), 0 2px 3px rgba(31, 42, 58, 0.25);
  color: var(--paper);
  font-family: var(--f-title); font-style: italic; font-weight: 600; font-size: 15px;
}

.lock { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(242, 236, 224, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 1px 2px rgba(31, 42, 58, 0.18); }
.brand span { font-family: var(--f-title); font-style: italic; font-size: 26px; line-height: 1; }
.brand-small span { font-size: 20px; }
.brand-small img { border-radius: 6px; }

.site-nav { display: none; gap: 28px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--body);
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 860px) { .site-nav { display: flex; } }

/* Hero */

.hero {
  position: relative;
  padding-block: 48px 72px;
  background-image: linear-gradient(to bottom, transparent 39px, rgba(201, 211, 222, 0.55) 39px);
  background-size: 100% 40px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  inset-inline-start: max(12px, calc((100vw - var(--max)) / 2 - 8px));
  width: 2px; background: var(--seal); opacity: 0.45;
}

.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-copy { padding-inline-start: 12px; }

.hero h1 {
  margin-top: 18px;
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 10vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lede { margin-top: 22px; max-width: 30em; font-size: 20px; line-height: 1.55; color: var(--body); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.15;
}
.store-badge span { display: flex; flex-direction: column; }
.store-badge small { font-size: 10px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.store-badge + .store-badge { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.fine {
  display: flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
}

/* Beta waitlist form (docs/decisions/035-waitlist.md) */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* An air-mail envelope you address to yourself. */
.join {
  --airmail: repeating-linear-gradient(135deg, var(--seal) 0 14px, var(--card) 14px 22px, var(--ink) 22px 36px, var(--card) 36px 44px);
  position: relative;
  margin-top: 32px; max-width: 32em;
  padding: 7px;
  background: var(--airmail);
  border-radius: 6px;
  box-shadow: 0 1px 1px rgba(31, 42, 58, 0.08), 0 14px 30px rgba(31, 42, 58, 0.12);
  /* No tilt: browsers draw a focused text field inside a rotated box with faint lines at
     its edges. The stamp, postmark and POSTED stamp keep their own angles. */
}
.join-paper {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--card);
  border-radius: 3px;
}

.join-top { position: absolute; top: 14px; inset-inline-end: 14px; display: flex; align-items: center; }

.join-stamp {
  position: relative; z-index: 1;
  width: 62px; height: 72px; padding: 5px;
  background: radial-gradient(circle, transparent 2.6px, #FFFDF8 3.1px) -5px -5px / 10px 10px;
  filter: drop-shadow(0 1px 1.5px rgba(31, 42, 58, 0.25));
  transform: rotate(4deg);
}
.join-stamp-face {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; height: 100%;
  background: var(--kraft); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(31, 42, 58, 0.35);
}
.join-stamp-face i { font-family: var(--f-title); font-style: italic; font-size: 30px; line-height: 1; }
.join-stamp-face i::after { content: ""; display: inline-block; width: 3px; height: 16px; margin-inline-start: 2px; vertical-align: top; background: var(--seal); }
.join-stamp-face small { font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.join-postmark { position: relative; z-index: 2; display: flex; align-items: center; margin-inline-end: -18px; color: rgba(31, 42, 58, 0.55); }
.join-cancel { width: 60px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.join-ring {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 66px; height: 66px; margin-inline-start: -4px;
  border: 1.5px solid currentColor; border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px currentColor;
  font-family: var(--f-mono); text-transform: uppercase; text-align: center; line-height: 1.1;
  transform: rotate(-12deg);
}
.join-ring small { font-size: 6.5px; letter-spacing: 0.06em; }
.join-ring b { margin-block: 2px; font-size: 10px; letter-spacing: 0.04em; }

.join .mono-label { padding-inline-end: 150px; font-size: 11px; letter-spacing: 0.14em; color: var(--seal); }
.join-title { margin-top: 10px; padding-inline-end: 160px; font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.1; }
.join-note { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--body); }

.join-fields { margin-top: 18px; display: grid; gap: 14px; }
.join-key { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.join-platform { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0; padding: 0; border: 0; }
.join-platform legend { float: inline-start; margin-inline-end: 10px; padding: 0; line-height: 44px; }
.join-platform label {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-family: var(--f-body); font-size: 18px; cursor: pointer;
}
.join-platform input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.join-box {
  position: relative; width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 2px; background: #FFFDF8;
}
.join-box::after {
  content: ""; position: absolute; inset-inline-start: 4px; top: -5px;
  width: 9px; height: 17px;
  border: solid var(--seal); border-width: 0 3px 3px 0; border-radius: 0 0 2px 0;
  transform: rotate(40deg) scale(0); transform-origin: 50% 70%;
  transition: transform 0.15s ease-out;
}
.join-platform input:checked + .join-box::after { transform: rotate(40deg) scale(1); }
.join-platform label:has(input:focus-visible) .join-box { outline: 2px solid var(--seal); outline-offset: 3px; }

.join-to { display: flex; align-items: baseline; gap: 12px; border-bottom: 1.5px solid var(--ink); }
/* Typing: the line gets bolder in ink (red is kept for a wrong address). */
.join-to:focus-within { box-shadow: 0 1.5px 0 var(--ink); }
.join-to input { caret-color: var(--ink); }
.join-to input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0;
  border: 0; background: transparent; color: var(--ink);
  font-family: var(--f-body); font-style: italic; font-size: 22px;
}
.join-to input::placeholder { color: #9C9486; }
.join-to input:focus { outline: none; }
/* Browsers paint autofilled fields blue or yellow; keep the line on the paper. */
.join-to input:-webkit-autofill, .join-to input:-webkit-autofill:hover, .join-to input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 100px var(--card) inset;
  transition: background-color 9999s ease-out 0s;
}
.join-to + .join-to { margin-top: -4px; }
.join-to:has(input[aria-invalid="true"]) { border-bottom-color: var(--seal); border-bottom-style: dashed; }

.join-send {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; margin-top: 6px; padding: 0 22px 0 9px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.join-send .wax { transition: transform 0.25s ease; }
.join-send:hover { box-shadow: 0 6px 14px rgba(31, 42, 58, 0.22); transform: translateY(-1px); }
.join-send:hover .wax { transform: rotate(-14deg) scale(1.06); }
.join-send:active { transform: translateY(0); }
.join-send[disabled] { opacity: 0.65; cursor: progress; }
.join-send[disabled] .wax { animation: join-wobble 0.9s ease-in-out infinite; }
@keyframes join-wobble { 50% { transform: rotate(-18deg); } }

.join-trap { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.join-status { margin-top: 12px; min-height: 1.4em; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.join-status[data-tone="error"] { color: var(--seal); }

/* Sent: the fields go, a red POSTED stamp lands on the envelope. */
.join-posted {
  display: none;
  align-self: flex-start;
  margin-top: 20px; padding: 6px 16px;
  border: 3px double var(--seal); border-radius: 4px;
  color: var(--seal);
  font-family: var(--f-mono); font-size: 24px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  transform: rotate(-7deg);
  opacity: 0.9;
}
.join-done .join-fields { display: none; }
.join-done .join-posted { display: inline-block; animation: join-stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
.join-done .join-status { font-family: var(--f-body); font-size: 17px; line-height: 1.5; color: var(--ink); }
@keyframes join-stamp {
  from { opacity: 0; transform: rotate(-7deg) scale(1.8); }
  to { opacity: 0.9; transform: rotate(-7deg) scale(1); }
}

@media (max-width: 420px) {
  .join-paper { padding: 18px 16px 16px; }
  .join-top { top: 10px; inset-inline-end: 10px; transform: scale(0.85); transform-origin: top right; }
  .join .mono-label { padding-inline-end: 0; margin-top: 64px; }
  .join-title { padding-inline-end: 0; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .join-send, .join-send .wax, .join-box::after { transition: none; }
  .join-done .join-posted, .join-send[disabled] .wax { animation: none; }
}

/* Header right: Instagram, then the beta stamp. */
.header-actions { display: flex; align-items: center; gap: 6px; }
.ig-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.ig-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ig-link .ig-dot { fill: currentColor; stroke: none; }
.ig-link:hover { color: var(--seal); background: rgba(166, 58, 43, 0.07); }
@media (prefers-reduced-motion: reduce) { .ig-link { transition: none; } }

.stamp-link { position: relative; text-decoration: none; }
.stamp-link::after { content: ""; position: absolute; inset: -10px -6px; } /* 44 px touch target around the small stamp */
.stamp-link:hover { color: var(--seal); background: rgba(166, 58, 43, 0.06); }
.cover-foot a { color: var(--paper); }

.hero-art { position: relative; display: flex; justify-content: center; padding-top: 24px; }

@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { font-size: clamp(56px, 6.2vw, 72px); }
}

/* Notification card */

.knock, .mini-knock {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(31, 42, 58, 0.16);
  font-size: 16px; line-height: 1.3;
}
.knock {
  position: absolute; z-index: 2; top: 14px;
  inset-inline-start: 50%;
  width: min(330px, 92%);
  transform: translateX(-50%) rotate(-2deg);
  animation: knock 0.9s cubic-bezier(.2, .8, .2, 1) 0.4s both;
}
[dir="rtl"] .knock { transform: translateX(50%) rotate(2deg); }
@keyframes knock { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 960px) {
  .knock { top: 6px; width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .knock { animation: none; } }

/* The real app icon (favicon.svg), rounded like a phone draws it in a notification. */
.knock-icon {
  flex: none;
  width: 38px; height: 38px; border-radius: 9px;
  box-shadow: 0 0 0 0.5px rgba(31, 42, 58, 0.18), 0 1px 2px rgba(31, 42, 58, 0.15);
}
.knock-text { display: flex; flex-direction: column; gap: 2px; }
.knock-meta { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }

/* Phone mockup: the Today screen (docs/design/Main.dc.html) at 390 × 844, scaled. */

.phone {
  --s: 0.66;
  position: relative; flex: none;
  width: calc(414px * var(--s));
  height: calc(868px * var(--s));
  border-radius: calc(60px * var(--s));
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(31, 42, 58, 0.28), inset 0 0 0 calc(2px * var(--s)) #34425A;
  transform: rotate(2deg);
}
@media (min-width: 420px) { .phone { --s: 0.7; } }
@media (min-width: 1100px) { .phone { --s: 0.74; } }

.screen {
  position: absolute; top: calc(12px * var(--s)); inset-inline-start: calc(12px * var(--s));
  width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: 0 0;
  border-radius: 48px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: flex; flex-direction: column;
  font-family: var(--f-body);
  line-height: normal;
}
[dir="rtl"] .screen { transform-origin: 100% 0; }

.statusbar { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 6px 34px 0; font-family: -apple-system, system-ui, sans-serif; font-size: 16px; font-weight: 600; flex: none; }
.island { width: 120px; height: 34px; border-radius: 20px; background: #0E131B; }
.bars { width: 46px; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 70%, transparent 70%); box-shadow: inset 0 0 0 1px var(--ink); opacity: 0.85; }

.t-head { padding: 10px 20px 14px; display: flex; flex-direction: column; gap: 10px; }
.t-top { display: flex; justify-content: space-between; align-items: center; }
.t-top .mono-label { font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.t-title { margin-top: 4px; font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; }
.t-dots { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.t-dots i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #A39A8A; }
.t-dots i.f { width: 8px; height: 8px; border: 0; background: var(--ink); }
.t-dots i.c { border: 2px solid var(--seal); }
.t-dots span { margin-inline-start: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

.t-letter { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0 20px 14px; padding: 0 14px; background: var(--kraft); border-radius: 4px; box-shadow: 0 2px 0 var(--kraft-shade); }
.wax-sm { width: 28px; height: 28px; font-size: 14px; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.15); }
.t-letter-text { flex: 1; font-family: var(--f-mono); font-size: 13px; }
.t-letter-open { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; }

.t-main { position: relative; flex: 1; min-height: 0; overflow: hidden; border-top: 1px solid var(--rule); }
.t-margin { position: absolute; top: 0; bottom: 0; inset-inline-start: 60px; width: 2px; background: var(--seal); opacity: 0.45; }
.row { display: flex; min-height: 46px; border-bottom: 1px solid var(--rule); }
.row .hr { width: 60px; flex: none; padding-top: 15px; text-align: center; font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.row .hr.ink { color: var(--ink); }
.row .hr.dim { color: #6F695F; padding-top: 0; align-self: center; }
.row .body { flex: 1; padding: 12px 20px 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.row .body p { font-size: 16px; line-height: 22px; }
.row-fold { align-items: center; }
.row-fold .hr { padding-top: 0; font-size: 12px; }
.row-fold .body { flex-direction: row; justify-content: space-between; align-items: center; padding-block: 0; }
.row-fold em { font-size: 15px; color: var(--muted); }
.row-fold u { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.row-mid .body { justify-content: center; }
.row-knocked .write-cta { color: var(--seal); border-bottom-color: var(--seal); }
.write-cta { align-self: flex-start; font-style: italic; font-size: 15px; color: var(--muted); border-bottom: 1px dashed #A39A8A; }
.sealed-for { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sealed-for i { width: 10px; height: 10px; border-radius: 50%; background: var(--seal); }

.row-now { background: #F8F4EC; }
.row-now .hr { padding-top: 16px; display: flex; justify-content: center; }
.hour-stamp { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid var(--seal); border-radius: 50%; color: var(--seal); font-family: var(--f-mono); font-weight: 700; font-size: 14px; transform: rotate(-6deg); }
.row-now .body { gap: 14px; padding-block: 18px; }
.ask { font-family: var(--f-title); font-style: italic; font-size: 22px; line-height: 1.2; }
.progress { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #E3D9C6; }
.fill { width: 62%; height: 4px; border-radius: 2px; background: var(--ink); }
.chips { display: flex; gap: 8px; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border: 1px dashed #A39A8A; border-radius: 999px; font-style: italic; font-size: 14px; }
.now-actions { display: flex; align-items: center; gap: 14px; }
.btn-ink { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.skip-hour { font-style: italic; font-size: 15px; color: var(--muted); }

.tabs { flex: none; height: 84px; display: flex; gap: 6px; padding: 0 12px; background: var(--kraft); border-top: 1px solid var(--kraft-shade); align-items: flex-start; }
.tab { position: relative; flex: 1; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--kraft-deep); border-radius: 0 0 12px 12px; color: var(--body); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.tab.on { height: 66px; margin-top: -1px; background: var(--paper); color: var(--ink); font-weight: 700; }
.tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tab .dot { position: absolute; top: 8px; inset-inline-end: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--seal); }

/* Sections */

.section { padding-block: 88px; }
@media (min-width: 960px) { .section { padding-block: 120px; } }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* How it works */

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 40px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

.step h3 { margin-top: 6px; font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.2; }
.step p { margin-top: 10px; color: var(--body); font-size: 17px; }
/* Words first, then the picture (the markup's order, so it reads the same aloud). On wide
   screens, where the three steps sit side by side, the pictures line up on top instead. */
.step { display: flex; flex-direction: column; }
.step-art { margin-top: 22px; }
@media (min-width: 860px) {
  .step-art { order: -1; margin-top: 0; margin-bottom: 22px; }
}
.step-num { display: block; font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--seal); letter-spacing: 0.12em; }

.step-art {
  position: relative;
  min-height: 268px;
  padding: 26px 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(31, 42, 58, 0.06);
  background-image: linear-gradient(to bottom, transparent 33px, rgba(31, 42, 58, 0.05) 33px);
  background-size: 100% 34px;
}
.step:nth-child(1) .step-art { transform: rotate(-0.6deg); }
.step:nth-child(2) .step-art { transform: rotate(0.5deg); }
.step:nth-child(3) .step-art { transform: rotate(-0.4deg); }

.mini-knock { box-shadow: 0 6px 16px rgba(31, 42, 58, 0.1); font-size: 15px; }
.mini-knock .knock-icon { width: 34px; height: 34px; font-size: 19px; }
.mini-hours { display: flex; gap: 2px; height: 22px; }
.mini-hours span { flex: 1; border-radius: 2px; background: #E3D9C6; }
.mini-hours span.on { background: var(--ink); }

.hour-card { display: flex; flex-direction: column; gap: 14px; }
.hour-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border: 2px solid var(--seal); border-radius: 3px;
  color: var(--seal);
  font-family: var(--f-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.1em;
  transform: rotate(-2.5deg);
}
.hour-card p { font-size: 16px; line-height: 1.5; }
.weights { display: flex; align-items: center; gap: 8px; }
.weights em { font-size: 13px; color: var(--muted); }
.weights i { width: var(--d); height: var(--d); border-radius: 50% 46% 52% 44%; background: var(--ink); flex: none; }
.weights b { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--seal); border-radius: 50%; flex: none; }

.step-art-night { background: var(--night); background-image: none; border-color: var(--night); color: var(--paper); }
.blots { display: flex; align-items: flex-end; justify-content: space-between; height: 40px; padding-bottom: 10px; border-bottom: 1px solid rgba(242, 236, 224, 0.25); }
.blots i { width: var(--d); height: var(--d); border-radius: 50% 46% 53% 44%; background: var(--paper); }
.blots i.heavy { background: #D2604E; }
.blots i.blank { background: rgba(242, 236, 224, 0.25); }
.blots i.skip { width: 10px; height: 10px; border-radius: 50%; border: 1px dashed rgba(242, 236, 224, 0.5); background: none; }
.one-line { padding-bottom: 6px; border-bottom: 1.5px solid var(--paper); font-family: var(--f-title); font-style: italic; font-size: 22px; line-height: 1.2; }

.archive-strip {
  margin-top: 64px;
  display: grid; gap: 28px; align-items: center;
  padding: 28px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) { .archive-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.archive-strip h3 { font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 26px; }
.archive-strip p { margin-top: 8px; color: var(--body); font-size: 17px; }
.archive-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; max-width: 420px; }
.archive-days span { height: 54px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--rule); border-radius: 2px; }
.archive-days b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; line-height: 11px; }
.archive-days i { display: block; height: 2px; border-radius: 1px; background: var(--ink); opacity: 0.7; }
.archive-days .sel { border: 2px solid var(--seal); color: var(--seal); transform: rotate(-3deg); }
.archive-days .sel b { font-weight: 700; }

/* Your book (docs/design/Book.dc.html): a small book to leaf through, on a kraft desk. */

/* It follows "How it works" on the same paper, so that section's bottom padding is the gap. */
.section-book { padding-top: 0; }
.book-intro { display: grid; gap: 8px 72px; }
@media (min-width: 960px) {
  .book-intro { grid-template-columns: 5fr 6fr; align-items: start; }
  /* The paragraph's first line sits level with the title's first line, under the label. */
  .book-intro .section-lede { margin-top: var(--book-lede-top, 34px); }
}

.book-desk {
  --pw: min(380px, calc(100vw - 2 * var(--gutter) - 2 * 18px));
  --ph: 540px;
  margin-top: 48px;
  padding: 40px 18px 28px;
  background: var(--kraft);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(31, 42, 58, 0.06), inset 0 2px 14px rgba(31, 42, 58, 0.08);
  overflow: hidden;
}
@media (min-width: 960px) { .book-desk { padding: 56px 40px 32px; } }

/* Without book.js: the first page (or two) side by side, unturned. */
.bk-source { display: flex; justify-content: center; }
.bk-source .bk-page { flex: none; width: var(--pw); height: var(--ph); background: var(--card); box-shadow: 0 10px 24px rgba(31, 42, 58, 0.22); }
.bk-source .bk-page:nth-child(n+2) { display: none; }
@media (min-width: 760px) { .bk-source .bk-page:nth-child(2) { display: block; } }
.bk-ready .bk-source { display: none; }

.bk-stage { display: none; }
.bk-ready .bk-stage {
  display: block; position: relative;
  width: var(--pw); height: var(--ph); margin-inline: auto;
  perspective: 2400px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: pointer;
}
.bk-two .bk-stage { width: calc(var(--pw) * 2); }

/* The block of pages under the open ones, with paper edges showing on the outside. */
.bk-ready .bk-stage::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 2px 6px 6px 2px;
  background: #EDE6D8;
  box-shadow: 3px 0 0 -1px #EDE6D8, 6px 0 0 -2px #DCD2C1, 0 16px 34px rgba(31, 42, 58, 0.28);
}
.bk-two .bk-stage::before { border-radius: 6px; box-shadow: 3px 0 0 -1px #EDE6D8, 6px 0 0 -2px #DCD2C1, -3px 0 0 -1px #EDE6D8, -6px 0 0 -2px #DCD2C1, 0 16px 34px rgba(31, 42, 58, 0.28); }

.bk-leaf {
  position: absolute; top: 0; left: 0;
  width: var(--pw); height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.35, 0.05, 0.2, 1);
}
.bk-two .bk-leaf { left: var(--pw); }
.bk-leaf.bk-turned { transform: rotateY(-180deg); }

.bk-face {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--card);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.bk-face.bk-back { transform: rotateY(180deg); }
.bk-face.bk-base { left: 0; width: var(--pw); border-radius: 6px 2px 2px 6px; }
.bk-front { border-radius: 2px 6px 6px 2px; }
.bk-back { border-radius: 6px 2px 2px 6px; }
.bk-blank { background: #EFE8DA; }
/* The gutter: a soft shadow where the page meets the spine. */
.bk-face::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26px; pointer-events: none; }
.bk-front::after { left: 0; background: linear-gradient(to right, rgba(31, 42, 58, 0.14), rgba(31, 42, 58, 0)); }
.bk-back::after, .bk-base::after { right: 0; background: linear-gradient(to left, rgba(31, 42, 58, 0.14), rgba(31, 42, 58, 0)); }

/* The ribbon hangs out of the bottom of the book. */
.bk-ribbon {
  position: absolute; z-index: -1; bottom: -46px; right: 54px;
  width: 15px; height: 120px;
  background: var(--seal);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%);
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.25);
}
.bk-two .bk-ribbon { right: auto; left: calc(var(--pw) - 7px); }

/* Page content, after the app's Book screen. */
.bk-page { position: relative; height: 100%; padding: 28px 20px 44px 34px; color: var(--ink); text-align: start; }
.bk-verso { padding: 28px 34px 44px 20px; }
.bk-num { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.bk-kicker { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bk-h { margin-top: 6px; font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 27px; line-height: 1.15; }

.bk-contents .bk-h { font-size: 32px; margin-bottom: 18px; }
.bk-carry { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 14px 8px 16px; border: 1px solid var(--rule); border-radius: 3px; background: #F8F4EC; }
.bk-carry i { width: 14px; height: 38px; flex: none; background: var(--seal); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.bk-carry span { display: flex; flex-direction: column; gap: 2px; font-size: 17px; line-height: 1.2; }
.bk-carry small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bk-toc { list-style: none; margin: 14px 0 0; padding: 0; }
.bk-toc li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.bk-toc li > span { display: flex; align-items: baseline; gap: 8px; }
.bk-toc b { font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 21px; }
.bk-toc i { flex: 1; border-bottom: 1.5px dotted #A39A8A; transform: translateY(-4px); }
.bk-toc em { font-family: var(--f-mono); font-style: normal; font-size: 14px; }
.bk-toc small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.bk-note { margin-top: 16px; font-style: italic; font-size: 14px; line-height: 1.45; color: var(--muted); }

.bk-month, .bk-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.bk-year { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.3em; }
.bk-month h3 { font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -0.02em; }
.bk-diamond { display: flex; align-items: center; gap: 10px; }
.bk-diamond i { width: 36px; height: 1px; background: var(--ink); }
.bk-diamond b { width: 7px; height: 7px; transform: rotate(45deg); background: var(--seal); }
.bk-count { font-style: italic; font-size: 17px; color: var(--muted); }
.bk-end h3 { font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.15; }
.bk-end p { font-size: 16px; color: var(--muted); }

.bk-day .bk-h { padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.bk-hours {
  position: relative; padding-top: 4px;
  background-image: linear-gradient(to bottom, transparent 25px, var(--rule) 25px);
  background-size: 100% 26px; background-position: 0 4px;
}
.bk-hours::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; width: 1px; background: var(--seal); opacity: 0.35; }
.bk-hours > div { display: grid; grid-template-columns: 34px 1fr; padding-bottom: 26px; }
.bk-hours span { font-family: var(--f-mono); font-size: 13px; line-height: 26px; color: var(--muted); }
.bk-hours p { padding-inline-start: 12px; font-size: 15px; line-height: 26px; }
/* A photo taped in under the hour's words (docs/design/Photos.dc.html), three lines tall. */
.bk-photo {
  grid-column: 2; position: relative; display: block;
  width: 116px; height: 78px; margin: 4px 0 0 14px; padding: 5px 5px 13px;
  background: #FFFDF8; box-shadow: 0 3px 8px rgba(31, 42, 58, 0.2);
  transform: rotate(-2deg);
}
.bk-photo i { display: block; height: 100%; background: linear-gradient(to bottom, #D6DEE6 0 38%, #B79CCB 38% 66%, #8C7AA8 66% 74%, #9AA57A 74%); }
.bk-photo::before, .bk-photo::after { content: ""; position: absolute; top: 3px; width: 28px; height: 10px; background: rgba(217, 199, 167, 0.85); }
.bk-photo::before { left: -8px; transform: rotate(-38deg); }
.bk-photo::after { right: -8px; transform: rotate(38deg); }

.bk-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 56px; }
.bk-controls[hidden] { display: none; }
.bk-turn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
}
.bk-turn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-turn:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
.bk-turn[disabled] { opacity: 0.3; cursor: default; }
.bk-where { min-width: 11em; text-align: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); }

@media (max-width: 380px) {
  .book-desk { --pw: calc(100vw - 2 * var(--gutter) - 2 * 10px); padding-inline: 10px; }
  .bk-page { padding-inline: 26px 14px; }
  .bk-verso { padding-inline: 14px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-leaf { transition: none; }
}

/* Letters */

.section-kraft {
  background: #EADFCB;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 18px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 0.55em;
  width: 12px; height: 12px; border-radius: 47% 53% 50% 50%; background: var(--seal);
}

.letters-demo { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 440px; margin-inline: auto; }

.envelope {
  position: relative; display: block; width: 100%; height: 112px; padding: 0;
  border: 0; border-radius: 4px;
  background: var(--kraft); box-shadow: 0 2px 0 var(--kraft-shade), 0 10px 22px rgba(31, 42, 58, 0.08);
  color: var(--ink); text-align: start; cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease;
}
.envelope:hover { transform: translateY(-2px) rotate(-0.4deg); }
.envelope .flap { position: absolute; inset: 0; width: 100%; height: 70%; fill: none; stroke: #B9A57F; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.envelope .wax { position: absolute; top: 44px; inset-inline-start: calc(50% - 21px); width: 42px; height: 42px; font-size: 18px; transition: transform 0.25s ease; }
.envelope:hover .wax { transform: scale(1.06) rotate(-6deg); }
.env-from { position: absolute; inset-inline-start: 16px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; font-family: var(--f-mono); font-size: 13px; }
.env-from span { font-size: 11px; color: var(--body); }
.postage { position: absolute; top: 12px; inset-inline-end: 14px; width: 28px; height: 32px; border: 2px dotted #8F7C59; background: var(--bg); transform: rotate(4deg); }

.letter {
  position: relative;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card);
  border: 1px solid var(--rule); border-radius: 3px;
  box-shadow: 0 10px 22px rgba(31, 42, 58, 0.1);
  transform: rotate(-0.6deg);
  animation: unfold 0.45s cubic-bezier(.2, .8, .2, 1);
}
.letter::before, .letter::after {
  content: ""; position: absolute; top: -8px; width: 14px; height: 28px; background: var(--seal);
}
.letter::before { inset-inline-end: 34px; border-radius: 14px 0 0 14px; transform: rotate(-22deg); }
.letter::after { inset-inline-end: 16px; border-radius: 0 14px 14px 0; transform: rotate(16deg); }
@keyframes unfold { from { opacity: 0; transform: translateY(-10px) rotate(-2deg); } to { opacity: 1; transform: rotate(-0.6deg); } }
@media (prefers-reduced-motion: reduce) { .letter { animation: none; } .envelope, .envelope .wax { transition: none; } }

.letter:focus { outline: none; }

.letter-head { display: flex; align-items: center; gap: 12px; }
.letter-head > span:last-child { display: flex; flex-direction: column; }
.letter-head b { font-weight: 500; font-size: 17px; }
.letter-head small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.avatar { display: flex; align-items: center; justify-content: center; width: 32px; height: 36px; flex: none; background: var(--bg); border: 2px dotted #B9A57F; transform: rotate(-3deg); font-family: var(--f-title); font-style: italic; font-size: 17px; }
.letter blockquote { margin: 0; font-style: italic; font-size: 20px; line-height: 1.4; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--green); }
.verified svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ (night page) */

.section-night { background: var(--night); color: var(--paper); }
.section-night .label { color: #B8B0A2; }
.section-night .section-lede { color: #D9D2C4; }
/* Links on the night page: paper ink, underlined, with a warm seal-red hover. */
.section-night a { color: var(--paper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section-night a:hover { color: #E07A68; }

@media (min-width: 960px) { .split-top { align-items: start; } }

.faq { counter-reset: faq; border-top: 1px solid rgba(242, 236, 224, 0.18); }
.faq details { counter-increment: faq; border-bottom: 1px solid rgba(242, 236, 224, 0.18); }

.faq summary {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: baseline; gap: 14px;
  padding-block: 22px;
  font-family: var(--f-title); font-style: italic; font-size: 21px; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--f-mono); font-style: normal; font-size: 13px; letter-spacing: 0.08em; color: #B8B0A2;
}
.faq summary::after {
  content: ""; align-self: center;
  width: 28px; height: 28px;
  border: 1.5px solid rgba(242, 236, 224, 0.45); border-radius: 50%;
  /* Plus drawn with two bars so it sits exactly in the middle (font glyphs don't). */
  background-image: linear-gradient(var(--paper), var(--paper)), linear-gradient(var(--paper), var(--paper));
  background-size: 12px 1.5px, 1.5px 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease, background-size 0.2s ease;
}
.faq summary:hover::after { border-color: var(--paper); }
.faq details[open] summary::before { color: #E07A68; }
.faq details[open] summary::after { background-color: var(--seal); border-color: var(--seal); background-size: 12px 1.5px, 1.5px 0; }

/* The answer lines up under the question text, not under the number. */
.faq .answer { padding: 0 42px 26px 48px; }
.faq .answer p { max-width: 36em; color: #DCD5C7; font-size: 17px; line-height: 1.7; }
.faq .answer p + p { margin-top: 12px; }

@media (max-width: 520px) {
  .faq summary { grid-template-columns: 26px minmax(0, 1fr) 28px; gap: 10px; font-size: 19px; padding-block: 18px; }
  .faq .answer { padding: 0 0 22px 36px; }
  .faq .answer p { font-size: 16.5px; }
}

/* Smooth open/close where the browser supports animating details. */
@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content, .faq summary::after { transition: none; }
}

/* Closing cover (docs/design/Welcome.dc.html) */

.closing { padding: 96px var(--gutter) 104px; display: flex; justify-content: center; }
.cover {
  position: relative; overflow: hidden;
  width: 100%; max-width: 560px;
  padding: 72px 28px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  background: var(--ink); color: var(--paper);
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(31, 42, 58, 0.25);
}
.cover::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(242, 236, 224, 0.28); border-radius: 6px; pointer-events: none; }
.cover-ribbon { position: absolute; top: 0; bottom: 0; inset-inline-end: 44px; width: 16px; background: var(--seal); box-shadow: -2px 0 4px rgba(0, 0, 0, 0.25); }
.cover-label {
  position: relative; width: min(300px, 100%);
  padding: 26px 20px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink);
  outline: 3px double var(--ink); outline-offset: -9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.cover-label .mono-label { font-size: 11px; letter-spacing: 0.14em; }
.cover-label h2 { font-family: var(--f-title); font-style: italic; font-weight: 400; font-size: 60px; line-height: 1; letter-spacing: -0.02em; }
.cover-rule { width: 60px; height: 1px; background: var(--ink); }
.cover-label p { font-style: italic; font-size: 19px; line-height: 1.35; }
.cover-foot { position: relative; font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.04em; text-align: center; }

/* Footer */

/* Footer links (every page). */
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { border-top: 1px solid var(--rule); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 80px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
