:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --text: #1f2328;
  --muted: #667085;
  --border: #e4e4e0;
  --accent: #d6336c;
  --accent-dark: #b02a5a;
  --accent-text: #ffffff;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --panel: #1d2024;
    --text: #e9ecef;
    --muted: #9aa4b2;
    --border: #2e3238;
    --accent: #f06595;
    --accent-dark: #d6336c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.small { font-size: 0.9rem; color: var(--muted); }
section, header.top, footer { padding-left: 16px; padding-right: 16px; }
section { max-width: var(--max); margin: 0 auto; padding-top: 56px; padding-bottom: 56px; }
section + section { border-top: 1px solid var(--border); }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button.quiet { background: transparent; color: var(--text); border-color: var(--border); }
.button.quiet:hover { background: var(--panel); }
.button.big { padding: 14px 24px; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.3rem; }
.brand img { border-radius: 8px; }
header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
header nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
header nav a:not(.button):hover { color: var(--text); }
@media (max-width: 720px) { header nav a:not(.button) { display: none; } }

.hero { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-top: 32px; }
@media (min-width: 900px) { .hero { grid-template-columns: 5fr 6fr; gap: 48px; } }
.hero-image img, .showcase img, .clubs img, .examples img, video {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: var(--panel);
}
figure { margin: 0; }
figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 10px; }

.video { text-align: center; }
.video video { width: 100%; max-width: 880px; margin: 0 auto 12px; aspect-ratio: 16 / 9; }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.features article, .open article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.features article p, .open article p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.features h3::before {
  content: '';
  display: block;
  width: 28px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 12px;
}

.showcase { display: grid; gap: 32px; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; } }

.style-list { list-style: none; padding: 0; margin: 32px 0 16px; display: grid; gap: 10px; }
.style-list li { padding-left: 18px; position: relative; color: var(--muted); }
.style-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.style-list strong { color: var(--text); }

.clubs { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .clubs { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about { max-width: 760px; }
.cta { text-align: center; }
.cta .button { margin-top: 8px; }

footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.95rem;
}
footer p { margin: 0 0 8px; }
footer a { color: var(--muted); }

/* Inner pages: how it plans routes, privacy */
main.page section { max-width: 880px; }
main.page h1 { margin-bottom: 0.3em; }
main.page h2 { margin-top: 1.6em; font-size: 1.5rem; }
main.page h3 { margin-top: 1.4em; }
ul.plain { padding-left: 1.2em; }
ul.plain li, .prose li { margin-bottom: 0.6em; }
.prose ul { padding-left: 1.2em; }
.table-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
table.dials { border-collapse: collapse; width: 100%; font-size: 0.92rem; min-width: 640px; }
table.dials th, table.dials td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.dials th { font-weight: 600; color: var(--muted); font-size: 0.85rem; }
table.dials td:not(:first-child), table.dials th:not(:first-child) { text-align: right; white-space: nowrap; }
table.dials td.banned { color: var(--accent-dark); font-weight: 600; }
.dial-label { font-weight: 600; }
