@font-face { font-family: Game; src: url('../fonts/MilkyNice-Clean.ttf') format('truetype'); font-display: swap; }
:root { --purple: #5908c4; --purple-light: #853deb; --blue: #334dcc; --amber: #f9bd3b; --ink: #291747; --muted: #635572; --paper: #fffaf1; --border: #e9dff5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 85% 12%, #ffdf9b 0, transparent 35%), var(--paper); font: 1.0625rem/1.65 'Segoe UI', system-ui, sans-serif; }
h1, h2, h3, .brand, .button, .step-number { font-family: Game, 'Trebuchet MS', sans-serif; font-weight: 400; line-height: 1.18; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.035em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: .75rem; }
a { color: var(--purple); text-underline-offset: .22em; }
a:hover { color: #401084; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .75rem 1rem; background: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { background: #fffcf6; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.15rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--purple); font-size: 1.4rem; }
.brand img { flex-shrink: 0; }
.brand small { display: block; font: .75rem/1.5 'Segoe UI', system-ui, sans-serif; color: var(--muted); margin-top: .25rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a[aria-current='page']:not(.button) { text-decoration: underline; text-decoration-thickness: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .95rem 1.5rem; border: 2px solid white; border-radius: 17px; color: white; background: radial-gradient(ellipse at top, #853deb, #5908c4); text-decoration: none; font-size: 1.05rem; box-shadow: 0 4px 0 #401084; cursor: pointer; }
.button:hover { background: var(--purple); color: white; }
.button-small { font-size: .95rem; padding: .65rem 1.1rem; }
.button-outline { background: transparent; color: var(--purple); border-color: var(--purple); box-shadow: none; }
.button-outline:hover { background: #efe5ff; color: var(--purple); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; padding-block: 5rem 4rem; }
.hero h1 span { color: var(--purple); }
.eyebrow { color: var(--purple); text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 1rem; }
.lead { font-size: 1.3rem; line-height: 1.5; }
.hero-copy > p:not(.eyebrow) { max-width: 36rem; }
.hero-copy .actions { margin-block: 1.75rem; }
.quick-facts { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.quick-facts li { padding: .3rem .8rem; border: 1px solid #dbccec; border-radius: 30px; background: #ffffff80; }
.hero-art { position: relative; padding: 2.5rem 1rem 4.5rem; }
.device-mockup { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.device-mockup img { display: block; width: 100%; height: auto; }
.hero-laptop { position: absolute; top: 11%; left: 3%; width: 86%; padding: 2% 1.5% 2.5%; background: linear-gradient(135deg, #45424e, #17151e); border: 1px solid #77717f; border-radius: .8rem .8rem .25rem .25rem; filter: drop-shadow(0 14px 12px #29174730); }
.hero-laptop::before { content: ''; position: absolute; top: 1.2%; left: 50%; width: .8%; aspect-ratio: 1; border-radius: 50%; background: #85818d; }
.hero-laptop::after { content: ''; position: absolute; left: -4%; bottom: -4%; width: 108%; height: 5%; background: linear-gradient(#e9e7ed, #aaa6b2 65%, #787380); clip-path: polygon(0 0, 100% 0, 97% 75%, 93% 100%, 7% 100%, 3% 75%); }
.hero-laptop img { border-radius: .15rem; }
.hero-phone { position: absolute; right: 0; bottom: 4%; width: 26%; padding: 2% 1% 1.5%; background: linear-gradient(135deg, #393540, #131119); border: 1px solid #8e8798; border-radius: 12% / 7%; box-shadow: 5px 12px 20px #29174740; }
.hero-phone::before { content: ''; position: absolute; top: 1.2%; left: 38%; width: 24%; height: 1%; border-radius: 1rem; background: #635d6e; }
.hero-phone img { border-radius: 7% / 4%; }
.art-review { position: absolute; left: -.75rem; bottom: .25rem; width: min(20rem, 80%); padding: .8rem 1.15rem .55rem; background: white; border: 2px solid var(--border); border-radius: 19px; box-shadow: 0 10px 25px #39137d25; transform: rotate(-4deg); }
.review-stars { color: #9e5700; font-size: 1.35rem; line-height: 1; letter-spacing: .12em; }
.art-review blockquote { margin: .35rem 0 .25rem; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.35; }
.reviewer-name { display: block; min-height: .65rem; }
.section { margin-block: 4rem; }
.section-heading { max-width: 48rem; margin: 0 auto 2rem; text-align: center; }
.section-heading > p:last-child { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.category-card { position: relative; color: white; padding: 2rem; border: 3px solid white; border-radius: 27px; box-shadow: 0 8px 25px #29174714; display: flex; flex-direction: column; align-items: flex-start; }
.category-card img { object-fit: contain; height: 72px; margin-bottom: 1.2rem; }
.family-card { background: linear-gradient(140deg, #6d1fd7, #5908c4); }
.feelings-card { background: linear-gradient(140deg, #4560e5, #334dcc); }
.me-card { background: linear-gradient(#fcbd47, #f8983e); color: #401084; }
.card-tag { margin-top: auto; font-size: .8rem; padding: .3rem .8rem; border: 1px solid #ffffff75; border-radius: 30px; }
.play-section { padding: 3rem; background: white; border: 1px solid var(--border); border-radius: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; padding: 0; }
.step-number { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1.2rem; font-size: 1.6rem; background: linear-gradient(#fcbd47, #f8983e); color: var(--purple); }
.steps p { color: var(--muted); }
.play-tip { margin: 1rem 0 0; padding: 1rem 1.5rem; border-radius: 16px; background: #fff4db; }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem; color: white; background: radial-gradient(ellipse at top left, #853deb, #5908c4); border: 3px solid white; border-radius: 30px; }
.callout .eyebrow { color: #ffe09e; }
.callout p:last-child { margin-bottom: 0; }
.callout .button { background: linear-gradient(#fcbd47, #f8983e); color: #401084; box-shadow: 0 4px 0 #381074; flex-shrink: 0; }
.support-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-block: 3rem 4rem; }
.support-strip h2 { font-size: 1.55rem; }
.support-strip p { margin-bottom: 0; color: var(--muted); }
.site-footer { background: #2d1550; color: #f3eaff; padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.site-footer p { margin: .5rem 0; }
.site-footer small { color: #e0cfee; }
.site-footer a { color: #f3eaff; }
.page-heading { max-width: 48rem; padding-block: 3.5rem 1.5rem; }
.page-heading h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
.page-heading > p:last-child { color: var(--muted); font-size: 1.2rem; }
.panel { background: white; padding: 2rem; border: 1px solid var(--border); border-radius: 24px; margin-bottom: 2rem; }
.prose { max-width: 52rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; }
.download-card .button, .download-card .status { margin-top: auto; }
.download-card .platform-status { margin-top: 0; }
.invitation-request { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); width: 100%; }
.button:disabled { opacity: .65; cursor: not-allowed; box-shadow: none; }
.platform-mark { color: var(--purple); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status { display: inline-block; background: #fff1cf; color: #694005; border-radius: 30px; padding: .45rem .9rem; font-size: .9rem; font-weight: 600; }
.notice { padding: 1.1rem 1.5rem; background: #f1e8ff; border: 1px solid #ceb3ef; border-radius: 17px; margin-bottom: 2rem; }
.notice p:last-child { margin-bottom: 0; }
.faq-list { max-width: 54rem; margin-bottom: 4rem; }
details { background: white; padding: 1.3rem 1.6rem; border: 1px solid var(--border); border-radius: 18px; margin-bottom: 1rem; }
summary { color: var(--purple); font-weight: 700; cursor: pointer; }
details p { margin: 1rem 0 0; }
.support-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
form { display: grid; gap: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: white; border: 1px solid #9782af; border-radius: 10px; padding: .7rem .9rem; }
textarea { resize: vertical; min-height: 160px; }
input[type='checkbox'] { width: 1.2rem; height: 1.2rem; flex-shrink: 0; margin-top: .3rem; }
.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; }
.consent label { font-weight: 400; }
.field-help { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.field-validation-error, .validation-summary-errors { color: #9e1823; font-size: .95rem; }
.validation-summary-valid { display: none; }
.validation-summary-errors { padding: .8rem 1rem; background: #fff0f1; border: 1px solid #e6a9af; border-radius: 12px; }
.validation-summary-errors ul { margin: 0; padding-left: 1.2rem; }
.input-validation-error { border-color: #9e1823; }
.honeypot { display: none; }
form .button { justify-self: start; }
.success { background: #eaf6ed; border-color: #a1c8a9; }
.submission-receipt dt { font-weight: 700; }
.submission-receipt dd { margin: 0 0 1rem; }
code { overflow-wrap: anywhere; }
@media print {
  body:has(.submission-receipt) { background: white; color: black; }
  body:has(.submission-receipt) .site-header,
  body:has(.submission-receipt) .site-footer,
  body:has(.submission-receipt) .skip-link,
  body:has(.submission-receipt) .page-heading,
  body:has(.submission-receipt) .support-layout,
  body:has(.submission-receipt) .receipt-print-help { display: none; }
  body:has(.submission-receipt) main { width: 100%; }
  .submission-receipt { background: white; color: black; border: 1px solid black; break-inside: avoid; }
}
@media (max-width: 950px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero { gap: 2rem; padding-top: 3rem; }
  .hero-art { padding: 1.5rem .5rem 3rem; }
  .art-note { padding: .8rem 1rem; left: -.5rem; }
  .card-grid { gap: 1rem; }
  .category-card { padding: 1.5rem; }
  .play-section { padding: 2rem; }
  .support-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 2rem); }
  nav { gap: .6rem 1rem; }
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .hero-art { width: min(380px, 90%); margin: 1rem auto; }
  .card-grid, .steps, .download-grid, .field-row { grid-template-columns: 1fr; }
  .section { margin-block: 2.5rem; }
  .category-card { padding: 1.75rem; }
  .callout { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .panel, .play-section { padding: 1.5rem; }
  .page-heading { padding-top: 2.5rem; }
  .footer-inner nav { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }