:root {
  --ink: #243149;
  --muted: #687387;
  --mint: #dff7f2;
  --mint-strong: #32b978;
  --coral: #ff6b5f;
  --yellow: #ffd35a;
  --lavender: #9570e8;
  --paper: #fffefa;
  --line: rgba(36, 49, 73, .12);
  --shadow: 0 20px 55px rgba(50, 83, 75, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(255,255,255,.82) 0 12rem, transparent 12.1rem),
    radial-gradient(circle at 95% 92%, rgba(255,211,90,.25) 0 18rem, transparent 18.1rem),
    linear-gradient(145deg, #dff6fa 0%, #eef9ed 55%, #fff7ca 100%);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #6350bd; text-underline-offset: .18em; }
a:hover { color: #3f3290; }

.site-header,
footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(63, 50, 144, .2);
}

nav { display: flex; gap: 8px; }
nav a {
  padding: 10px 16px;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
nav a:hover,
nav a.active { background: rgba(255,255,255,.72); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  padding: 54px 30px 76px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--lavender);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.12; }

.hero h1 {
  margin: 0;
  max-width: 750px;
  font-size: clamp(3.4rem, 7.5vw, 6.8rem);
  letter-spacing: -.055em;
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 18px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(43, 86, 75, .12);
}

.button.primary { color: white; background: var(--mint-strong); }
.button.primary:hover { color: white; background: #249d63; }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.88); }
.button.secondary:hover { color: var(--ink); background: white; }

.hero-art {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  justify-self: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 44% 56% 62% 38% / 45% 40% 60% 55%;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(232,216,255,.78));
  transform: rotate(-8deg);
}

.hero-art img {
  position: absolute;
  inset: 14%;
  width: 72%;
  border-radius: 30%;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.spark { position: absolute; font-weight: 900; }
.spark-one { top: 3%; right: 12%; color: var(--yellow); font-size: 3.3rem; }
.spark-two { bottom: 10%; left: 3%; color: var(--coral); font-size: 2.3rem; }
.spark-three { top: 28%; left: 0; color: #6fd3cc; font-size: 2rem; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 90px;
}

.trust-card,
.document-card,
.support-intro,
.faq,
.contact-card {
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}

.trust-card {
  padding: 30px;
  border-radius: 30px;
}
.trust-card.mint { background: rgba(221, 248, 239, .86); }
.trust-card.yellow { background: rgba(255, 244, 192, .88); }
.trust-card.lavender { background: rgba(237, 228, 255, .88); }
.trust-card h2 { margin: 12px 0 8px; font-size: 1.3rem; }
.trust-card p { margin: 0; color: var(--muted); }
.card-icon { font-size: 2rem; color: var(--coral); }

.document-shell { padding: 54px 0 90px; }

.document-card,
.support-intro,
.faq,
.contact-card {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 34px;
  background: rgba(255, 254, 250, .94);
}

.document-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.document-heading h1,
.support-intro h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -.04em;
}

.updated { margin: 12px 0 0; color: var(--muted); }
.document-card h2 { margin: 38px 0 8px; font-size: 1.45rem; }
.document-card p { color: #4e596d; }

.privacy-summary {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 6px solid var(--mint-strong);
  border-radius: 18px;
  background: #eafaf2;
}

.support-intro { margin-bottom: 24px; background: rgba(255,255,255,.87); }
.support-intro > p:not(.eyebrow) { max-width: 630px; color: var(--muted); font-size: 1.12rem; }
.support-intro .button { margin-top: 12px; }

.faq { padding-block: 46px; }
.faq > h2 { margin: 0 0 22px; font-size: 2rem; }
details { padding: 20px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 1.08rem; font-weight: 850; }
details p { margin: 14px 0 0; color: var(--muted); }

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  background: rgba(239, 232, 255, .92);
}
.contact-card h2 { margin: 0; font-size: 2rem; }
.contact-card p:not(.eyebrow) { color: var(--muted); }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(36,49,73,.1);
  color: var(--muted);
}
footer div { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .site-header { min-height: 88px; }
  .brand span { display: none; }
  .brand img { width: 50px; height: 50px; border-radius: 14px; }
  nav a { padding: 9px 12px; }
  .hero { grid-template-columns: 1fr; padding-inline: 4px; padding-top: 36px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 380px; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .button { width: 100%; overflow-wrap: anywhere; }
  footer { flex-direction: column; justify-content: center; text-align: center; padding: 26px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: float 5s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(1deg) translateY(-10px); }
  }
}

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