:root {
  color-scheme: light;
  --ink: #171321;
  --muted: #6c6677;
  --purple: #7555e8;
  --purple-dark: #5533cd;
  --lavender: #eee8ff;
  --line: rgba(72, 48, 139, .13);
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(117, 85, 232, .14), transparent 32rem),
    radial-gradient(circle at 96% 46%, rgba(178, 154, 255, .16), transparent 30rem),
    #faf9fd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.site-header img {
  display: block;
  width: 168px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.footer-links a {
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a { padding: 10px 12px; }
.site-nav a:hover, .footer-links a:hover { color: var(--purple-dark); }
.site-nav a[aria-current="page"] { background: var(--lavender); color: var(--purple-dark); }

.hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 72px 0 56px;
  text-align: center;
}

.hero-inner { max-width: 790px; }

.logo {
  display: block;
  width: clamp(290px, 52vw, 620px);
  height: auto;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 9px 14px;
  border: 1px solid rgba(117, 85, 232, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(117, 85, 232, .12);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.7rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.intro {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.contact {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 13px 18px;
  border-bottom: 2px solid var(--purple);
  color: var(--purple-dark);
  font-weight: 720;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.contact:hover { background: var(--lavender); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 84px;
}

.pillar,
.card,
.legal-section,
.faq-list {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(50, 31, 96, .06);
  backdrop-filter: blur(12px);
}

.pillar { min-height: 210px; padding: 29px; }

.number,
.card-icon {
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--purple-dark);
  font-weight: 800;
}

.number {
  width: 40px;
  height: 40px;
  margin-bottom: 29px;
  border-radius: 12px;
  font-size: .78rem;
}

h2 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.025em; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.6; }

.content-hero {
  max-width: 850px;
  padding: 76px 0 52px;
}

.content-hero h1 {
  max-width: 800px;
  font-size: clamp(3.1rem, 8vw, 6.2rem);
}

.content-hero .intro { margin-left: 0; }

.section-heading {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  letter-spacing: -.04em;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 64px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 30px;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 13px;
  font-size: 1.05rem;
}

.card p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.7;
}

.card p { margin: 0 0 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid var(--purple);
  border-radius: 13px;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.button:hover { background: var(--purple-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--purple-dark); }
.button.secondary:hover { background: var(--lavender); }

.faq-section { margin-bottom: 76px; }
.faq-list { overflow: hidden; }

details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--purple-dark);
  font-size: 1.35rem;
}
details[open] summary::after { content: "−"; }
details p { margin: -6px 54px 22px 26px; color: var(--muted); line-height: 1.7; }

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 76px;
  padding: 28px 30px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
}

.contact-strip h2 { margin-bottom: 5px; }
.contact-strip p { margin: 0; color: rgba(255,255,255,.7); }
.contact-strip .button { flex: 0 0 auto; background: var(--white); border-color: var(--white); color: var(--purple-dark); }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 76px;
}

.legal-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
}

.legal-nav a {
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover { background: var(--lavender); color: var(--purple-dark); }
.legal-content { display: grid; gap: 16px; }
.legal-section { padding: 30px; scroll-margin-top: 24px; }
.legal-section h2 { font-size: 1.5rem; }
.legal-section p:last-child, .legal-section ul:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 21px; }
.legal-section strong { color: var(--ink); }
.updated { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.notice { padding: 18px 20px; border-left: 4px solid var(--purple); background: var(--lavender); color: var(--purple-dark); line-height: 1.6; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}

.footer-links { display: flex; gap: 18px; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(117, 85, 232, .3);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .page { width: min(100% - 28px, 620px); }
  .site-header { align-items: flex-start; padding: 20px 0; }
  .site-header img { width: 132px; margin-top: 8px; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
  .site-nav a { padding: 8px; font-size: .8rem; }
  .hero { min-height: auto; padding: 54px 0 48px; }
  .logo { margin-bottom: 34px; }
  .pillars, .support-grid { grid-template-columns: 1fr; }
  .pillars { padding-bottom: 56px; }
  .pillar, .card { min-height: auto; padding: 24px; }
  .number { margin-bottom: 22px; }
  .content-hero { padding: 54px 0 42px; }
  .support-grid { margin-bottom: 52px; }
  .button { margin-top: 4px; }
  .legal-layout { grid-template-columns: 1fr; padding-bottom: 56px; }
  .legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .legal-section { padding: 24px; }
  .contact-strip { align-items: flex-start; flex-direction: column; margin-bottom: 56px; padding: 24px; }
  footer { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
