/* Takelex site: system fonts only, no third-party anything. Tokens follow DESIGN.md (OKLCH). */
:root {
  color-scheme: light dark;
  --bg: oklch(0.985 0.002 260);
  --panel: oklch(0.955 0.003 260);
  --line: oklch(0.86 0.004 260);
  --ink: oklch(0.20 0.004 260);
  --ink-2: oklch(0.42 0.006 260);
  --amber: oklch(0.810 0.150 72);
  --amber-ink: oklch(0.200 0.040 72);
  --danger: oklch(0.50 0.17 25);
  --focus: oklch(0.55 0.15 72);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.165 0.004 260);
    --panel: oklch(0.200 0.005 260);
    --line: oklch(0.315 0.006 260);
    --ink: oklch(0.950 0.003 260);
    --ink-2: oklch(0.760 0.006 260);
    --danger: oklch(0.68 0.17 25);
    --focus: oklch(0.810 0.150 72);
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
main, footer { max-width: 44rem; margin: 0 auto; padding: 0 20px; }
main { padding-top: 56px; padding-bottom: 24px; }
.brand { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 40px; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 16px; max-width: 38rem; }
.lead { font-size: 20px; color: var(--ink-2); margin-bottom: 32px; }
.facts { list-style: none; padding: 0; margin: 0 0 48px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts b { font-weight: 600; }
figure { margin: 0 0 48px; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
form { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 48px; }
label.field { display: block; font-weight: 500; margin-bottom: 6px; }
input[type="email"] {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
}
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; font-size: 15px; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--focus); }
button {
  font: inherit; font-weight: 600; color: var(--amber-ink); background: var(--amber);
  border: 1px solid var(--amber); border-radius: 6px; padding: 10px 18px; cursor: pointer;
}
button[disabled] { opacity: 0.6; cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#status { margin: 14px 0 0; min-height: 1.5em; font-size: 15px; }
#status.error { color: var(--danger); }
a { color: inherit; text-underline-offset: 3px; }
footer { padding-top: 16px; padding-bottom: 56px; font-size: 14px; color: var(--ink-2); }
footer p { margin-bottom: 6px; }
.privacy dt { font-weight: 600; margin-top: 20px; }
.privacy dd { margin: 4px 0 0; max-width: 38rem; }
@media (prefers-reduced-motion: no-preference) {
  button, input { transition: opacity 150ms cubic-bezier(0.25, 1, 0.5, 1); }
}
