:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --accent: #084ebc;
  --accent-deep: #063a8d;
  --accent-soft: #eff6ff;
  --shadow: 0 20px 50px rgba(8, 78, 188, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 78, 188, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0, var(--paper) 32rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.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: 12px;
  color: var(--ink);
  font-weight: 750;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #0a7bc4, #084ebc);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(8, 78, 188, 0.25);
  font-weight: 800;
  font-size: 1.1rem;
}

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

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

nav a:hover { color: var(--accent); text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

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

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

h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--ink);
}

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

.actions {
  margin-top: 32px;
  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 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 650;
  text-decoration: none;
  transition: all 0.15s ease;
}

.button:hover {
  text-decoration: none;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.button.primary {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(8, 78, 188, 0.22);
}

.button.primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

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

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.card h2 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -0.02em; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 0.98rem; }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

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

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

.document h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

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

.document section { margin: 36px 0; }

.document h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.document p, .document li { color: #334155; }
.document ul { padding-left: 1.4rem; }
.document li + li { margin-top: 8px; }

.notice {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: var(--accent-soft);
  color: #1e3a8a;
}

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

.faq h2 { margin-bottom: 8px; font-size: 1.15rem; }
.faq p { margin: 0; color: #475569; }

.contact-box {
  margin-top: 48px;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(145deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe;
  text-align: center;
}

.contact-box h2 { margin-top: 0; }
.contact-box p { margin-bottom: 24px; color: var(--muted); }

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

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

@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1120px); padding-top: 18px; }
  nav { gap: 16px; }
  nav a { font-size: 0.9rem; }
  .hero { margin-top: 44px; }
  .cards { grid-template-columns: 1fr; }
  .document { margin-top: 36px; }
  footer { flex-direction: column; text-align: center; align-items: center; }
}
