@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  --paper: #ffffff;
  --ink: #1b2232;
  --muted: #5a6170;
  --rule: #d9dce3;
  --sand: #f2ede1;
  --atlas: #1d4f91;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 64ch;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
}
a { color: var(--atlas); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--atlas); outline-offset: 3px; }

.masthead {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  max-width: 1040px; margin: 0 auto; padding: 1.5rem var(--gutter) 0;
  font-family: var(--sans);
}
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.masthead-mail { font-size: 0.95rem; }

main { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter) 3rem; }
section { max-width: var(--measure); margin: 3.5rem 0 0; }
section > p, .contents, .services, .steps { max-width: var(--measure); }

.lead { margin-top: 4.5rem; }
h1 {
  font-size: 2.4rem;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.12; font-weight: 400; letter-spacing: -0.012em;
  margin: 0 0 1.2rem; max-width: 22ch;
}
.lead p { font-size: 1.15rem; max-width: 58ch; margin: 0; }
h2 { font-size: 1.45rem; font-weight: 600; line-height: 1.25; margin: 0 0 0.8rem; }
p { margin: 0 0 1rem; }

/* The plate: one excerpt of the real product, set like a printed atlas plate. */
.plate {
  margin: 3.5rem 0 0; padding: 1.4rem 1.6rem 1.2rem;
  background: var(--sand); border-top: 2px solid var(--ink);
  font-family: var(--sans);
}
.plate-head { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 0.9rem; }
.plate-no { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.plate-title { color: var(--muted); font-size: 0.98rem; }
.plate table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.35; }
.plate th { text-align: left; font-weight: 600; padding: 0.35rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--ink); }
.plate td { vertical-align: top; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid rgba(27, 34, 50, 0.18); }
.plate th:last-child, .plate td:last-child { padding-right: 0; white-space: nowrap; }
.plate td:first-child { font-weight: 600; white-space: nowrap; }
.plate-note { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--muted); max-width: 70ch; }

.score { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.score i { display: inline-block; width: 0.55rem; height: 0.8rem; border: 1px solid var(--ink); background: transparent; }
.score[data-score="1"] i:nth-child(-n+1),
.score[data-score="2"] i:nth-child(-n+2),
.score[data-score="3"] i:nth-child(-n+3) { background: var(--ink); }
.score i:nth-child(3) { margin-right: 0.2rem; }

.contents, .services { padding-left: 1.1rem; margin: 0; }
.contents li, .services li { margin-bottom: 0.7rem; }
.contents strong, .services strong { font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem 1.5rem; margin: 1.4rem 0 1.6rem; max-width: 720px; font-family: var(--sans); }
.facts div { border-top: 1px solid var(--rule); padding-top: 0.5rem; }
.facts dt { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; font-weight: 400; }
.facts dd { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--muted); }
.price { font-size: 1.3rem; margin: 0 0 1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; font-family: var(--sans); }
.button {
  display: inline-block; background: var(--atlas); color: #fff; text-decoration: none;
  padding: 0.7rem 1.2rem; border-radius: 3px; font-weight: 600; font-size: 1rem;
}
.button:hover { background: #163d70; }
.sample { font-size: 0.98rem; }

.steps { padding-left: 1.3rem; margin: 0 0 1rem; }
.steps li { margin-bottom: 0.6rem; padding-left: 0.2rem; }

.publisher {
  max-width: 1040px; margin: 2rem auto 0; padding: 1.5rem var(--gutter) 3rem;
  border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.92rem; color: var(--muted);
}
.publisher p { max-width: 80ch; margin: 0 0 0.6rem; }
.publisher strong { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .plate { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 1.2rem var(--gutter) 1rem; }
  .plate table { display: block; overflow-x: auto; }
  .plate td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
