:root {
  --navy: #0f1f4e;
  --navy-deep: #080f26;
  --blue: #1e40af;
  --blue-mid: #2563eb;
  --blue-light: #dbeafe;
  --blue-xlight: #eff6ff;
  --green: #16a34a;
  --green-mid: #22c55e;
  --green-light: #dcfce7;
  --green-border: #86efac;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --white: #ffffff;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 3px rgba(15, 31, 78, 0.06), 0 12px 32px rgba(15, 31, 78, 0.1);
  --shadow-soft: 0 18px 48px rgba(15, 31, 78, 0.16);
  --transition: 180ms cubic-bezier(.4, 0, .2, 1);
  --font-display: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1f2937;
  background:
    radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #f8fafc 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1f2937;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1f2937;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2937;
}

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

small, .caption {
  font-size: 0.8rem;
  color: #6b7280;
}

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

a:hover {
  color: #2563eb;
  text-decoration: underline;
}

@media (min-width: 640px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}

code {
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: var(--blue-xlight);
  color: var(--navy);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

p,
ul,
ol,
dl {
  margin: 0;
}

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

img,
svg {
  display: block;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo-text,
.logo-pro {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text {
  color: var(--navy);
}

.logo-pro {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-500);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 31, 78, 0.18);
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(219, 234, 254, 0.22);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: 92px 24px 106px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue-mid) 100%);
}

.hero-glow,
.hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 72%);
}

.hero-glow-2 {
  width: 340px;
  height: 340px;
  left: 8%;
  bottom: -120px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.2) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 420px);
  gap: 40px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  color: var(--green-mid);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  color: var(--slate-800);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0) 36%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
}

.hero-card-title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--navy);
}

.hero-card-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.hero-card-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--slate-600);
  font-size: 0.92rem;
}

.hero-card-item strong {
  color: var(--navy);
}

.hero-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 2px;
}

.page-shell {
  position: relative;
  max-width: 1180px;
  margin: -48px auto 0;
  padding: 0 24px 76px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 24px;
}

.panel,
.side-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.panel {
  padding: 30px;
}

.side-card {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.panel-title,
.side-title,
.section-title {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.panel-title {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.section-copy {
  color: var(--slate-600);
}

.section-copy + .section-copy,
.section-copy + ul,
.section-copy + ol,
ul + .section-copy,
ol + .section-copy {
  margin-top: 14px;
}

.fact-list {
  display: grid;
}

.fact-row {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--slate-100);
}

.fact-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  text-transform: uppercase;
}

.fact-value {
  color: var(--slate-700);
}

.fact-value strong,
.section-copy strong {
  color: var(--navy);
}

.inline-list,
.bullet-list,
.source-list,
.side-list {
  display: grid;
  gap: 12px;
}

.bullet-list li,
.source-list li,
.side-list li {
  color: var(--slate-600);
}

.callout {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.callout-warning {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fffaf0 100%);
}

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

.mini-card,
.data-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe;
}

.mini-card strong,
.data-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.data-card p,
.mini-card p {
  color: var(--slate-600);
}

.action-list {
  counter-reset: action;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.action-item {
  counter-increment: action;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.action-item::before {
  content: counter(action);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.22);
}

.action-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--navy);
}

.action-copy {
  color: var(--slate-600);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--slate-50);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  font-size: 0.84rem;
  font-weight: 600;
}

.side-title {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.side-text {
  color: var(--slate-600);
  margin-bottom: 16px;
}

.side-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  color: var(--navy);
  font-weight: 600;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.side-link:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  background: #f8fbff;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--slate-100);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}

.footer-desc {
  color: var(--slate-500);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col-title {
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--slate-500);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--navy);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-100);
  color: var(--slate-400);
  font-size: 0.78rem;
  line-height: 1.8;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom em {
  font-style: normal;
}

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

  .side-card {
    position: static;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .hero,
  .page-shell,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-actions {
    gap: 14px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .hero-card,
  .panel,
  .side-card {
    border-radius: 22px;
  }

  .panel {
    padding: 24px 20px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    padding-top: 46px;
  }
}
