:root {
  --bg: #ffffff; --soft: #f7f5f8; --card: #ffffff; --line: #ebe7ee;
  --text: #17121b; --muted: #6c6573; --brand: #e8336d; --brand-ink: #ffffff; --brand-soft: #fde8ef;
  --radius: 18px; --max: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0c10; --soft: #17141a; --card: #151217; --line: #2a2630; --text: #f4f1f6; --muted: #a7a0ad;
    --brand: #ff4f86; --brand-soft: #3a1424; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 900; font-size: 22px; letter-spacing: -0.5px; color: var(--brand); }
.logo:hover { text-decoration: none; }
nav.links { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
nav.links a { color: var(--text); }

.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  background: var(--brand); color: var(--brand-ink); border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: var(--soft); color: var(--text); }

.hero { padding: 88px 0 72px; text-align: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.3px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -1.5px; margin: 20px auto 18px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 36px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split .card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.split .card li { margin: 4px 0; }

footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site address { font-style: normal; line-height: 1.7; }
footer.site .flinks { display: flex; gap: 18px; flex-wrap: wrap; }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 40px; letter-spacing: -1px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; letter-spacing: -0.3px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }

/* invite */
.invite { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.invite .box { max-width: 460px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 28px; font-weight: 800; letter-spacing: 1px;
  background: var(--soft); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 20px; margin: 18px 0; cursor: pointer; }
.steps { text-align: left; color: var(--muted); margin: 20px auto 0; max-width: 360px; }

@media (max-width: 760px) {
  nav.links { display: none; }
  .grid3, .split { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 48px; }
  section { padding: 48px 0; }
}
