/* kitlist.build: the site's styles. Colors, type, spacing and corners come from the kitlist.build design system
   (the "kitlist.build" Design System artifact). Birch is light, Shop is dark; the page follows the phone's setting. */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --surface-000: #f6f1e7; --surface-100: #fffdf8; --surface-200: #ece2cf; --line: #d9ccb4;
  --ink: #1d1b18; --ink-muted: #5e574d;
  --ply: #c99a5b; --ply-text: #7f5a2c;
  --kerf: #e0561b; --kerf-text: #a63d0c; --on-kerf: #1d1b18;
  --blueprint: #1f3a5f; --blueprint-tint: #e1e8ef; --success: #2a6f46;
  --focus: var(--kerf);
  --shadow-lift: 0 2px 0 #d9ccb4;
  --logo-tile: #1d1b18; --logo-long: #c99a5b;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-pill: 999px;
  --gutter: var(--space-4);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-000: #171512; --surface-100: #211e1a; --surface-200: #2b2721; --line: #3b352d;
    --ink: #f3ece0; --ink-muted: #ada393;
    --ply: #d4a86c; --ply-text: #e0bd8a;
    --kerf: #f26a2e; --kerf-text: #ff8a50; --on-kerf: #171512;
    --blueprint: #8fb3e0; --blueprint-tint: #1c2531; --success: #6cc192;
    --shadow-lift: 0 2px 0 #0d0c0a;
    --logo-tile: #c99a5b; --logo-long: #1d1b18;
  }
}
@media (min-width: 768px) { :root { --gutter: var(--space-12); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-000); color: var(--ink); font: 400 16px/24px var(--font-text);
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--kerf-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
h1, h2, h3, p, ul, ol { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-weight: 500; }

/* Header and footer */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); }
.brand svg { width: 32px; height: 32px; }
.brand__word { font: 800 22px/1 var(--font-display); letter-spacing: -0.01em; }
.brand__word span { font: 500 20px/1 var(--font-mono); color: var(--kerf-text); letter-spacing: 0; }
.logo-tile { fill: var(--logo-tile); }
.logo-gap { stroke: var(--logo-tile); }
.logo-long { fill: var(--logo-long); }
.logo-short { fill: #e0561b; }
.foot { border-top: 1px solid var(--line); margin-top: var(--space-16); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between;
  padding-top: var(--space-6); padding-bottom: var(--space-8); font: 400 14px/20px var(--font-text); color: var(--ink-muted); }

/* Type */
.display-xl { font: 800 40px/44px var(--font-display); letter-spacing: -0.02em; }
.display { font: 800 32px/36px var(--font-display); letter-spacing: -0.015em; }
.heading { font: 800 24px/30px var(--font-display); letter-spacing: -0.01em; }
@media (min-width: 768px) {
  .display-xl { font-size: 56px; line-height: 60px; }
  .display { font-size: 40px; line-height: 44px; }
  .heading { font-size: 28px; line-height: 34px; }
}
.lede { font: 400 18px/28px var(--font-text); color: var(--ink-muted); max-width: 36em; }
.small { font: 400 14px/20px var(--font-text); color: var(--ink-muted); }
.label { font: 500 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.material { font: 500 15px/20px var(--font-mono); color: var(--ply-text); }

/* Sections */
.hero { padding: var(--space-12) 0 var(--space-8); display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .hero { padding: var(--space-16) 0 var(--space-12); } }
.section { padding-top: var(--space-8); display: grid; gap: var(--space-4); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }

/* The cover strip: parts cut from one sheet, from the design system's Cover */
.strip { height: 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.strip svg { width: 480px; max-width: none; height: 56px; }
.strip .ply { fill: var(--ply); } .strip .ink { fill: var(--ink); } .strip .kerf { fill: var(--kerf); } .strip .bp { fill: var(--blueprint); }

/* Buttons and tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font: 600 15px/20px var(--font-text);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn--primary { background: var(--kerf); color: var(--on-kerf); }
.btn--primary:hover { box-shadow: var(--shadow-lift); }
.btn--secondary { background: var(--surface-100); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { background: var(--surface-200); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-200); color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: var(--space-1); font: 500 12px/16px var(--font-mono); letter-spacing: .06em;
  text-transform: uppercase; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--surface-200); color: var(--ink); }

/* Kit cards */
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 768px) { .grid { gap: var(--space-6); } }
.kit { display: block; background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  color: var(--ink); text-decoration: none; transition: transform .12s; }
.kit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.kit__thumb { height: 180px; background: var(--blueprint-tint); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line); }
.kit__thumb svg { width: 260px; height: 150px; }
.kit__body { padding: var(--space-4); display: grid; gap: var(--space-2); }
.kit__title { font: 600 20px/28px var(--font-display); }
.kit__foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-2);
  border-top: 1px solid var(--line); margin-top: var(--space-2); }
.kit__maker { font: 400 14px/20px var(--font-text); color: var(--ink-muted); }
.kit__maker b { color: var(--ink); font-weight: 600; }

/* Stores */
.store { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); background: var(--surface-100);
  border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: transform .12s; }
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.store__logo { width: 56px; height: 56px; flex: none; border-radius: var(--radius-md); background: var(--surface-200);
  display: flex; align-items: center; justify-content: center; }
.store__logo img { width: 40px; height: 40px; }
.store__name { font: 600 20px/28px var(--font-display); }
.store-head { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-12) 0 var(--space-6); }
.store-head .store__logo { width: 72px; height: 72px; }
.store-head .store__logo img { width: 52px; height: 52px; }

/* Blueprint drawings */
.bp { stroke: var(--blueprint); stroke-width: 2; fill: none; stroke-linejoin: miter; }
.bp-thin { stroke: var(--blueprint); stroke-width: 1; fill: none; }
.bp-fill { fill: var(--ply); stroke: var(--blueprint); stroke-width: 2; }
.bp-text { fill: var(--blueprint); font: 500 11px var(--font-mono); letter-spacing: .04em; }

/* Kit page */
.crumbs { padding-top: var(--space-6); font: 400 14px/20px var(--font-text); color: var(--ink-muted); }
.kitpage { display: grid; gap: var(--space-8); padding-top: var(--space-4); }
@media (min-width: 900px) { .kitpage { grid-template-columns: 1.3fr 1fr; align-items: start; gap: var(--space-12); } }
.kitpage__art { background: var(--blueprint-tint); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: grid; gap: var(--space-4); padding: var(--space-6); }
.kitpage__art svg { width: 100%; height: auto; }
.kitpage__info { display: grid; gap: var(--space-4); }
.specs { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-100); }
.specs li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3); border-top: 1px solid var(--line); }
.specs li:first-child { border-top: 0; }
.specs .v { font: 500 15px/20px var(--font-mono); text-align: right; }
.buy { display: grid; gap: var(--space-3); padding: var(--space-4); background: var(--surface-100); border: 1px solid var(--line);
  border-radius: var(--radius-md); }
.buy .btn { width: 100%; }
.list { display: grid; gap: var(--space-3); padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); }
.list svg { width: 20px; height: 20px; margin-top: 2px; stroke: var(--ink-muted); stroke-width: 2; fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.ways { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.way { padding: var(--space-4); background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-md); display: grid; gap: var(--space-1); }
.way b { font: 600 16px/24px var(--font-text); }

/* Not found */
.missing { padding: var(--space-16) 0; display: grid; gap: var(--space-4); justify-items: start; }
