/* LightConsen — lightconsen.com */

:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --fg: #14161a;
  --muted: #5b6270;
  --border: #e5e7eb;
  --accent: #b45309;
  --accent-fg: #ffffff;
  --accent-soft: #fdf4e6;
  --radius: 14px;
  --max: 1060px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013;
    --surface: #16191e;
    --fg: #eceef2;
    --muted: #9aa2b1;
    --border: #252a32;
    --accent: #f0a63c;
    --accent-fg: #1a1206;
    --accent-soft: #241d10;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg { display: block; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--fg); }

/* ---------- generic ---------- */

main { display: block; }

section { scroll-margin-top: 80px; }

.band {
  padding: 62px 0;
  border-top: 1px solid var(--border);
}

.band:first-of-type { border-top: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.022em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.018em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 14px; }

.lede {
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
}

.muted { color: var(--muted); }

.small { font-size: 14px; }

.grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

@media (min-width: 720px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card p:last-child { margin-bottom: 0; }

.card .tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- buttons ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { filter: brightness(1.06); }

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn.ghost:hover { border-color: var(--accent); }

/* ---------- product cards ---------- */

.product-meta {
  display: grid;
  gap: 4px 18px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}

.product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-meta dt {
  color: var(--muted);
  white-space: nowrap;
}

.product-meta dd {
  margin: 0;
  text-align: right;
}

.product-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.product-link:hover { text-decoration: underline; }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan.featured {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-price {
  margin: 8px 0 2px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}

.plan li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.price-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- fact table ---------- */

.facts {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts div {
  display: grid;
  gap: 2px 24px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.facts div:first-child { border-top: 0; }

@media (min-width: 640px) {
  .facts div { grid-template-columns: 210px 1fr; align-items: baseline; }
}

.facts dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 16px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-block h3 { margin-bottom: 6px; }

.contact-block a { color: var(--accent); }

/* ---------- legal pages ---------- */

.prose {
  max-width: 74ch;
  padding-bottom: 20px;
}

.prose h2 {
  margin-top: 40px;
  font-size: 21px;
}

.prose h2:first-of-type { margin-top: 8px; }

.prose ul { padding-left: 22px; }

.prose li { margin-bottom: 7px; }

.page-head {
  padding: 54px 0 0;
}

.page-head .lede { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 20px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}

.site-footer .legal {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer a { text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.site-footer .addr {
  margin-top: 14px;
  line-height: 1.5;
}

.site-footer small {
  display: block;
  margin-top: 14px;
}

/* ---------- narrow screens ---------- */

@media (max-width: 560px) {
  .band { padding: 48px 0; }

  section { scroll-margin-top: 104px; }

  .site-nav {
    font-size: 14px;
    gap: 4px 13px;
  }
}
