
:root {
  --ink: #161616;
  --muted: #5c534e;
  --paper: #fff5f3;
  --sheet: #ffffff;
  --line: #f0d4d0;
  --red: #cf0008;
  --green: #00a040;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.6 "Avenir Next", "Segoe UI", sans-serif;
}
a { color: var(--red); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  z-index: 5;
}
.skip:focus { top: 8px; }
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
}
.mark {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.mark img { display: block; width: 34px; height: 34px; }
.mark span { color: #fff; font-weight: 650; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav {
  display: flex;
  flex: 1 1 16rem;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  min-width: 0;
}
.nav a { color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 650; }
.nav a[aria-current="page"] { border-bottom: 2px solid #fff; }
.top .btn { padding: 8px 14px; font-size: 0.92rem; }
main { max-width: 1100px; margin: 0 auto; padding: 16px 20px 40px; }
h1, h2, h3 {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4vw, 3.05rem); margin: 0 0 12px; }
h2 { font-size: 1.45rem; margin: 1.25rem 0 0.45rem; }
h3 { font-size: 1.15rem; margin: 1.2rem 0 0.4rem; }
p { margin: 0.75rem 0; }
.kicker { margin: 0 0 8px; color: var(--red); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { font-size: 1.14rem; max-width: 40rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 28px;
  align-items: start;
}
.hero:has(> figure),
.hero:has(> .shots) {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}
.hero > div:not(.shots) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero > figure,
.hero > .shots { justify-self: end; align-self: start; }
.hero > .shots {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 12px;
}
.hero > figure,
.hero .shots figure { max-width: 240px; }
.hero figure.shot img,
.hero .shots img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  margin: 0 auto;
}
.hero .answer { margin-top: 12px; flex: 1 1 auto; }
.hero .answer h2 { margin-top: 0.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.btn, .btn.quiet {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 650;
}
.btn { background: var(--green); color: #fff; }
.btn.quiet { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.shots { display: flex; gap: 12px; align-items: flex-start; justify-content: center; }
.shots figure, figure.shot { margin: 0; }
.shots img, figure.shot img, .cover img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.cover img { max-width: 220px; }
figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.sheet, .answer {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 18px 16px;
  margin-top: 18px;
}
.answer { border-left: 6px solid var(--red); }
.wide { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cards figure { margin: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.cards img { width: 100%; height: auto; border-radius: 8px; display: block; }
.cards figcaption { min-height: 2.4em; }
.glink {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.glink a {
  display: block;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
}
.glink a strong { display: block; color: var(--red); margin-bottom: 4px; }
.glink a span { color: var(--muted); font-size: 0.92rem; }
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: 0.7rem 0; }
details.faq {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0;
}
details.faq summary { cursor: pointer; font-weight: 700; }
.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot .links a { margin-right: 12px; }
@media (max-width: 800px) {
  .hero, .cards, .glink { grid-template-columns: 1fr; }
  .shots { flex-direction: column; }
  .actions .btn, .actions .btn.quiet { width: 100%; text-align: center; }
  .nav {
    flex: 1 0 100%;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
  }
}

/* site-face: name then icon, dark bar, square file-page corners */
body { background: #f6f6f5; }
.top { background: #1c1c1c; border-top: 4px solid #cf0008; }
.sheet, .answer, .glink a, details.faq, .cards figure { border-radius: 0; }
.shots img, figure.shot img, .cover img, .cards img { border-radius: 0; }
.btn, .btn.quiet { border-radius: 0; }
.answer { border-left: 6px solid #cf0008; }
.foot { border-top: 4px solid #1c1c1c; }

@media (max-width: 800px) {
  .hero:has(> figure),
  .hero:has(> .shots) { grid-template-columns: 1fr; }
  .hero > figure,
  .hero > .shots { justify-self: start; }
  .hero > .shots { flex-direction: column; justify-content: flex-start; }
  .hero figure.shot img,
  .hero .shots img { max-height: 420px; }
}
