/* lightroad.se — one stylesheet for every page. No web fonts, no third-party
   requests: the privacy policy says so, and this keeps it true. */
:root {
  --brand: #1c5d70;
  --brand-ink: #1c5d70;
  --ground: #f2f5f5;
  --surface: #ffffff;
  --ink: #1b2629;
  --muted: #56676c;
  --rule: #d6dfe0;
  --fog: rgba(242, 245, 245, 0.35);
  --logo-light: block;
  --logo-dark: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-ink: #7cc0d3;
    --ground: #0e1517;
    --surface: #152024;
    --ink: #e4ebec;
    --muted: #97a9ad;
    --rule: #26363b;
    --fog: rgba(14, 21, 23, 0.45);
    --logo-light: none;
    --logo-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-ink: #7cc0d3;
  --ground: #0e1517;
  --surface: #152024;
  --ink: #e4ebec;
  --muted: #97a9ad;
  --rule: #26363b;
  --fog: rgba(14, 21, 23, 0.45);
  --logo-light: none;
  --logo-dark: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.site { padding: 28px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 34px; width: auto; }
.logo .on-light { display: var(--logo-light); }
.logo .on-dark { display: var(--logo-dark); }
nav.site { display: flex; gap: 22px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }

.band {
  position: relative;
  height: clamp(200px, 34vw, 340px);
  background: #2a3336 url("/assets/forest.jpg") center 60% / cover no-repeat;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--fog), transparent 40%, transparent 70%, var(--ground));
}

main { flex: 1; padding: 8px 0 64px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 650; letter-spacing: -0.02em; }
h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 650; }
p, ul, ol { margin: 0; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.section { display: flex; flex-direction: column; gap: 14px; padding-top: 44px; }
.section + .section { border-top: 1px solid var(--rule); margin-top: 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
ul.plain { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

.product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
}
.product:hover { border-color: var(--brand-ink); }
.product img { width: 88px; height: 88px; border-radius: 20px; }
.product .name { font-size: 20px; font-weight: 650; }
.product .what { color: var(--muted); font-size: 16px; }
.product .more { color: var(--brand-ink); font-size: 15px; font-weight: 600; margin-top: 4px; }

.app-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.app-head img { width: 96px; height: 96px; border-radius: 22px; }
.status {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--muted);
}

.faq { display: flex; flex-direction: column; gap: 22px; }
.faq div { display: flex; flex-direction: column; gap: 6px; }
.faq p { color: var(--muted); }

.policy h2 { font-size: 20px; }
.policy .section { padding-top: 32px; gap: 10px; }
.policy .section + .section { margin-top: 32px; }
.summary {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
}
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-variant-numeric: tabular-nums; }

footer.site { border-top: 1px solid var(--rule); padding: 26px 0 36px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .product { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .product img { width: 64px; height: 64px; border-radius: 15px; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
