
.pg { width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px calc(26px + env(safe-area-inset-right)) 0 calc(26px + env(safe-area-inset-left)); }
.pg h1 { font: 500 clamp(30px, 3.6vw, 44px)/1.12 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.pg h2 { font: 500 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.pg h3 { font: 500 19px/1.3 var(--serif); }

.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 14px; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 10px; color: var(--ink-3); }
.crumbs a { display: inline-block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.crumbs + * { margin-top: 18px; }

.lede { margin-top: 14px; max-width: 46em; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); }
.count { margin-top: 10px; font-size: 14px; letter-spacing: .04em; color: var(--accent-ink); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14.5px; background: var(--bg); transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--accent); background: var(--accent-tint); }
.chips a b { font-weight: 600; color: var(--accent-ink); }

.cards { margin-top: 26px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 22px; }
.card { display: block; color: var(--ink); text-decoration: none; border-radius: var(--r-l); }
.card .ph { display: grid; place-items: center; aspect-ratio: 1; padding: 6%; border-radius: var(--r-l); background: #FFFFFF; border: 1px solid var(--line-soft); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.card .ph img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card:hover .ph { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.card b { display: block; margin-top: 12px; font: 500 17px/1.3 var(--serif); }
.card span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.group-h { margin-top: 40px; }

.pat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pat-fig { margin: 0; }
.pat-fig .ph { display: grid; place-items: center; padding: 4%; border-radius: var(--r-xl); background: #FFFFFF; border: 1px solid var(--line-soft); }
.pat-fig img { display: block; width: 100%; height: auto; max-height: min(78vh, 760px); object-fit: contain; }
.pat-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.free { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 22px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 16px/1 var(--sans); text-decoration: none; outline: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; transition: outline-offset .25s, outline-color .25s, filter .25s; }
.cta-btn:hover { outline-color: var(--accent); outline-offset: 5px; filter: brightness(1.06); }
.cta-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cta-btn svg.i { width: 20px; height: 20px; }
.facts { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }

.sec { margin-top: 64px; }
.sec > * + * { margin-top: 16px; }
.sec > h2 + * { margin-top: 18px; }
.narrow { max-width: 760px; }
.prose { max-width: 42em; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 40px; }
.prose h2 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a, .facts a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover, .facts a:hover { text-decoration-color: currentColor; }
.prose .note, .note { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.prose .src-links a { display: inline-flex; align-items: center; min-height: 44px; }

.tbl { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl th.num { text-align: right; }
.tbl tr > :last-child { padding-right: 0; }
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -4px; margin-right: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.code { white-space: nowrap; font-weight: 600; }

.steps { max-width: 42em; padding-left: 1.3em; font-size: 17px; line-height: 1.65; }
.steps li + li { margin-top: 8px; }

.go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.go:hover { text-decoration: underline; text-underline-offset: 4px; }
.go svg.i { width: 18px; height: 18px; }

.guide { max-width: 760px; }
.guide .meta { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.guide .prose { margin-top: 26px; }
.glist { margin-top: 26px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.glist a { display: block; height: 100%; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.glist a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.glist b { display: block; font: 500 19px/1.3 var(--serif); }
.glist span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.dhead { max-width: 46em; }
.dbrand { margin-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); }
.rights { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rights a { color: var(--accent-ink); text-underline-offset: 3px; }
.dlinks { margin-top: 2px; }
.card.soon .ph { cursor: default; }
.card.soon:hover .ph { border-color: var(--line-soft); box-shadow: none; }
.card .dmeta { color: var(--accent-ink); }
.dphoto { margin: 0; }
.dphoto img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: var(--r-l); border: 1px solid var(--line-soft); }
.dphoto figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.hb { padding-top: 84px; }
.hb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.hb .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (pointer: coarse) {
  :where(.crumbs a, .chips a) { position: relative; }
  :where(.crumbs a, .chips a)::after { content: ""; position: absolute; inset: min(0px, calc(50% - 22px)); }
  .chips { gap: 12px 10px; }
}

@media (max-width: 1100px) {
  .hb .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pat { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pat-fig img { max-height: none; }
}
@media (max-width: 760px) {
  .pg { padding-top: 4px; }
  .sec { margin-top: 52px; }
  .hb { padding-top: 64px; }
  .lede { font-size: 16.5px; }
  .cta-btn { width: 100%; }
  .prose, .steps { font-size: 16.5px; }
  .crumbs [aria-current] { max-width: 100%; }
}
@media (max-width: 560px) {
  .cards, .hb .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .card b { font-size: 15.5px; }
  .card span { font-size: 12.5px; }
  .tbl { font-size: 14px; }
  .sw { margin-right: 6px; }
  .tbl .br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chips a, .card .ph, .cta-btn, .glist a { transition: none; } }
