/* LLM Masker website — light marketing surface on the shared design system.
   All values reference tokens.css (synced copy of design-system/tokens.css).
   The extension surfaces are graphite; the website deliberately uses the light
   --website-bg paper per DESIGN-SYSTEM.md, with graphite text and lime action. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--website-bg);
  font-family: var(--font-sans);
  color: var(--graphite-800);
  -webkit-font-smoothing: antialiased;
  line-height: var(--leading-normal);
}

a { color: var(--graphite-900); }
a:hover { color: var(--lime-900); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */

.site-head {
  padding: 26px 0 0;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-row { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-row:hover { text-decoration: none; }

.logo {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.logo-mask {
  width: 19px;
  height: 9px;
  background: var(--graphite-900);
  border-radius: 4px;
  transform: rotate(-6deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.logo-eye { width: 3px; height: 3px; border-radius: 50%; background: var(--brand); }

.wordmark {
  font: var(--weight-bold) var(--text-lg) var(--font-display);
  color: var(--graphite-900);
  letter-spacing: -0.01em;
}

.head-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.head-nav a {
  font: var(--weight-medium) var(--text-base) var(--font-sans);
  color: var(--graphite-700);
  text-decoration: none;
}
.head-nav a:hover { color: var(--graphite-900); }

/* ---- Page body ---- */

.page {
  padding: 56px 0 40px;
  min-height: calc(100vh - 220px);
}

.eyebrow {
  font: var(--weight-semibold) var(--text-xs) var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-900);
}

h1 {
  margin: 10px 0 0;
  font: var(--weight-bold) var(--text-3xl) var(--font-display);
  color: var(--graphite-900);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.lede {
  margin: 14px 0 0;
  font-size: var(--text-md);
  color: var(--graphite-700);
  max-width: 58ch;
}

h2 {
  margin: 40px 0 10px;
  font: var(--weight-bold) var(--text-xl) var(--font-display);
  color: var(--graphite-900);
  letter-spacing: -0.01em;
}

p, li { font-size: var(--text-base); color: var(--graphite-800); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--lime-900); }

.updated {
  margin-top: 8px;
  font: var(--weight-regular) var(--text-sm) var(--font-mono);
  color: var(--graphite-600);
}

strong, b { color: var(--graphite-900); }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(var(--rgb-black), 0.05);
  border-radius: var(--radius-xs);
  padding: 1px 5px;
}

/* ---- Cards, chips, callouts ---- */

.card {
  background: var(--white);
  border: 1px solid rgba(var(--rgb-black), 0.08);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  margin: 18px 0;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font: var(--weight-medium) var(--text-xs) var(--font-mono);
  color: var(--graphite-700);
  border: 1px solid rgba(var(--rgb-black), 0.12);
  background: var(--white);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
}
.chip.mint { color: var(--mint-900); background: rgba(var(--rgb-mint), 0.14); border-color: transparent; }

.callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(var(--rgb-mint), 0.12);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin: 18px 0;
  font-size: var(--text-base);
  color: var(--mint-900);
}
.callout .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex: none; margin-top: 6px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font: var(--weight-bold) var(--text-base) var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--graphite-900);
  color: var(--graphite-900);
  background: transparent;
}
.btn:hover { background: rgba(var(--rgb-black), 0.04); color: var(--graphite-900); }
.btn-primary {
  background: var(--graphite-900);
  color: var(--brand);
  border-color: var(--graphite-900);
}
.btn-primary:hover { opacity: 0.92; background: var(--graphite-900); color: var(--brand); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---- Footer (mirrors the extension's .site-footer pattern) ---- */

.site-footer {
  border-top: 1px solid rgba(var(--rgb-black), 0.1);
  padding: 20px 0 32px;
  font: var(--weight-regular) var(--text-sm) var(--font-sans);
  color: var(--graphite-600);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--graphite-700); text-decoration: none; }
.site-footer a:hover { color: var(--graphite-900); text-decoration: underline; }
.sf-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 560px) {
  h1 { font-size: var(--text-2xl); }
  .page { padding-top: 40px; }
}
