/* LEBCLEAN — shared brand stylesheet for SEO landing pages.
   Palette and typography extracted from the live lebclean.vip build. */

:root {
  --paper: #f6f1e8;
  --ink: #20201d;
  --muted-ink: #20201dd1;
  --vermilion: #c94c33;
  --line: #20201d38;
  --paper-raised: #fbf8f2;
  --ink-soft: #5a5149;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --radius: 14px;
}

*, *::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(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--vermilion); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 66px; flex-wrap: wrap;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.4rem; letter-spacing: .02em;
  color: var(--ink); font-weight: 400; text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--vermilion); }
.brand small {
  display: block; font-family: var(--font-sans);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 1px;
}
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--vermilion); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper) !important;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 11px 22px; font-size: .95rem; font-weight: 500;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--vermilion); border-color: var(--vermilion); text-decoration: none; }
.btn--accent { background: var(--vermilion); border-color: var(--vermilion); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink) !important; }
.btn--ghost:hover { background: var(--ink); color: var(--paper) !important; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 16px 0 0; font-size: .85rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--vermilion); margin: 0 0 14px; font-weight: 600;
}
h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.95rem, 5.2vw, 3.1rem);
  line-height: 1.12; margin: 0 0 16px; letter-spacing: -.01em;
}
.lede { font-size: clamp(1.02rem, 2.3vw, 1.16rem); color: var(--muted-ink); margin: 0 0 24px; max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 44px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  line-height: 1.2; margin: 0 0 14px;
}
h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted-ink); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 18px; }
.card li { margin-bottom: 6px; }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec caption { text-align: left; font-size: .86rem; color: var(--ink-soft); padding-bottom: 10px; }
.spec th, .spec td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 600; background: var(--paper-raised); width: 34%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--vermilion);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--vermilion); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: var(--muted-ink); }

/* ---------- Related links ---------- */
.related { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related-card {
  display: block; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.related-card:hover { border-color: var(--vermilion); text-decoration: none; }
.related-card strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.12rem; margin-bottom: 5px; }
.related-card span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--ink); color: var(--paper); }
.contact-strip h2 { color: var(--paper); }
.contact-strip .muted { color: #e9e2d6; }
.contact-strip a { color: #e9e2d6; }
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.contact-list a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-raised); border-top: 1px solid var(--line); padding: 40px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-grid h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); }
.footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav .nav-secondary { display: none; }
  .hero { padding: 30px 0 26px; }
  section { padding: 34px 0; }
  .spec th { width: 40%; }

  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta .btn { width: 100%; padding: 13px 18px; }
  body { padding-bottom: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
