:root {
  --ink: #242b47;
  --muted: #616a82;
  --plum: #6d43c6;
  --berry: #d53aa7;
  --aqua: #8ee7ec;
  --sun: #ffe168;
  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin-top: 0; }

.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px;
  border-radius: 12px; background: var(--ink); color: white; font-weight: 850;
  text-decoration: none; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.landing-page,
.info-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 3%, rgba(112, 210, 244, .25), transparent 27rem),
    radial-gradient(circle at 92% 2%, rgba(255, 217, 87, .32), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #fff7e7 52%, #f7f0ff 100%);
}

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

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

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 15px; box-shadow: 0 8px 20px rgba(69, 51, 108, .2); }
.brand span, .footer-brand p { display: grid; gap: 1px; margin: 0; }
.brand strong, .footer-brand strong { color: #59339b; font-family: var(--display); font-size: 1.35rem; font-weight: 950; line-height: 1; }
.brand small, .footer-brand span { color: var(--muted); font-size: .71rem; font-weight: 700; letter-spacing: .025em; }

.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a {
  min-height: 44px; padding: 12px 16px; border-radius: 999px; color: #63567b;
  font-size: .86rem; font-weight: 850; text-decoration: none;
}
.site-header nav a:hover, .site-header nav a:focus-visible { background: rgba(109, 67, 198, .1); }
.site-header nav a.active {
  background: linear-gradient(135deg, var(--berry), var(--plum));
  box-shadow: 0 8px 18px rgba(109, 67, 198, .18); color: white;
}

.hero {
  display: grid; width: min(1180px, calc(100% - 28px)); min-height: 610px;
  grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr); align-items: center;
  gap: clamp(30px, 5vw, 74px); margin: 8px auto 0; padding: clamp(42px, 6vw, 78px);
  overflow: hidden; border-radius: 44px;
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 229, 121, .34), transparent 16rem),
    radial-gradient(circle at 16% 86%, rgba(115, 201, 255, .18), transparent 18rem),
    linear-gradient(135deg, #4c32a1 0%, #9b48af 54%, #ed6d8d 100%);
  box-shadow: 0 30px 80px rgba(74, 47, 126, .22);
}

.hero-copy { position: relative; z-index: 5; }
.eyebrow { margin: 0 0 13px; color: #7659af; font-size: .74rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.hero h1, .section h2, .info-hero h1 {
  margin: 0; font-family: var(--display); font-weight: 950; line-height: .94; letter-spacing: -.055em;
}
.hero h1 { color: white; font-size: clamp(3.2rem, 6.5vw, 6rem); }
.hero-lede { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.9); font-size: clamp(1.04rem, 1.7vw, 1.25rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 15px; font-size: .92rem; font-weight: 900; text-decoration: none; }
.button.primary { background: #fff4a9; box-shadow: 0 12px 24px rgba(41, 27, 80, .2); color: #493583; }
.button.secondary { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.13); color: white; backdrop-filter: blur(9px); }

.trust-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding: 0; color: rgba(255,255,255,.84); font-size: .78rem; font-weight: 800; list-style: none; }
.trust-list li::before { margin-right: 7px; color: #fff3a3; content: "•"; }

.hero-art { position: relative; min-height: 470px; }
.art-card, .info-art-card { position: absolute; margin: 0; overflow: hidden; border: 6px solid rgba(255,255,255,.96); border-radius: 28px; background: #ebe4ff; box-shadow: 0 24px 45px rgba(36,24,75,.3); }
.art-card img, .info-art-card img { width: 100%; height: 100%; object-fit: cover; }
.art-card figcaption, .collection-gallery figcaption {
  position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 9px 12px;
  border-radius: 12px; background: rgba(29,31,57,.76); color: white; font-size: .71rem; font-weight: 850; backdrop-filter: blur(8px);
}
.art-main { z-index: 2; top: 0; right: 0; width: 76%; height: 73%; transform: rotate(2deg); }
.art-home { z-index: 3; bottom: 0; left: 0; width: 55%; height: 45%; transform: rotate(-3deg); }
.art-play { z-index: 4; right: 0; bottom: 0; width: 43%; height: 38%; transform: rotate(3deg); }
.number-dot, .info-dot { position: absolute; z-index: 6; display: grid; place-items: center; border: 5px solid white; border-radius: 50%; box-shadow: 0 9px 19px rgba(34,22,68,.22); color: #28304b; font-size: .82rem; font-weight: 950; }
.number-dot { width: 48px; height: 48px; }
.dot-yellow { top: 18%; left: 14%; background: var(--sun); }
.dot-blue { right: -4px; bottom: 31%; background: var(--aqua); }
.dot-pink { bottom: 2%; left: 44%; width: 38px; height: 38px; background: #efacd5; }

.section { padding-block: clamp(70px, 9vw, 110px); }
.section-heading { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section h2 { color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.3rem); }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.step-card { padding: clamp(26px, 4vw, 38px); border: 1px solid rgba(77,68,119,.1); border-radius: 25px; background: rgba(255,255,255,.85); box-shadow: 0 14px 35px rgba(56,47,94,.08); }
.step-card > span { display: inline-grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: #eee8ff; color: #7254ac; font-weight: 950; }
.step-card:nth-child(2) > span { background: #dcf6f5; color: #23777c; }
.step-card:nth-child(3) > span { background: #fff0b8; color: #8d6215; }
.step-card h3 { margin: 22px 0 9px; font-family: var(--display); font-size: 1.45rem; font-weight: 900; }
.step-card p, .collection-copy p, .collection-copy li, .family-grid p { color: var(--muted); font-size: .97rem; line-height: 1.65; }

.collection-section { display: grid; grid-template-columns: minmax(0,.82fr) minmax(460px,1.18fr); align-items: center; gap: clamp(36px,6vw,78px); }
.collection-copy > p:not(.eyebrow) { margin-top: 23px; }
.collection-copy ul { display: grid; gap: 9px; margin: 22px 0 0; padding-left: 20px; }
.collection-gallery { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: repeat(2,210px); gap: 12px; }
.collection-gallery figure { position: relative; margin: 0; overflow: hidden; border: 5px solid white; border-radius: 24px; box-shadow: 0 17px 40px rgba(54,45,92,.16); }
.collection-gallery figure:first-child { grid-row: 1 / 3; }
.collection-gallery img { width: 100%; height: 100%; object-fit: cover; }
.collection-gallery figcaption { right: auto; border-radius: 999px; }

.family-section { margin-bottom: 70px; padding: clamp(34px,6vw,64px); border-radius: 34px; background: radial-gradient(circle at 90% 5%, rgba(255,231,134,.3), transparent 16rem), linear-gradient(135deg,#e8f8f7,#eee8ff 58%,#ffe9f1); box-shadow: 0 22px 55px rgba(61,53,99,.11); }
.family-heading { max-width: 760px; }
.family-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.family-grid article { padding: 24px; border: 1px solid rgba(69,63,104,.08); border-radius: 20px; background: rgba(255,255,255,.68); }
.family-grid strong { font-family: var(--display); font-size: 1.15rem; font-weight: 900; }
.family-grid p { margin: 8px 0 0; }
.text-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.text-links a { color: #6244a0; font-weight: 900; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 28px 38px; color: #6b7085; font-size: .82rem; }
.site-footer > p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 11px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 16px; }
.site-footer nav a { color: #5e4b82; font-weight: 850; text-decoration: none; }

/* Support and privacy */
.info-main { padding: 8px 0 clamp(64px,8vw,92px); }
.info-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); min-height: 400px; gap: clamp(28px,5vw,62px); padding: clamp(34px,5vw,58px); overflow: hidden; border-radius: 36px; box-shadow: 0 24px 64px rgba(79,48,133,.2); }
.support-page .info-hero { background: radial-gradient(circle at 82% 18%,rgba(255,216,79,.4),transparent 13rem), linear-gradient(135deg,#5034a5 0%,#a84db1 60%,#ed6d8e 100%); }
.privacy-page .info-hero { background: radial-gradient(circle at 88% 15%,rgba(115,201,255,.32),transparent 14rem), linear-gradient(135deg,#245d70 0%,#3c668f 48%,#6d43c6 100%); }
.info-hero-copy { position: relative; z-index: 2; align-self: center; }
.info-hero h1 { color: white; font-size: clamp(2.5rem,5.2vw,4.6rem); }
.info-hero-copy > p:not(.eyebrow) { max-width: 580px; margin-top: 20px; color: rgba(255,255,255,.88); font-size: clamp(1rem,1.6vw,1.16rem); line-height: 1.58; }
.info-art { position: relative; min-height: 300px; }
.info-art-card { border-width: 5px; border-radius: 24px; box-shadow: 0 18px 36px rgba(34,22,68,.28); }
.card-one { z-index: 2; top: 0; right: 0; width: 68%; height: 72%; transform: rotate(2deg); }
.card-two { z-index: 1; bottom: 0; left: 0; width: 56%; height: 53%; transform: rotate(-3deg); }
.card-three { z-index: 3; right: 4%; bottom: 0; width: 42%; height: 40%; transform: rotate(4deg); }
.info-dot { width: 42px; height: 42px; font-size: .76rem; }
.info-dot-one { top: 20%; left: 22%; background: var(--sun); }
.info-dot-two { right: -4px; bottom: 30%; background: var(--aqua); }
.info-dot-three { bottom: 2%; left: 42%; width: 36px; height: 36px; background: #f0a8d1; }

.topic-nav { position: relative; z-index: 5; display: flex; width: fit-content; max-width: calc(100% - 32px); gap: 5px; margin: -20px auto 30px; padding: 7px; overflow-x: auto; border: 1px solid rgba(70,62,110,.1); border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(59,44,97,.14); scrollbar-width: none; }
.topic-nav a { flex: 0 0 auto; padding: 10px 13px; border-radius: 999px; color: #5e4b82; font-size: .76rem; font-weight: 850; text-decoration: none; }
.topic-nav a:hover { background: #eee8ff; }
.info-content { width: min(940px,100%); margin: 0 auto; }
.card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.info-content section, .updated { margin: 0; padding: clamp(22px,3vw,31px); border: 1px solid rgba(64,69,112,.1); border-radius: 21px; background: rgba(255,255,255,.86); box-shadow: 0 10px 26px rgba(49,53,88,.065); scroll-margin-top: 28px; }
.info-content h2 { margin-bottom: 11px; color: var(--ink); font-family: var(--display); font-size: clamp(1.2rem,2vw,1.55rem); font-weight: 900; letter-spacing: -.02em; }
.info-content p, .info-content li { color: #59627a; font-size: .95rem; line-height: 1.64; }
.info-content li + li { margin-top: 6px; }
.info-content p:last-child, .info-content ul:last-child, .info-content ol:last-child { margin-bottom: 0; }
.info-content a { color: #5b3b9e; font-weight: 850; text-underline-offset: 3px; }
.policy-stack { display: grid; gap: 0; overflow: hidden; border: 1px solid rgba(64,69,112,.1); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: 0 14px 34px rgba(49,53,88,.07); }
.policy-stack section, .policy-stack .updated { padding: clamp(24px,4vw,38px); border: 0; border-bottom: 1px solid rgba(64,69,112,.1); border-radius: 0; background: transparent; box-shadow: none; }
.policy-stack section:last-child { border-bottom: 0; }
.updated { color: #657089; text-align: center; font-size: .9rem; font-weight: 800; }

@media (max-width: 900px) {
  .hero, .collection-section, .info-hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 480px; }
  .collection-copy { max-width: 720px; }
  .info-art { min-height: 310px; }
}

@media (max-width: 680px) {
  .site-header, .section, .site-footer, .info-main { width: min(100% - 24px,1120px); }
  .site-header { align-items: flex-start; }
  .brand small { display: none; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding-inline: 10px; font-size: .78rem; }
  .hero { width: calc(100% - 16px); min-height: 0; padding: 38px 22px 28px; border-radius: 30px; }
  .hero h1 { font-size: clamp(3.1rem,16vw,4.8rem); }
  .hero-art { min-height: 390px; }
  .step-grid, .family-grid, .card-grid { grid-template-columns: 1fr; }
  .collection-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; }
  .collection-gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .family-section { margin-bottom: 42px; padding: 30px 22px; border-radius: 27px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
  .info-main { padding-top: 8px; }
  .info-hero { min-height: 0; padding: 28px 22px 22px; border-radius: 27px; }
  .info-hero h1 { font-size: clamp(2.25rem,12vw,3.25rem); }
  .info-art { min-height: 270px; }
  .topic-nav { width: calc(100% - 18px); margin-bottom: 22px; }
}

@media (max-width: 430px) {
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 1.16rem; }
  .site-header nav a { padding-inline: 8px; font-size: .74rem; }
  .hero-art { min-height: 330px; }
  .number-dot { width: 42px; height: 42px; }
  .info-art { min-height: 230px; }
}

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