/* Digipahad Lab — shared page styles. Experiment pages may add their own styles.css next to index.html. */
:root {
  color-scheme: light;
  --bg: #fbfbfa; --surface: #ffffff; --text: #15161a; --text-2: #4a4d55; --muted: #767a83;
  --border: rgba(20, 22, 28, 0.1); --accent: #3b5bdb; --accent-ink: #ffffff; --good: #127a3a;
  --radius: 12px; --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #0e0f11; --surface: #16171a; --text: #f3f4f5; --text-2: #c2c5cc; --muted: #8b8f98;
    --border: rgba(255, 255, 255, 0.1); --accent: #6f8cff; --accent-ink: #0e0f11; --good: #4cc27a; }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.lab-top { padding: 20px 0; }
header.lab-top .brand { font-weight: 650; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
header.lab-top .brand span { color: var(--muted); font-weight: 500; }
.hero { padding: 40px 0 24px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 14px; }
.hero p.lead { font-size: 18px; color: var(--text-2); margin: 0; }
section { padding: 20px 0; }
section h2 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 10px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
ul.points { padding-left: 20px; margin: 8px 0; }
ul.points li { margin: 6px 0; }
.price { font-size: 15px; color: var(--text-2); }
.price b { color: var(--text); font-size: 20px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 6px; }
input[type="email"], input[type="text"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
}
textarea { min-height: 80px; resize: vertical; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px 18px;
  font: 600 15px var(--font); border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); cursor: pointer;
  text-decoration: none;
}
button[disabled] { opacity: 0.6; }
.note { min-height: 22px; margin-top: 10px; color: var(--good); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result { margin-top: 16px; padding: 16px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--border); }
footer.lab-footer { margin: 40px 0 30px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
footer.lab-footer a { color: var(--muted); }
.list a.item { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.list a.item span { display: block; color: var(--muted); font-size: 14px; }
