/* Peove. Et "glas" i G-15-grøn med søgerhjørner, en REC-linje og billederne
   af modellerne, derefter modelkort med billede, booking med kalender og kvittering,
   forløbet, vilkår og spørgsmål. Produktbillederne er fritlagte, så de virker i både lyst
   og mørkt tema; CSS giver dem deres plads (aspect-ratio og object-fit), så et billede i
   et andet format også passer ind. Tal og datoer står i mono.
   Skrifter og billeder ligger på siden selv (ingen eksterne kald). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F2F4F1;
  --surface: #FFFFFF;
  --ink: #17201B;
  --muted: #56645C;
  --line: #D3DBD5;
  --lens: #2C4234;
  --lens-ink: #EEF3EF;
  --lens-muted: #B4C6B9;
  --accent: #2E6848;
  --accent-ink: #FFFFFF;
  --accent-soft: #E2EDE6;
  --range: #D3E6D9;
  --stage: #E3EAE5;
  --rec: #D03A2A;
  --warn: #8A5300;
  --warn-soft: #F6ECDD;
  --ok: #2E6848;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 10px;
  /* Siden er lys, også når styresystemet står på mørkt. Det er et valg:
     produktbillederne er klippet fri mod lys bund, og de bar ikke det mørke tema. */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-top: 20px;
  padding-bottom: 40px;
}
.wrap { max-width: 1040px; margin: 0 auto; display: grid; gap: 64px; }
.wrap.narrow { max-width: 760px; gap: 40px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 760; font-stretch: 118%; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 110%; }
p { margin: 0; }
a { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.section { display: grid; gap: 24px; }
.section-head { display: grid; gap: 8px; max-width: 62ch; }
.section-head p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.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;
}

/* Topbar */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-weight: 780; font-stretch: 125%; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
/* Navn og slogan hører sammen og bliver på samme linje, også på en telefon. */
.mark { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.slogan {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.topnav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.topnav a { color: var(--ink); text-decoration: none; }
.topnav a:hover { text-decoration: underline; }

/* Hero: glasset */
.lens {
  position: relative;
  background: var(--lens);
  color: var(--lens-ink);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 22px;
  overflow: hidden;
}
.lens::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%);
}
.corner { position: absolute; width: 26px; height: 26px; border-color: var(--lens-muted); border-style: solid; border-width: 0; }
.corner.tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.rec { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lens-muted); }
.rec .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .rec .dot { animation: none; } }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 4vw, 44px); align-items: center;
}
.hero-copy { display: grid; gap: 20px; align-content: center; }
.lens h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.9vw, 3.1rem);
  font-weight: 790; font-stretch: 122%; letter-spacing: -0.015em; max-width: 16ch;
}
.lens .lead { font-size: 1.1rem; max-width: 46ch; color: var(--lens-ink); opacity: 0.92; }

/* Billederne af brillerne øverst */
.hero-shots { display: grid; gap: 12px; align-content: center; }
.shot {
  display: block; text-decoration: none; color: inherit; padding: 8px 12px 12px;
  border: 1px solid transparent; border-radius: 14px;
  background: radial-gradient(68% 78% at 50% 46%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 72%);
}
.shot:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: radial-gradient(68% 78% at 50% 46%, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0) 72%);
}
.shot figure { margin: 0; display: grid; gap: 6px; }
.shot figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--lens-muted);
}
.shot figcaption b {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 650;
  letter-spacing: 0; color: var(--lens-ink);
}
/* Alle produktbilleder får deres plads af CSS, så et billede i et andet format også passer. */
.shot img, .model-photo img, .doc-photo img {
  display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
/* På telefonen fylder billederne hele bredden, så brillerne kan ses. */
@media (max-width: 560px) {
  .hero-shots { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .shot { padding: 4px 10px 10px; }
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font-body); padding: 14px 20px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.lens .btn-primary { background: var(--lens-ink); color: var(--lens); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; filter: none; }
.btn-block { width: 100%; }
.hud {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--lens-muted);
}
.hud b { color: var(--lens-ink); font-weight: 500; }

/* Brillerne */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.model {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 0; align-content: start; overflow: hidden;
}
.model-photo { padding: 18px 18px 0; background: radial-gradient(74% 84% at 50% 46%, var(--stage), transparent 72%); }
/* En film på et modelkort fylder det samme som et billede. Filmene er optaget
   på hvid bund, så det hvide ganges væk, og brillerne står frit som på de andre kort. */
.model-photo video { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; mix-blend-mode: multiply; }

/* En model, der mangler sit foto. Pladen er lige så høj som et billede, så kortene flugter. */
.model-photo.tom { padding: 18px; background: none; }
.model-photo.tom span {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1;
  border: 1px dashed var(--line); border-radius: 12px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted);
}
.model-body { padding: 22px; display: grid; gap: 14px; align-content: start; }
.btn-pick { justify-self: start; padding: 11px 18px; font-size: 0.95rem; }
.model-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.model-top h3 { min-width: 0; text-wrap: balance; }
.model .use { color: var(--muted); }
.model ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.model .price { font-family: var(--font-mono); font-size: 1.05rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; padding: 4px 10px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; flex: none;
}
.chip.wait { color: var(--warn); background: transparent; border: 1px solid var(--warn); }
/* Egne klip, optaget med brillerne */
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.clip { margin: 0; display: grid; gap: 10px; }
.clip video {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  background: var(--lens); border-radius: var(--radius);
}
.clip figcaption { display: grid; gap: 2px; }
.clip figcaption b { font-weight: 650; }
.clip figcaption span { color: var(--muted); font-size: 0.93rem; }

/* Prisliste */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.tier { border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 4px; background: var(--surface); }
.tier .amount { font-family: var(--font-mono); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.tier .what { color: var(--muted); font-size: 0.9rem; }

/* Booking */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 22px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
legend, .field > label, .field-title { font-weight: 600; margin-bottom: 4px; padding: 0; }
.options { display: grid; gap: 8px; }
.options.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--surface); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.option input { margin-top: 4px; accent-color: var(--accent); }
.option small { display: block; color: var(--muted); }
.models-options .option { align-items: center; }
.models-options .option input { margin-top: 0; }
.option-body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.option-name { min-width: 0; }
.option-thumb { flex: none; width: 92px; aspect-ratio: 2 / 1; object-fit: contain; }
.field { display: grid; gap: 6px; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-addr { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 12px; }
@media (max-width: 460px) { .grid-2, .grid-addr { grid-template-columns: minmax(0, 1fr); } }
input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0;
}
textarea { min-height: 84px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--rec); }
.hint { color: var(--muted); font-size: 0.9rem; }
/* Rabatkoden: felt og knap på samme linje. */
.discount-row { display: flex; gap: 8px; align-items: stretch; }
.discount-row input { flex: 1 1 auto; text-transform: uppercase; }
.discount-row .btn { flex: none; padding: 10px 16px; font-size: 0.95rem; }
.hint.ok { color: var(--ok); font-weight: 600; }
.hint.bad { color: var(--rec); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--accent); flex: none; }
.check small { display: block; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kalender */
.cal { display: grid; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  font: 600 1.1rem/1 var(--font-body); width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.cal-nav button[disabled] { opacity: 0.4; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.cal-month { display: grid; gap: 6px; min-width: 0; }
.cal-title { font-weight: 650; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-dow { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-align: center; text-transform: uppercase; padding: 2px 0; }
.cal-day {
  font: 500 0.92rem/1 var(--font-mono); font-variant-numeric: tabular-nums;
  aspect-ratio: 1 / 1; min-height: 36px; width: 100%;
  border: 1px solid transparent; border-radius: 8px; background: var(--bg); color: var(--ink);
  cursor: pointer; padding: 0;
}
.cal-day:hover:not([disabled]) { border-color: var(--accent); }
.cal-day[disabled] { cursor: default; background: transparent; color: var(--muted); opacity: 0.55; }
.cal-day.is-busy { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: 0.7; background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line) 5px 6px); }
.cal-day.can-end { background: var(--surface); border-color: var(--line); }
.cal-day.in-range, .cal-day.preview { background: var(--range); color: var(--ink); border-color: transparent; }
.cal-day.is-start, .cal-day.is-end { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cal-day.is-today { box-shadow: inset 0 -3px 0 var(--accent); }
.cal-pad { aspect-ratio: 1 / 1; min-height: 36px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.sw.free { background: var(--bg); }
.sw.busy { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--muted) 3px 4px); }
.sw.sel { background: var(--accent); border-color: var(--accent); }
.cal-status { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* Kvittering */
.receipt { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); }
@media (max-width: 860px) { .receipt { position: static; } }
.picked {
  margin: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px;
  background: radial-gradient(84% 94% at 32% 50%, var(--stage), transparent 76%);
}
.picked-img { flex: none; width: 104px; aspect-ratio: 2 / 1; object-fit: contain; }
.picked figcaption { display: grid; gap: 1px; min-width: 0; }
.picked figcaption b { font-weight: 650; }
.picked figcaption span { color: var(--muted); font-size: 0.9rem; }
.receipt .lines { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.line span:last-child { font-family: var(--font-mono); white-space: nowrap; }
.line.total { border-top: 1px dashed var(--line); padding-top: 12px; font-weight: 700; font-size: 1.15rem; }
.line.deposit { color: var(--muted); font-size: 0.95rem; }
.line.paynow { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 650; }
.period { color: var(--muted); font-size: 0.95rem; }
.error { color: var(--rec); font-weight: 600; }
.fine { color: var(--muted); font-size: 0.88rem; }

/* Beskeder */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); border-radius: 8px; padding: 14px 16px; display: grid; gap: 6px; }
.notice.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.notice.error { border-left-color: var(--rec); }
.notice strong { font-weight: 700; }

/* Forløb */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); color: var(--accent); font-size: 1.1rem; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps p { color: var(--muted); }

/* Vilkår og spørgsmål */
.terms { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; max-width: 70ch; }
.faq { display: grid; gap: 10px; max-width: 75ch; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin-top: 10px; color: var(--muted); }

/* Tekstsider (betingelser, privatliv, tak) */
.doc { display: grid; gap: 18px; max-width: 70ch; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 780; font-stretch: 118%; }
.doc h2 { font-size: 1.3rem; font-stretch: 110%; margin-top: 12px; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc .muted { color: var(--muted); }
.doc-photo {
  margin: 0; padding: 10px; border-radius: var(--radius);
  background: radial-gradient(70% 80% at 50% 48%, var(--stage), transparent 74%);
}
.doc-photo img { max-width: 440px; margin: 0 auto; }
.formbox { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); display: grid; gap: 8px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--font-mono); overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 0.9rem; display: grid; gap: 6px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.missing { color: var(--warn); }
