:root {
  color-scheme: light;
  --purple: #6e59d9;
  --blue: #4d8fe8;
  --teal: #21a8a0;
  --orange: #ff7a59;
  --ink: #493274;
  --muted: #6a557a;
  --cream: #fffbed;
  --gold: #ffd879;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 18%, #ffffffaa 0 4%, transparent 4.5%),
    radial-gradient(circle at 90% 82%, #ffffff88 0 5%, transparent 5.5%),
    linear-gradient(135deg, #9de3ff, #d0c0ff 52%, #ffddec);
}

a { color: inherit; }

.site-header {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  color: white;
  box-shadow: 0 8px 24px #49327433;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  color: var(--ink);
  background: #ffd34e;
}

.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: #ffffff2b; }

main {
  width: min(1000px, calc(100% - 32px));
  margin: 36px auto;
}

.hero, .panel {
  border: 4px solid white;
  border-radius: 30px;
  box-shadow: 0 14px 34px #49327428;
}

.hero {
  padding: clamp(26px, 5vw, 52px);
  text-align: center;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.hero.teal { background: linear-gradient(135deg, #168f89, var(--teal)); }
.hero.orange { background: linear-gradient(135deg, #f05c65, var(--orange)); }

.hero-icon { font-size: 3rem; }
h1 { margin: 8px 0 12px; font-size: clamp(2rem, 5vw, 3.3rem); }
.hero p { max-width: 720px; margin: auto; font-size: 1.1rem; line-height: 1.65; font-weight: 650; }

.panel {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 38px);
  background: #fffffff2;
}

.section {
  padding: 20px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  background: var(--cream);
}
.section + .section { margin-top: 16px; }
.section h2 { margin: 0 0 8px; font-size: 1.2rem; }
.section p { margin: 0; color: var(--muted); line-height: 1.7; font-weight: 550; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { text-decoration: none; transition: transform .18s ease; }
.contact-card:hover { transform: translateY(-3px); }

footer {
  width: min(1000px, calc(100% - 32px));
  margin: 30px auto;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 700px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
