:root {
  color-scheme: light dark;
  --background: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #122033;
  --muted: #607086;
  --border: rgba(18, 32, 51, 0.11);
  --accent: #1683ff;
  --accent-hover: #0664cc;
  --shadow: 0 24px 70px rgba(17, 43, 78, 0.10);
  --radius: 24px;
  --width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #07111f;
    --surface: rgba(20, 31, 48, 0.90);
    --text: #f5f8fc;
    --muted: #a8b6c8;
    --border: rgba(255, 255, 255, 0.11);
    --accent: #55a4ff;
    --accent-hover: #8bc2ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(22, 131, 255, 0.14), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 84%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #0876ee, #62b6ff);
  color: white;
  box-shadow: 0 10px 25px rgba(22, 131, 255, 0.28);
}

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

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

nav a:hover {
  color: var(--text);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  margin: 18px 0;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  color: white;
}

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

.card,
.panel,
.notice {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.metric {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.metric:first-child {
  padding-top: 0;
}

.metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.14rem;
}

.metric span,
.card p {
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

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

.card {
  padding: 26px;
}

.notice {
  margin: 32px 0;
  padding: 21px 24px;
  border-left: 4px solid var(--accent);
}

.page-main {
  padding: 76px 0 96px;
}

.page-main article {
  width: min(100%, 820px);
}

.page-main h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.page-main h2 {
  margin-top: 42px;
  font-size: 1.7rem;
}

footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }
}
