:root {
  color-scheme: light dark;
  --background: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #18212f;
  --muted: #617085;
  --line: #dfe5ee;
  --accent: #6558e8;
  --accent-soft: #eceaff;
  --shadow: 0 18px 50px rgba(38, 47, 67, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #10131a;
    --surface: rgba(27, 32, 43, 0.94);
    --surface-strong: #1b202b;
    --text: #f3f5f8;
    --muted: #aab4c3;
    --line: #343c4c;
    --accent: #a79cff;
    --accent-soft: #2c2949;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% -10%, rgba(101, 88, 232, 0.2), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); }

.wrap {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  color: var(--text);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav { display: flex; gap: 18px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--text); }

main { padding: 42px 0 72px; }

.hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(36px, 7vw, 58px); }
h2 { margin: 42px 0 12px; font-size: 26px; }
h3 { margin: 28px 0 8px; font-size: 18px; }
p { margin: 10px 0; }

.lead {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.actions, .grid {
  display: grid;
  gap: 16px;
}

.actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.card, .button-link {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.button-link {
  display: block;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button-link span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.button-link:hover { border-color: var(--accent); transform: translateY(-1px); }

.content {
  padding: 36px 42px 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.meta {
  margin-bottom: 30px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 8px 14px 14px 8px;
  background: var(--accent-soft);
}

ul { padding-left: 22px; }
li + li { margin-top: 6px; }
hr { margin: 46px 0; border: 0; border-top: 1px solid var(--line); }

footer {
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 880px); }
  header { align-items: flex-start; flex-direction: column; gap: 10px; }
  main { padding-top: 24px; }
  .hero, .content { padding: 28px 22px; border-radius: 20px; }
  .actions { grid-template-columns: 1fr; }
}
