:root {
  --bg-top: #f4f8ff;
  --bg-bottom: #e6f1ff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --border: rgba(72, 104, 156, 0.14);
  --text: #16233b;
  --muted: #556781;
  --accent: #2d72e0;
  --accent-soft: #e8f1ff;
  --success: #2db36a;
  --warning: #f2b21b;
  --shadow: 0 22px 60px rgba(47, 77, 126, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(96, 179, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(44, 178, 188, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(244, 248, 255, 0.82);
  border-bottom: 1px solid rgba(69, 96, 140, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 28px rgba(36, 66, 112, 0.1);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

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

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

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.page {
  padding: 32px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin: 28px 0 40px;
}

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

.hero-card {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 175, 150, 0.12), transparent 66%);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(72, 104, 156, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1,
.page-header h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 18px 0 16px;
}

.hero p,
.page-header p,
.card p,
.callout p,
.info-panel p,
li,
.fine-print {
  color: var(--muted);
  line-height: 1.58;
  font-size: 1.03rem;
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  background: linear-gradient(135deg, #2f73e6, #4a94ff);
  color: white;
  box-shadow: 0 14px 30px rgba(45, 114, 224, 0.28);
}

.button:hover,
.button-secondary:hover {
  text-decoration: none;
}

.button-secondary {
  border: 1px solid rgba(72, 104, 156, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.hero-side {
  display: grid;
  gap: 20px;
}

.metric-card {
  padding: 24px;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 10px 0 4px;
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.section {
  margin: 36px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

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

.card {
  padding: 24px;
}

.card h3,
.info-panel h3,
.callout h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.card ul,
.info-panel ul,
.callout ul {
  margin: 0;
  padding-left: 20px;
}

.card li,
.info-panel li,
.callout li {
  margin: 8px 0;
}

.note-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.callout,
.info-panel {
  padding: 26px;
}

.page-header {
  margin: 22px 0 32px;
}

.page-header h1 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
}

.page-header .kicker {
  margin-bottom: 8px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.info-panel strong,
.callout strong {
  color: var(--text);
}

.highlight {
  color: var(--text);
  font-weight: 700;
}

.fine-print {
  font-size: 0.95rem;
}

.footer {
  padding: 28px 0 44px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(72, 104, 156, 0.12);
  padding-top: 20px;
}

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

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

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

  .topbar-inner,
  .section-header,
  .footer-inner {
    align-items: flex-start;
  }

  .hero-card,
  .card,
  .callout,
  .info-panel,
  .metric-card {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 20px 0 60px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .nav {
    gap: 12px;
    font-size: 0.94rem;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2.25rem;
  }

  .metric-value {
    font-size: 1.85rem;
  }
}
