:root {
  color-scheme: light;
  --ink: #182137;
  --muted: #5d6576;
  --line: #e7e9f0;
  --paper: #fff;
  --wash: #f7f6ff;
  --accent: #6c52e5;
  --accent-deep: #4c34ba;
  --accent-soft: #eeeaff;
  --shadow: 0 22px 60px rgba(48, 37, 100, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(138, 113, 255, 0.15), transparent 28rem),
    linear-gradient(180deg, #fbfaff 0, var(--paper) 32rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #8872ff, #5134ca);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(81, 52, 202, 0.25);
}

.brand-mark svg { width: 19px; height: 19px; }

nav { display: flex; gap: 24px; }

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] { color: var(--accent-deep); }

.hero {
  width: min(900px, calc(100% - 40px));
  margin: 64px auto 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(81, 52, 202, 0.2);
}

.cards {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid rgba(108, 82, 229, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.card h2 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -0.025em; }
.card p { margin: 0 0 18px; color: var(--muted); }
.card a { font-weight: 750; text-decoration: none; }

.document {
  width: min(780px, calc(100% - 40px));
  margin: 56px auto 96px;
}

.document-header {
  margin-bottom: 42px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.document h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}

.updated { color: var(--muted); font-size: 0.92rem; }

.document section { margin: 38px 0; }

.document h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.document p, .document li { color: #3e475a; }
.document ul { padding-left: 1.3rem; }
.document li + li { margin-top: 9px; }

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 14px 14px 4px;
  background: var(--accent-soft);
}

.faq {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq h2 { margin-bottom: 7px; }
.faq p { margin: 0; }

.contact-box {
  margin-top: 42px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f1edff, #faf9ff);
  text-align: center;
}

.contact-box h2 { margin-top: 0; }
.contact-box p { margin-bottom: 20px; }

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1120px); padding-top: 18px; }
  nav { gap: 14px; }
  nav a { font-size: 0.86rem; }
  .hero { margin-top: 48px; }
  .cards { grid-template-columns: 1fr; }
  .document { margin-top: 40px; }
  footer { flex-direction: column; }
}
