:root {
  --bg: #121016;
  --surface: #1d1a23;
  --text: #ece7f2;
  --muted: #a89fb8;
  --accent: #b388ff;
  --accent-2: #7c4dff;
  --border: #2c2735;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #faf8fc;
  --surface: #ffffff;
  --text: #241f2e;
  --muted: #6a6178;
  --accent: #6929c4;
  --accent-2: #7c4dff;
  --border: #e2dcec;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.theme-toggle:hover { border-color: var(--accent-2); }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

header.site {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.tagline { color: var(--muted); margin-top: 0.4rem; }

h1 { font-size: 1.9rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; color: var(--accent); }
p + p { margin-top: 0.8rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 1rem 0;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.card:hover { border-color: var(--accent-2); text-decoration: none; }

.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
li { margin: 0.3rem 0; }

.button {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  margin: 1rem 0;
}

.button:hover { background: var(--accent); text-decoration: none; }

.notice {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.2rem 0;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
