:root {
  --bg: #f5f3ff;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(139, 92, 246, 0.14);
  --accent: #8b5cf6;
  --accent-2: #f472b6;
  --accent-dark: #4c1d95;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f0f4ff 0%, var(--bg) 42%, #ede9fe 100%);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 255, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: box-shadow .12s;
}

.button:hover {
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.button.small {
  padding: 6px 16px;
  font-size: 13px;
}

.ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.ghost:hover {
  box-shadow: none;
  background: var(--bg);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  padding: 60px 0 40px;
}

.hero-copy {
  display: grid;
  gap: 10px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 0;
}

.hero-summary {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.hero-points {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 14px;
}

.hero-points li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  color: var(--muted);
}

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

.hero-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 48px rgba(139, 92, 246, 0.12);
  font-size: 14px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card-score {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.hero-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.02em;
}

.hero-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-card-grid article span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.hero-card-grid article strong {
  font-size: 14px;
}

.hero-card-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}

.hero-card-links a:hover {
  text-decoration: underline;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
}

.links a {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.links a:hover {
  background: var(--paper);
  color: var(--accent);
  border-color: var(--accent);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 48px 32px;
  margin: 0 -12px;
}

.section-heading {
  max-width: 720px;
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.card strong {
  font-size: 16px;
}

.card p, .card a {
  font-size: 14px;
  color: var(--muted);
}

.card a {
  font-weight: 600;
  color: var(--accent);
}

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

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list details p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 48px 0;
}

.cta h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.02em;
}

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

.cta .actions {
  justify-content: center;
}

.site-footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--accent);
  font-weight: 500;
}

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

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 26px; }
}

@media (max-width: 540px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  nav { display: none; }
}
