:root {
  color-scheme: light dark;
  --bg: #f2f3f6;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #17191f;
  --muted: #646a78;
  --line: rgba(20, 24, 34, 0.09);
  --accent: #6477f4;
  --accent-strong: #4f63e9;
  --shadow: 0 22px 60px rgba(30, 36, 60, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% -10%, rgba(100, 119, 244, 0.20), transparent 34rem),
    var(--bg);
  color: var(--text);
}

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

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

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.nav .brand { color: var(--text); font-weight: 800; letter-spacing: -0.03em; }

.hero { padding: 86px 0 60px; max-width: 760px; }

.mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, #8391ff, #5368ec);
  box-shadow: 0 16px 32px rgba(83, 104, 236, 0.30);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 28px;
}

.eyebrow { color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }

h1 { margin: 8px 0 18px; font-size: clamp(42px, 7vw, 72px); line-height: 0.98; letter-spacing: -0.055em; }
h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.025em; }
.lead { max-width: 690px; color: var(--muted); font-size: 20px; line-height: 1.55; }

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 13px;
  color: white;
  background: var(--accent-strong);
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(79, 99, 233, 0.25);
}

.button:hover { text-decoration: none; transform: translateY(-1px); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card, .notice, .prose {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.card { min-height: 250px; padding: 28px; border-radius: 24px; }
.card p, .notice p, .prose p { color: var(--muted); line-height: 1.65; }
.icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 42px; border-radius: 12px; color: var(--accent-strong); background: rgba(100, 119, 244, 0.13); font-weight: 800; }

.notice { margin-top: 18px; padding: 28px; border-radius: 24px; }
.notice p { margin-bottom: 0; }

.page-header { padding: 72px 0 40px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }
.prose { padding: clamp(24px, 5vw, 56px); border-radius: 28px; }
.prose h2 { margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px 0 46px; color: var(--muted); font-size: 14px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111216;
    --surface: rgba(29, 31, 38, 0.82);
    --text: #f4f5f8;
    --muted: #a8adbb;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #8b98ff;
    --accent-strong: #8493ff;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1040px); }
  .hero { padding-top: 58px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .icon { margin-bottom: 28px; }
  footer { flex-direction: column; }
}
