@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
  button, input, select, textarea { font: inherit; color: inherit; }
  img, video { max-width: 100%; height: auto; display: block; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  button { background: none; border: 0; }
  [hidden] { display: none !important; }
}
@layer base {
  html { scroll-padding-top: calc(var(--header) + var(--admin-bar) + 16px); }
  body { background: var(--paper); color: var(--ink); font: 400 16px/1.45 var(--ui); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
  main { min-height: 40svh; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
  ::selection { background: var(--ink); color: var(--paper); }
  h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; }
  h1 { font-size: clamp(28px, 3vw, 42px); }
  h2 { font-size: 24px; } h3 { font-size: 18px; }
  p + p { margin-top: 16px; }
  .shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
  .reading { width: min(100% - 2 * var(--gutter), var(--reading)); margin-inline: auto; }
  .section { padding-block: var(--section); }
  .section-title { font: 400 clamp(26px,2.6vw,38px)/1 var(--ui); letter-spacing: -.025em; }
  .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
  .meta { font-size: 12px; line-height: 1.4; color: var(--muted); }
  .price { font: 400 16px/1.4 var(--ui); }
  .price del { color: var(--muted); } .price ins { text-decoration: none; }
  .price small { font-size: 12px; }
  label { display: block; margin-bottom: 8px; font-size: 14px; }
  input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea { border: 1px solid var(--line); background: var(--paper); border-radius: 0; min-height: 48px; padding: 12px; width: 100%; max-width: 100%; box-shadow: none; }
  textarea { min-height: 140px; resize: vertical; }
  input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 18px; height: 18px; vertical-align: middle; }
  select { padding-right: 32px; }
  input:disabled, button:disabled { cursor: not-allowed; opacity: .42; }
  .skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 20px; background: white; z-index: 999999; }
  .skip-link:focus { top: 16px; }
  .screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; }
  .page-content, .article-body { overflow-wrap: anywhere; }
  .page-content > * + *, .article-body > * + * { margin-top: 24px; }
  .page-content a:not(.button), .article-body a { text-decoration: underline; text-underline-offset: 4px; }
  .page-content h2, .article-body h2 { margin-top: 48px; }
  .page-content ul, .page-content ol, .article-body ul, .article-body ol { padding-left: 24px; }
  .page-content table, .article-body table { border-collapse: collapse; width: 100%; }
  .page-content td, .page-content th, .article-body td, .article-body th { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
  .page-content iframe, .article-body iframe { max-width: 100%; }
  @media(max-width:767px) { .section-heading { margin-bottom: 32px; } input, select, textarea { font-size: 16px; } }
  @media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
}
