:root {
  --bg: #f8f9ff;
  --surface: rgba(255, 255, 255, 0.74);
  --text: #12142b;
  --muted: #4d5170;
  --line: #d8defa;
  --max: 1120px;
  --r: 18px;
  --grad-1: #6a5cff;
  --grad-2: #00c2ff;
  --grad-3: #ff4fd8;
  --grad-4: #ffb347;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(950px 480px at -5% -10%, #c2d3ff 0%, transparent 60%),
    radial-gradient(1100px 520px at 105% -10%, #ffd3f2 0%, transparent 58%),
    radial-gradient(900px 450px at 40% 110%, #ccfff5 0%, transparent 55%),
    linear-gradient(140deg, #f8f9ff 0%, #f2f6ff 45%, #fff8fb 100%);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 255, 0.62);
  border-bottom: 1px solid rgba(140, 156, 255, 0.25);
}

.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
.menu a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.menu a[aria-current="page"], .menu a:hover { color: var(--text); }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: .72rem 1.15rem;
  font-weight: 700;
  font-size: .94rem;
  transition: transform .2s ease, box-shadow .25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(96deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  box-shadow: 0 12px 28px rgba(82, 75, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(82, 75, 255, 0.4);
}

.hero { padding: 6rem 0 3.9rem; }
.eyebrow {
  margin: 0 0 .6rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5e4df0;
  font-size: .78rem;
  font-weight: 700;
}

h1, h2, h3 { margin: 0 0 .8rem; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2rem, 5vw, 4rem); max-width: 14ch; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

.lead { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 62ch; }
.section { padding: 3.2rem 0; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  box-shadow:
    0 14px 36px rgba(58, 65, 157, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.grid-3 .card:nth-child(1) { border-top: 4px solid #5d5fff; }
.grid-3 .card:nth-child(2) { border-top: 4px solid #00bdf0; }
.grid-3 .card:nth-child(3) { border-top: 4px solid #ff5fc6; }

.card p, .card li { color: var(--muted); }
.list { margin: .6rem 0 0; padding-left: 1.1rem; }
.list li { margin: .3rem 0; }

.band {
  background: linear-gradient(115deg, #1d1f46, #373f8d 50%, #9235c7);
  color: #fff;
  border-radius: var(--r);
  padding: 1.85rem;
  box-shadow: 0 18px 40px rgba(59, 56, 130, .35);
}
.band p { color: #dbe1ff; margin: 0; }

form { display: grid; gap: .85rem; }
label { font-size: .9rem; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid #cfd6ff;
  border-radius: 12px;
  padding: .75rem .85rem;
  font: inherit;
  background: #fff;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #7d7dff;
  box-shadow: 0 0 0 4px rgba(125, 125, 255, .15);
}
textarea { min-height: 140px; resize: vertical; }

.notice { margin-top: .85rem; color: #136b39; font-weight: 700; }
small, .muted { color: var(--muted); }

footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid rgba(140,156,255,0.2);
  color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(12px); transition: all .45s ease; }
.reveal.in { opacity: 1; transform: none; }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: .5rem .7rem;
  border-radius: 8px;
}

@media (max-width: 920px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .menu { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
