/* Carbles landing — shared styles. Dark, board-warm, fast. */
:root {
  --bg: #0e1a2b;
  --bg-raised: #16253a;
  --ink: #eef3fa;
  --ink-soft: #a8b8cc;
  --accent: #2f6fed;
  --accent-soft: #6f9bff;
  --wood: #c8933f;
  --line: #24374f;
  --max: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: var(--accent-soft); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 12px; }
header.site img { width: 36px; height: 36px; border-radius: 8px; }
header.site .name { font-weight: 700; font-size: 1.1em; color: var(--ink); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 18px; }
header.site nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95em; }
header.site nav a:hover { color: var(--ink); }

.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(1.6em, 4.5vw, 2.5em); line-height: 1.2; margin: 0 0 14px; }
.hero .pitch { color: var(--ink-soft); font-size: 1.15em; max-width: 640px; margin: 0 auto 26px; }
.badges { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.badges img { height: 54px; width: auto; }
.shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.shots img {
  width: min(240px, 28vw);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

section { padding: 36px 0; }
section h2 { font-size: 1.5em; margin: 0 0 16px; }
section h3 { font-size: 1.1em; margin: 22px 0 8px; }
.muted { color: var(--ink-soft); }

ul.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
ul.features li { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
ul.features b { color: var(--wood); }

ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }

.faq details {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.faq p { margin-top: 4px; }

.cta { text-align: center; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 30px 0 44px;
  color: var(--ink-soft);
  font-size: 0.9em;
}
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
footer.site a { color: var(--ink-soft); }
.disclaimer { font-size: 0.85em; line-height: 1.5; max-width: 720px; }

/* Rules page */
article.rules h2 { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-top: 34px; }
article.rules table { border-collapse: collapse; width: 100%; margin: 12px 0; }
article.rules th, article.rules td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
article.rules th { color: var(--wood); white-space: nowrap; }
.breadcrumbs { font-size: 0.9em; color: var(--ink-soft); margin: 18px 0 0; }

@media print {
  body { background: #fff; color: #111; }
  header.site, footer.site, .badges, .cta, .breadcrumbs { display: none; }
  a { color: #111; text-decoration: none; }
  article.rules th { color: #111; }
}
