:root {
  --background: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #111827;
  --text-soft: #526173;
  --accent: #1b4dff;
  --accent-soft: rgba(27, 77, 255, 0.09);
  --stroke: rgba(25, 36, 68, 0.13);
  --shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(238, 242, 247, 0.9), rgba(245, 247, 251, 0.95)),
    var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.inner {
  width: min(980px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: right;
}

.page-shell {
  width: min(980px, 100% - 2rem);
  margin: 0 auto;
  padding: 3.4rem 0 4.5rem;
}

.content-page {
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(2.2rem, 7vw, 5.6rem) clamp(1.25rem, 5vw, 4.5rem) clamp(1.8rem, 5vw, 3.4rem);
  background:
    linear-gradient(135deg, rgba(27, 77, 255, 0.1), rgba(255, 255, 255, 0) 58%),
    var(--surface-soft);
  border-bottom: 1px solid var(--stroke);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(17, 24, 39, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.25rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.dek {
  max-width: 46rem;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 600;
}

.content-body {
  padding: clamp(1.4rem, 5vw, 4.5rem);
}

.content-body > :first-child {
  margin-top: 0;
}

.content-body > :last-child {
  margin-bottom: 0;
}

.content-body h2 {
  margin: 3rem 0 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stroke);
  color: #0f172a;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.content-body p {
  max-width: 48rem;
  margin: 0.85rem 0;
}

.content-body strong {
  color: #0f172a;
}

.content-body ul {
  display: grid;
  gap: 0.3rem;
  max-width: 42rem;
  margin: 1rem 0 1.8rem;
  padding-left: 1.2rem;
}

.content-body hr {
  border: 0;
  border-top: 1px solid var(--stroke);
  margin: 2rem 0;
}

.content-body blockquote {
  max-width: 48rem;
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: #263449;
}

.content-body img {
  display: block;
  width: min(100%, 48rem);
  height: auto;
  margin: 1rem 0 0;
  border: 1px solid var(--stroke);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  padding: 1rem 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-note {
    text-align: left;
  }

  .page-shell {
    width: min(100% - 1rem, 980px);
    padding-top: 1rem;
  }
}
