:root {
  --bg: #f5f6f8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f3f5f7;
  --text: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.08);
  --brand: #1f6f8b;
  --brand-soft: rgba(31, 111, 139, 0.08);
  --accent: #0f766e;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 139, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f8 45%, #edf2f7 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, #2e90a6, #155eef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.brand-mark::before {
  inset: 9px;
}

.brand-mark::after {
  inset: 18px 9px 9px 18px;
  border-top: none;
  border-left: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button,
.button-secondary,
.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button-secondary:hover,
.button-quiet:hover {
  transform: translateY(-1px);
}

.button {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.16);
}

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

.button-quiet {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(31, 111, 139, 0.14);
}

.hero {
  padding: 54px 0 28px;
}

.hero-card,
.section-card,
.mini-card,
.faq-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero-card,
.section-card {
  padding: 30px;
}

.mini-card,
.faq-card {
  padding: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.08rem;
}

p,
li,
.tiny {
  color: var(--muted);
  line-height: 1.65;
}

.hero-grid,
.grid-2,
.grid-3,
.faq-grid,
.link-grid {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.faq-grid,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-actions,
.pill-row,
.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-panel-list,
.content-list,
.faq-list,
.link-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.hero-panel-list {
  padding-left: 20px;
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 24, 40, 0.06);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.section {
  padding: 0 0 28px;
}

.section:last-of-type {
  padding-bottom: 72px;
}

.link-card {
  display: block;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 24, 40, 0.06);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item + .faq-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.faq-question {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
}

.article-meta {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .faq-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero,
  .site-footer {
    padding-top: 24px;
  }

  .hero-card,
  .section-card,
  .mini-card,
  .faq-card {
    padding: 22px;
  }

  .hero-actions .button,
  .hero-actions .button-secondary,
  .hero-actions .button-quiet {
    width: 100%;
  }
}
