/* Clipart10
   Ink #16324F  Paper #E4EBF0  Sheet #F7F9FA  Red #C83222  Line #C9D4DC
   Type: system UI stack (no third-party font CDN).
   The rotated stickers and the red action button carry the look.
   Everything else stays flat so the drawings can be found quickly.
*/

:root {
  --ink: #16324f;
  --ink-soft: #3e5670;
  --paper: #e4ebf0;
  --sheet: #f7f9fa;
  --red: #c83222;
  --red-deep: #a8281c;
  --line: #c9d4dc;
  --white: #ffffff;
  --font-ui: "Segoe UI", system-ui, -apple-system, "Arial Narrow", sans-serif;
  --font-body: Georgia, Cambria, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.45;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  line-height: 0.98;
  max-width: 12em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.15;
}

a {
  color: var(--ink);
}

a:hover {
  text-decoration-thickness: 2px;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 2;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp {
  position: absolute;
  left: -9999px;
}

.site-head {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0 12px;
  flex-wrap: wrap;
}

.header-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--sheet);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.cat-pill:hover,
.cat-pill[aria-current="page"] {
  border-color: var(--ink);
  background: var(--white);
}

.cat-swatch {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 0.95rem;
  border: 1px solid var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header-search {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 460px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-ui);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle-icon {
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(22 50 79 / 0.45);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(320px, calc(100vw - 48px));
  max-height: 100dvh;
  overflow-y: auto;
  background: var(--sheet);
  border-left: 1px solid var(--ink);
  box-shadow: -8px 0 24px rgb(22 50 79 / 0.12);
  padding: 0 0 24px;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.nav-drawer-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-drawer-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--sheet);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.nav-drawer-links,
.nav-drawer-cats {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
}

.nav-drawer-links a,
.nav-drawer-cats a {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-drawer-links a[aria-current="page"],
.nav-drawer-cats a[aria-current="page"] {
  font-weight: 700;
  background: var(--white);
}

.nav-drawer-heading {
  margin: 12px 10px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

body.nav-open {
  overflow: hidden;
}

.admin-meta-line {
  margin: -8px 0 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.status-board-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 500 1.05rem/1.2 var(--font-ui);
  padding: 14px 14px;
  border-radius: 0;
}

.search-compact {
  flex: 1 1 280px;
  max-width: 460px;
}

.search-compact input {
  padding: 10px 12px;
  font-size: 1rem;
}

.search-compact .button {
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 14px;
}

::placeholder {
  color: #4d647c;
}

.button {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}

.button:hover {
  background: var(--red-deep);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: end;
  padding: 36px 0 18px;
}

.hero h1 {
  max-width: 9.2em;
}

.trust-strip {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-stats {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero-stats a {
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.why-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.block-tight {
  padding-top: 0;
}

.ad-slot {
  margin: 22px 0;
  padding: 12px;
  min-height: 90px;
  background: var(--sheet);
  border: 1px dashed var(--line);
  text-align: center;
}

.ad-slot .adsbygoogle {
  display: block;
}

.lede {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 36ch;
  margin: 18px 0 0;
}

.hero .search {
  margin-top: 26px;
  max-width: 540px;
}

.hero-stickers {
  position: relative;
  height: 360px;
}

.sticker {
  position: absolute;
  width: 158px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 10px;
}

.sticker img {
  display: block;
  width: 100%;
  height: auto;
}

.sticker-a {
  top: 8px;
  left: 6px;
  transform: rotate(-8deg);
}

.sticker-b {
  top: 28px;
  right: 4px;
  transform: rotate(6deg);
}

.sticker-c {
  bottom: 6px;
  left: 78px;
  transform: rotate(-2deg);
}

.block {
  padding: 42px 0 8px;
}

.subjects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  border-top: 1px solid var(--line);
}

.subject {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.subject-name {
  font-weight: 500;
  font-size: 1.15rem;
}

.subject:hover .subject-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.swatch {
  display: block;
}

.subject-count {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 18px;
}

.tile {
  text-decoration: none;
  color: inherit;
}

.tile-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12%;
}

.tile-checker {
  background: repeating-conic-gradient(#dfe6ec 0 25%, #f7f9fa 0 50%) 50% / 16px 16px;
}

.tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--ink);
}

.tile-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tile:hover .tile-frame,
.tile:focus-visible .tile-frame {
  border-color: var(--ink);
}

.tile-title {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

.tile-cat {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.prose,
.detail-copy .lede,
.guide p,
.static p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 66ch;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 40px;
  align-items: start;
  padding-top: 22px;
}

.detail-frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8%;
}

.detail-checker {
  background: repeating-conic-gradient(#dfe6ec 0 25%, #f7f9fa 0 50%) 50% / 20px 20px;
}

.license-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--ink);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 8px 0 12px;
}

.button-ghost {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.92rem;
  padding: 12px 14px;
}

.button-ghost:hover {
  background: var(--white);
}

.embed-box {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--sheet);
}

.embed-box summary {
  cursor: pointer;
  font-weight: 600;
}

.embed-code {
  width: 100%;
  margin: 12px 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85rem;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.detail-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.crumbs {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.crumb-sep {
  margin: 0 0.35em;
  color: var(--ink-soft);
}

.crumb {
  display: inline;
}

.detail h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 14em;
}

.meta-line,
.tags {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.pipeline-demo .pipeline-steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.pipeline-demo .pipeline-steps > li {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.demo-frame {
  margin: 16px 0 0;
  max-width: 420px;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 16px;
}

.demo-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: repeating-conic-gradient(#dfe6ec 0 25%, #f7f9fa 0 50%) 50% / 20px 20px;
}

.demo-frame figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.demo-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.demo-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 14px 16px;
  overflow-x: auto;
}

.detail .button {
  margin: 8px 12px 16px 0;
}

.related {
  padding: 48px 0 16px;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  margin: 28px 0 8px;
}

.empty {
  color: var(--ink-soft);
}

.guide h2,
.static h2 {
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 20px 0 40px;
}

.footer-tagline {
  margin: 0 0 14px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-top: 8px;
}

.form label,
.field {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

.form input:not([type="checkbox"]):not([type="radio"]),
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
  padding: 10px 12px;
  font: 400 1rem/1.4 var(--font-ui);
}

.form input[type="checkbox"],
.form input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}

.form label.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.form label.checkbox-inline input {
  flex-shrink: 0;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.flash {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 10px 12px;
  margin: 0 0 16px;
}

.flash.error {
  border-color: var(--red);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 500;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.status-board p {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px;
}

pre.queue-cli {
  background: #0f1a28;
  color: #e8f0f8;
  padding: 16px 18px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 24px;
}

.admin-thumb-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.admin-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sheet);
  color: var(--ink-soft);
  font-size: 0.75rem;
  border-radius: 6px;
  border: 1px dashed var(--line);
}

.admin-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.admin-preview-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
}

.admin-preview-card .admin-thumb-frame {
  width: 100%;
  height: 120px;
}

.admin-preview-title {
  font-size: 0.82rem;
  line-height: 1.3;
}

p.muted {
  color: var(--ink-soft);
  margin: -8px 0 14px;
}

.status {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.status-published {
  border-color: var(--ink);
}

.status-draft {
  border-color: var(--red);
  color: var(--red);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form .form-actions {
  align-items: center;
  margin-top: 4px;
}

.form .form-actions .button {
  margin: 0;
  text-align: center;
}

.home-faq .faq-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.home-faq .faq-item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
}

.home-faq .faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.home-faq .faq-item p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.az-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.az-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.button.quiet {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection {
  background: #f3c3bc;
  color: var(--ink);
}

@media (max-width: 900px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .nav-inline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo menu"
      "search search";
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
  }

  .site-header .logo {
    grid-area: logo;
  }

  .site-header .nav-toggle {
    grid-area: menu;
    justify-self: end;
  }

  .site-header-search {
    grid-area: search;
    max-width: none;
    width: 100%;
  }

  .admin-header {
    grid-template-areas: "logo menu";
  }

  .hero,
  .detail,
  .subjects {
    grid-template-columns: 1fr;
  }

  .subjects {
    column-gap: 0;
  }

  .grid,
  .status-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail {
    gap: 24px;
  }

  .detail h1 {
    font-size: clamp(1.75rem, 7vw, 2.6rem);
  }

  .detail-actions .button,
  .detail-actions .button-ghost {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    min-height: 48px;
  }

  .hero-stickers {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    overflow: visible;
    gap: 10px;
  }

  .sticker {
    position: static;
    width: 28%;
  }

  .sticker-a,
  .sticker-b,
  .sticker-c {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .sticker-a { transform: rotate(-6deg); }
  .sticker-b { transform: rotate(5deg); }
  .sticker-c { transform: rotate(-2deg); }

  .header-cats {
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .cat-pill {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .table-wrap {
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    padding: 10px 6px;
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .header-cats {
    display: none;
  }

  .sticker-c {
    display: none;
  }

  .hero-stickers {
    justify-content: center;
    gap: 18px;
  }

  .sticker {
    width: 42%;
  }

  .hero .search,
  .search-compact {
    flex-wrap: nowrap;
  }

  .search input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
  }

  .search .button {
    flex: 0 0 auto;
    min-height: 48px;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
  }

  .tile-title {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .status-board-compact {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .lede {
    font-size: 1.08rem;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(1120px, calc(100% - 24px));
  }

  .logo {
    font-size: 1.15rem;
  }

  .grid {
    gap: 18px 12px;
  }

  .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-actions .button,
  .detail-actions .button-ghost {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (min-width: 901px) {
  .nav-drawer,
  .nav-scrim {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:active {
    transform: none;
  }
}
