:root {
  --bg: #101326; --panel: #191d36; --text: #f5f3ff; --muted: #a7aac7;
  --line: rgba(255,255,255,.13); --purple: #a78bfa; --pink: #ff8bc8; --mint: #9ff3d1;
  --yellow: #f7e78b; --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .08; background-image: url("images/grain.svg"); mix-blend-mode: screen; }
.topbar { width: min(var(--max), calc(100% - 48px)); margin: auto; height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.brand { font-size: 1.25rem; font-weight: 850; letter-spacing: -.06em; }
.brand-mark { color: var(--mint); margin-right: 7px; font-size: 1.35rem; }
.dot { color: var(--pink); }
nav { display: flex; gap: 34px; color: var(--muted); font-size: .9rem; }
nav a:hover, .portal-list a:hover strong { color: var(--mint); }
.theme-toggle { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 9px 13px; border-radius: 999px; cursor: pointer; font-size: .85rem; }
.theme-toggle:hover { border-color: var(--mint); }
.hero { min-height: 650px; width: min(var(--max), calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; position: relative; padding: 60px 0 100px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 750; }
.eyebrow { color: var(--mint); display: flex; align-items: center; gap: 10px; }
.pulse { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(159,243,209,.12); }
h1 { font-size: clamp(3.6rem, 7vw, 6.7rem); line-height: .98; letter-spacing: -.085em; margin: 24px 0; font-weight: 850; }
.gradient-text { background: linear-gradient(100deg, var(--mint), #a9b8ff 48%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-intro { max-width: 510px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 999px; padding: 13px 20px; font-weight: 750; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--mint); color: #12172a; box-shadow: 0 8px 30px rgba(159,243,209,.12); }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--text); }
.tiny-note { font-size: .77rem; color: var(--muted); }
.tiny-star { color: var(--yellow); margin-right: 7px; }
.planet-wrap { position: relative; display: grid; place-items: center; min-height: 420px; }
.planet { width: min(100%, 440px); filter: drop-shadow(0 25px 65px rgba(150,104,255,.24)); animation: float 6s ease-in-out infinite; position: relative; z-index: 1; }
.orbit { position: absolute; border: 1px solid rgba(187,168,255,.3); border-radius: 50%; width: 430px; height: 170px; transform: rotate(-24deg); }
.orbit-two { width: 500px; height: 230px; transform: rotate(36deg); border-color: rgba(255,139,200,.2); }
.floaty { position: absolute; color: var(--yellow); font-size: 2rem; animation: twinkle 2.5s ease-in-out infinite; }
.floaty-one { top: 60px; right: 40px; }.floaty-two { bottom: 65px; left: 25px; color: var(--pink); animation-delay: .8s; }
.planet-label { position: absolute; right: 2px; bottom: 50px; font-size: .65rem; letter-spacing: .17em; color: var(--muted); transform: rotate(-7deg); }
.planet-label span { color: var(--mint); }
.scroll-cue { position: absolute; bottom: 30px; left: 0; color: var(--muted); letter-spacing: .16em; font-size: .65rem; }
.scroll-cue span { color: var(--mint); margin-left: 10px; }
.ticker { overflow: hidden; background: var(--mint); color: #11152a; padding: 12px 0; transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { white-space: nowrap; font-size: .78rem; font-weight: 900; letter-spacing: .14em; animation: ticker 25s linear infinite; }
.section { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 125px 0 30px; }
.section-kicker { color: var(--pink); margin-bottom: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
h2 { font-size: clamp(2.8rem, 5vw, 4.7rem); letter-spacing: -.075em; line-height: 1.02; margin: 0; }
.serif-italic { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--pink); letter-spacing: -.06em; }
.section-heading p, .links-layout > div:first-child p { color: var(--muted); max-width: 390px; margin: 0 0 7px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { border-radius: 20px; padding: 27px; min-height: 250px; position: relative; overflow: hidden; color: #16152a; }
.card-lilac { background: #c9b9ff; }.card-peach { background: #ffc3a8; }.card-mint { background: #a7f0d4; }
.card-icon { font-size: 1.7rem; }.value-card h3 { font-size: 1.45rem; letter-spacing: -.04em; margin: 35px 0 6px; }.value-card p { max-width: 260px; margin: 0; color: rgba(22,21,42,.75); font-size: .92rem; }
.card-number { position: absolute; right: 22px; top: 18px; font-size: .7rem; font-weight: 800; opacity: .5; }
.playground { padding-top: 130px; }
.playground-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; background: var(--panel); border: 1px solid var(--line); padding: clamp(25px, 5vw, 60px); border-radius: 28px; align-items: center; }
.playground-copy h2 { margin: 20px 0; }.playground-copy > p:not(.eyebrow) { color: var(--muted); max-width: 400px; margin-bottom: 25px; }
.cosmos-result { min-height: 310px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: radial-gradient(circle at 80% 10%, rgba(167,139,250,.2), transparent 50%), #12152a; }
.crystal { width: 100px; height: 100px; margin-bottom: 18px; }
.result-label { font-size: .65rem; letter-spacing: .14em; color: var(--mint); font-weight: 800; }
.result-text { font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.25; margin: 8px 0 10px; }.result-foot { color: var(--muted); font-size: .8rem; }
.links-section { padding-top: 130px; padding-bottom: 120px; }.links-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }.links-layout h2 { margin-bottom: 25px; }
.portal-list { border-top: 1px solid var(--line); }.portal-list a { display: flex; gap: 17px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }.portal-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: var(--panel); color: var(--mint); font-size: 1.2rem; }.portal-list a > span:nth-child(2) { display: grid; gap: 2px; }.portal-list strong { font-size: .95rem; }.portal-list small { color: var(--muted); font-size: .78rem; }.arrow { margin-left: auto; color: var(--muted); font-size: 1.2rem; }
.closing { text-align: center; padding: 85px 24px 110px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 100%, rgba(167,139,250,.15), transparent 55%); }.rocket { width: 95px; margin-bottom: 15px; }.closing .eyebrow { justify-content: center; }.closing h2 { font-size: clamp(3.7rem, 8vw, 6.4rem); margin: 22px 0 30px; }.back-top { color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; cursor: pointer; }.back-top:hover { border-color: var(--mint); }
footer { width: min(var(--max), calc(100% - 48px)); margin: auto; min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .75rem; }footer .brand { color: var(--text); font-size: 1rem; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--mint); color: #101326; padding: 12px 18px; border-radius: 999px; font-size: .85rem; font-weight: 750; opacity: 0; pointer-events: none; transition: .25s; z-index: 20; box-shadow: 0 10px 40px #0005; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.light { --bg: #f7f4ff; --panel: #fff; --text: #18162d; --muted: #68677e; --line: rgba(24,22,45,.15); }.light .cosmos-result { background: radial-gradient(circle at 80% 10%, rgba(167,139,250,.18), transparent 50%), #f0ecff; }.light .portal-icon { background: #eee9ff; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-15px) rotate(2deg); } }
@keyframes twinkle { 0%,100% { opacity: .45; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(15deg); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 800px) {
  .topbar { width: calc(100% - 32px); height: 72px; }.topbar nav { gap: 14px; font-size: .8rem; }.theme-toggle span { display: none; }
  .hero { width: calc(100% - 32px); grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 75px; }.hero-copy { position: relative; z-index: 1; }.planet-wrap { min-height: 330px; margin-top: 15px; }.planet { max-width: 330px; }.orbit { width: 330px; height: 130px; }.orbit-two { width: 370px; height: 170px; }.planet-label { right: 8%; bottom: 20px; }.scroll-cue { bottom: 15px; }
  .section { width: calc(100% - 32px); padding-top: 85px; }.section-heading, .links-layout { display: block; }.section-heading p { margin-top: 22px; }.value-grid { grid-template-columns: 1fr; }.value-card { min-height: 210px; }.playground-panel { grid-template-columns: 1fr; gap: 35px; }.links-layout > div:first-child p { margin-bottom: 35px; }footer { width: calc(100% - 32px); flex-wrap: wrap; padding: 22px 0; }
}
@media (max-width: 450px) { .topbar nav { gap: 10px; }.topbar nav a { font-size: .72rem; }.brand { font-size: 1.05rem; }h1 { font-size: 3.5rem; }.hero-intro { font-size: 1rem; }.button { padding: 12px 15px; }.planet-wrap { min-height: 280px; }.section-heading h2, .links-layout h2 { font-size: 2.8rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
