:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #1c2640;
  --muted: #5f6b85;
  --primary: #4c6fff;
  --primary-dark: #3654d1;
  --border: #dbe3f5;
  --shadow: 0 20px 45px rgba(76, 111, 255, 0.12);
  --radius: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8faff 0%, #f6f8fc 45%, #edf2ff 100%);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 252, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 245, 0.7);
}

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

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.hero h1,
.section h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.info-card p,
.note-item p,
.highlight-card p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(76, 111, 255, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.hero-card,
.info-card,
.highlight-card,
.note-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.9rem;
}

.section {
  padding: 2rem 0 4rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(219, 227, 245, 0.65);
  border-bottom: 1px solid rgba(219, 227, 245, 0.65);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.card-grid,
.highlight-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

.info-card,
.highlight-card {
  padding: 1.6rem;
}

.info-card h3,
.highlight-card h3,
.note-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.note-list {
  display: grid;
  gap: 1rem;
}

.note-item {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
}

.note-tag {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.site-footer {
  padding: 3.2rem 0 4rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer-intro {
  flex: 1 1 320px;
}

.footer-meta {
  flex: 0 1 320px;
}

.footer-meta p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .highlight-grid,
  .footer-content {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.9rem 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem 1rem;
  }

  .hero h1 {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-card,
  .info-card,
  .highlight-card,
  .note-item,
  .footer-content {
    padding: 1.25rem;
  }

  .footer-meta {
    width: 100%;
  }
}
