/* Home System Checklist — landing. Identity of the app: limestone paper, ink, roof-tile brick,
   category labels printed like the labels of a distribution board. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f1ea;
  --sunk: #ebe6db;
  --card: #ffffff;
  --ink: #1e2422;
  --soft: #5a625d;
  --line: #d6cfc2;
  --brick: #b4472e;
  --brick-dark: #8e3622;
  --warn-bg: #faeed3;
  --warn: #6f4a05;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick-dark); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }

/* The label tape: a brick block followed by an ink rule (as under every header in the app) */
.tape { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.tape span { display: block; height: 3px; background: linear-gradient(to right, var(--brick) 0 72px, var(--ink) 72px); position: relative; }
.tape span::before { content: ""; position: absolute; left: 0; top: -4px; width: 72px; height: 11px; background: var(--brick); }

.label { font-family: var(--mono); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick-dark); margin: 0 0 12px; }

/* Header */
.site-head { padding-top: 18px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.25rem; min-height: 44px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 10px 12px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brick); }

/* Hero */
.hero { padding: 56px 0 24px; overflow: hidden; }
.kicker { font-family: var(--mono); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.9rem); font-weight: 800; max-width: 20ch; }
.hero h1 span { display: block; }
.accent { color: var(--brick); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-top: 28px; }
.lead { font-size: 1.1875rem; margin: 0; max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: flex-end; }
.text-link { font-weight: 600; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }

.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 8px 22px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 6px; box-shadow: 6px 6px 0 var(--brick); }
.play:hover { color: #fff; background: #2b3330; }
.play-small { font-size: 0.75rem; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.play-big { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.play-soon { background: var(--sunk); color: var(--soft); box-shadow: 6px 6px 0 var(--line); cursor: default; }

/* Screenshots: panels with an ink border and a hard brick block behind them */
.shot { margin: 0; }
.shot img { border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--brick); background: var(--paper); }
.shot figcaption { font-family: var(--mono); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-top: 18px; }
.hero-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; align-items: start; }
.hero-shots .shot img { max-height: 620px; width: 100%; object-fit: cover; object-position: top; }
.tilt-b { margin-top: 48px; }
.tilt-c { margin-top: 96px; }

/* Categories board */
.board { padding: 88px 0 72px; }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.labels { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.label-row { display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.code { font-family: var(--mono); font-weight: 600; color: #fff; text-align: center; padding: 6px 0; border-radius: 3px; letter-spacing: 0.08em; }
.label-name { font-family: var(--display); font-weight: 800; font-size: 1.375rem; }
.label-examples { color: var(--soft); }
.label-check { font-size: 0.9375rem; padding-left: 16px; border-left: 3px solid var(--brick); }
.note { color: var(--soft); margin-top: 20px; }

/* Steps */
.steps { padding: 72px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: center; padding: 48px 0; }
.step + .step { border-top: 1px dashed var(--line); }
.step-flip .step-text { order: 2; }
.step .shot { max-width: 340px; justify-self: center; }
.step .shot img, .strip .shot img { max-height: 600px; width: 100%; object-fit: cover; object-position: top; }
.step-no { font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--brick); margin-bottom: 12px; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.step p { max-width: 54ch; }

/* More + strip */
.more { padding: 88px 0 64px; }
.more-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.more-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.more-list div { padding: 16px 0; border-top: 2px solid var(--ink); }
.more-list dt { font-family: var(--display); font-weight: 800; font-size: 1.1875rem; margin-bottom: 6px; }
.more-list dd { margin: 0; color: var(--soft); }
.strip { display: flex; gap: 40px; overflow-x: auto; padding: 40px 24px 32px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); scroll-snap-type: x mandatory; }
.strip > div { flex: 0 0 260px; scroll-snap-align: start; }

/* Safety */
.safety { padding: 24px 0 72px; }
.safety-box { max-width: var(--wrap); }
.safety-box { background: var(--warn-bg); color: var(--warn); border-left: 8px solid #e2ae3c; padding: 28px 32px; border-radius: 0 8px 8px 0; }
.safety-box h2 { font-size: 1.75rem; color: var(--ink); margin-bottom: 10px; }
.safety-box p { margin: 0; max-width: 80ch; }

/* Privacy band */
.privacy-band { background: var(--ink); color: #eae6dd; padding: 72px 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: start; }
.privacy-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: #fff; grid-row: span 2; }
.privacy-band ul { margin: 0; padding: 0; list-style: none; }
.privacy-band li { padding: 12px 0 12px 32px; border-bottom: 1px solid #3a4441; position: relative; }
.privacy-band li::before { content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 8px; background: var(--brick); }
.privacy-band a { color: #f2b9a6; font-weight: 600; }

/* FAQ / details */
.faq { padding: 88px 0 56px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; padding: 18px 40px 18px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--mono); font-size: 1.5rem; color: var(--brick); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 20px; max-width: 72ch; color: var(--soft); }

/* Download */
.download { padding: 32px 0 88px; }
.download-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.download-row img { border-radius: 18px; }
.download h2 { font-size: 2rem; margin-bottom: 6px; }
.download p { margin: 0; color: var(--soft); }

/* Documents (privacy, support, 404) */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc-meta { color: var(--soft); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.numbered li::marker { font-family: var(--mono); font-weight: 600; color: var(--brick); }
.contact-box { background: var(--card); border: 1px solid var(--line); border-left: 8px solid var(--brick); padding: 24px 28px; border-radius: 0 8px 8px 0; }
.contact-mail { font-family: var(--display); font-weight: 800; font-size: 1.5rem; word-break: break-word; }

/* Footer */
.site-foot { padding: 0 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; padding-top: 28px; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.foot-text { color: var(--soft); max-width: 52ch; margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-links a { color: var(--ink); display: inline-flex; min-height: 40px; align-items: center; word-break: break-word; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-cta { justify-content: flex-start; }
  .label-row { grid-template-columns: 56px minmax(0, 1fr); }
  .label-examples, .label-check { grid-column: 2; }
  .step, .more-grid, .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-flip .step-text { order: 0; }
  .privacy-band h2 { grid-row: auto; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap, .tape { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .hero-shots { grid-template-columns: repeat(3, 70%); overflow-x: auto; gap: 24px; padding-bottom: 20px; scroll-snap-type: x mandatory; }
  .hero-shots .shot { scroll-snap-align: start; }
  .tilt-b, .tilt-c { margin-top: 0; }
  .shot img { box-shadow: 8px 8px 0 var(--brick); }
  .more-list { grid-template-columns: 1fr; }
  .download-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .step-no { font-size: 3.2rem; }
  .strip { padding-left: 16px; padding-right: 16px; gap: 24px; }
  .strip > div { flex-basis: 70%; }
  .safety-box { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
