:root {
  --bg: #f3f8fc;
  --surface: #ffffff;
  --text: #1c1b1f;
  --muted: #546e7a;
  --primary: #1e88e5;
  --primary-dark: #1565c0;
  --accent: #42a5f5;
  --border: #cfe4f7;
}

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

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(160deg, #e8f4fd 0%, #f9fbff 55%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

.hero {
  width: min(1100px, 94vw);
  margin: 24px auto 0;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #42a5f5 0%, #1e88e5 50%, #1565c0 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(30, 136, 229, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand,
.policy-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.policy-link {
  font-weight: 600;
  opacity: 0.95;
}

.policy-link:hover,
.brand:hover {
  text-decoration: underline;
}

.hero-content {
  margin-top: 52px;
  max-width: 700px;
}

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.18);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
}

.hero-text {
  margin: 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

main {
  width: min(1100px, 94vw);
  margin: 18px auto 40px;
  display: grid;
  gap: 18px;
}

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.section-intro {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.feature-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: #f7fbff;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.section-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.showcase-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.showcase-panel ul {
  margin: 0;
  padding-left: 20px;
}

.showcase-panel li + li {
  margin-top: 8px;
}

.showcase-panel.highlight {
  background: linear-gradient(130deg, #eef6fd 0%, #e3f2fd 100%);
}

.section-cta {
  text-align: center;
  background: linear-gradient(160deg, #0d47a1 0%, #1e88e5 75%);
  color: #ffffff;
  border: none;
}

.section-cta p {
  max-width: 70ch;
  margin: 0 auto 16px;
  color: rgba(255, 255, 255, 0.9);
}

.large {
  padding: 14px 22px;
}

.footer {
  width: min(1100px, 94vw);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.footer a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    padding: 20px;
    border-radius: 14px;
  }

  .hero-content {
    margin-top: 34px;
  }

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

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