:root {
  color-scheme: light;
  --page: #f8f7f4;
  --ink: #202536;
  --muted: #626777;
  --orange: #ff5b21;
  --line: #e4e3df;
  --purple: #a16fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #8955dc; outline-offset: 5px; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 10px 16px; background: white; }

.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; font-weight: 700; font-size: 18px; letter-spacing: -.065em; }
.brand img { width: 42px; height: 40px; object-fit: contain; border-radius: 8px; }
.header-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.header-links a { transition: color .2s; }
.header-links a:hover { color: #d63b00; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 594px;
  padding: 61px 56px 62px;
  overflow: hidden;
  border: 1px solid #313341;
  border-radius: 28px;
  color: #fff;
  background: radial-gradient(ellipse at 83% 39%, #3c285c 0%, #252338 32%, #1b1d2a 60%, #181c28 100%);
  box-shadow: 0 22px 42px -28px #25223465;
}
.hero-copy { position: relative; z-index: 2; width: min(100%, 474px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #ffac84; font-size: 14px; font-weight: 600; letter-spacing: .045em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #ff7845; }
.hero h1 { margin-top: 19px; font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif; font-size: clamp(70px, 7.5vw, 91px); line-height: .99; letter-spacing: -.025em; font-weight: 700; max-width: 430px; text-wrap: balance; }
.hero-description { max-width: 367px; margin-top: 23px; color: #c2c4d1; line-height: 1.75; }
.hero-actions { display: grid; width: min(100%, 337px); gap: 12px; margin-top: 29px; }
.button { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 61px; padding: 13px 19px; overflow: hidden; border-radius: 11px; font-size: 16px; font-weight: 700; line-height: 1.35; transition: transform .22s, box-shadow .22s, border-color .22s, background .22s; }
.button--primary { border: 1px solid #ff8c5e; color: #191e2a; background: linear-gradient(115deg, #ff9662 -20%, #ff7138 33%, #ff5922 100%); box-shadow: 0 8px 22px #f04b0029, inset 0 1px 0 #ffcb9a5c; }
.button--primary::after { content: ""; position: absolute; top: -75%; left: -65%; width: 40%; height: 250%; background: linear-gradient(90deg, transparent, #fff7df61, transparent); transform: translateX(-150%) rotate(24deg); animation: button-shine 5.5s 1s ease-in-out infinite; pointer-events: none; }
.button--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #f4560045, 0 0 0 4px #ff6e241a; }
.button--primary:active, .button--secondary:active { transform: translateY(0); }
.button--secondary { min-height: 67px; border: 1px solid #676073; color: #efecf6; background: #ffffff05; font-size: 15px; font-weight: 600; }
.button--secondary:hover { transform: translateY(-2px); background: #ffffff0d; border-color: #bda1df; }
.registration-label { display: grid; gap: 3px; text-align: left; }
.registration-offer { color: #ffd092; font-size: 13px; font-weight: 700; letter-spacing: .015em; }
.spreadsheet-icon { display: grid; flex: 0 0 19px; grid-template-columns: 1fr 1fr; gap: 3px; width: 19px; height: 19px; }
.spreadsheet-icon i { border: 1.7px solid currentColor; border-radius: 1px; }

.hero-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 54%; display: grid; align-items: center; justify-items: center; pointer-events: none; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(#b4a2db0b 1px, transparent 1px), linear-gradient(90deg, #b4a2db0b 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, black 12%, transparent 68%); transform: rotate(-12deg) scale(1.2); }
.orbital-glow { position: absolute; top: 17%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #8b4bdb38, #7043bb12 49%, transparent 70%); }
.orbit { position: absolute; top: 17%; width: 76%; aspect-ratio: 1; border-radius: 50%; }
.orbit--outer { border: 1px solid #bf98ff35; transform: rotate(-25deg); }
.orbit--outer::before { content: ""; position: absolute; inset: -26px; border: 1px dashed #b69ad924; border-radius: 50%; }
.orbit--inner { width: 58%; top: 26%; border: 1px solid #ad8bed19; animation: orbit-spin 50s linear infinite; }
.orbit--inner::after { content: ""; position: absolute; top: 13%; left: 11%; width: 5px; height: 5px; border-radius: 50%; background: #b7f24a; box-shadow: 0 0 16px #aff64b66; }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; animation: dot-drift 6s ease-in-out infinite; }
.orbit-dot--orange { top: 18%; right: 20%; background: #ff8b44; box-shadow: 0 0 17px #ff844a50; }
.orbit-dot--violet { left: 12%; bottom: 26%; width: 6px; height: 6px; background: #bc87f2; animation-delay: -3s; }
.spark { position: absolute; width: 13px; height: 13px; background: #d8b6ff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spark-pulse 4s ease-in-out infinite; }
.spark--one { top: 26%; left: 9%; }
.spark--two { bottom: 20%; right: 14%; width: 9px; height: 9px; animation-delay: -2s; background: #ffc19a; }
.mascot-float { position: relative; z-index: 1; width: min(96%, 570px); margin-top: 6px; animation: mascot-float 6.5s ease-in-out infinite; }
.mascot { width: 100%; height: auto; filter: drop-shadow(0 23px 24px #09071165); }
.rocket-trail { position: absolute; z-index: 0; bottom: 17%; left: 9%; width: 88px; height: 24px; border-radius: 100%; transform: rotate(-32deg); background: radial-gradient(ellipse at right, #ff804995, #d54b3a36 50%, transparent 72%); filter: blur(5px); animation: trail-pulse 1.8s ease-in-out infinite; }
.motion-toggle { position: absolute; z-index: 3; right: 22px; bottom: 19px; display: flex; align-items: center; gap: 7px; padding: 5px 8px; border: 0; border-radius: 6px; color: #b4a9c8; background: #1e1d2c73; font-size: 12px; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: white; background: #ffffff10; }
.motion-icon { position: relative; width: 9px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
:root[data-motion="paused"] .motion-icon { border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
:root[data-motion="paused"] .animate, :root[data-motion="paused"] .button--primary::after { animation-play-state: paused !important; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 47px 28px 40px; }
.about-heading img { width: 101px; height: auto; margin-bottom: 15px; mix-blend-mode: multiply; }
.about-heading h2 { max-width: 320px; font-size: 26px; font-weight: 600; line-height: 1.27; letter-spacing: -.04em; text-wrap: balance; }
.about-section > p { color: var(--muted); font-size: 16px; line-height: 1.9; }

.guide { margin-top: 8px; padding: 31px 32px 33px; border: 1px solid var(--line); border-radius: 19px; background: #ffffffb3; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.section-heading h2, .faq-section h2 { font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.guide-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 27px; }
.guide-item { padding: 0 28px; border-left: 1px solid var(--line); }
.guide-item:first-child { padding-left: 0; border: 0; }
.guide-item:last-child { padding-right: 0; }
.guide-icon { display: block; margin-bottom: 13px; color: #e54c17; line-height: 0; }
.guide-item h3 { margin-bottom: 6px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.guide-item p { color: var(--muted); font-size: 16px; line-height: 1.8; }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; padding: 44px 28px 36px; }
.faq-section h2 { padding-top: 8px; }
.faq-items details { border-bottom: 1px solid #ddded9; }
.faq-items details:first-child { border-top: 1px solid #ddded9; }
.faq-items summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; list-style: none; font-size: 14px; font-weight: 600; line-height: 1.5; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items details > p { padding: 0 26px 18px 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.faq-plus { position: relative; flex: 0 0 13px; height: 13px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 6px; width: 13px; height: 1.5px; background: #777b85; }
.faq-plus::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .faq-plus::after { transform: rotate(0); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; padding: 25px 0 30px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 13px; font-weight: 700; letter-spacing: -.025em; }
.site-footer p { grid-column: 1; color: #71747d; font-size: 12px; line-height: 1.8; max-width: 630px; }
.copyright { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #71747d; font-size: 12px; }

@keyframes mascot-float { 0%, 100% { transform: translateY(3px) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes dot-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spark-pulse { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.05); } }
@keyframes trail-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes button-shine { 0%, 58% { transform: translateX(-150%) rotate(24deg); } 82%, 100% { transform: translateX(520%) rotate(24deg); } }

@media (min-width: 1450px) {
  .shell { width: min(1240px, calc(100% - 100px)); }
  .hero { padding-inline: 66px; }
  .hero h1 { font-size: 96px; }
  .hero-art { width: 54%; }
}

@media (max-width: 1000px) {
  .shell { width: calc(100% - 44px); }
  .site-header { min-height: 88px; }
  .brand { font-size: 16px; }
  .header-links { gap: 22px; }
  .hero { min-height: 568px; padding: 48px 37px; }
  .hero-copy { width: 46%; }
  .hero h1 { font-size: clamp(60px, 7.6vw, 76px); }
  .hero-description { font-size: 16px; }
  .hero-actions { width: 100%; }
  .button { padding-inline: 10px; gap: 9px; font-size: 14px; }
  .hero-art { width: 53%; }
  .mascot-float { width: 107%; margin-left: -7px; }
  .about-section { gap: 40px; padding-inline: 15px; }
  .guide { padding-inline: 24px; }
  .guide-item { padding-inline: 20px; }
  .section-heading > p { display: none; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 70px; gap: 12px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
  .header-links { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 26px 24px 22px; border-radius: 23px; background: radial-gradient(ellipse at 77% 36%, #443061 0%, #2b263f 31%, #1b1d2a 62%, #181c28 100%); }
  .hero-copy { display: contents; }
  .eyebrow { order: 0; font-size: 12px; letter-spacing: .035em; }
  .hero h1 { order: 1; max-width: none; margin-top: 12px; font-size: clamp(56px, 12.8vw, 80px); line-height: .98; letter-spacing: -.02em; }
  .hero-description { order: 2; max-width: 100%; margin-top: 14px; font-size: 16px; line-height: 1.65; }
  .hero-art { --art-size: clamp(210px, 58vw, 320px); position: relative; order: 4; width: 100%; min-height: 0; height: var(--art-size); margin-top: 24px; }
  .mascot-float { width: min(106%, var(--art-size)); margin-top: 0; margin-left: 0; }
  .orbital-glow { top: 8%; width: 88%; }
  .orbit { top: 8%; width: 88%; }
  .orbit--inner { top: 23%; width: 62%; }
  .orbit-dot--orange { top: 15%; right: 12%; }
  .orbit-dot--violet { left: 0; bottom: 27%; }
  .spark--one { left: -1%; top: 19%; }
  .spark--two { right: 0; bottom: 24%; }
  .rocket-trail { bottom: 8%; left: 5%; }
  .hero-actions { order: 3; width: 100%; gap: 10px; margin-top: 20px; }
  .button { min-height: 59px; font-size: 15px; }
  .button--secondary { min-height: 67px; font-size: 14px; }
  .motion-toggle { top: 27px; right: 18px; bottom: auto; padding: 6px; background: transparent; }
  .motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .about-section { grid-template-columns: 1fr; gap: 13px; padding: 33px 10px 30px; }
  .about-heading img { width: 84px; margin-bottom: 12px; }
  .about-heading h2 { max-width: 280px; font-size: 25px; }
  .about-section > p { font-size: 16px; line-height: 1.85; }
  .guide { margin-top: 0; padding: 24px 22px; border-radius: 17px; }
  .section-heading h2 { max-width: 260px; font-size: 22px; }
  .guide-items { grid-template-columns: 1fr; gap: 22px; margin-top: 23px; }
  .guide-item, .guide-item:first-child, .guide-item:last-child { position: relative; padding: 0 0 0 36px; border: 0; }
  .guide-icon { position: absolute; top: 1px; left: 0; }
  .guide-item h3 { font-size: 15px; }
  .guide-item p { font-size: 16px; line-height: 1.8; }
  .faq-section { grid-template-columns: 1fr; gap: 16px; padding: 29px 10px 32px; }
  .faq-section h2 { padding-top: 0; font-size: 22px; }
  .faq-items summary { font-size: 14px; }
  .faq-items details > p { font-size: 16px; }
  .site-footer { grid-template-columns: 1fr; gap: 9px; padding-block: 24px; }
  .copyright { grid-column: 1; grid-row: auto; margin-top: 4px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 24px); }
  .brand { font-size: 16px; letter-spacing: -.06em; }
  .brand img { width: 28px; height: 28px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: 54px; }
  .hero-description { font-size: 16px; }
  .eyebrow { font-size: 11px; }
  .button { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root:not([data-motion="running"]) .animate,
  :root:not([data-motion="running"]) .button--primary::after { animation: none; }
  .button, .header-links a, .faq-plus::after { transition: none; }
}
