:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f0f0f0;
  --border: #e8e8e8;
  --text: #111111;
  --muted: #767676;
  --danger: #d4382b;
  --success: #2a8a3a;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body { font-family: 'Inter', -apple-system, system-ui, sans-serif; color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: inherit; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
p { line-height: 1.7; color: #444; }

header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header.site .row { display: flex; align-items: center; gap: 32px; padding: 18px 0; }
.brand-mark { font-weight: 700; font-size: 1.1rem; color: var(--text); letter-spacing: -0.01em; }
nav.primary { margin-left: auto; display: flex; gap: 32px; font-size: 14px; }
nav.primary a { color: var(--muted); transition: color 0.15s; }
nav.primary a:hover { color: var(--text); }
.menu-toggle { display: none; background: transparent; border: none; color: var(--text); padding: 8px; font-size: 1.4rem; }
.cart-link { padding: 8px 14px; background: var(--bg-2); border-radius: 999px; color: var(--text); font-size: 13px; font-weight: 600; }
.cart-link:hover { background: var(--bg-3); }

.hero { padding: 120px 0 80px; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { max-width: 880px; margin: 0 auto 18px; }
.hero p.lead { font-size: 1.25rem; max-width: 620px; margin: 0 auto 28px; color: var(--muted); }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .visual { display: none; }
.hero .row { display: block; }
.hero .eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 600; margin-bottom: 16px; }

.btn { display: inline-block; padding: 14px 28px; background: var(--text); color: var(--bg); border: 1px solid var(--text); border-radius: 999px; font-weight: 600; font-size: 14px; transition: all 0.15s ease; }
.btn:hover { background: #333; border-color: #333; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--bg-2); border-color: var(--text); }

.trust { padding: 32px 0; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.trust .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.trust .item { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.trust .item strong { color: var(--text); display: block; font-size: 13px; font-weight: 600; }
.trust .item .mark { width: 24px; height: 24px; background: var(--text); color: var(--bg); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: 0 0 24px; }

main { background: var(--bg); }
section.block { padding: 96px 0; }
section.block.alt { background: var(--bg-2); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.section-head a.see-all { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 14px; }
.section-head a.see-all:hover { color: var(--text); }

nav.breadcrumbs { color: var(--muted); font-size: 13px; margin-bottom: 16px; padding-top: 24px; }
nav.breadcrumbs a { color: var(--muted); }
nav.breadcrumbs a:hover { color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.2s ease; color: inherit; }
.card:hover { border-color: var(--text); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.card .card-img { aspect-ratio: 1; background: var(--bg-2); display: grid; place-items: center; padding: 32px; color: var(--muted); font-size: 1rem; font-weight: 500; text-align: center; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.card .cat { color: var(--muted); font-size: 12px; }
.card h3.title { color: var(--text); font-size: 1.1rem; line-height: 1.35; font-weight: 600; }
.card .desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.card .price-row { margin-top: 12px; }
.card .price { color: var(--text); font-weight: 700; font-size: 1.1rem; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 56px 0 80px; }
.pdp .gallery { background: var(--bg-2); aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; padding: 48px; }
.pdp .gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp .gallery .badge { color: var(--muted); font-size: 1.4rem; font-weight: 500; text-align: center; padding: 24px; }
.pdp .info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 6px; }
.pdp .info .sku { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.pdp .info .price-row { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pdp .info .price { font-size: 2rem; font-weight: 700; color: var(--text); }
.pdp .info p.summary { font-size: 1rem; color: #444; line-height: 1.7; margin-bottom: 24px; white-space: pre-line; }
.pdp .qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.pdp .qty-row label { color: var(--muted); font-size: 13px; }
.pdp .qty-row input { width: 80px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 14px; }
.pdp .buy-row { display: flex; gap: 12px; margin: 16px 0 8px; flex-wrap: wrap; }
.pdp .buy-row .btn { flex: 1; min-width: 200px; text-align: center; padding: 16px 24px; }
.pdp .meta-line { color: var(--muted); font-size: 13px; margin-top: 14px; }
.pdp .specs-block { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 28px; }
.pdp h2.section { font-size: 1rem; margin-bottom: 18px; color: var(--text); font-weight: 700; }
.specs { width: 100%; border-collapse: collapse; }
.specs td { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.specs td:first-child { color: var(--muted); width: 36%; font-size: 13px; }
.pdp ul.use-cases, .pdp ul.materials, .pdp ul.box { list-style: none; }
.pdp ul.use-cases li, .pdp ul.materials li, .pdp ul.box li { padding: 12px 0; padding-left: 24px; border-bottom: 1px solid var(--border); position: relative; color: #444; font-size: 14px; }
.pdp ul.use-cases li::before, .pdp ul.materials li::before, .pdp ul.box li::before { content: '·'; position: absolute; left: 8px; color: var(--text); font-weight: 700; }
.pdp .care { padding: 18px 22px; background: var(--bg-2); border-radius: 12px; margin-top: 12px; color: #444; font-size: 14px; }
.pdp .tags { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--bg-2); color: var(--muted); padding: 6px 12px; font-size: 12px; border-radius: 999px; border: 1px solid var(--border); }

article.post { max-width: 720px; margin: 32px auto 0; padding: 0 32px 64px; }
article.post h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 14px; }
article.post h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 48px 0 14px; }
article.post h3 { font-size: 1.1rem; margin: 28px 0 8px; font-weight: 600; }
article.post p { margin-bottom: 18px; font-size: 1.05rem; color: #333; }
article.post a { color: var(--text); border-bottom: 1px solid var(--border); }
article.post a:hover { border-bottom-color: var(--text); }
article.post ul, article.post ol { margin: 0 0 22px 22px; color: #333; }
article.post li { margin-bottom: 8px; line-height: 1.7; }
article.post dl.faq dt { font-weight: 700; margin-top: 22px; color: var(--text); }
article.post dl.faq dd { margin: 6px 0 0; color: #444; }
article.post ul.citations { list-style: none; margin: 24px 0; padding: 18px 22px; background: var(--bg-2); border-radius: 12px; }
article.post ul.citations li { font-size: 13px; color: var(--muted); }
article.post p.disclosure { margin-top: 32px; padding: 14px 18px; background: var(--bg-2); color: var(--muted); font-size: 13px; border-radius: 12px; font-style: italic; }

.byline { display: flex; align-items: center; gap: 12px; margin: 18px 0 28px; padding: 14px 18px; background: var(--bg-2); border-radius: 12px; font-size: 14px; }
.byline .avatar { width: 40px; height: 40px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 700; flex: 0 0 40px; border-radius: 50%; font-size: 0.9rem; }
.byline a { color: var(--text); font-weight: 600; }

.blog-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.blog-card { display: block; background: var(--bg-2); border-radius: 16px; padding: 26px 30px; color: inherit; transition: transform 0.15s; }
.blog-card:hover { transform: translateY(-2px); background: var(--bg-3); }
.blog-card h3 { font-weight: 600; font-size: 1.15rem; }
.blog-card .meta { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.blog-card .pill { margin-right: 8px; background: var(--text); color: var(--bg); border: none; }

.cart-page { max-width: 880px; margin: 32px auto 0; padding: 0 32px 64px; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-row .title { color: var(--text); font-weight: 600; }
.cart-row .qty input { width: 64px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.cart-row .price { font-weight: 700; font-size: 1.05rem; }
.cart-row .remove { color: var(--muted); background: transparent; border: 1px solid var(--border); padding: 8px 12px; font-size: 12px; border-radius: 999px; }
.cart-row .remove:hover { color: var(--danger); border-color: var(--danger); }
.cart-totals { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.cart-totals .total-amt { font-size: 2rem; font-weight: 700; color: var(--text); }
.cart-empty { padding: 56px 0; text-align: center; color: var(--muted); }

.checkout-page { max-width: 640px; margin: 32px auto 0; padding: 0 32px 64px; }
.checkout-page h1 { margin-bottom: 8px; }
.checkout-page p.lead { margin-bottom: 28px; }
.checkout-page .field { margin-bottom: 18px; }
.checkout-page label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.checkout-page input { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 15px; }
.checkout-page .summary { background: var(--bg-2); border-radius: 16px; padding: 22px 24px; margin-bottom: 28px; }
.checkout-page .summary .line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.checkout-page .summary .line:last-child { border-bottom: none; font-weight: 700; padding-top: 14px; }
.checkout-page .checkout-msg { margin-top: 16px; padding: 12px 16px; font-size: 13px; min-height: 16px; border-radius: 12px; }
.checkout-page .checkout-msg.error { background: #fef2f2; color: var(--danger); }
.checkout-page .checkout-msg.info { color: var(--muted); }

.thank-you { max-width: 600px; margin: 80px auto; padding: 0 32px 64px; text-align: center; }
.thank-you .check { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 2.4rem; border-radius: 50%; }

.newsletter { background: var(--bg-2); padding: 88px 0; }
.newsletter-inner { max-width: 540px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { margin-bottom: 8px; }
.newsletter-inner p { color: var(--muted); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 14px; }
.newsletter-form button { padding: 14px 24px; background: var(--text); color: var(--bg); border: 1px solid var(--text); border-radius: 999px; font-weight: 600; font-size: 14px; }
.newsletter-msg { color: var(--muted); font-size: 13px; min-height: 16px; margin-top: 12px; }
.newsletter-msg.ok { color: var(--success); }
.newsletter-msg.error { color: var(--danger); }

footer.site { background: var(--bg); padding: 64px 0 28px; border-top: 1px solid var(--border); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
footer.site h4 { font-size: 13px; color: var(--text); font-weight: 700; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: var(--muted); font-size: 14px; }
footer.site a:hover { color: var(--text); }
footer.site p.tagline { font-size: 14px; color: var(--muted); }
footer.site .legal { padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }

.back { color: var(--muted); font-size: 13px; }
.back:hover { color: var(--text); }

@media (max-width: 960px) {
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 32px; gap: 0; border-bottom: 1px solid var(--border); }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; }
  .trust .row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  footer.site .cols { grid-template-columns: repeat(2, 1fr); }
  section.block { padding: 64px 0; }
  .hero { padding: 80px 0 56px; }
}
@media (max-width: 540px) {
  .trust .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   Minimal homepage — utility/instructional sections (added 2026-05-09)
   ============================================================ */

.container.narrow { max-width: 760px; }

/* sparse hero — text-only, monospace stamp, no decorations */
section.bare-hero { padding: 120px 0 90px; border-bottom: 1px solid var(--border); }
section.bare-hero .brand-stamp { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 32px; text-transform: uppercase; }
section.bare-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 720px; margin-bottom: 20px; }
section.bare-hero p.lede { font-size: 1.2rem; max-width: 620px; color: var(--muted); margin-bottom: 32px; line-height: 1.55; }
section.bare-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.section-head.simple { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.section-head.simple h2 { font-size: 1.4rem; line-height: 1.2; margin: 0; font-weight: 700; }
.section-head.simple .see-all { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }

/* parts-stack: numbered builder list, NOT card grid */
section.parts-stack { padding: 80px 0; border-bottom: 1px solid var(--border); }
ol.parts-list { list-style: none; counter-reset: pn; }
ol.parts-list li { padding: 22px 0; border-bottom: 1px solid var(--border); }
ol.parts-list li:last-child { border-bottom: none; }
ol.parts-list li a { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; color: var(--text); }
ol.parts-list li a:hover .part-title { text-decoration: underline; }
ol.parts-list .num { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 18px; color: var(--muted); font-weight: 500; padding-top: 2px; }
ol.parts-list .part { display: flex; flex-direction: column; gap: 6px; }
ol.parts-list .part-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
ol.parts-list .part-meta { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--muted); }
ol.parts-list .part-blurb { font-size: 14px; color: #555; line-height: 1.55; }

/* how-to-library: text links, builder/troubleshooter focus */
section.how-to-library { padding: 80px 0; background: var(--bg-2); border-bottom: 1px solid var(--border); }
ul.howto-list { list-style: none; }
ul.howto-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
ul.howto-list li:last-child { border-bottom: none; }
ul.howto-list li a { display: flex; gap: 12px; align-items: baseline; font-size: 1.05rem; line-height: 1.3; color: var(--text); }
ul.howto-list li a:hover { color: var(--accent, var(--text)); }
ul.howto-list .tag { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; padding: 3px 7px; background: var(--text); color: var(--bg); border-radius: 2px; flex: 0 0 auto; font-weight: 600; }
ul.howto-list .tag.muted { background: transparent; color: var(--muted); border: 1px solid var(--border); }

/* closing-cta: utility creed */
section.closing-cta { padding: 80px 0; text-align: center; }
section.closing-cta p.creed { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
section.closing-cta p.muted { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--muted); }

/* responsive */
@media (max-width: 600px) {
  ol.parts-list li a { grid-template-columns: 40px 1fr; gap: 14px; }
  section.bare-hero { padding: 80px 0 60px; }
}
