:root {
  color-scheme: light dark;
  --background: #f8f4ff;
  --surface: #ffffff;
  --text: #21182f;
  --muted: #655d70;
  --border: #ddd4e8;
  --accent: #7047d5;
  --accent-strong: #5830bc;
  --accent-soft: #eee5ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent-strong); }
a:hover { text-decoration-thickness: 2px; }

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.shell.compact {
  width: min(640px, calc(100% - 32px));
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 750;
}

.compact .brand { margin-bottom: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.85rem;
}

.card {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgb(42 26 67 / 10%);
}

h1, h2 { line-height: 1.2; }
h1 { margin: 0 0 10px; font-size: clamp(2rem, 7vw, 3.2rem); }
h2 { margin: 2.1rem 0 0.65rem; font-size: 1.35rem; }
p, ul { margin: 0.75rem 0; }
li + li { margin-top: 0.35rem; }

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta {
  margin-bottom: 1.5rem;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.meta p { margin: 0.15rem 0; }
.muted { color: var(--muted); }

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--accent-strong); }

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #130f1b;
    --surface: #211a2b;
    --text: #f5efff;
    --muted: #c9bfd4;
    --border: #50465c;
    --accent: #a886f2;
    --accent-strong: #c7b0ff;
    --accent-soft: #342849;
  }

  .button { color: #1b1128; }
}
