:root {
  --bg:          #fbfaf6;
  --bg-soft:     #f5f3eb;
  --surface:     #ffffff;
  --surface-2:   #f7f5ef;
  --ink:         #1c1b18;
  --ink-2:       #4a463e;
  --ink-3:       #7a7466;
  --ink-mute:    #9aa0b0;
  --rule:        #e7e3d6;
  --rule-strong: #d6d2c5;
  --orange:      #ea580c;
  --orange-hover:#d04a06;
  --orange-deep: #b34307;
  --orange-soft: rgba(234,88,12,0.10);
  --orange-tint: #fdf0e6;
  --red:         #b42c1f;
  --red-soft:    #fbe9e6;
  --amber:       #9a6a00;
  --amber-soft:  #fbf2da;
  --shadow-1:    0 1px 2px rgba(28,27,24,0.04), 0 1px 1px rgba(28,27,24,0.02);
  --shadow-2:    0 1px 3px rgba(28,27,24,0.05), 0 8px 22px -6px rgba(28,27,24,0.10);
  --shadow-3:    0 1px 3px rgba(28,27,24,0.06), 0 18px 40px -12px rgba(28,27,24,0.14);
  --shadow-orange: 0 1px 2px rgba(234,88,12,0.20), 0 10px 24px -8px rgba(234,88,12,0.35);
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11";
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0.045 0'/></filter><rect width='80' height='80' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
h1, h2, h3 { margin: 0; letter-spacing: -0.018em; }
.serif-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  color: var(--orange);
}
.muted { color: var(--ink-3); }

/* Header */
.hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.hdr-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 17px; font-weight: 700;
  letter-spacing: -0.018em;
}
.hdr-mark { width: 26px; height: 26px; }
.hdr-wordmark .tld { color: var(--orange); font-weight: 600; }
.hdr-nav { display: flex; align-items: center; gap: 10px; }
.hdr-link {
  font-size: 14px; font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: background .12s, color .12s;
}
.hdr-link:hover { background: var(--surface-2); color: var(--ink); }
.hdr-link.is-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(28,27,24,0.20);
}
.hdr-link.is-primary:hover { background: #000; color: #fff; }

/* Main column */
.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}

/* Breadcrumbs */
.crumbs {
  font-size: 13px; color: var(--ink-3);
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-bottom: 24px;
}
.crumbs a { color: var(--ink-2); padding: 2px 6px; border-radius: var(--r-sm); }
.crumbs a:hover { background: var(--surface-2); color: var(--orange); }
.crumbs .sep { color: var(--ink-mute); }

/* Hero row */
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin: 24px 0 64px;
}
.hero-text .eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero-text .lede {
  font-size: 17.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 50ch;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.cta-row.centered { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--ink);
  transition: transform .12s, background .12s, color .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink-3); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-xl { padding: 16px 30px; font-size: 17px; }
.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14.5px; color: var(--ink-2);
}
.hero-bullets li { display: flex; align-items: center; gap: 10px; }
.hero-bullets svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.hero-image {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* Sections share */
section { margin: 64px 0; }
section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.024em;
  margin-bottom: 12px;
}
section > p.muted { font-size: 15.5px; margin-bottom: 28px; max-width: 64ch; }

/* Trims */
.trims .trim-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.trims .trim-list li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-left: 36px;
}
.trims .trim-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-1);
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.014em; }
.feature p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* TOC */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.toc-grid > div { min-width: 0; }
.toc-grid h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 10px;
}
.toc-grid ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.toc-grid li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 2px 0;
}
.toc-grid li::before {
  content: "›";
  color: var(--ink-mute);
  margin-right: 8px;
  font-weight: 700;
}
.toc-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
  font-style: italic;
}

/* Preview (real LEMON content peek) */
.preview .preview-from {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.preview .preview-from code {
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-2);
}
.preview-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px 36px 0;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.preview-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-height: 280px;
  overflow: hidden;
  position: relative;
}
.preview-body strong { color: var(--ink); font-weight: 600; }
.preview-body table { border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.preview-body th, .preview-body td { padding: 6px 10px; border: 1px solid var(--rule); }
.preview-body th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
.preview-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}
.preview-cta {
  position: relative;
  padding: 24px 0 32px;
  text-align: center;
  border-top: 1px solid var(--rule);
  margin-top: 24px;
  background: var(--surface);
}
.preview-cta p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 16px;
}

/* Complaints */
.complaint-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.complaint {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-1);
}
.complaint-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.complaint-component {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: var(--amber-soft);
  color: var(--amber);
  padding: 4px 8px;
  border-radius: 4px;
}
.complaint-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
}
.complaint p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.complaint-more {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Recalls */
.recalls .empty {
  background: var(--surface);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14.5px;
}
.recall-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.recall {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--red);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-1);
}
.recall-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.recall-component {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: var(--red-soft);
  color: var(--red);
  padding: 4px 8px;
  border-radius: 4px;
}
.recall-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
}
.recall-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  margin-left: auto;
}
.recall h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.012em;
}
.recall p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.recall p + p { margin-top: 8px; }
.recall p strong { color: var(--ink); font-weight: 600; }
.recall-more {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 48ch;
  margin: 0 auto 28px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.20), 0 12px 28px -8px rgba(0,0,0,0.45);
}
.cta-band .btn-primary:hover { background: #f5f5f5; color: var(--ink); }
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.85);
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Related */
.related-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.related-grid a {
  display: block;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  transition: background .1s, border-color .1s, color .1s;
}
.related-grid a:hover {
  background: var(--orange-tint);
  border-color: var(--orange);
  color: var(--orange-deep);
}

/* Index (home) page styles */
.home-hero {
  padding: 80px 0 56px;
  text-align: center;
}
.home-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 20px;
}
.home-hero p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}
.product-card img { width: 100%; height: auto; display: block; }
.product-card-body { padding: 20px 22px 22px; }
.product-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin-bottom: 6px;
}
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--orange); }
.product-card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* Footer */
.ftr {
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 32px 28px 48px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.ftr-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ftr-spacer { flex: 1; }
.ftr a { color: var(--ink-2); }
.ftr a:hover { color: var(--orange); }

/* Mobile */
@media (max-width: 760px) {
  .hdr { padding: 14px 18px; }
  .hdr-link { padding: 7px 11px; font-size: 13.5px; }
  .main { padding: 16px 18px 48px; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  section { margin: 48px 0; }
  .cta-band { padding: 40px 24px; border-radius: 16px; }
  .ftr { padding: 24px 18px 40px; flex-direction: column; text-align: center; }
  .ftr-spacer { display: none; }
}
::selection { background: var(--orange); color: #fff; }
</style>
