:root {
  --bg: #f4f7fc;
  --bg-2: #edf3ff;
  --card: #ffffff;
  --text: #172033;
  --muted: #5e6b85;
  --primary: #176bff;
  --primary-dark: #0d54ce;
  --primary-soft: rgba(23, 107, 255, 0.1);
  --border: #e6ebf3;
  --shadow: 0 18px 42px rgba(18, 35, 64, 0.08);
  --shadow-soft: 0 10px 24px rgba(18, 35, 64, 0.06);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(23,107,255,0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 252, 0.82);
  border-bottom: 1px solid rgba(230, 235, 243, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #63a2ff);
  box-shadow: var(--shadow-soft);
}

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

.nav-link,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
}

.nav-link {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  color: var(--text);
}

.nav-cta {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-soft);
}

.hero {
  padding: 48px 0 24px;
}

.hero-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(230,235,243,0.95);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eaf7ef;
  color: #1f7a4d;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 80ch;
  font-size: 1.03rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f7faff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

main {
  padding: 10px 0 24px;
}

.section {
  padding: 18px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.section-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

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

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

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

.card ul,
.card ol {
  margin: 12px 0 0 20px;
  padding: 0;
}

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7faff;
  border: 1px dashed #cfe0ff;
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  padding: 24px 0 42px;
}

.footer-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

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

.muted-small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

  .footer-links {
    justify-content: flex-start;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    width: 100%;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
  }
}
