:root {
  color-scheme: light;
  --ink: #211d38;
  --muted: #5c5670;
  --brand: #4f4fc7;
  --lavender: #eeeeff;
  --paper: #faf9f6;
  --line: #dfdced;
  font: 100% / 1.55 Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, p { margin: 0; }
.wrap { width: min(100% - 64px, 1080px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { flex: 0 0 auto; }
.logo img { width: 156px; height: auto; }
.top-label { color: var(--muted); text-align: right; font-size: .875rem; }
.hero { margin-top: 32px; position: relative; overflow: hidden; isolation: isolate; background: var(--lavender); border-radius: 24px; padding: clamp(24px, 6vw, 64px); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto -48px 0 auto; width: min(52%, 526px); height: 82px; background: url("/assets/strokes.svg") no-repeat right bottom / 100% auto; opacity: .7; }
.eyebrow { color: var(--brand); font-size: .73rem; font-weight: bold; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin-top: 12px; font-size: clamp(2.15rem, 6vw, 4.15rem); line-height: 1.04; letter-spacing: -.04em; max-width: 16ch; }
.hero p:last-child { margin-top: 17px; max-width: 36ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.collection { margin-block: 35px 48px; }
.collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.count { color: var(--muted); white-space: nowrap; font-size: .85rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.card:hover { border-color: var(--brand); }
.doc-icon { display: grid; place-items: center; flex: 0 0 45px; height: 49px; border-radius: 10px; color: var(--brand); background: var(--lavender); font-size: .8rem; font-weight: bold; }
.card-text { flex: 1; }
.card-title { display: block; font-size: 1.1rem; font-weight: bold; line-height: 1.3; }
.card-description { display: block; margin-top: 5px; color: var(--muted); font-size: .93rem; }
.card-meta { display: block; margin-top: 8px; color: var(--brand); font-size: .77rem; }
.card-arrow { color: var(--brand); line-height: 1; font-size: 1.45rem; }
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px; padding-block: 28px 32px; }
.footer h2 { font-size: 1.05rem; }
.footer p { color: var(--muted); margin-top: 6px; max-width: 47ch; font-size: .91rem; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; font-size: .9rem; }
.doc { margin-block: 26px 42px; }
.back { display: inline-flex; min-height: 44px; align-items: center; }
.doc-header { margin-block: 14px 21px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.doc-header h1 { max-width: none; font-size: clamp(1.85rem, 5.5vw, 3.2rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.button { background: var(--brand); color: #fff; border-radius: 10px; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; text-decoration: none; font-weight: bold; white-space: nowrap; }
.button:hover { background: #38389d; }
.notice { margin-bottom: 20px; border-radius: 10px; background: var(--lavender); padding: 11px 16px; }
.viewer { max-width: 830px; margin-inline: auto; }
.viewer h2 { font-size: 1.15rem; margin-bottom: 10px; }
.viewer figure { margin: 0 0 20px; }
.viewer img { width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.viewer figcaption { margin-top: 6px; color: var(--muted); font-size: .85rem; text-align: center; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .top .wrap { min-height: 68px; }
  .logo img { width: 126px; }
  .top-label { font-size: .76rem; max-width: 14ch; }
  .hero { margin-top: 18px; padding-bottom: 52px; border-radius: 18px; }
  .hero::after { height: 38px; right: -5px; }
  .cards, .footer .wrap { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .card { padding: 16px; }
  .doc-header { flex-direction: column; align-items: flex-start; }
}
