/* ThumbLens site — one stylesheet for landing + legal pages. */

:root {
  --bg: #ffffff;
  --panel: #f7f7fb;
  --text: #1b1d23;
  --muted: #5a6070;
  --border: #e2e5ee;
  --accent: #4f46e5;
  --accent-2: #9333ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101018;
    --panel: #181822;
    --text: #eceef4;
    --muted: #a3a8b8;
    --border: #2a2a38;
  }
}

* { box-sizing: border-box; margin: 0; }

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

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1020px; }

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 5;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; color: inherit; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
}
.brand .mark::after {
  content: ""; width: 12px; height: 12px; border: 2.5px solid #fff; border-radius: 50%;
}
nav.site a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.site a:hover { color: var(--text); }

.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.02em; }
.hero p.lede { color: var(--muted); font-size: 19px; margin: 16px auto 0; max-width: 560px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #4338ca; }
.btn.secondary { border-color: var(--border); color: var(--text); }
.btn.secondary:hover { border-color: var(--accent); }

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

section { padding: 40px 0; }
h2 { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 14px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p + p, ul + p, p + ul { margin-top: 12px; }
ul, ol { margin-left: 20px; }
li { margin: 4px 0; }
a { color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { color: var(--muted); font-size: 14.5px; }


.legal { padding: 40px 0 80px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 19px; margin-top: 30px; }

details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: var(--panel);
}
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 26px 0 50px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--text); }
