:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --text: #172033;
  --muted: #5f6b7a;
  --border: #dfe6ee;
  --accent: #3157d5;
  --accent-strong: #2443a6;
  --accent-soft: #e9efff;
  --success: #16794f;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --content: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 87, 213, 0.08), transparent 34rem),
    var(--bg);
  line-height: 1.68;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(223, 230, 238, 0.9);
}

.nav-wrap {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #6f8cff);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(49, 87, 213, 0.24);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

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

.hero {
  width: min(calc(100% - 32px), 1120px);
  margin: 54px auto 28px;
  padding: 58px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49, 87, 213, 0.18), rgba(111, 140, 255, 0.05));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 750;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  color: #fff;
  text-decoration: none;
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(49, 87, 213, 0.22);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button.secondary:hover {
  color: var(--accent);
  background: var(--surface-soft);
}

.content {
  width: min(calc(100% - 32px), var(--content));
  margin: 32px auto 72px;
}

.card,
.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(23, 32, 51, 0.05);
}

.card {
  padding: 28px;
}

.section {
  padding: 34px;
  margin-bottom: 22px;
}

.section h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.section p:last-child,
.section ul:last-child,
.section ol:last-child {
  margin-bottom: 0;
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta strong {
  color: var(--text);
}

code {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 0.15em 0.45em;
  border-radius: 7px;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 7px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
}

.footer-wrap {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 30px;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.small {
  font-size: 0.93rem;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 700;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 820px) {
  .hero {
    padding: 38px 28px;
    margin-top: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    gap: 12px 16px;
  }
}

@media (max-width: 560px) {
  .section,
  .card {
    padding: 24px 20px;
  }

  .hero {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}