:root {
  --brand: #F5019B;
  --brand-strong: #C9007F;
  --bg: #ffffff;
  --surface: #f6f6f8;
  --text: #16161d;
  --muted: #5b5b6b;
  --border: #e4e4ea;
  --link: #C9007F;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111116;
    --surface: #1b1b22;
    --text: #f2f2f5;
    --muted: #a8a8b8;
    --border: #2c2c36;
    --link: #ff5cbf;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111116;
  --surface: #1b1b22;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --border: #2c2c36;
  --link: #ff5cbf;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.logo { display: block; line-height: 0; }
.logo img { height: 32px; width: auto; }
nav.site { display: flex; gap: 20px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

main { padding: 56px 0 72px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 10px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 20px; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card h2 { margin-top: 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

footer.site { border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
footer.site .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site p { margin: 0; }

body.placeholder {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 16px;
}
body.placeholder main { padding: 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.placeholder-logo { width: min(240px, 70vw); height: auto; margin-bottom: 24px; }
body.placeholder .lead { margin-bottom: 12px; }
body.placeholder footer { font-size: 14px; color: var(--muted); }
body.placeholder footer p { margin: 0 0 4px; }
