:root {
  color-scheme: dark;
  --bg: #091310;
  --bg-raised: #0e1b17;
  --card: #14231e;
  --card-raised: #1b3028;
  --line: rgba(190, 218, 198, .14);
  --text: #f1f5e9;
  --muted: #a2b3a6;
  --gold: #e8f18a;
  --teal: #72e0bf;
  --violet: #b5a7ff;
  --rose: #ff9d78;
  --success: #8cdeb0;
  --shadow: 0 24px 90px rgba(0, 0, 0, .28);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); }
body, button, input { font-family: "DM Sans", "Segoe UI", sans-serif; }
button, input { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: rgba(246, 216, 138, .3); color: var(--text); }

body[data-theme="aurora"] {
  color-scheme: light;
  --bg: #f5f4eb;
  --bg-raised: #fbfaf4;
  --card: #fffef8;
  --card-raised: #edf0e3;
  --line: rgba(34, 62, 48, .15);
  --text: #1b2a22;
  --muted: #617369;
  --gold: #657d24;
  --teal: #087f70;
  --violet: #6954a9;
  --rose: #b95837;
  --success: #17835e;
  --shadow: 0 24px 70px rgba(72, 59, 32, .1);
}

.page-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; z-index: 10; top: 0; display: flex; height: 76px; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(20px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 216px; height: 51px; }
.brand-symbol { color: var(--gold); font-size: 27px; line-height: 1; }
.brand-gold { color: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: clamp(13px, 1.7vw, 23px); }
.nav-link { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .18s ease; }
.nav-link:hover, .nav-link.nav-current { color: var(--text); }
.nav-link.nav-current { position: relative; }
.nav-link.nav-current::after { position: absolute; right: 0; bottom: -29px; left: 0; height: 2px; background: var(--gold); content: ""; }
.tools-menu { position: relative; }
.tools-menu > summary { list-style: none; }
.tools-menu > summary::-webkit-details-marker { display: none; }
.tools-menu-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer; font-size: 11px; transition: border-color .18s ease, background .18s ease; }
.tools-menu-trigger:hover, .tools-menu[open] > .tools-menu-trigger { border-color: rgba(246, 216, 138, .4); background: rgba(246, 216, 138, .06); }
.chevron { width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.tools-menu[open] .chevron { transform: translateY(2px) rotate(225deg); }
.mega-menu { position: absolute; top: calc(100% + 20px); left: 50%; width: min(1080px, calc(100vw - 48px)); max-height: min(76vh, 740px); overflow: auto; padding: 24px 26px 17px; transform: translateX(-50%); border: 1px solid rgba(186, 200, 244, .19); border-radius: 17px; background: color-mix(in srgb, var(--bg-raised) 97%, transparent); box-shadow: 0 30px 90px rgba(0, 0, 0, .48), 0 0 60px rgba(45, 212, 191, .05); backdrop-filter: blur(24px); scrollbar-color: var(--card-raised) transparent; }
.mega-menu::before { position: absolute; top: -21px; right: 0; left: 0; height: 22px; content: ""; }
.mega-menu-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mega-menu-heading .eyebrow { margin-bottom: 6px; }
.mega-menu-heading h2 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: -.05em; }
.mega-menu-heading > span { color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 8px; letter-spacing: .12em; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px 24px; }
.mega-group { display: flex; min-width: 0; flex-direction: column; align-items: stretch; gap: 1px; }
.mega-group h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 7px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 11px; font-weight: 600; }
.mega-group h3 > span { color: var(--teal); font-family: "Space Grotesk", sans-serif; font-size: 8px; }
.mega-group > a, .mega-group > span { display: flex; min-height: 27px; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 6px; border-radius: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; text-decoration: none; }
.mega-group > a:hover { background: rgba(246, 216, 138, .07); color: var(--gold); }
.mega-group > span { color: color-mix(in srgb, var(--muted) 72%, transparent); }
.mega-group small { flex: 0 0 auto; color: var(--teal); font-size: 7px; white-space: nowrap; }
.mega-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.mega-menu-footer a { color: var(--gold); text-decoration: none; }
.mega-menu-footer a span { margin-left: 6px; }
.menu-toggle { display: none; }

.hero-dashboard { position: relative; display: grid; min-height: 570px; grid-template-columns: .92fr 1.08fr; align-items: center; overflow: hidden; }
.hero-dashboard::before { position: absolute; top: 12%; left: -27%; width: 62%; height: 93%; border-radius: 50%; background: radial-gradient(ellipse, rgba(45, 212, 191, .09), transparent 70%); content: ""; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: 68px 0 78px; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Sora", "Segoe UI", sans-serif; }
.hero-copy h1 { margin-bottom: 19px; font-size: clamp(52px, 6.2vw, 78px); font-weight: 500; letter-spacing: -.075em; line-height: 1.02; }
.hero-copy h1 span, .tool-heading h1 span, .emoji-heading h1 span { color: var(--gold); }
.hero-intro { max-width: 415px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.live-stamp { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.live-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(45, 212, 191, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #171522; box-shadow: 0 0 28px rgba(246, 216, 138, .11); }
.button-gold:hover { box-shadow: 0 8px 32px rgba(246, 216, 138, .22); }
.button-quiet { border-color: var(--line); background: rgba(255, 255, 255, .02); color: var(--text); }
.button-quiet:hover { border-color: rgba(246, 216, 138, .4); }

.hero-visual { position: relative; display: grid; min-height: 500px; place-items: center; isolation: isolate; }
.aurora-glow { position: absolute; z-index: -2; width: 86%; height: 75%; border-radius: 50%; background: radial-gradient(ellipse at 41% 56%, rgba(45, 212, 191, .18), transparent 46%), radial-gradient(ellipse at 62% 43%, rgba(139, 92, 246, .23), transparent 57%), radial-gradient(ellipse at 52% 52%, rgba(246, 216, 138, .06), transparent 70%); filter: blur(20px); }
.star-field { position: absolute; z-index: -1; inset: 4%; opacity: .78; background-image: radial-gradient(1px 1px at 12% 24%, #eaf0ff 65%, transparent), radial-gradient(1px 1px at 80% 17%, #f6d88a 65%, transparent), radial-gradient(1px 1px at 75% 72%, #eaf0ff 65%, transparent), radial-gradient(1px 1px at 25% 77%, #a9b5df 65%, transparent), radial-gradient(1.5px 1.5px at 89% 41%, #eaf0ff 65%, transparent), radial-gradient(1px 1px at 44% 14%, #eaf0ff 65%, transparent), radial-gradient(1px 1px at 17% 55%, #f6d88a 65%, transparent), radial-gradient(1px 1px at 61% 89%, #eaf0ff 65%, transparent), radial-gradient(1px 1px at 95% 82%, #b6a1ff 65%, transparent); animation: stars-breathe 8s ease-in-out infinite alternate; }
.moon-halo { position: absolute; width: 63%; aspect-ratio: 1; border: 1px solid rgba(234, 240, 255, .12); border-radius: 50%; box-shadow: 0 0 80px rgba(139, 92, 246, .12), inset 0 0 40px rgba(45, 212, 191, .04); }
.moon-canvas { position: relative; z-index: 1; display: block; width: min(100%, 450px); height: auto; filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .24)); }
.moon-orbit { position: absolute; width: 89%; height: 46%; border: 1px solid rgba(185, 198, 244, .11); border-radius: 50%; transform: rotate(-28deg); }
.visual-coordinate { position: absolute; color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 8px; letter-spacing: .14em; opacity: .75; }
.coordinate-top { top: 15%; right: 2%; }
.coordinate-bottom { bottom: 9%; left: 9%; }

.dashboard-section, .guide-section, .cycle-section, .tools-section, .about-strip, .faq-section { padding-top: 31px; padding-bottom: 31px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2, .about-strip h2, .content-block h2 { margin: 0; font-size: clamp(25px, 3.2vw, 34px); font-weight: 500; letter-spacing: -.055em; }
.section-note { max-width: 310px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }
.date-control { display: flex; align-items: center; gap: 9px; }
.icon-button { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--text); cursor: pointer; font-size: 15px; }
.icon-button:hover { border-color: var(--gold); color: var(--gold); }
.date-label input, .date-form input { max-width: 155px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-raised); color: var(--text); font-size: 11px; color-scheme: dark; }
body[data-theme="aurora"] .date-label input, body[data-theme="aurora"] .date-form input { color-scheme: light; }
.text-button { padding: 8px 4px; border: 0; background: none; color: var(--gold); cursor: pointer; font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 14px; }
.glass-card { border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, color-mix(in srgb, var(--card-raised) 62%, transparent), color-mix(in srgb, var(--card) 96%, transparent)); box-shadow: 0 8px 40px rgba(0, 0, 0, .08); }
.phase-card, .metrics-card { min-height: 245px; padding: 21px 23px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.card-label, .card-index { color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 8px; font-weight: 600; letter-spacing: .14em; }
.card-index { color: var(--teal); font-size: 8px; }
.phase-readout { display: flex; align-items: center; gap: 15px; min-height: 104px; }
.phase-emoji { color: var(--gold); font-size: 38px; filter: drop-shadow(0 0 13px rgba(246, 216, 138, .27)); }
.phase-readout h3 { margin-bottom: 5px; font-size: 20px; font-weight: 500; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.phase-readout p { margin: 0; font-size: 10px; }
.illumination-row, .result-stat { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; color: var(--muted); font-size: 10px; }
.illumination-row strong, .result-stat strong { color: var(--gold); font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 600; }
.progress-track { height: 5px; overflow: hidden; border-radius: 9px; background: rgba(154, 167, 199, .15); }
.progress-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); transition: width .4s ease; }
.inline-action { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 9px; }
.inline-action span { margin-left: 6px; color: var(--teal); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 22px; }
.metric { display: flex; min-width: 0; flex-direction: column; gap: 4px; padding: 0 0 14px; }
.metric:nth-child(n+3) { padding-top: 11px; border-top: 1px solid var(--line); }
.metric > span, .metric small { color: var(--muted); font-size: 9px; }
.metric strong { overflow: hidden; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 19px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.metric small { font-size: 8px; }
.next-phases { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 12px; }
.next-phase { display: flex; min-height: 85px; align-items: center; gap: 14px; padding: 16px; }
.next-phase-symbol { color: var(--gold); font-size: 25px; }
.new-moon-symbol { color: var(--muted); }
.next-phase > div { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.next-phase strong { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 500; }
.next-phase small { color: var(--muted); font-size: 9px; }
.next-phase > a { color: var(--teal); font-size: 15px; text-decoration: none; }
.hemisphere-toggle { display: grid; grid-template-columns: 1fr 1fr; align-content: center; justify-items: center; min-width: 220px; padding: 12px; }
.hemisphere-toggle .card-label { grid-column: 1 / -1; margin-bottom: 8px; }
.segmented-option { padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; }
.segmented-option.is-selected { border-color: rgba(246, 216, 138, .25); background: rgba(246, 216, 138, .08); color: var(--gold); }

.guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.guide-card { min-height: 158px; padding: 15px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--card) 66%, transparent); }
.guide-icon { display: block; margin-bottom: 9px; color: var(--teal); font-size: 17px; }
.guide-card h3 { margin-bottom: 6px; font-size: 12px; font-weight: 500; }
.rating { display: inline-block; margin-bottom: 9px; font-size: 8px; font-weight: 600; }
.rating-good { color: var(--success); }
.rating-fair { color: var(--gold); }
.rating-poor { color: var(--rose); }
.guide-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

.cycle-card { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 28px; min-height: 240px; padding: 25px 32px; }
.cycle-moon-wrap { position: relative; display: grid; min-height: 174px; place-items: center; }
.cycle-canvas { position: relative; z-index: 1; width: 160px; height: 160px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .18)); }
.cycle-orbit-mark { position: absolute; width: 180px; height: 88px; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-30deg); }
.cycle-orbit-mark::after { position: absolute; top: -4px; left: 34px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); content: ""; box-shadow: 0 0 12px var(--teal); }
.cycle-readout { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cycle-readout .card-label { letter-spacing: .11em; }
.cycle-readout h3 { margin: 5px 0 0; font-size: 22px; font-weight: 500; }
.play-button { width: 38px; height: 38px; color: var(--gold); font-size: 12px; }
.range-label { display: block; }
.range-label input { width: 100%; accent-color: var(--gold); cursor: ew-resize; }
.range-endpoints { display: flex; justify-content: space-between; gap: 3px; margin-top: 8px; color: var(--muted); font-size: 8px; }
.cycle-explainer { max-width: 620px; margin: 15px 0 0; font-size: 9px; line-height: 1.7; }

.tool-search { display: flex; min-width: 225px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); }
.tool-search > span:first-child { color: var(--teal); font-size: 22px; }
.tool-search input { width: 100%; padding: 11px 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 10px; }
.tool-search input::placeholder { color: var(--muted); }
.tool-category { display: flex; align-items: center; gap: 12px; margin: 5px 0 13px; }
.category-label { display: flex; flex: 1; align-items: center; gap: 13px; color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.category-label span { color: var(--teal); font-size: 8px; }
.category-label::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-card { position: relative; display: flex; min-height: 207px; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(246, 216, 138, .38); box-shadow: 0 14px 40px rgba(246, 216, 138, .06); }
.tool-number { position: absolute; top: 17px; right: 16px; color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 8px; opacity: .7; }
.tool-icon { margin: 12px 0 15px; color: var(--gold); font-size: 24px; }
.tool-card h3 { margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.tool-card p { margin-bottom: 14px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.tool-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--teal); font-size: 9px; }
.empty-search { margin: 18px 0; color: var(--muted); font-size: 12px; }
.about-strip { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 54px; margin-top: 34px; padding: 37px 0; }
.about-strip h2 { max-width: 410px; }
.about-strip > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 17px 0; cursor: pointer; font-size: 11px; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { float: right; color: var(--teal); content: "+"; font-size: 17px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 810px; margin: 0; padding: 0 25px 17px 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

.site-footer { margin-top: 32px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-raised) 70%, transparent); }
.footer-main { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; padding-top: 26px; padding-bottom: 20px; }
.footer-brand { grid-column: 1; }
.footer-brand .brand-symbol { font-size: 22px; }
.footer-tagline { grid-column: 1; margin: -3px 0 0 32px; color: var(--muted); font-size: 9px; }
.footer-links { display: flex; grid-column: 2; grid-row: 1 / span 2; flex-wrap: wrap; gap: 21px; }
.footer-links a { color: var(--muted); font-size: 9px; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 13px; padding-bottom: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: min(340px, calc(100vw - 32px)); padding: 12px 17px; transform: translateY(12px); border: 1px solid var(--line); border-radius: 10px; background: var(--card-raised); color: var(--text); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.error-banner { margin-top: 15px; padding: 13px 15px; border: 1px solid rgba(255, 143, 177, .38); border-radius: 9px; background: rgba(255, 143, 177, .1); color: var(--rose); font-size: 11px; line-height: 1.6; }

.tool-page { min-height: 70vh; padding-top: 26px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-size: 9px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.tool-heading { max-width: 660px; padding: 20px 0 24px; }
.tool-heading h1 { margin: 0 0 15px; font-size: clamp(43px, 6vw, 65px); font-weight: 500; letter-spacing: -.075em; line-height: 1.04; }
.tool-heading > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.tool-hero { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 36px; padding: 7px 0 45px; }
.result-card { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 17px; min-width: 0; padding: 20px; overflow: hidden; }
.result-orb { position: relative; display: grid; min-width: 0; aspect-ratio: 1; place-items: center; isolation: isolate; }
.result-aurora { position: absolute; z-index: -1; inset: 7%; border-radius: 50%; background: radial-gradient(ellipse at 45% 54%, rgba(45, 212, 191, .21), transparent 58%), radial-gradient(ellipse at 65% 45%, rgba(139, 92, 246, .22), transparent 66%); filter: blur(12px); }
.result-canvas { width: 100%; max-width: 260px; }
.result-copy { min-width: 0; padding: 7px; }
.result-copy .eyebrow { margin-bottom: 12px; }
.result-emoji { display: block; margin-bottom: 3px; font-size: 27px; }
.result-copy h2 { margin: 0 0 6px; font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; letter-spacing: -.045em; }
.result-date { margin: 0 0 14px; font-size: 9px; }
.result-stat { margin-top: 12px; }
.result-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 13px; margin: 17px 0; }
.result-facts > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.result-facts span { color: var(--muted); font-size: 8px; }
.result-facts strong { overflow: hidden; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.result-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.result-actions .button { min-height: 34px; padding: 0 10px; border-radius: 7px; font-size: 8px; }
.date-form { display: flex; flex-wrap: wrap; align-items: end; gap: 11px; max-width: 475px; margin: 23px 0 0; padding: 15px; }
.date-form label { display: flex; min-width: 125px; flex: 1; flex-direction: column; gap: 7px; color: var(--muted); font-size: 9px; }
.date-form input { width: 100%; max-width: none; padding: 11px 9px; }
.date-form .button { flex: 0 0 auto; }
.form-note { max-width: 430px; margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.content-block { max-width: 790px; padding: 31px 0; }
.content-block h2 { margin-bottom: 13px; }
.content-block h3 { margin: 26px 0 11px; font-size: 12px; font-weight: 500; }
.content-block > p:not(.eyebrow) { color: var(--muted); font-size: 11px; line-height: 1.9; }
.related-links { display: flex; flex-wrap: wrap; gap: 9px; }
.related-links a { display: flex; align-items: center; gap: 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 9px; text-decoration: none; }
.related-links a span { color: var(--teal); }
.related-links a:hover { border-color: rgba(246, 216, 138, .36); }
.faq-block { padding-top: 32px; }
.cycle-progress { margin-top: 16px; }
.cycle-progress-labels { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 8px; }
.unit-word { color: var(--gold); font-size: .65em; letter-spacing: 0; }

.emoji-page { max-width: 1020px; }
.emoji-heading { max-width: 810px; padding-top: 29px; }
.emoji-heading h1 { font-size: clamp(48px, 7vw, 78px); }
.emoji-feature { margin: 12px 0 24px; padding: clamp(18px, 4vw, 34px); }
.emoji-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.emoji-feature-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji-feature-top h2 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -.04em; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; margin-top: 27px; }
.emoji-button { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 10px; padding: 13px 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-raised); color: var(--text); cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.emoji-button:hover { transform: translateY(-3px); border-color: rgba(246, 216, 138, .43); }
.emoji-button .emoji-glyph { font-size: clamp(23px, 4vw, 36px); }
.emoji-button > span:last-child { color: var(--muted); font-size: 8px; }
.emoji-sequence { margin: 20px 0 0; color: var(--gold); font-size: clamp(17px, 3vw, 26px); letter-spacing: .12em; text-align: center; }
.emoji-notes { padding-top: 29px; }
.face-emoji-row { display: flex; flex-wrap: wrap; gap: 9px; }
.face-emoji-button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); cursor: pointer; }
.face-emoji-button > span:first-child { font-size: 23px; }
.face-emoji-button > span:last-child { color: var(--muted); font-size: 9px; }
.unicode-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.unicode-table { width: 100%; border-collapse: collapse; text-align: left; }
.unicode-table th, .unicode-table td { padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 9px; }
.unicode-table th { color: var(--muted); font-weight: 500; }
.unicode-table td { color: var(--text); }
.unicode-table tbody tr:last-child td { border-bottom: 0; }
.unicode-table td:first-child { font-size: 17px; }
.unicode-table td:last-child { color: var(--teal); font-family: "Space Grotesk", sans-serif; }

@keyframes stars-breathe { from { opacity: .5; transform: scale(.99); } to { opacity: .95; transform: scale(1.01); } }

@media (max-width: 900px) {
  .brand-logo { width: 190px; height: 45px; }
  .primary-nav { gap: 11px; }
  .mega-menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-dashboard { min-height: 500px; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 420px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .next-phases { grid-template-columns: 1fr 1fr; }
  .hemisphere-toggle { grid-column: 1 / -1; justify-self: end; min-width: 224px; }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-hero { grid-template-columns: 1fr; gap: 15px; }
  .tool-heading { max-width: 760px; }
  .result-card { max-width: 760px; }
}

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { height: 66px; padding: 0 18px; }
  .brand-logo { width: 188px; height: 44px; }
  .menu-toggle { display: flex; width: 39px; height: 39px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--text); }
  .primary-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; max-height: calc(100vh - 66px); overflow: auto; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav .nav-link { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav-link.nav-current::after { right: auto; bottom: 8px; width: 22px; }
  .tools-menu { width: 100%; border-bottom: 1px solid var(--line); }
  .tools-menu-trigger { width: 100%; justify-content: space-between; padding: 14px 2px; border: 0; border-radius: 0; font-size: 12px; }
  .tools-menu-trigger:hover, .tools-menu[open] > .tools-menu-trigger { border-color: transparent; background: transparent; }
  .mega-menu { position: static; width: auto; max-height: 48vh; margin: 0 0 11px; padding: 14px 11px 12px; transform: none; border-radius: 10px; box-shadow: none; }
  .mega-menu::before { content: none; }
  .mega-menu-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 12px; padding-bottom: 11px; }
  .mega-menu-heading h2 { font-size: 18px; }
  .mega-menu-heading > span { font-size: 7px; }
  .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .mega-group h3 { font-size: 10px; }
  .mega-group > a, .mega-group > span { align-items: flex-start; flex-direction: column; min-height: 32px; font-size: 8px; }
  .mega-group small { font-size: 6px; }
  .mega-menu-footer { align-items: flex-start; flex-direction: column; font-size: 8px; }
  .hero-dashboard { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 0 13px; }
  .hero-copy h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-intro { font-size: 12px; }
  .hero-visual { min-height: 335px; margin-top: -3px; }
  .moon-canvas { width: min(100%, 340px); }
  .moon-halo { width: 69%; }
  .moon-orbit { width: 96%; }
  .coordinate-top { top: 7%; right: 1%; }
  .coordinate-bottom { bottom: 5%; left: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .section-heading h2, .about-strip h2, .content-block h2 { font-size: 27px; }
  .section-note { text-align: left; }
  .date-control { width: 100%; gap: 6px; }
  .date-control .date-label { flex: 1; }
  .date-label input { width: 100%; max-width: none; padding: 9px 6px; font-size: 10px; }
  .text-button { margin-left: 2px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .phase-card, .metrics-card { min-height: auto; padding: 17px; }
  .metric-grid { gap: 0 10px; }
  .next-phases { grid-template-columns: 1fr; }
  .hemisphere-toggle { grid-column: auto; justify-self: stretch; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-card { min-height: 145px; padding: 13px 11px; }
  .guide-card:last-child { grid-column: 1 / -1; }
  .cycle-card { grid-template-columns: 1fr; gap: 4px; padding: 15px; }
  .cycle-moon-wrap { min-height: 156px; }
  .cycle-canvas { width: 140px; height: 140px; }
  .cycle-orbit-mark { width: 159px; height: 80px; }
  .cycle-controls { padding: 0 4px 9px; }
  .range-endpoints { font-size: 6.5px; }
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-card { min-height: 190px; padding: 12px; }
  .tool-card h3 { font-size: 12px; }
  .tool-search { width: 100%; min-width: 0; }
  .about-strip { grid-template-columns: 1fr; gap: 13px; margin-top: 13px; padding: 25px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 13px; padding-top: 22px; }
  .footer-links { grid-column: 1; grid-row: auto; gap: 15px; }
  .footer-tagline { margin-top: -7px; }
  .footer-bottom { flex-direction: column; gap: 7px; line-height: 1.5; }
  .tool-page { padding-top: 20px; }
  .breadcrumbs { margin-bottom: 10px; }
  .tool-heading { padding-top: 18px; }
  .tool-heading h1 { font-size: clamp(43px, 13vw, 59px); }
  .tool-heading > p:not(.eyebrow) { font-size: 11px; }
  .result-card { grid-template-columns: 1fr; gap: 0; padding: 14px; }
  .result-orb { max-width: 240px; justify-self: center; }
  .result-canvas { max-width: 220px; }
  .result-copy { padding: 7px 3px; }
  .result-copy h2 { font-size: 22px; }
  .tool-hero { padding-bottom: 18px; }
  .date-form { align-items: stretch; }
  .date-form .button { width: 100%; }
  .content-block { padding: 24px 0; }
  .emoji-heading { padding-top: 20px; }
  .emoji-feature { padding: 15px 12px; }
  .emoji-feature-top { align-items: flex-start; flex-direction: column; }
  .emoji-feature-actions { width: 100%; }
  .emoji-feature-top h2 { font-size: 18px; }
  .emoji-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 19px; }
  .emoji-button { gap: 6px; padding: 9px 3px; }
  .emoji-button .emoji-glyph { font-size: 30px; }
  .emoji-button > span:last-child { font-size: 7px; }
  .emoji-sequence { line-height: 1.9; }
  .unicode-table th, .unicode-table td { padding: 9px 8px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body[data-page="home"] {
  --bg: #08091a;
  --bg-raised: #101126;
  --card: #10152b;
  --card-raised: #171c39;
  --line: rgba(151, 164, 255, .18);
  --text: #f6f5ff;
  --muted: #a4adcc;
  --gold: #8df7ff;
  --teal: #5af5c6;
  --violet: #b18cff;
  --rose: #ff79d2;
  --success: #5af5c6;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(113, 64, 255, .2), transparent 43%),
    radial-gradient(ellipse at 94% 31%, rgba(26, 226, 219, .075), transparent 32%),
    var(--bg);
}

body[data-page="home"] ::selection { background: rgba(141, 247, 255, .3); }
.site-header { border-bottom-color: rgba(151, 164, 255, .17); background: rgba(8, 9, 26, .83); }
body[data-page="home"] .site-header { box-shadow: 0 8px 40px rgba(5, 6, 24, .2); }
body[data-page="home"] { font-family: "DM Sans", "Segoe UI", sans-serif; }
body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3,
body[data-page="home"] .brand,
body[data-page="home"] .tools-menu-trigger { font-family: "Sora", "Segoe UI", sans-serif; }
body[data-page="home"] .hero-copy h1 {
  max-width: 560px;
  font-size: clamp(52px, 6vw, 76px);
  letter-spacing: -.07em;
  line-height: 1.04;
}
body[data-page="home"] .hero-copy h1 span {
  background: linear-gradient(100deg, #72e0bf 8%, #e8f18a 68%, #ffd28b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(114, 224, 191, .13));
}

body[data-page="home"] {
  --bg: #0a1020;
  --bg-raised: #101a30;
  --card: #131f37;
  --card-raised: #1b2943;
  --line: rgba(169, 190, 222, .17);
  --text: #f3f6ff;
  --muted: #aab8d0;
  --gold: #ffd38a;
  --teal: #73e7d2;
  --violet: #b8a1ff;
  --rose: #ff9cc7;
  --success: #73e7d2;
  background:
    radial-gradient(ellipse at 78% 13%, rgba(90, 107, 190, .14), transparent 34%),
    radial-gradient(ellipse at 6% 51%, rgba(37, 155, 153, .09), transparent 30%),
    var(--bg);
}
body[data-page="home"][data-theme="aurora"] {
  --bg: #f5f6fb;
  --bg-raised: #fbfcff;
  --card: #ffffff;
  --card-raised: #edf1fa;
  --line: rgba(50, 68, 108, .16);
  --text: #18243a;
  --muted: #5e6d86;
  --gold: #a66619;
  --teal: #087f78;
  --violet: #6b56b5;
  --rose: #b94778;
  --success: #087f78;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(174, 165, 237, .16), transparent 34%),
    radial-gradient(ellipse at 10% 54%, rgba(113, 215, 199, .12), transparent 32%),
    var(--bg);
}
body[data-page="home"] .site-header {
  border-bottom-color: rgba(169, 190, 222, .15);
  background: rgba(10, 16, 32, .84);
}
body[data-page="home"][data-theme="aurora"] .site-header {
  border-bottom-color: rgba(50, 68, 108, .12);
  background: rgba(245, 246, 251, .88);
}
body[data-page="home"] .hero-dashboard::before {
  background: radial-gradient(ellipse, rgba(115, 231, 210, .09), transparent 70%);
}
body[data-page="home"] .hero-copy .eyebrow {
  border-color: rgba(115, 231, 210, .24);
  background: rgba(115, 231, 210, .07);
  color: #9cf2e3;
}
body[data-page="home"][data-theme="aurora"] .hero-copy .eyebrow { color: #087f78; }
body[data-page="home"] .hero-copy h1 span {
  background: linear-gradient(100deg, #73e7d2 2%, #b8a1ff 52%, #ffd38a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
body[data-page="home"] .hero-intro { color: var(--muted); }
body[data-page="home"] .button-gold {
  border-color: rgba(115, 231, 210, .6);
  background: linear-gradient(110deg, #73e7d2, #9cbcff);
  color: #0b1724;
  box-shadow: 0 7px 32px rgba(91, 193, 191, .2);
}
body[data-page="home"] .button-gold:hover { box-shadow: 0 9px 38px rgba(91, 193, 191, .34); }
body[data-page="home"] .button-quiet {
  border-color: rgba(169, 190, 222, .23);
  background: rgba(20, 30, 53, .82);
}
body[data-page="home"][data-theme="aurora"] .button-quiet { background: rgba(255, 255, 255, .82); }
body[data-page="home"] .aurora-glow {
  background:
    radial-gradient(ellipse at 39% 54%, rgba(115, 231, 210, .2), transparent 48%),
    radial-gradient(ellipse at 63% 43%, rgba(132, 116, 230, .22), transparent 59%),
    radial-gradient(ellipse at 55% 64%, rgba(255, 211, 138, .11), transparent 70%);
}
body[data-page="home"] .moon-halo {
  border-color: rgba(190, 207, 246, .24);
  box-shadow: 0 0 95px rgba(120, 116, 226, .19), 0 0 55px rgba(68, 216, 196, .12), inset 0 0 52px rgba(115, 231, 210, .08);
}
body[data-page="home"] .moon-orbit { border-color: rgba(177, 192, 227, .2); }
body[data-page="home"] .visual-coordinate { color: #bac8e0; }
body[data-page="home"] .section-heading .eyebrow,
body[data-page="home"] .tool-link,
body[data-page="home"] .mega-menu-footer a { color: var(--teal); }
body[data-page="home"] .glass-card {
  border-color: rgba(169, 190, 222, .17);
  background: linear-gradient(145deg, rgba(23, 34, 59, .95), rgba(15, 25, 45, .96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .19), inset 0 1px rgba(255, 255, 255, .04);
}
body[data-page="home"][data-theme="aurora"] .glass-card {
  border-color: rgba(50, 68, 108, .15);
  background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(244, 247, 253, .96));
  box-shadow: 0 16px 44px rgba(49, 65, 105, .08), inset 0 1px rgba(255, 255, 255, .8);
}
body[data-page="home"] .guide-card,
body[data-page="home"] .tool-card {
  border-color: rgba(169, 190, 222, .16);
  background: linear-gradient(145deg, #16233d, #111c32);
}
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .tool-card {
  border-color: rgba(50, 68, 108, .14);
  background: linear-gradient(145deg, #fff, #f0f4fb);
}
body[data-page="home"] .guide-card:hover,
body[data-page="home"] .tool-card:hover {
  border-color: rgba(115, 231, 210, .58);
  box-shadow: 0 16px 42px rgba(61, 174, 169, .13);
}
body[data-page="home"] .cycle-card {
  border-color: rgba(169, 190, 222, .2);
  background: radial-gradient(ellipse at 13% 50%, rgba(115, 231, 210, .1), transparent 48%), linear-gradient(120deg, #15233c, #111b31 65%, #18213a);
}
body[data-page="home"][data-theme="aurora"] .cycle-card {
  border-color: rgba(50, 68, 108, .15);
  background: radial-gradient(ellipse at 13% 50%, rgba(115, 210, 197, .12), transparent 48%), linear-gradient(120deg, #fff, #f1f3fb 65%, #f8f5ff);
}
body[data-page="home"] .tool-search { border-color: rgba(169, 190, 222, .21); background: rgba(15, 25, 45, .78); }
body[data-page="home"][data-theme="aurora"] .tool-search { background: rgba(255, 255, 255, .9); }
body[data-page="home"] .site-footer { border-top-color: rgba(169, 190, 222, .15); background: linear-gradient(180deg, rgba(16, 26, 48, .76), #0a1020 78%); }
body[data-page="home"][data-theme="aurora"] .site-footer { background: linear-gradient(180deg, rgba(237, 241, 250, .85), #f5f6fb 78%); }
body[data-page="home"] .nav-cta {
  border-color: rgba(115, 231, 210, .42);
  background: linear-gradient(120deg, rgba(115, 231, 210, .14), rgba(184, 161, 255, .1));
  color: #c8fff4;
}
body[data-page="home"][data-theme="aurora"] .nav-cta { color: #245c59; }
body[data-page="home"] .moon-guide {
  padding-top: 72px;
  padding-bottom: 76px;
}
body[data-page="home"] .moon-guide::before {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(115, 231, 210, .09), transparent 36%),
    radial-gradient(ellipse at 87% 77%, rgba(184, 161, 255, .09), transparent 35%),
    linear-gradient(100deg, transparent, rgba(17, 29, 52, .44) 12%, rgba(17, 29, 52, .44) 88%, transparent);
}
body[data-page="home"][data-theme="aurora"] .moon-guide::before {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(115, 210, 197, .12), transparent 36%),
    radial-gradient(ellipse at 87% 77%, rgba(184, 161, 255, .12), transparent 35%),
    linear-gradient(100deg, transparent, rgba(228, 232, 245, .6) 12%, rgba(228, 232, 245, .6) 88%, transparent);
}
.moon-guide-heading {
  position: relative;
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}
.moon-guide-heading .eyebrow { margin-bottom: 14px; }
.moon-guide-heading h2 {
  margin: 0 auto 15px;
  font-size: clamp(31px, 4.4vw, 50px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.13;
}
.moon-guide-intro {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.moon-guide-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.moon-guide-meta span,
.moon-guide-aside-label {
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}
.moon-guide-meta span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 68%, transparent);
}
.moon-guide-layout {
  display: grid;
  grid-template-columns: minmax(205px, .7fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(25px, 5vw, 66px);
}
.moon-guide-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--card) 94%, var(--teal)), var(--card));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}
.moon-guide-aside > strong {
  margin-top: 22px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -.06em;
}
.moon-guide-aside > strong small { color: var(--teal); font-size: 15px; letter-spacing: 0; }
.moon-guide-aside > p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.moon-guide-aside-rule { height: 1px; margin-top: 21px; background: var(--line); }
.moon-guide-aside > a,
.moon-guide-inline-link {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.moon-guide-aside > a { display: flex; justify-content: space-between; gap: 12px; margin-top: 23px; }
.moon-guide-aside > a:hover,
.moon-guide-inline-link:hover { color: var(--gold); }
.moon-guide-content {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-raised) 82%, transparent);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .12), inset 0 1px rgba(255, 255, 255, .025);
}
body[data-page="home"][data-theme="aurora"] .moon-guide-content {
  border-color: rgba(197, 160, 255, .22);
  background: linear-gradient(145deg, rgba(32, 33, 63, .97), rgba(25, 26, 54, .98));
  box-shadow: 0 24px 65px rgba(4, 3, 18, .28), inset 0 1px rgba(255, 255, 255, .035);
}
.moon-guide-content section + section { margin-top: 34px; padding-top: 31px; border-top: 1px solid var(--line); }
.moon-guide-content h3 {
  margin: 0 0 13px;
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.3;
}
.moon-guide-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
.moon-guide-content p strong { color: var(--text); font-weight: 600; }
.moon-guide-content p a:not(.moon-guide-inline-link) {
  color: var(--teal);
  text-decoration-color: color-mix(in srgb, var(--teal) 45%, transparent);
  text-underline-offset: 3px;
}
.moon-guide-content p a:not(.moon-guide-inline-link):hover { color: var(--gold); }
.moon-guide-inline-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 2px; }
.moon-guide-conclusion {
  padding: 25px;
  border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--line));
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(115, 231, 210, .09), rgba(184, 161, 255, .08));
}
.moon-guide-content .moon-guide-conclusion { margin-top: 36px; padding-top: 25px; border-top: 1px solid color-mix(in srgb, var(--teal) 30%, var(--line)); }
.moon-guide-conclusion .eyebrow { margin-bottom: 11px; }
.moon-guide-content .moon-guide-conclusion h3 { margin-bottom: 10px; }
.moon-guide-content .moon-guide-conclusion p:last-child { margin-bottom: 0; }
body[data-page="home"] .faq-section { padding-top: 65px; padding-bottom: 28px; }
body[data-page="home"] .faq-section .section-heading { margin-bottom: 23px; }
body[data-page="home"] .faq-intro { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
body[data-page="home"] .faq-item {
  margin-bottom: 10px;
  padding: 0 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--card) 76%, transparent);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
body[data-page="home"] .faq-item[open] {
  border-color: color-mix(in srgb, var(--teal) 43%, var(--line));
  background: color-mix(in srgb, var(--card) 93%, var(--teal));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}
body[data-page="home"] .faq-item summary {
  padding: 19px 30px 19px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
body[data-page="home"] .faq-item summary::after { font-size: 21px; line-height: 1; }
body[data-page="home"] .faq-item p {
  max-width: 860px;
  padding: 0 30px 20px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
body[data-page="home"][data-theme="aurora"] .faq-item { background: rgba(255, 255, 255, .68); }
body[data-page="home"][data-theme="aurora"] .faq-item[open] { background: rgba(255, 255, 255, .98); }

@media (max-width: 760px) {
  body[data-page="home"] .moon-guide { padding-top: 48px; padding-bottom: 50px; }
  .moon-guide-heading { margin-bottom: 26px; text-align: left; }
  .moon-guide-layout { grid-template-columns: 1fr; gap: 19px; }
  .moon-guide-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 18px; }
  .moon-guide-aside-label { grid-column: 1 / -1; }
  .moon-guide-aside > strong { margin-top: 9px; font-size: 31px; }
  .moon-guide-aside > p { margin: 0; }
  .moon-guide-aside-rule { display: none; }
  .moon-guide-aside > a { grid-column: 1 / -1; margin-top: 8px; }
  .moon-guide-content { padding: 23px; border-radius: 17px; }
  body[data-page="home"] .faq-section { padding-top: 45px; }
}
@media (max-width: 480px) {
  .moon-guide-heading h2 { font-size: clamp(29px, 9vw, 39px); }
  .moon-guide-intro { font-size: 13px; }
  .moon-guide-meta { justify-content: flex-start; gap: 6px; }
  .moon-guide-meta span { font-size: 7px; }
  .moon-guide-content { padding: 19px; }
  .moon-guide-content p { font-size: 13px; line-height: 1.85; }
  .moon-guide-content section + section { margin-top: 27px; padding-top: 25px; }
  .moon-guide-conclusion { padding: 18px; }
  body[data-page="home"] .faq-item { padding-inline: 14px; }
  body[data-page="home"] .faq-item summary { font-size: 13px; }
}
body[data-page="home"] .site-header { min-height: 88px; height: auto; padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(132, 105, 255, .28); background: linear-gradient(100deg, rgba(10, 10, 34, .97), rgba(17, 14, 48, .97) 48%, rgba(8, 28, 43, .97)); box-shadow: 0 14px 50px rgba(0, 0, 0, .32), 0 1px rgba(90, 245, 198, .09); }
body[data-page="home"] .primary-nav { gap: clamp(9px, 1.2vw, 17px); }
body[data-page="home"] .nav-menu { position: static; }
body[data-page="home"] .nav-menu > .tools-menu-trigger { min-height: 43px; padding: 0 13px; border: 1px solid rgba(157, 141, 255, .24); border-radius: 999px; background: linear-gradient(130deg, rgba(134, 102, 255, .1), rgba(84, 240, 207, .035)); font-size: 11px; font-weight: 600; white-space: nowrap; }
body[data-page="home"] .nav-menu:nth-of-type(2) > .tools-menu-trigger { border-color: rgba(90, 245, 198, .28); }
body[data-page="home"] .nav-menu:nth-of-type(3) > .tools-menu-trigger { border-color: rgba(255, 121, 210, .27); }
body[data-page="home"] .mega-menu { position: fixed; top: 78px; left: 50%; width: min(1000px, calc(100vw - 48px)); max-height: min(78vh, 690px); padding: 24px; transform: translateX(-50%); border: 1px solid rgba(141, 247, 255, .25); background: linear-gradient(145deg, rgba(17, 17, 48, .985), rgba(8, 19, 39, .985)); box-shadow: 0 30px 100px rgba(0, 0, 0, .68), 0 0 70px rgba(129, 99, 255, .14), inset 0 1px rgba(255,255,255,.04); }
body[data-page="home"] .mega-menu::before { content: none; }
body[data-page="home"] .mega-menu-right { left: auto; right: max(24px, calc((100vw - 1160px) / 2)); transform: none; }
body[data-page="home"] .mega-menu-heading .eyebrow { color: var(--teal); }
body[data-page="home"] .mega-menu-heading h2 { font-family: "Sora", sans-serif; font-size: 26px; }
body[data-page="home"] .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 34px; }
body[data-page="home"] .mega-group { padding: 14px; border: 1px solid rgba(151, 164, 255, .14); border-radius: 13px; background: linear-gradient(145deg, rgba(141, 247, 255, .035), rgba(177, 140, 255, .045)); }
body[data-page="home"] .mega-group h3 { margin-bottom: 9px; padding-bottom: 11px; font-family: "Sora", sans-serif; font-size: 13px; }
body[data-page="home"] .mega-group > a { min-height: 34px; padding: 7px 8px; color: #c1c9e5; font-size: 10px; }
body[data-page="home"] .mega-group > a::after { color: rgba(90, 245, 198, .75); content: "↗"; font-size: 10px; opacity: 0; transition: opacity .15s ease, transform .15s ease; }
body[data-page="home"] .mega-group > a:hover { color: #fff; }
body[data-page="home"] .mega-group > a:hover::after { transform: translateX(2px); opacity: 1; }
body[data-page="home"] .mega-menu-footer { font-size: 10px; }
body[data-page="home"] .mega-menu-footer a { color: var(--teal); font-weight: 700; }
body[data-page="home"] .brand-logo { filter: drop-shadow(0 0 15px rgba(90, 245, 198, .14)); }
body[data-page="home"] .nav-link { font-size: 12px; font-weight: 500; }
body[data-page="home"] .nav-link:hover,
body[data-page="home"] .nav-link.nav-current { color: #fff; }
body[data-page="home"] .nav-link.nav-current::after { background: linear-gradient(90deg, var(--teal), var(--gold)); box-shadow: 0 0 14px rgba(90, 245, 198, .65); }
body[data-page="home"] .tools-menu-trigger { border-color: rgba(141, 247, 255, .25); background: rgba(141, 247, 255, .045); }
body[data-page="home"] .tools-menu-trigger:hover,
body[data-page="home"] .tools-menu[open] > .tools-menu-trigger { border-color: rgba(141, 247, 255, .6); background: rgba(141, 247, 255, .1); box-shadow: 0 0 24px rgba(73, 237, 226, .1); }
.nav-cta { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(90, 245, 198, .38); border-radius: 999px; background: linear-gradient(110deg, rgba(90, 245, 198, .14), rgba(141, 247, 255, .08)); color: #c6fff0; font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.nav-cta:hover { transform: translateY(-1px); border-color: var(--teal); box-shadow: 0 0 26px rgba(90, 245, 198, .19); }
.nav-cta span { color: var(--teal); }
body[data-page="home"] .mega-menu { border-color: rgba(141, 247, 255, .2); background: rgba(12, 14, 36, .97); box-shadow: 0 30px 100px rgba(0, 0, 0, .6), 0 0 75px rgba(88, 81, 255, .12); }
body[data-page="home"] .mega-group > a:hover { background: rgba(141, 247, 255, .08); color: var(--gold); }

body[data-page="home"] .hero-dashboard { min-height: 630px; }
body[data-page="home"] .hero-dashboard::before { top: 1%; left: -38%; width: 82%; height: 105%; background: radial-gradient(ellipse, rgba(30, 225, 205, .13), transparent 67%); }
body[data-page="home"] .hero-copy { padding-top: 80px; padding-bottom: 88px; }
body[data-page="home"] .hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; padding: 9px 13px; border: 1px solid rgba(90, 245, 198, .2); border-radius: 999px; background: rgba(90, 245, 198, .055); color: #9fffe0; font-size: 9px; letter-spacing: .16em; }
body[data-page="home"] .hero-copy h1 { max-width: 580px; margin-bottom: 23px; font-size: clamp(61px, 7.2vw, 91px); font-weight: 500; letter-spacing: -.085em; line-height: .99; }
body[data-page="home"] .hero-copy h1 span { background: linear-gradient(100deg, #64f3d1 5%, #82edff 48%, #c29aff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(91, 245, 218, .16)); }
body[data-page="home"] .hero-intro { max-width: 435px; color: #b3bddb; font-size: 14px; line-height: 1.85; }
body[data-page="home"] .live-stamp { padding: 10px 13px; border: 1px solid rgba(151, 164, 255, .14); border-radius: 8px; background: rgba(18, 21, 48, .56); font-size: 9px; }
body[data-page="home"] .live-pulse { box-shadow: 0 0 16px rgba(90, 245, 198, .8); }
body[data-page="home"] .button-gold { border: 1px solid rgba(141, 247, 255, .75); background: linear-gradient(105deg, #55eec8, #86eaff); color: #07111d; box-shadow: 0 5px 30px rgba(67, 229, 213, .18); }
body[data-page="home"] .button-gold:hover { box-shadow: 0 8px 38px rgba(67, 229, 213, .34); }
body[data-page="home"] .button-quiet { border-color: rgba(151, 164, 255, .24); background: rgba(15, 18, 43, .72); }
body[data-page="home"] .button-quiet:hover { border-color: rgba(177, 140, 255, .7); box-shadow: 0 0 24px rgba(177, 140, 255, .12); }
body[data-page="home"] .hero-visual { min-height: 550px; }
body[data-page="home"] .aurora-glow { width: 99%; height: 90%; background: radial-gradient(ellipse at 39% 54%, rgba(37, 234, 210, .25), transparent 48%), radial-gradient(ellipse at 63% 43%, rgba(139, 76, 255, .34), transparent 59%), radial-gradient(ellipse at 55% 64%, rgba(255, 87, 198, .12), transparent 70%); filter: blur(28px); }
body[data-page="home"] .star-field { inset: 0; opacity: .95; }
body[data-page="home"] .moon-halo { width: 70%; border-color: rgba(182, 196, 255, .21); box-shadow: 0 0 100px rgba(95, 84, 255, .24), 0 0 55px rgba(50, 244, 209, .1), inset 0 0 55px rgba(45, 226, 214, .08); }
body[data-page="home"] .moon-canvas { width: min(100%, 470px); filter: drop-shadow(0 20px 45px rgba(29, 30, 74, .56)); }
body[data-page="home"] .moon-orbit { border-color: rgba(158, 178, 255, .19); box-shadow: 0 0 30px rgba(102, 119, 255, .06); }
body[data-page="home"] .visual-coordinate { color: #bbc6e9; font-size: 8px; }

body[data-page="home"] .dashboard-section,
body[data-page="home"] .guide-section,
body[data-page="home"] .cycle-section,
body[data-page="home"] .tools-section,
body[data-page="home"] .faq-section { padding-top: 42px; padding-bottom: 42px; }
body[data-page="home"] .section-heading { margin-bottom: 26px; }
body[data-page="home"] .section-heading .eyebrow { color: var(--teal); }
body[data-page="home"] .section-heading h2,
body[data-page="home"] .about-strip h2 { font-size: clamp(29px, 3.5vw, 39px); }
body[data-page="home"] .glass-card { border-color: rgba(151, 164, 255, .19); background: linear-gradient(145deg, rgba(23, 28, 57, .92), rgba(13, 16, 37, .94)); box-shadow: 0 18px 54px rgba(0, 0, 0, .19), inset 0 1px rgba(255, 255, 255, .035); }
body[data-page="home"] .phase-card,
body[data-page="home"] .metrics-card { min-height: 260px; }
body[data-page="home"] .card-index,
body[data-page="home"] .metric strong { color: var(--teal); }
body[data-page="home"] .phase-emoji { filter: drop-shadow(0 0 20px rgba(141, 247, 255, .34)); }
body[data-page="home"] .progress-track > span { background: linear-gradient(90deg, #8b72ff, #52eed4, #8df7ff); box-shadow: 0 0 14px rgba(80, 238, 212, .3); }
body[data-page="home"] .next-phase { border-color: rgba(151, 164, 255, .17); }
body[data-page="home"] .next-phase-symbol { color: var(--gold); filter: drop-shadow(0 0 11px rgba(141, 247, 255, .32)); }
body[data-page="home"] .guide-card { border-color: rgba(151, 164, 255, .16); background: linear-gradient(145deg, rgba(21, 25, 53, .93), rgba(13, 16, 36, .9)); }
body[data-page="home"] .guide-card:hover,
body[data-page="home"] .tool-card:hover { border-color: rgba(90, 245, 198, .58); box-shadow: 0 15px 45px rgba(42, 229, 202, .09); }
body[data-page="home"] .guide-icon { color: var(--gold); text-shadow: 0 0 17px rgba(141, 247, 255, .32); }
body[data-page="home"] .cycle-card { border-color: rgba(151, 164, 255, .22); background: radial-gradient(ellipse at 13% 50%, rgba(71, 72, 184, .19), transparent 47%), linear-gradient(120deg, #11152e, #101429 62%, #11162d); }
body[data-page="home"] .cycle-orbit-mark { border-color: rgba(141, 247, 255, .2); }
body[data-page="home"] .cycle-orbit-mark::after { box-shadow: 0 0 18px var(--teal); }
body[data-page="home"] .tool-card { border-color: rgba(151, 164, 255, .18); background: linear-gradient(150deg, #151a35, #0e1128); }
body[data-page="home"] .tool-card:hover { transform: translateY(-6px); }
body[data-page="home"] .tool-icon { color: var(--gold); text-shadow: 0 0 20px rgba(141, 247, 255, .32); }
body[data-page="home"] .tool-number { color: #808cb9; }
body[data-page="home"] .tool-link { color: var(--teal); font-weight: 600; }
body[data-page="home"] .tool-search { border-color: rgba(151, 164, 255, .2); background: rgba(16, 18, 43, .7); }
body[data-page="home"] .tool-search:focus-within { border-color: rgba(90, 245, 198, .55); box-shadow: 0 0 22px rgba(90, 245, 198, .08); }
body[data-page="home"] .about-strip { border-color: rgba(151, 164, 255, .19); }
body[data-page="home"] .faq-item { border-color: rgba(151, 164, 255, .17); }
body[data-page="home"] .faq-item summary:hover { color: var(--gold); }

body[data-page="home"] .site-footer { position: relative; margin-top: 45px; overflow: hidden; border-top: 1px solid rgba(151, 164, 255, .2); background: linear-gradient(180deg, rgba(13, 15, 38, .75), #090a1b 72%); }
body[data-page="home"] .site-footer::before { position: absolute; top: -130px; left: 15%; width: 70%; height: 170px; border-radius: 50%; background: rgba(90, 245, 198, .08); content: ""; filter: blur(60px); pointer-events: none; }
body[data-page="home"] .footer-main { position: relative; display: grid; grid-template-columns: minmax(260px, 1.3fr) 1fr 1fr; align-items: start; gap: 54px; padding-top: 48px; padding-bottom: 43px; }
body[data-page="home"] .footer-brand-panel { display: flex; flex-direction: column; align-items: flex-start; }
body[data-page="home"] .footer-brand .brand-logo { width: 220px; height: auto; }
body[data-page="home"] .footer-tagline { margin: 14px 0 18px; color: #a4adcc; font-size: 13px; line-height: 1.8; }
body[data-page="home"] .footer-live { display: inline-flex; align-items: center; gap: 8px; color: #9ba7c8; font-family: "Space Grotesk", sans-serif; font-size: 8px; font-weight: 600; letter-spacing: .09em; }
body[data-page="home"] .footer-live .live-dot { margin: 0; }
body[data-page="home"] .footer-links { display: flex; grid-column: auto; grid-row: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
body[data-page="home"] .footer-links h2 { margin: 2px 0 8px; color: #f1f2ff; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 600; }
body[data-page="home"] .footer-links a { color: #a4adcc; font-size: 11px; text-decoration: none; transition: color .18s ease, transform .18s ease; }
body[data-page="home"] .footer-links a:hover { transform: translateX(3px); color: var(--teal); }
body[data-page="home"] .footer-bottom { position: relative; align-items: center; padding-top: 17px; padding-bottom: 19px; border-color: rgba(151, 164, 255, .14); color: #828cab; font-size: 9px; }
body[data-page="home"] .footer-bottom a { color: #a5b4df; text-decoration-color: rgba(141, 247, 255, .3); text-underline-offset: 3px; }
body[data-page="home"] .footer-bottom a:hover { color: var(--gold); }

@media (max-width: 1040px) {
  body[data-page="home"] .primary-nav { gap: 10px; }
  body[data-page="home"] .nav-cta { padding-inline: 11px; font-size: 10px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(57px, 7vw, 78px); }
  body[data-page="home"] .footer-main { gap: 30px; }
}

@media (max-width: 640px) {
  body[data-page="home"] .site-header { border-bottom-color: rgba(141, 247, 255, .18); }
  body[data-page="home"] .menu-toggle { border-color: rgba(141, 247, 255, .26); background: #11152e; }
  body[data-page="home"] .menu-toggle span { background: var(--gold); }
  body[data-page="home"] .primary-nav { border-color: rgba(141, 247, 255, .18); background: rgba(8, 9, 26, .98); }
  body[data-page="home"] .primary-nav .nav-link { border-color: rgba(151, 164, 255, .13); }
  body[data-page="home"] .nav-cta { align-self: flex-start; margin-top: 14px; padding-inline: 15px; font-size: 11px; }
  body[data-page="home"] .hero-copy { padding-top: 43px; }
  body[data-page="home"] .hero-copy .eyebrow { margin-bottom: 19px; font-size: 8px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(54px, 14.5vw, 72px); }
  body[data-page="home"] .hero-intro { max-width: 360px; font-size: 12px; }
  body[data-page="home"] .hero-visual { min-height: 360px; }
  body[data-page="home"] .dashboard-section,
  body[data-page="home"] .guide-section,
  body[data-page="home"] .cycle-section,
  body[data-page="home"] .tools-section,
  body[data-page="home"] .faq-section { padding-top: 30px; padding-bottom: 30px; }
  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .about-strip h2 { font-size: 28px; }
  body[data-page="home"] .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-top: 35px; padding-bottom: 30px; }
  body[data-page="home"] .footer-brand-panel { grid-column: 1 / -1; }
  body[data-page="home"] .footer-brand .brand-logo { width: 205px; }
  body[data-page="home"] .footer-links { gap: 10px; }
  body[data-page="home"] .footer-links h2 { font-size: 11px; }
  body[data-page="home"] .footer-links a { font-size: 10px; }
  body[data-page="home"] .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; line-height: 1.7; }
}

body[data-page="home"][data-theme="aurora"] {
  --bg: #f5f4eb;
  --bg-raised: #fbfaf4;
  --card: #fffef8;
  --card-raised: #edf0e3;
  --line: rgba(34, 62, 48, .15);
  --text: #1b2a22;
  --muted: #617369;
  --gold: #657d24;
  --teal: #087f70;
  --violet: #6954a9;
  --rose: #b95837;
  --success: #17835e;
  background: radial-gradient(ellipse at 50% -18%, rgba(130, 153, 75, .11), transparent 43%), #f5f4eb;
}
body[data-page="home"][data-theme="aurora"] .site-header,
body[data-page="home"][data-theme="aurora"] .primary-nav { border-color: rgba(64, 74, 132, .16); background: rgba(247, 245, 255, .94); }
body[data-page="home"][data-theme="aurora"] .nav-cta { border-color: rgba(8, 126, 105, .3); background: rgba(8, 126, 105, .08); color: #07594d; }
body[data-page="home"][data-theme="aurora"] .hero-copy .eyebrow { border-color: rgba(8, 126, 105, .2); background: rgba(8, 126, 105, .06); color: #07594d; }
body[data-page="home"][data-theme="aurora"] .hero-intro { color: #555f80; }
body[data-page="home"][data-theme="aurora"] .live-stamp { border-color: rgba(64, 74, 132, .17); background: rgba(255, 255, 255, .8); color: #515a78; }
body[data-page="home"][data-theme="aurora"] .button-quiet { border-color: rgba(64, 74, 132, .2); background: rgba(255, 255, 255, .8); }
body[data-page="home"][data-theme="aurora"] .glass-card,
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .tool-card,
body[data-page="home"][data-theme="aurora"] .cycle-card { border-color: rgba(64, 74, 132, .18); background: rgba(255, 255, 255, .9); box-shadow: 0 14px 40px rgba(63, 65, 114, .08); }
body[data-page="home"][data-theme="aurora"] .mega-menu { border-color: rgba(64, 74, 132, .18); background: rgba(255, 255, 255, .98); }
body[data-page="home"][data-theme="aurora"] .mega-group > span { color: #66708f; }
body[data-page="home"][data-theme="aurora"] .tool-search { border-color: rgba(64, 74, 132, .2); background: rgba(255, 255, 255, .88); }
body[data-page="home"][data-theme="aurora"] .footer-bottom { color: #a4adcc; }

@media (max-width: 640px) {
  body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(247, 245, 255, .98); }
}

.tool-form-area { min-width: 0; padding: 8px; }
.tool-form-fields { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 12px; margin-bottom: 17px; }
.tool-input-label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; }
.tool-input-label input, .tool-input-label select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-raised); color: var(--text); }
.tool-calculator { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.tool-calculator .button { min-width: 150px; }
.tool-location-attribution { margin: 0 0 3px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.tool-location-attribution a { color: var(--teal); }
.tool-result { grid-template-columns: minmax(250px, .8fr) minmax(300px, 1.2fr); gap: 20px; }
.tool-output { min-height: 220px; padding: 23px; border: 1px solid rgba(141, 247, 255, .18); border-radius: 14px; background: radial-gradient(ellipse at 10% 5%, rgba(90, 245, 198, .09), transparent 54%), rgba(9, 12, 31, .58); }
.tool-output-kicker { color: var(--teal); font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.tool-output h2 { margin: 14px 0 9px; font-family: "Space Grotesk", sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 500; }
.tool-output > p { color: var(--muted); font-size: 12px; line-height: 1.75; }
.tool-output dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 19px 0 0; }
.tool-fact { min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(141, 247, 255, .025); }
.tool-fact dt { color: var(--muted); font-size: 9px; }
.tool-fact dd { margin: 5px 0 0; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.tool-article h2 { margin: 27px 0 10px; font-size: 19px; }
.tool-article p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.tool-faq { padding-top: 14px; }
.related-tools { padding: 20px 0 42px; }
.related-tools h2 { margin-bottom: 14px; font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.related-tool-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-tool-links a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--teal); font-size: 10px; text-decoration: none; }
.related-tool-links a:hover { border-color: var(--teal); }
.quiz-question { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--text); }
.quiz-question legend { padding: 0 0 7px; font-size: 12px; font-weight: 600; }
.quiz-question label { color: var(--muted); font-size: 11px; }
.quiz-question input { accent-color: var(--teal); }

body[data-page="home"] .site-header { flex-wrap: nowrap; }
body[data-page="home"] .brand { min-width: 0; }
body[data-page="home"] .brand-logo { width: clamp(174px, 16vw, 210px); height: auto; }
body[data-page="home"] .primary-nav { min-width: 0; flex: 0 1 auto; }
body[data-page="home"] .nav-link { white-space: nowrap; }

@media (max-width: 1120px) {
  body[data-page="home"] .site-header { position: sticky; min-height: 72px; }
  body[data-page="home"] .menu-toggle { display: flex; width: 42px; height: 42px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(141, 247, 255, .32); border-radius: 12px; background: linear-gradient(135deg, rgba(177, 140, 255, .14), rgba(90, 245, 198, .08)); cursor: pointer; box-shadow: 0 0 20px rgba(124, 105, 255, .1); }
  body[data-page="home"] .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
  body[data-page="home"] .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 7px; max-height: calc(100vh - 74px); overflow: auto; padding: 15px clamp(18px, 4vw, 40px) 22px; border-bottom: 1px solid rgba(141, 247, 255, .2); background: rgba(8, 9, 26, .985); box-shadow: 0 25px 55px rgba(0, 0, 0, .4); }
  body[data-page="home"] .primary-nav.is-open { display: flex; flex-direction: column; }
  body[data-page="home"] .primary-nav > .nav-link { padding: 13px 7px; border-bottom: 1px solid rgba(151, 164, 255, .12); }
  body[data-page="home"] .nav-link.nav-current::after { right: auto; bottom: 4px; width: 26px; }
  body[data-page="home"] .nav-menu { position: relative; width: 100%; border-bottom: 1px solid rgba(151, 164, 255, .12); }
  body[data-page="home"] .nav-menu > .tools-menu-trigger { width: 100%; justify-content: flex-start; padding: 12px; border-radius: 10px; }
  body[data-page="home"] .nav-menu > .tools-menu-trigger .chevron { margin-left: auto; }
  body[data-page="home"] .nav-menu .mega-menu,
  body[data-page="home"] .nav-menu .mega-menu-right { position: static; width: 100%; max-height: none; margin: 8px 0 12px; padding: 15px; transform: none; border-radius: 13px; }
  body[data-page="home"] .nav-menu .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-page="home"] .nav-menu .mega-group { padding: 10px; }
  body[data-page="home"] .nav-menu .mega-group > a { min-height: 37px; font-size: 10px; }
  body[data-page="home"] .nav-menu .mega-menu-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 12px; padding-bottom: 10px; }
  body[data-page="home"] .nav-menu .mega-menu-heading h2 { font-size: 20px; }
  body[data-page="home"] .nav-menu .mega-menu-footer { align-items: flex-start; flex-direction: column; }
  body[data-page="home"] .nav-cta { align-self: flex-start; }
  body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(247, 245, 255, .99); }
}

@media (max-width: 640px) {
  .tool-result { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .tool-form-area { padding: 4px; }
  .tool-form-fields { grid-template-columns: 1fr; }
  .tool-output { min-height: 0; padding: 16px; }
  .tool-output dl { grid-template-columns: 1fr 1fr; }
  body[data-page="home"] .nav-menu .mega-menu-grid { grid-template-columns: 1fr; }
  body[data-page="home"] .nav-menu .mega-group > a { min-height: 32px; }
  body[data-page="home"] .nav-menu .mega-menu-heading h2 { font-size: 18px; }
}

.site-header { min-height: 82px; height: auto; border-bottom-color: rgba(151, 164, 255, .22); background: linear-gradient(100deg, rgba(10, 10, 34, .98), rgba(24, 15, 57, .98) 52%, rgba(8, 32, 48, .98)); box-shadow: 0 14px 48px rgba(0, 0, 0, .24), 0 1px rgba(90, 245, 198, .08); }
.nav-menu { position: static; }
.nav-menu:not([open]) > .mega-menu { display: none; }
.nav-menu > .tools-menu-trigger { min-height: 41px; padding: 0 12px; border-color: rgba(157, 141, 255, .24); border-radius: 999px; background: linear-gradient(130deg, rgba(134, 102, 255, .1), rgba(84, 240, 207, .035)); font-family: "Sora", "Segoe UI", sans-serif; font-size: 11px; font-weight: 600; white-space: nowrap; }
.nav-menu:nth-of-type(2) > .tools-menu-trigger { border-color: rgba(90, 245, 198, .28); }
.nav-menu:nth-of-type(3) > .tools-menu-trigger { border-color: rgba(255, 121, 210, .28); }
.nav-menu .mega-menu { position: fixed; top: 78px; left: 50%; width: min(1000px, calc(100vw - 48px)); max-height: min(78vh, 690px); padding: 24px; transform: translateX(-50%); border-color: rgba(141, 247, 255, .25); border-radius: 17px; background: linear-gradient(145deg, rgba(17, 17, 48, .99), rgba(8, 19, 39, .99)); box-shadow: 0 30px 100px rgba(0, 0, 0, .68), 0 0 70px rgba(129, 99, 255, .14), inset 0 1px rgba(255,255,255,.04); }
.nav-menu .mega-menu::before { content: none; }
.nav-menu .mega-menu-right { left: auto; right: max(24px, calc((100vw - 1160px) / 2)); transform: none; }
.nav-menu .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
.nav-menu .mega-group { padding: 12px; border: 1px solid rgba(151, 164, 255, .14); border-radius: 12px; background: linear-gradient(145deg, rgba(141, 247, 255, .035), rgba(177, 140, 255, .045)); }
.nav-menu .mega-group h3 { margin-bottom: 8px; padding-bottom: 10px; font-family: "Sora", "Segoe UI", sans-serif; font-size: 12px; }
.nav-menu .mega-group > a { min-height: 32px; padding: 6px 8px; color: #c1c9e5; font-size: 10px; }
.nav-menu .mega-group > a:hover { background: rgba(141, 247, 255, .08); color: #fff; }
.nav-menu .mega-group > a::after { color: var(--teal); content: "↗"; font-size: 10px; opacity: 0; }
.nav-menu .mega-group > a:hover::after { opacity: 1; }
.nav-menu .mega-menu-heading .eyebrow { color: var(--teal); }
.nav-menu .mega-menu-heading h2 { font-family: "Sora", "Segoe UI", sans-serif; font-size: 24px; }
.nav-menu .mega-menu-footer a { color: var(--teal); font-weight: 700; }

@media (max-width: 1120px) {
  .site-header { position: sticky; min-height: 72px; padding-inline: 24px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(141, 247, 255, .32); border-radius: 12px; background: linear-gradient(135deg, rgba(177, 140, 255, .14), rgba(90, 245, 198, .08)); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 7px; max-height: calc(100vh - 74px); overflow: auto; padding: 15px clamp(18px, 4vw, 40px) 22px; border-bottom: 1px solid rgba(141, 247, 255, .2); background: rgba(8, 9, 26, .985); box-shadow: 0 25px 55px rgba(0, 0, 0, .4); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > .nav-link { padding: 12px 7px; border-bottom: 1px solid rgba(151, 164, 255, .12); }
  .nav-menu { position: relative; width: 100%; border-bottom: 1px solid rgba(151, 164, 255, .12); }
  .nav-menu > .tools-menu-trigger { width: 100%; justify-content: flex-start; padding: 12px; border-radius: 10px; }
  .nav-menu > .tools-menu-trigger .chevron { margin-left: auto; }
  .nav-menu .mega-menu, .nav-menu .mega-menu-right { position: static; width: 100%; max-height: none; margin: 8px 0 12px; padding: 15px; transform: none; border-radius: 13px; }
  .nav-menu .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nav-menu .mega-group { padding: 10px; }
  .nav-menu .mega-group > a { min-height: 35px; }
  .nav-menu .mega-menu-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 12px; padding-bottom: 10px; }
  .nav-menu .mega-menu-heading h2 { font-size: 20px; }
  .nav-menu .mega-menu-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .brand-logo { width: 188px; height: 44px; }
  .nav-menu .mega-menu-grid { grid-template-columns: 1fr; }
  .nav-menu .mega-group > a { min-height: 32px; }
  .nav-menu .mega-menu-heading h2 { font-size: 18px; }
  body[data-theme="aurora"] .primary-nav { background: rgba(247, 245, 255, .99); }
}

@media print {
  .site-header, .site-footer, .tool-form-area, .related-tools, .breadcrumbs { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .tool-fact { break-inside: avoid; }
}

body[data-page="home"] {
  --bg: #091310;
  --bg-raised: #0e1b17;
  --card: #14231e;
  --card-raised: #1b3028;
  --line: rgba(190, 218, 198, .14);
  --text: #f1f5e9;
  --muted: #a2b3a6;
  --gold: #e8f18a;
  --teal: #72e0bf;
  --violet: #b5a7ff;
  --rose: #ff9d78;
  --success: #8cdeb0;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(119, 145, 68, .15), transparent 43%),
    radial-gradient(ellipse at 96% 34%, rgba(48, 181, 139, .055), transparent 31%),
    var(--bg);
}

body[data-page="home"][data-theme="aurora"] {
  background:
    radial-gradient(ellipse at 50% -18%, rgba(130, 153, 75, .11), transparent 43%),
    #f5f4eb;
}

.site-header,
body[data-page="home"] .site-header {
  min-height: 80px;
  border-bottom: 1px solid rgba(190, 218, 198, .13);
  background: linear-gradient(105deg, rgba(9, 19, 16, .97), rgba(17, 35, 28, .97) 58%, rgba(14, 36, 32, .97));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .19), 0 1px rgba(114, 224, 191, .07);
}

body[data-theme="aurora"] .site-header,
body[data-page="home"][data-theme="aurora"] .site-header {
  border-bottom-color: rgba(34, 62, 48, .14);
  background: rgba(249, 249, 241, .94);
  box-shadow: 0 10px 30px rgba(34, 62, 48, .07);
}
body[data-theme="aurora"] .primary-nav,
body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(249, 249, 241, .97); }
body[data-page="home"][data-theme="aurora"] .nav-link { color: #52665a; }
body[data-page="home"][data-theme="aurora"] .nav-link:hover,
body[data-page="home"][data-theme="aurora"] .nav-link.nav-current { color: #1b2a22; }
body[data-page="home"][data-theme="aurora"] .nav-cta { color: #31450f; }
body[data-page="home"][data-theme="aurora"] .mega-menu {
  border-color: rgba(34, 62, 48, .16);
  background: rgba(251, 250, 244, .99);
  box-shadow: 0 25px 70px rgba(34, 62, 48, .16);
}
body[data-page="home"][data-theme="aurora"] .mega-group { border-color: rgba(34, 62, 48, .12); background: rgba(237, 240, 227, .68); }
body[data-page="home"][data-theme="aurora"] .mega-group > a { color: #52665a; }
body[data-page="home"][data-theme="aurora"] .mega-group > a:hover { color: #31450f; }
body[data-page="home"][data-theme="aurora"] .menu-toggle { border-color: rgba(34, 62, 48, .18); background: #edf0e3; }
body[data-page="home"][data-theme="aurora"] .menu-toggle span { background: #087f70; }

body[data-page="home"] .brand-logo { filter: drop-shadow(0 0 16px rgba(114, 224, 191, .17)); }
body[data-page="home"] .primary-nav { gap: clamp(9px, 1.15vw, 16px); }
body[data-page="home"] .nav-menu > .tools-menu-trigger,
.nav-menu > .tools-menu-trigger {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(190, 218, 198, .15);
  border-radius: 13px;
  background: rgba(190, 218, 198, .035);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
body[data-page="home"] .nav-menu > .tools-menu-trigger:hover,
body[data-page="home"] .nav-menu[open] > .tools-menu-trigger {
  transform: translateY(-1px);
  border-color: rgba(114, 224, 191, .55);
  background: rgba(114, 224, 191, .09);
  box-shadow: 0 6px 20px rgba(44, 146, 109, .13);
}
body[data-page="home"] .nav-menu:nth-of-type(2) > .tools-menu-trigger { border-color: rgba(114, 224, 191, .2); }
body[data-page="home"] .nav-menu:nth-of-type(3) > .tools-menu-trigger { border-color: rgba(232, 241, 138, .19); }
body[data-page="home"] .nav-link,
body[data-page="home"] .nav-cta { font-family: "DM Sans", "Segoe UI", sans-serif; }
body[data-page="home"] .nav-link { color: #b4c3b8; font-size: 12px; }
body[data-page="home"] .nav-link:hover,
body[data-page="home"] .nav-link.nav-current { color: #f1f5e9; }
body[data-page="home"] .nav-link.nav-current::after { background: var(--teal); box-shadow: 0 0 12px rgba(114, 224, 191, .48); }
body[data-page="home"] .nav-cta {
  min-height: 42px;
  border-color: rgba(232, 241, 138, .47);
  background: linear-gradient(120deg, rgba(232, 241, 138, .16), rgba(114, 224, 191, .1));
  color: #eef5c1;
}
body[data-page="home"] .nav-cta:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(232, 241, 138, .13); }
body[data-page="home"] .nav-cta span { color: var(--gold); }

body[data-page="home"] .mega-menu {
  top: 82px;
  border-color: rgba(151, 194, 164, .22);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(17, 34, 28, .99), rgba(10, 24, 21, .99));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 55px rgba(67, 173, 131, .09);
}
body[data-page="home"] .mega-menu-heading h2,
body[data-page="home"] .mega-group h3 { font-family: "Sora", "Segoe UI", sans-serif; }
body[data-page="home"] .mega-group { border-color: rgba(190, 218, 198, .12); background: linear-gradient(145deg, rgba(114, 224, 191, .045), rgba(232, 241, 138, .025)); }
body[data-page="home"] .mega-group > a { color: #c2d0c5; }
body[data-page="home"] .mega-group > a:hover { background: rgba(114, 224, 191, .09); color: var(--gold); }
body[data-page="home"] .mega-group > a::after { color: var(--teal); }
body[data-page="home"] .mega-menu-heading .eyebrow { color: var(--teal); }
body[data-page="home"] .mega-menu-footer a { color: var(--gold); }

.section-band { position: relative; isolation: isolate; }
.section-band::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 17%, #000 83%, transparent);
}
.section-band-mist::before {
  background:
    radial-gradient(ellipse at 18% 45%, rgba(87, 184, 134, .075), transparent 53%),
    linear-gradient(100deg, transparent, rgba(21, 39, 32, .72) 13%, rgba(21, 39, 32, .72) 87%, transparent);
}
.section-band-orbit::before {
  background:
    radial-gradient(ellipse at 82% 48%, rgba(105, 91, 165, .09), transparent 48%),
    linear-gradient(100deg, transparent, rgba(18, 31, 32, .6) 13%, rgba(18, 31, 32, .6) 87%, transparent);
}
.section-band-dawn::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 241, 138, .07), transparent 52%),
    linear-gradient(100deg, transparent, rgba(24, 39, 29, .58) 13%, rgba(24, 39, 29, .58) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-mist::before {
  background: linear-gradient(100deg, transparent, rgba(224, 231, 210, .55) 13%, rgba(224, 231, 210, .55) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-orbit::before {
  background: linear-gradient(100deg, transparent, rgba(228, 226, 238, .5) 13%, rgba(228, 226, 238, .5) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-dawn::before {
  background: linear-gradient(100deg, transparent, rgba(237, 232, 205, .58) 13%, rgba(237, 232, 205, .58) 87%, transparent);
}
body[data-page="home"] .about-strip { margin-top: 20px; border: 0; }
body[data-page="home"] .about-strip h2 { max-width: 470px; }
body[data-page="home"] .about-strip > p { max-width: 580px; }

body[data-page="home"] .glass-card {
  border-color: rgba(190, 218, 198, .17);
  background: linear-gradient(145deg, rgba(28, 47, 39, .91), rgba(15, 29, 24, .96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .17), inset 0 1px rgba(236, 245, 216, .035);
}
body[data-page="home"] .guide-card {
  border-color: rgba(190, 218, 198, .14);
  background: linear-gradient(145deg, rgba(28, 46, 38, .94), rgba(17, 31, 26, .96));
}
body[data-page="home"] .guide-card h3,
body[data-page="home"] .tool-card h3 { font-size: 14px; }
body[data-page="home"] .guide-card p,
body[data-page="home"] .tool-card p { font-size: 10.5px; line-height: 1.75; }
body[data-page="home"] .tool-link { font-size: 10px; }
body[data-page="home"] .cycle-card { border-color: rgba(190, 218, 198, .18); background: radial-gradient(ellipse at 13% 50%, rgba(82, 126, 109, .18), transparent 48%), linear-gradient(120deg, #14251f, #102019 65%, #14251f); }
body[data-page="home"] .tool-card { border-color: rgba(190, 218, 198, .15); background: linear-gradient(150deg, #172920, #102019); }
body[data-page="home"] .tool-card:hover,
body[data-page="home"] .guide-card:hover { border-color: rgba(114, 224, 191, .55); box-shadow: 0 15px 42px rgba(50, 155, 116, .11); }
body[data-page="home"] .tool-number { color: #91a99b; }
body[data-page="home"] .tool-search { border-color: rgba(190, 218, 198, .17); background: rgba(14, 27, 23, .76); }
body[data-page="home"] .tool-search:focus-within { border-color: rgba(114, 224, 191, .6); box-shadow: 0 0 20px rgba(72, 174, 133, .1); }
body[data-page="home"] .about-strip { border-color: transparent; }
body[data-page="home"] .site-footer { border-top-color: rgba(190, 218, 198, .14); background: linear-gradient(180deg, rgba(14, 27, 23, .74), #091310 78%); }
body[data-page="home"] .site-footer::before { background: rgba(89, 178, 133, .075); }
body[data-page="home"] .hero-dashboard::before { background: radial-gradient(ellipse, rgba(114, 224, 191, .08), transparent 70%); }
body[data-page="home"] .aurora-glow {
  background:
    radial-gradient(ellipse at 39% 54%, rgba(114, 224, 191, .2), transparent 48%),
    radial-gradient(ellipse at 63% 43%, rgba(181, 167, 255, .17), transparent 59%),
    radial-gradient(ellipse at 55% 64%, rgba(232, 241, 138, .075), transparent 70%);
}
body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3,
body[data-page="home"] .brand,
body[data-page="home"] .tools-menu-trigger { font-family: "Sora", "Segoe UI", sans-serif; }
body, button, input { font-family: "DM Sans", "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: "Sora", "Segoe UI", sans-serif; }

@media (max-width: 1120px) {
  .site-header, body[data-page="home"] .site-header { min-height: 72px; }
  body[data-page="home"] .primary-nav { background: rgba(12, 26, 21, .985); }
  body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(249, 249, 241, .99); }
  body[data-page="home"] .nav-menu > .tools-menu-trigger { min-height: 46px; border-radius: 12px; }
  body[data-page="home"] .hero-dashboard { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: 8px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(46px, 5.6vw, 64px); }
  body[data-page="home"] .hero-visual { min-height: 440px; }
  body[data-page="home"] .moon-canvas { width: min(100%, 390px); }
}
@media (max-width: 640px) {
  .site-header, body[data-page="home"] .site-header { min-height: 66px; }
  body[data-page="home"] .primary-nav { background: rgba(12, 26, 21, .99); }
  body[data-page="home"] .nav-menu > .tools-menu-trigger { min-height: 48px; padding-inline: 10px; font-size: 13px; }
  body[data-page="home"] .mega-menu { background: linear-gradient(145deg, rgba(17, 34, 28, .995), rgba(10, 24, 21, .995)); }
  body[data-page="home"] .nav-menu .mega-group > a { min-height: 40px; flex-direction: row; align-items: center; font-size: 12px; }
  body[data-page="home"] .nav-menu .mega-group h3 { font-size: 12px; }
  body[data-page="home"] .primary-nav > .nav-link { font-size: 14px; }
  body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(249, 249, 241, .99); }
  body[data-page="home"][data-theme="aurora"] .mega-menu { background: rgba(251, 250, 244, .995); }
  .section-band::before { mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); }
  body[data-page="home"] .about-strip { margin-top: 8px; }
  body[data-page="home"] .hero-dashboard { grid-template-columns: 1fr; gap: 0; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(50px, 15vw, 72px); }
}

@media (min-width: 641px) {
  body[data-page="home"] .hero-copy h1 { font-size: clamp(52px, 6vw, 76px); }
}
body[data-page="home"] .hero-copy h1 {
  max-width: 560px;
  letter-spacing: -.07em;
  line-height: 1.04;
}
body[data-page="home"] .hero-copy h1 span {
  background: linear-gradient(100deg, #72e0bf 8%, #e8f18a 68%, #ffd28b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(114, 224, 191, .13));
}
body[data-page="home"] {
  background: var(--bg);
}
body[data-page="home"][data-theme="aurora"] {
  background: var(--bg);
}
body[data-page="home"] .hero-dashboard {
  background: transparent;
}
body[data-page="home"] .hero-dashboard::before {
  background: radial-gradient(ellipse, rgba(114, 224, 191, .035), transparent 70%);
}

body[data-page="home"] {
  --bg: #0a1020;
  --bg-raised: #101a30;
  --card: #131f37;
  --card-raised: #1b2943;
  --line: rgba(169, 190, 222, .17);
  --text: #f3f6ff;
  --muted: #aab8d0;
  --gold: #ffd38a;
  --teal: #73e7d2;
  --violet: #b8a1ff;
  --rose: #ff9cc7;
  --success: #73e7d2;
  background:
    radial-gradient(ellipse at 78% 13%, rgba(90, 107, 190, .14), transparent 34%),
    radial-gradient(ellipse at 6% 51%, rgba(37, 155, 153, .09), transparent 30%),
    var(--bg);
}
body[data-page="home"][data-theme="aurora"] {
  --bg: #f5f6fb;
  --bg-raised: #fbfcff;
  --card: #ffffff;
  --card-raised: #edf1fa;
  --line: rgba(50, 68, 108, .16);
  --text: #18243a;
  --muted: #5e6d86;
  --gold: #a66619;
  --teal: #087f78;
  --violet: #6b56b5;
  --rose: #b94778;
  --success: #087f78;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(174, 165, 237, .16), transparent 34%),
    radial-gradient(ellipse at 10% 54%, rgba(113, 215, 199, .12), transparent 32%),
    var(--bg);
}
body[data-page="home"] .site-header {
  border-bottom-color: rgba(169, 190, 222, .15);
  background: rgba(10, 16, 32, .84);
}
body[data-page="home"][data-theme="aurora"] .site-header {
  border-bottom-color: rgba(50, 68, 108, .12);
  background: rgba(245, 246, 251, .88);
}
body[data-page="home"] .hero-dashboard::before {
  background: radial-gradient(ellipse, rgba(115, 231, 210, .09), transparent 70%);
}
body[data-page="home"] .hero-copy .eyebrow {
  border-color: rgba(115, 231, 210, .24);
  background: rgba(115, 231, 210, .07);
  color: #9cf2e3;
}
body[data-page="home"][data-theme="aurora"] .hero-copy .eyebrow { color: #087f78; }
body[data-page="home"] .hero-copy h1 span {
  background: linear-gradient(100deg, #73e7d2 2%, #b8a1ff 52%, #ffd38a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
body[data-page="home"] .hero-intro { color: var(--muted); }
body[data-page="home"] .button-gold {
  border-color: rgba(115, 231, 210, .6);
  background: linear-gradient(110deg, #73e7d2, #9cbcff);
  color: #0b1724;
  box-shadow: 0 7px 32px rgba(91, 193, 191, .2);
}
body[data-page="home"] .button-gold:hover { box-shadow: 0 9px 38px rgba(91, 193, 191, .34); }
body[data-page="home"] .button-quiet {
  border-color: rgba(169, 190, 222, .23);
  background: rgba(20, 30, 53, .82);
}
body[data-page="home"][data-theme="aurora"] .button-quiet { background: rgba(255, 255, 255, .82); }
body[data-page="home"] .aurora-glow {
  background:
    radial-gradient(ellipse at 39% 54%, rgba(115, 231, 210, .2), transparent 48%),
    radial-gradient(ellipse at 63% 43%, rgba(132, 116, 230, .22), transparent 59%),
    radial-gradient(ellipse at 55% 64%, rgba(255, 211, 138, .11), transparent 70%);
}
body[data-page="home"] .moon-halo {
  border-color: rgba(190, 207, 246, .24);
  box-shadow: 0 0 95px rgba(120, 116, 226, .19), 0 0 55px rgba(68, 216, 196, .12), inset 0 0 52px rgba(115, 231, 210, .08);
}
body[data-page="home"] .moon-orbit { border-color: rgba(177, 192, 227, .2); }
body[data-page="home"] .visual-coordinate { color: #bac8e0; }
body[data-page="home"] .section-heading .eyebrow,
body[data-page="home"] .tool-link,
body[data-page="home"] .mega-menu-footer a { color: var(--teal); }
body[data-page="home"] .glass-card {
  border-color: rgba(169, 190, 222, .17);
  background: linear-gradient(145deg, rgba(23, 34, 59, .95), rgba(15, 25, 45, .96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .19), inset 0 1px rgba(255, 255, 255, .04);
}
body[data-page="home"][data-theme="aurora"] .glass-card {
  border-color: rgba(50, 68, 108, .15);
  background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(244, 247, 253, .96));
  box-shadow: 0 16px 44px rgba(49, 65, 105, .08), inset 0 1px rgba(255, 255, 255, .8);
}
body[data-page="home"] .guide-card,
body[data-page="home"] .tool-card {
  border-color: rgba(169, 190, 222, .16);
  background: linear-gradient(145deg, #16233d, #111c32);
}
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .tool-card {
  border-color: rgba(50, 68, 108, .14);
  background: linear-gradient(145deg, #fff, #f0f4fb);
}
body[data-page="home"] .guide-card:hover,
body[data-page="home"] .tool-card:hover {
  border-color: rgba(115, 231, 210, .58);
  box-shadow: 0 16px 42px rgba(61, 174, 169, .13);
}
body[data-page="home"] .cycle-card {
  border-color: rgba(169, 190, 222, .2);
  background: radial-gradient(ellipse at 13% 50%, rgba(115, 231, 210, .1), transparent 48%), linear-gradient(120deg, #15233c, #111b31 65%, #18213a);
}
body[data-page="home"][data-theme="aurora"] .cycle-card {
  border-color: rgba(50, 68, 108, .15);
  background: radial-gradient(ellipse at 13% 50%, rgba(115, 210, 197, .12), transparent 48%), linear-gradient(120deg, #fff, #f1f3fb 65%, #f8f5ff);
}
body[data-page="home"] .tool-search { border-color: rgba(169, 190, 222, .21); background: rgba(15, 25, 45, .78); }
body[data-page="home"][data-theme="aurora"] .tool-search { background: rgba(255, 255, 255, .9); }
body[data-page="home"] .site-footer { border-top-color: rgba(169, 190, 222, .15); background: linear-gradient(180deg, rgba(16, 26, 48, .76), #0a1020 78%); }
body[data-page="home"][data-theme="aurora"] .site-footer { background: linear-gradient(180deg, rgba(237, 241, 250, .85), #f5f6fb 78%); }
body[data-page="home"] .nav-cta {
  border-color: rgba(115, 231, 210, .42);
  background: linear-gradient(120deg, rgba(115, 231, 210, .14), rgba(184, 161, 255, .1));
  color: #c8fff4;
}
body[data-page="home"][data-theme="aurora"] .nav-cta { color: #245c59; }
body[data-page="home"] .section-band-mist::before {
  background:
    radial-gradient(ellipse at 18% 45%, rgba(115, 231, 210, .055), transparent 53%),
    linear-gradient(100deg, transparent, rgba(18, 32, 54, .6) 13%, rgba(18, 32, 54, .6) 87%, transparent);
}
body[data-page="home"] .section-band-orbit::before {
  background:
    radial-gradient(ellipse at 82% 48%, rgba(184, 161, 255, .075), transparent 48%),
    linear-gradient(100deg, transparent, rgba(17, 29, 52, .48) 13%, rgba(17, 29, 52, .48) 87%, transparent);
}
body[data-page="home"] .section-band-dawn::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 211, 138, .055), transparent 52%),
    linear-gradient(100deg, transparent, rgba(20, 33, 51, .42) 13%, rgba(20, 33, 51, .42) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-mist::before { background: linear-gradient(100deg, transparent, rgba(224, 231, 244, .58) 13%, rgba(224, 231, 244, .58) 87%, transparent); }
body[data-page="home"][data-theme="aurora"] .section-band-orbit::before { background: linear-gradient(100deg, transparent, rgba(231, 228, 246, .52) 13%, rgba(231, 228, 246, .52) 87%, transparent); }
body[data-page="home"][data-theme="aurora"] .section-band-dawn::before { background: linear-gradient(100deg, transparent, rgba(244, 235, 216, .58) 13%, rgba(244, 235, 216, .58) 87%, transparent); }
body[data-page="home"] .moon-guide::before {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(115, 231, 210, .09), transparent 36%),
    radial-gradient(ellipse at 87% 77%, rgba(184, 161, 255, .09), transparent 35%),
    linear-gradient(100deg, transparent, rgba(17, 29, 52, .44) 12%, rgba(17, 29, 52, .44) 88%, transparent);
}
body[data-page="home"][data-theme="aurora"] .moon-guide::before {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(115, 210, 197, .12), transparent 36%),
    radial-gradient(ellipse at 87% 77%, rgba(184, 161, 255, .12), transparent 35%),
    linear-gradient(100deg, transparent, rgba(228, 232, 245, .6) 12%, rgba(228, 232, 245, .6) 88%, transparent);
}
body[data-page="home"] .moon-guide { padding-top: 72px; padding-bottom: 76px; }
body[data-page="home"] .faq-section { padding-top: 65px; padding-bottom: 28px; }
body[data-page="home"] .faq-intro { color: var(--muted); }
body[data-page="home"] .faq-item {
  border-color: var(--line);
  background: color-mix(in srgb, var(--card) 76%, transparent);
}
body[data-page="home"] .faq-item[open] {
  border-color: color-mix(in srgb, var(--teal) 43%, var(--line));
  background: color-mix(in srgb, var(--card) 93%, var(--teal));
}
body[data-page="home"][data-theme="aurora"] .faq-item { background: rgba(255, 255, 255, .68); }
body[data-page="home"][data-theme="aurora"] .faq-item[open] { background: rgba(255, 255, 255, .98); }
body[data-page="home"] .nav-link { color: #aab8d0; }
body[data-page="home"] .nav-link:hover,
body[data-page="home"] .nav-link.nav-current { color: #f3f6ff; }
body[data-page="home"] .nav-menu > .tools-menu-trigger {
  border-color: rgba(169, 190, 222, .2);
  background: linear-gradient(130deg, rgba(184, 161, 255, .08), rgba(115, 231, 210, .045));
  color: #f3f6ff;
}
body[data-page="home"] .nav-menu > .tools-menu-trigger:hover,
body[data-page="home"] .nav-menu[open] > .tools-menu-trigger {
  border-color: rgba(115, 231, 210, .5);
  background: rgba(115, 231, 210, .09);
}
body[data-page="home"] .nav-menu .mega-menu {
  border-color: rgba(169, 190, 222, .2);
  background: linear-gradient(145deg, rgba(19, 31, 55, .99), rgba(13, 23, 42, .99));
}
body[data-page="home"] .nav-menu .mega-group {
  border-color: rgba(169, 190, 222, .14);
  background: linear-gradient(145deg, rgba(115, 231, 210, .04), rgba(184, 161, 255, .05));
}
body[data-page="home"] .nav-menu .mega-group > a { color: #c2cde0; }
body[data-page="home"][data-theme="aurora"] .nav-link { color: #5e6d86; }
body[data-page="home"][data-theme="aurora"] .nav-link:hover,
body[data-page="home"][data-theme="aurora"] .nav-link.nav-current { color: #18243a; }
body[data-page="home"][data-theme="aurora"] .nav-menu > .tools-menu-trigger { color: #25344e; }
body[data-page="home"][data-theme="aurora"] .nav-menu .mega-group > a { color: #4f5f79; }
body[data-page="home"][data-theme="aurora"] .footer-tagline,
body[data-page="home"][data-theme="aurora"] .footer-live,
body[data-page="home"][data-theme="aurora"] .footer-links a,
body[data-page="home"][data-theme="aurora"] .footer-bottom { color: #5e6d86; }
body[data-page="home"] .hero-dashboard {
  isolation: isolate;
}
body[data-page="home"] .hero-dashboard::after {
  position: absolute;
  z-index: -1;
  inset: 18px 0;
  border: 1px solid rgba(169, 190, 222, .11);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 88% 45%, rgba(115, 231, 210, .065), transparent 45%),
    linear-gradient(115deg, rgba(18, 29, 49, .84), rgba(17, 27, 48, .54) 53%, rgba(25, 31, 59, .68));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .11), inset 0 1px rgba(255, 255, 255, .025);
  content: "";
  pointer-events: none;
}
body[data-page="home"] .hero-copy {
  padding-right: clamp(16px, 2.4vw, 34px);
  padding-left: clamp(16px, 2.4vw, 34px);
}
body[data-page="home"][data-theme="aurora"] .hero-dashboard::after {
  border-color: rgba(50, 68, 108, .12);
  background:
    radial-gradient(ellipse at 88% 45%, rgba(115, 210, 197, .11), transparent 45%),
    linear-gradient(115deg, rgba(255, 255, 255, .86), rgba(248, 250, 255, .64) 53%, rgba(238, 238, 251, .8));
  box-shadow: 0 24px 65px rgba(49, 65, 105, .08), inset 0 1px rgba(255, 255, 255, .8);
}
@media (max-width: 640px) {
  body[data-page="home"] .hero-dashboard::after {
    inset: 10px 5px;
    border-radius: 24px;
  }
  body[data-page="home"] .hero-copy {
    padding-right: 17px;
    padding-left: 17px;
  }
}

/* Keep site information prominent and readable across every footer variant. */
.site-footer .footer-main {
  gap: 28px 42px;
  padding-top: clamp(38px, 5vw, 62px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.site-footer .footer-brand-panel { min-width: 0; }
.site-footer .footer-tagline {
  margin: 15px 0 14px;
  font-size: 15px;
}
.site-footer .footer-live { font-size: 10px; }
.site-footer .footer-links {
  gap: 5px;
  min-width: 0;
}
.site-footer .footer-links h2 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 17px;
}
.site-footer .footer-links a {
  min-height: 42px;
  padding-inline: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
body[data-page="home"] .site-footer .footer-links h2 {
  color: var(--gold);
  font-size: 17px;
}
body[data-page="home"] .site-footer .footer-links a {
  color: var(--muted);
  font-size: 14px;
}
body[data-page="home"] .site-footer .footer-links a:hover { color: var(--teal); }
@media (max-width: 760px) {
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }
  .site-footer .footer-brand-panel,
  body[data-page="home"] .site-footer .footer-brand-panel { grid-column: 1 / -1; }
  .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { font-size: 15px; }
  .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { min-height: 44px; font-size: 13px; }
}
@media (max-width: 420px) {
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main { gap: 22px 10px; }
  .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { padding-inline: 8px; font-size: 13px; }
}

/* Homepage navigation and observatory footer are shared by every page. */
.site-header,
body[data-page="home"] .site-header {
  min-height: 82px;
  height: auto;
  border-bottom: 1px solid rgba(101, 223, 208, .2);
  background: linear-gradient(100deg, rgba(10, 12, 34, .97), rgba(30, 17, 58, .97) 53%, rgba(8, 35, 49, .97));
  box-shadow: 0 13px 44px rgba(4, 7, 20, .27), 0 1px rgba(101, 223, 208, .12);
}
.site-header .brand-logo { width: 220px; height: auto; }
.site-header .primary-nav { gap: clamp(8px, 1.05vw, 15px); }
.site-header .nav-link,
body[data-page="home"] .site-header .nav-link {
  color: #c1cbe2;
  font-size: 13px;
  font-weight: 500;
}
.site-header .nav-link:hover,
body[data-page="home"] .site-header .nav-link:hover { color: #ffffff; }
.site-header .nav-menu > .tools-menu-trigger,
body[data-page="home"] .site-header .nav-menu > .tools-menu-trigger {
  min-height: 44px;
  border-color: rgba(181, 154, 255, .3);
  border-radius: 12px;
  background: linear-gradient(130deg, rgba(181, 154, 255, .1), rgba(101, 223, 208, .07));
  color: #f2f4ff;
  font-size: 12px;
  font-weight: 600;
}
.site-header .nav-menu:nth-of-type(2) > .tools-menu-trigger {
  border-color: rgba(101, 223, 208, .34);
  background: linear-gradient(130deg, rgba(101, 223, 208, .12), rgba(94, 155, 220, .07));
}
.site-header .nav-menu:nth-of-type(3) > .tools-menu-trigger {
  border-color: rgba(244, 213, 141, .34);
  background: linear-gradient(130deg, rgba(244, 213, 141, .12), rgba(255, 157, 184, .07));
}
.site-header .nav-menu > .tools-menu-trigger:hover,
.site-header .nav-menu[open] > .tools-menu-trigger {
  border-color: var(--teal);
  background: linear-gradient(130deg, rgba(101, 223, 208, .17), rgba(181, 154, 255, .12));
  box-shadow: 0 0 24px rgba(101, 223, 208, .11);
}
.site-header .nav-cta {
  min-height: 44px;
  border: 1px solid rgba(244, 213, 141, .58);
  border-radius: 999px;
  background: linear-gradient(115deg, #f4d58d 0%, #ffb88f 53%, #ee9fbd 100%);
  box-shadow: 0 7px 26px rgba(244, 176, 138, .2);
  color: #24192d;
  font-size: 12px;
  font-weight: 700;
}
.site-header .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 32px rgba(244, 176, 138, .33);
}
.site-header .nav-cta span { color: #633459; }
.site-header .mega-menu,
body[data-page="home"] .site-header .mega-menu,
body[data-page="home"] .site-header .nav-menu .mega-menu {
  top: 88px;
  border-color: rgba(181, 154, 255, .34);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(22, 24, 56, .99), rgba(13, 28, 45, .99) 58%, rgba(26, 19, 50, .99));
  box-shadow: 0 34px 100px rgba(1, 4, 16, .65), 0 0 54px rgba(101, 223, 208, .08);
}
.site-header .mega-group,
body[data-page="home"] .site-header .nav-menu .mega-group {
  border-color: rgba(181, 154, 255, .18);
  background: linear-gradient(145deg, rgba(101, 223, 208, .065), rgba(181, 154, 255, .075));
}
.site-header .mega-group > a,
body[data-page="home"] .site-header .nav-menu .mega-group > a { color: #d0d7eb; }
.site-header .mega-group > a:hover,
body[data-page="home"] .site-header .nav-menu .mega-group > a:hover {
  background: rgba(101, 223, 208, .13);
  color: #8ff4e1;
}
.site-header .mega-menu-footer a { color: #8ff4e1; }
body[data-theme="aurora"] .site-header {
  background: linear-gradient(100deg, rgba(28, 31, 65, .97), rgba(58, 38, 88, .97) 53%, rgba(22, 66, 75, .97));
}

.site-footer,
body[data-page="home"] .site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(52px, 8vw, 104px);
  border-top: 1px solid rgba(181, 154, 255, .44);
  background:
    radial-gradient(ellipse at 11% 0%, rgba(101, 223, 208, .2), transparent 34%),
    radial-gradient(ellipse at 87% 4%, rgba(255, 157, 184, .18), transparent 32%),
    linear-gradient(116deg, #10152f 0%, #20183d 42%, #122b3b 100%);
  box-shadow: 0 -25px 90px rgba(14, 14, 42, .22);
}
.site-footer::before,
body[data-page="home"] .site-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(244, 213, 141, .1), transparent 45%),
    radial-gradient(ellipse at 50% 0%, rgba(181, 154, 255, .13), transparent 55%);
  content: "";
  filter: none;
  pointer-events: none;
}
.site-footer .footer-main,
body[data-page="home"] .site-footer .footer-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(170px, .8fr) minmax(195px, .9fr);
  align-items: stretch;
  gap: 22px;
  padding-top: clamp(36px, 5.2vw, 64px);
  padding-bottom: clamp(30px, 4.5vw, 54px);
}
.site-footer .footer-brand-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(19px, 2.6vw, 30px);
  border: 1px solid rgba(101, 223, 208, .24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(101, 223, 208, .11), rgba(181, 154, 255, .13) 56%, rgba(255, 157, 184, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 15px 38px rgba(3, 8, 25, .14);
}
.site-footer .footer-brand .brand-logo { width: min(220px, 100%); height: auto; }
.site-footer .footer-tagline {
  margin: 17px 0 15px;
  color: #e0e5f8;
  font-size: 16px;
  line-height: 1.75;
}
.site-footer .footer-live {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #8ff4e1;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .07em;
}
.site-footer .footer-live .live-dot { flex: 0 0 6px; }
.site-footer .footer-links,
body[data-page="home"] .site-footer .footer-links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: clamp(18px, 2.4vw, 26px) clamp(12px, 1.8vw, 20px);
  border: 1px solid rgba(181, 154, 255, .22);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(181, 154, 255, .12), rgba(13, 18, 43, .52) 52%, rgba(101, 223, 208, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 15px 38px rgba(3, 8, 25, .13);
}
.site-footer .footer-links.footer-pages {
  border-color: rgba(255, 157, 184, .28);
  background: linear-gradient(155deg, rgba(255, 157, 184, .12), rgba(26, 18, 47, .52) 52%, rgba(244, 213, 141, .08));
}
.site-footer .footer-links h2,
body[data-page="home"] .site-footer .footer-links h2 {
  margin: 0 0 10px;
  padding: 0 8px 13px;
  border-bottom: 1px solid rgba(181, 154, 255, .24);
  color: #f4d58d;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.site-footer .footer-pages h2 { color: #ffb5ca; }
.site-footer .footer-links a,
body[data-page="home"] .site-footer .footer-links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #d4dced;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.site-footer .footer-links a:hover,
body[data-page="home"] .site-footer .footer-links a:hover {
  transform: translateX(3px);
  border-color: rgba(101, 223, 208, .31);
  background: linear-gradient(100deg, rgba(101, 223, 208, .12), rgba(181, 154, 255, .1));
  color: #8ff4e1;
}
.site-footer .footer-pages a:hover { border-color: rgba(255, 157, 184, .36); color: #ffb5ca; }
.site-footer .footer-bottom,
body[data-page="home"] .site-footer .footer-bottom {
  position: relative;
  align-items: center;
  gap: 14px 28px;
  padding-top: 19px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(181, 154, 255, .23);
  color: #bdc9df;
  font-size: 12px;
  line-height: 1.75;
}
.site-footer .footer-bottom a,
body[data-page="home"] .site-footer .footer-bottom a {
  color: #8ff4e1;
  text-decoration-color: rgba(143, 244, 225, .48);
  text-underline-offset: 3px;
}
.site-footer .footer-bottom a:hover { color: #f4d58d; }
body[data-theme="aurora"] .site-footer,
body[data-page="home"][data-theme="aurora"] .site-footer {
  background:
    radial-gradient(ellipse at 11% 0%, rgba(69, 190, 175, .22), transparent 34%),
    radial-gradient(ellipse at 87% 4%, rgba(205, 113, 147, .2), transparent 32%),
    linear-gradient(116deg, #1d2345 0%, #34234e 43%, #16404b 100%);
}
body[data-theme="aurora"] .site-footer .footer-tagline,
body[data-page="home"][data-theme="aurora"] .site-footer .footer-tagline { color: #eef1fb; }

@media (max-width: 1120px) {
  .site-header { padding-inline: 22px; }
  .site-header .brand-logo { width: 192px; }
  .site-header .primary-nav { gap: 8px; }
  .site-header .nav-link { font-size: 12px; }
  .site-header .nav-menu > .tools-menu-trigger { padding-inline: 9px; font-size: 11px; }
  .site-header .nav-cta { padding-inline: 11px; font-size: 11px; }
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main { gap: 16px; }
}
@media (max-width: 760px) {
  .site-header,
  body[data-page="home"] .site-header {
    min-height: 72px;
    padding-inline: 18px;
  }
  .site-header .brand-logo { width: 190px; }
  .site-header .primary-nav,
  body[data-page="home"] .site-header .primary-nav { background: linear-gradient(150deg, #141737, #101b32 58%, #102b36); }
  .site-header .primary-nav .nav-link,
  body[data-page="home"] .site-header .primary-nav .nav-link { color: #e0e6f6; }
  .site-header .menu-toggle,
  body[data-page="home"] .site-header .menu-toggle {
    border-color: rgba(101, 223, 208, .44);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(101, 223, 208, .12), rgba(181, 154, 255, .16));
  }
  .site-header .menu-toggle span,
  body[data-page="home"] .site-header .menu-toggle span { background: #f4d58d; }
  .site-header .mega-menu,
  body[data-page="home"] .site-header .mega-menu { top: auto; }
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }
  .site-footer .footer-brand-panel,
  body[data-page="home"] .site-footer .footer-brand-panel { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .site-header,
  body[data-page="home"] .site-header { padding-inline: 14px; }
  .site-header .brand-logo { width: 174px; }
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main { gap: 11px; }
  .site-footer .footer-links,
  body[data-page="home"] .site-footer .footer-links { padding: 15px 9px; border-radius: 17px; }
  .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { padding-inline: 5px; font-size: 15px; }
  .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { padding-inline: 6px; font-size: 12px; }
  .site-footer .footer-tagline { font-size: 15px; }
}

/* Final shared footer: an open, editorial observatory layout. */
.site-footer,
body[data-page="home"] .site-footer {
  overflow: hidden;
  margin-top: clamp(56px, 9vw, 116px);
  border: 0;
  border-top: 1px solid rgba(152, 137, 255, .5);
  background:
    radial-gradient(ellipse at 10% 5%, rgba(57, 225, 214, .2), transparent 31%),
    radial-gradient(ellipse at 91% 18%, rgba(239, 110, 181, .2), transparent 30%),
    radial-gradient(ellipse at 52% 100%, rgba(112, 91, 235, .16), transparent 45%),
    linear-gradient(125deg, #11152f 0%, #21183f 44%, #102c3c 100%);
  box-shadow: 0 -25px 90px rgba(17, 15, 55, .24);
}
.site-footer::before,
body[data-page="home"] .site-footer::before {
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  height: 100%;
  border-radius: 0;
  background:
    radial-gradient(circle at 76% 25%, rgba(255, 255, 255, .11) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 61%, rgba(255, 255, 255, .14) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 72%, rgba(255, 255, 255, .1) 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 50% -30%, rgba(177, 156, 255, .16), transparent 58%);
  background-size: auto, auto, auto, auto;
  filter: none;
  opacity: .9;
}
.site-footer .footer-main,
body[data-page="home"] .site-footer .footer-main {
  grid-template-columns: minmax(280px, 1.25fr) minmax(170px, .75fr) minmax(210px, .9fr);
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(45px, 7vw, 82px);
  padding-bottom: clamp(40px, 6vw, 68px);
}
.site-footer .footer-brand-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 265px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 12px 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.site-footer .footer-brand-panel::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  width: clamp(150px, 18vw, 235px);
  aspect-ratio: 1;
  transform: translate(6%, -50%);
  border: 1px solid rgba(188, 173, 255, .13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 247, 220, .98), rgba(244, 213, 141, .94) 28%, rgba(180, 154, 255, .64) 57%, rgba(95, 208, 208, .23) 70%, transparent 71%);
  box-shadow: 0 0 54px rgba(155, 144, 255, .21), 0 0 105px rgba(66, 219, 205, .12);
  content: "";
  opacity: .24;
  pointer-events: none;
}
.site-footer .footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #8ff4e1;
  font: 700 10px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
}
.site-footer .footer-kicker .live-dot { margin: 0; }
.site-footer .footer-brand,
body[data-page="home"] .site-footer .footer-brand { margin: 0; }
.site-footer .footer-brand .brand-logo { width: min(236px, 100%); }
.site-footer .footer-tagline,
body[data-page="home"] .site-footer .footer-tagline {
  margin: 20px 0 23px;
  color: #f1efff;
  font: 500 clamp(20px, 2.2vw, 27px)/1.42 "Sora", sans-serif;
  letter-spacing: -.045em;
}
.site-footer .footer-tagline span {
  color: #b8bad7;
  font-size: .76em;
  font-weight: 400;
  letter-spacing: -.02em;
}
.site-footer .footer-cta {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 17px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: linear-gradient(105deg, #f4d58d, #ffae9b 52%, #e99bc6);
  box-shadow: 0 9px 29px rgba(235, 143, 166, .2);
  color: #241b37;
  font: 700 13px "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.site-footer .footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 36px rgba(235, 143, 166, .34);
}
.site-footer .footer-cta span { font-size: 18px; line-height: 1; }
.site-footer .footer-links,
body[data-page="home"] .site-footer .footer-links {
  position: relative;
  align-self: stretch;
  justify-content: center;
  gap: 6px;
  padding: 9px 0 9px clamp(17px, 2.6vw, 38px);
  border: 0;
  border-left: 1px solid rgba(181, 154, 255, .3);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.site-footer .footer-links.footer-pages {
  border-left-color: rgba(255, 157, 184, .32);
  background: none;
}
.site-footer .footer-links h2,
body[data-page="home"] .site-footer .footer-links h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 15px;
  padding: 0 0 15px;
  border: 0;
  color: #f4d58d;
  font: 700 clamp(17px, 1.6vw, 21px)/1.3 "Sora", sans-serif;
  letter-spacing: -.035em;
}
.site-footer .footer-links h2 span {
  display: inline-grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(244, 213, 141, .34);
  border-radius: 10px;
  background: rgba(244, 213, 141, .11);
  color: #f4d58d;
  font: 700 10px "Space Grotesk", sans-serif;
  letter-spacing: .04em;
}
.site-footer .footer-pages h2 span {
  border-color: rgba(255, 157, 184, .36);
  background: rgba(255, 157, 184, .1);
  color: #ffb2cb;
}
.site-footer .footer-links a,
body[data-page="home"] .site-footer .footer-links a {
  min-height: 39px;
  padding: 6px 10px;
  border: 0;
  border-radius: 9px;
  color: #c9cde1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.site-footer .footer-links a > span {
  color: #8ff4e1;
  font-size: 17px;
  opacity: .8;
}
.site-footer .footer-links a:hover,
body[data-page="home"] .site-footer .footer-links a:hover {
  transform: translateX(4px);
  border: 0;
  background: linear-gradient(90deg, rgba(101, 223, 208, .15), rgba(181, 154, 255, .06));
  color: #ffffff;
}
.site-footer .footer-pages a:hover { background: rgba(255, 157, 184, .1); }
.site-footer .footer-bottom,
body[data-page="home"] .site-footer .footer-bottom {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(198, 190, 255, .18);
  color: #aeb7d2;
  font-size: 11px;
  line-height: 1.7;
}
.site-footer .footer-source-line,
.site-footer .footer-copyright { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-footer .footer-source-line { color: #d1d5e7; font-weight: 600; letter-spacing: .035em; }
.site-footer .footer-source-line a {
  color: #8ff4e1;
  font-weight: 500;
  text-decoration-color: rgba(143, 244, 225, .36);
  text-underline-offset: 3px;
}
.site-footer .footer-bottom a:hover { color: #f4d58d; }
.site-footer .footer-copyright > span[aria-hidden="true"] { color: #ffb2cb; }
@media (max-width: 760px) {
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 13px;
    padding-top: 43px;
    padding-bottom: 36px;
  }
  .site-footer .footer-brand-panel {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0 0 29px;
    border-bottom: 1px solid rgba(181, 154, 255, .27);
  }
  .site-footer .footer-brand-panel::after { right: 5%; width: 165px; }
  .site-footer .footer-links,
  body[data-page="home"] .site-footer .footer-links {
    justify-content: flex-start;
    padding: 8px 0 8px 13px;
  }
  .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { font-size: 16px; }
  .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { min-height: 42px; font-size: 13px; }
}
@media (max-width: 440px) {
  .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main { gap: 21px 6px; }
  .site-footer .footer-links,
  body[data-page="home"] .site-footer .footer-links { padding-left: 10px; }
  .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { gap: 7px; font-size: 14px; }
  .site-footer .footer-links h2 span { width: 27px; height: 27px; flex-basis: 27px; }
  .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { padding-inline: 6px; font-size: 12px; }
  .site-footer .footer-bottom,
  body[data-page="home"] .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}
body[data-page="home"][data-theme="aurora"] .footer-links h2 { color: #18243a; }
@media (max-width: 760px) {
  body[data-page="home"] .moon-guide { padding-top: 48px; padding-bottom: 50px; }
  body[data-page="home"] .faq-section { padding-top: 45px; }
}
@media (max-width: 640px) {
  body[data-page="home"] .primary-nav { background: rgba(10, 16, 32, .99); }
  body[data-page="home"][data-theme="aurora"] .primary-nav { background: rgba(245, 246, 251, .99); }
  body[data-page="home"] .mega-menu { background: linear-gradient(145deg, #16233d, #101a30); }
  body[data-page="home"][data-theme="aurora"] .mega-menu { background: #fbfcff; }
}

/* Shared Aurora Observatory theme */
:root {
  --bg: #090d1b;
  --bg-raised: #11182b;
  --card: #151e34;
  --card-raised: #202b45;
  --line: rgba(174, 193, 229, .17);
  --text: #f2f4ff;
  --muted: #a8b3cb;
  --gold: #f4d58d;
  --teal: #65dfd0;
  --violet: #b59aff;
  --rose: #ff9db8;
  --success: #72e3b1;
  --shadow: 0 24px 90px rgba(3, 6, 17, .38);
  color-scheme: dark;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 6% 12%, rgba(58, 107, 151, .14), transparent 36rem),
    radial-gradient(ellipse at 94% 33%, rgba(110, 67, 143, .12), transparent 38rem),
    linear-gradient(180deg, #0b1020 0%, var(--bg) 52%, #0c1020 100%);
  background-color: var(--bg);
}
body[data-page="home"] {
  --bg: #090d1b;
  --bg-raised: #11182b;
  --card: #151e34;
  --card-raised: #202b45;
  --line: rgba(174, 193, 229, .17);
  --text: #f2f4ff;
  --muted: #a8b3cb;
  --gold: #f4d58d;
  --teal: #65dfd0;
  --violet: #b59aff;
  --rose: #ff9db8;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(57, 115, 165, .16), transparent 40rem),
    radial-gradient(ellipse at 92% 31%, rgba(119, 77, 155, .14), transparent 42rem),
    linear-gradient(180deg, #0b1020 0%, var(--bg) 55%, #0b1020 100%);
}
body[data-page="home"] main { overflow-x: clip; }
body[data-theme="aurora"],
body[data-page="home"][data-theme="aurora"] {
  --bg: #f5f3ee;
  --bg-raised: #eeedf5;
  --card: #fffefa;
  --card-raised: #f2eff8;
  --line: rgba(54, 61, 94, .14);
  --text: #20253a;
  --muted: #626b82;
  --gold: #9a6a19;
  --teal: #087f77;
  --violet: #7154b5;
  --rose: #b74d6f;
  --success: #16805a;
  --shadow: 0 22px 65px rgba(40, 39, 65, .10);
  color-scheme: light;
  background:
    radial-gradient(ellipse at 4% 8%, rgba(101, 180, 193, .13), transparent 38rem),
    radial-gradient(ellipse at 96% 28%, rgba(162, 132, 203, .12), transparent 40rem),
    linear-gradient(180deg, #fbf9f4 0%, var(--bg) 55%, #f5f2f5 100%);
  background-color: var(--bg);
}
body[data-page="home"][data-theme="aurora"] .nav-link { color: #545f79; }
body[data-page="home"][data-theme="aurora"] .nav-link:hover,
body[data-page="home"][data-theme="aurora"] .nav-link.nav-current { color: #20253a; }
body[data-page="home"][data-theme="aurora"] .nav-menu > .tools-menu-trigger { color: #263149; }
body[data-page="home"][data-theme="aurora"] .nav-menu .mega-group > a { color: #515e77; }
body[data-page="home"][data-theme="aurora"] .site-header {
  background: color-mix(in srgb, #fbf9f4 90%, transparent);
}
.site-header {
  border-bottom-color: color-mix(in srgb, var(--violet) 16%, var(--line));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 8px 32px rgba(5, 8, 20, .10);
}
.tools-menu-trigger {
  border-color: color-mix(in srgb, var(--violet) 22%, var(--line));
  background: linear-gradient(130deg, color-mix(in srgb, var(--violet) 8%, transparent), color-mix(in srgb, var(--teal) 5%, transparent));
}
.tools-menu-trigger:hover,
.tools-menu[open] > .tools-menu-trigger {
  border-color: color-mix(in srgb, var(--teal) 48%, var(--line));
  background: color-mix(in srgb, var(--teal) 9%, var(--bg-raised));
}
.mega-menu,
body[data-page="home"] .mega-menu,
body[data-page="home"] .nav-menu .mega-menu {
  border-color: color-mix(in srgb, var(--violet) 23%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-raised) 98%, var(--violet)), color-mix(in srgb, var(--bg) 98%, var(--teal)));
}
.mega-group,
body[data-page="home"] .nav-menu .mega-group {
  border-color: var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--violet) 6%, var(--card)), color-mix(in srgb, var(--teal) 4%, var(--card)));
}
.mega-group > a,
body[data-page="home"] .nav-menu .mega-group > a { color: var(--muted); }
.mega-group > a:hover,
body[data-page="home"] .nav-menu .mega-group > a:hover { color: var(--gold); }
.nav-cta {
  border-radius: 999px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 16%, transparent), color-mix(in srgb, var(--teal) 10%, transparent));
}
.section-band-mist::before {
  background:
    radial-gradient(ellipse at 18% 48%, rgba(101, 223, 208, .12), transparent 48%),
    linear-gradient(100deg, transparent, rgba(26, 40, 58, .78) 13%, rgba(27, 36, 57, .78) 87%, transparent);
}
.section-band-orbit::before {
  background:
    radial-gradient(ellipse at 82% 45%, rgba(181, 154, 255, .16), transparent 49%),
    linear-gradient(100deg, transparent, rgba(34, 31, 58, .76) 13%, rgba(27, 32, 55, .76) 87%, transparent);
}
.section-band-dawn::before {
  background:
    radial-gradient(ellipse at 20% 52%, rgba(244, 213, 141, .12), transparent 50%),
    linear-gradient(100deg, transparent, rgba(49, 40, 47, .72) 13%, rgba(39, 37, 54, .72) 87%, transparent);
}
body[data-page="home"] .section-band-mist::before,
body[data-page="home"] .section-band-orbit::before,
body[data-page="home"] .section-band-dawn::before {
  background-color: transparent;
}
body[data-page="home"][data-theme="aurora"] .section-band-mist::before {
  background: linear-gradient(100deg, transparent, rgba(211, 233, 229, .74) 13%, rgba(211, 233, 229, .74) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-orbit::before {
  background: linear-gradient(100deg, transparent, rgba(230, 222, 244, .78) 13%, rgba(230, 222, 244, .78) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-dawn::before {
  background: linear-gradient(100deg, transparent, rgba(245, 230, 199, .78) 13%, rgba(245, 230, 199, .78) 87%, transparent);
}
.glass-card,
body[data-page="home"] .glass-card {
  border-color: var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 95%, var(--violet)), color-mix(in srgb, var(--bg-raised) 94%, var(--teal)));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .035);
}
.tool-card,
body[data-page="home"] .tool-card {
  border-color: color-mix(in srgb, var(--violet) 18%, var(--line));
  background: linear-gradient(150deg, color-mix(in srgb, var(--card) 96%, var(--violet)), color-mix(in srgb, var(--bg-raised) 95%, var(--teal)));
}
.tool-card:hover,
body[data-page="home"] .tool-card:hover,
body[data-page="home"] .guide-card:hover {
  border-color: color-mix(in srgb, var(--teal) 52%, var(--line));
  box-shadow: 0 16px 42px color-mix(in srgb, var(--teal) 11%, transparent);
}
.guide-card,
body[data-page="home"] .guide-card {
  border-color: color-mix(in srgb, var(--gold) 17%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 95%, var(--gold)), color-mix(in srgb, var(--bg-raised) 96%, var(--rose)));
}
.tool-page .tool-heading { padding-top: 30px; }
.tool-page .tool-hero { padding-top: 14px; }
.tool-page .content-block + .content-block { border-top: 1px solid color-mix(in srgb, var(--violet) 13%, var(--line)); }
.breadcrumbs a:hover,
.related-links a:hover { color: var(--teal); }
.related-links a {
  min-height: 44px;
  border-color: color-mix(in srgb, var(--violet) 20%, var(--line));
  background: color-mix(in srgb, var(--card) 72%, transparent);
}
.button-gold {
  background: linear-gradient(120deg, #f2d58d, #ffb78c);
  color: #211d24;
  box-shadow: 0 8px 24px rgba(238, 179, 112, .18);
}
.button-gold:hover { box-shadow: 0 10px 30px rgba(238, 179, 112, .28); }
.faq-item[open] { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(42px, 7vw, 90px);
  border-top: 1px solid color-mix(in srgb, var(--violet) 28%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-raised) 96%, var(--violet)), color-mix(in srgb, var(--bg) 94%, var(--teal)));
}
.site-footer::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -8%;
  width: min(570px, 80vw);
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--violet) 18%, transparent), transparent 68%);
  content: "";
  pointer-events: none;
}
.footer-main {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 32px;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: 28px;
}
.footer-main:has(.footer-brand-panel) {
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(150px, .8fr));
  align-items: start;
  gap: 24px 38px;
}
.footer-brand { gap: 11px; font-size: 13px; letter-spacing: .1em; }
.footer-brand .brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 15%, var(--card)), color-mix(in srgb, var(--violet) 13%, var(--card)));
  color: var(--gold);
  font-size: 24px;
  box-shadow: 0 0 28px color-mix(in srgb, var(--gold) 10%, transparent);
}
.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: auto;
  grid-row: auto;
  gap: 3px;
}
.footer-links h2 {
  margin: 2px 0 10px;
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 650;
}
.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
  background: color-mix(in srgb, var(--teal) 9%, transparent);
  color: var(--text);
}
.site-footer .footer-links { margin-inline: 0; }
.footer-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}
.footer-live .live-dot { margin: 0; }
.footer-bottom {
  align-items: center;
  padding-top: 17px;
  padding-bottom: 21px;
  border-top-color: color-mix(in srgb, var(--violet) 18%, var(--line));
  font-size: 11px;
  line-height: 1.7;
}
.footer-bottom a { color: var(--teal); text-decoration-color: color-mix(in srgb, var(--teal) 40%, transparent); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold); }
body[data-page="home"] .site-footer {
  border-top-color: color-mix(in srgb, var(--violet) 28%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-raised) 96%, var(--violet)), color-mix(in srgb, var(--bg) 94%, var(--teal)));
}
body[data-page="home"] .site-footer::before {
  background: radial-gradient(ellipse, color-mix(in srgb, var(--violet) 18%, transparent), transparent 68%);
}
body[data-page="home"][data-theme="aurora"] .site-footer {
  background: linear-gradient(145deg, #eeedf5, #f5f3ee 70%, #e9f3f0);
}
body[data-page="home"][data-theme="aurora"] .footer-tagline,
body[data-page="home"][data-theme="aurora"] .footer-links a,
body[data-page="home"][data-theme="aurora"] .footer-bottom { color: var(--muted); }

body[data-page="legal"] .tool-page { max-width: 1000px; }
body[data-page="legal"] .tool-page .tool-heading { max-width: 820px; padding-block: 42px 30px; }
body[data-page="legal"] .tool-heading > p:not(.eyebrow) { font-size: 16px; }
body[data-page="legal"] .content-block { max-width: 860px; padding-block: 22px 50px; }
body[data-page="legal"] .content-block h2 {
  margin-top: 33px;
  color: var(--text);
  font-size: clamp(20px, 2.6vw, 25px);
  letter-spacing: -.035em;
}
body[data-page="legal"] .content-block h2:first-of-type { margin-top: 20px; }
body[data-page="legal"] .content-block > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
body[data-page="legal"] .content-block a { color: var(--teal); text-underline-offset: 3px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 24px;
  margin: 12px 0 30px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 40px);
  border-color: color-mix(in srgb, var(--violet) 32%, var(--line));
  background:
    radial-gradient(ellipse at 90% 8%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--card) 96%, var(--violet)), color-mix(in srgb, var(--bg-raised) 93%, var(--teal)));
}
.contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--gold) 12%, var(--card));
  color: var(--gold);
  font-size: 26px;
  box-shadow: 0 0 32px color-mix(in srgb, var(--gold) 12%, transparent);
}
.contact-card .eyebrow { margin-bottom: 9px; }
.contact-card h2 { margin-bottom: 12px; font-size: clamp(25px, 3vw, 34px); }
.contact-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-card .contact-email { min-height: 52px; margin-top: 8px; padding-inline: 20px; font-size: 14px; }
.contact-note { margin-top: 16px; font-size: 12px !important; }
.contact-topics { display: grid; gap: 13px; }
.contact-topic {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 15px;
  padding: 21px;
  border: 1px solid color-mix(in srgb, var(--teal) 21%, var(--line));
  border-radius: 17px;
  background: linear-gradient(130deg, color-mix(in srgb, var(--card) 88%, var(--teal)), color-mix(in srgb, var(--bg-raised) 95%, var(--violet)));
}
.contact-topic > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--teal) 36%, var(--line));
  border-radius: 12px;
  color: var(--teal);
  font: 600 12px "Space Grotesk", sans-serif;
}
.contact-topic h2 { margin: 2px 0 7px; font-size: 17px; }
.contact-topic p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
body[data-theme="aurora"] .contact-card,
body[data-theme="aurora"] .contact-topic { background-color: var(--card); }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 36px, 600px); }
  .site-header { padding-inline: 18px; }
  .tool-page { padding-top: 20px; }
  .tool-page .tool-heading { padding-top: 20px; }
  .tool-page .tool-hero { gap: 20px; padding-bottom: 30px; }
  .footer-main,
  .footer-main:has(.footer-brand-panel) { grid-template-columns: 1fr; gap: 12px; }
  .footer-brand, .footer-tagline, .footer-links { grid-column: 1; grid-row: auto; }
  .footer-links { margin-top: 5px; }
  .footer-links a { padding-inline: 11px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { padding-inline: 14px; }
  .tool-heading h1 { font-size: clamp(38px, 11vw, 52px); }
  .tool-hero { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .result-orb { max-width: 250px; margin-inline: auto; }
  .footer-main { padding-top: 30px; }
  .footer-links { gap: 4px; margin-inline: 0; }
  .site-footer .footer-links { margin-inline: 0; }
  .footer-links a { min-height: 44px; padding-inline: 10px; font-size: 10px; }
  .footer-bottom { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Final footer overrides follow legacy page-specific rules intentionally. */
body .site-footer,
body[data-page="home"] .site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 9vw, 116px);
  border: 0;
  border-top: 1px solid rgba(152, 137, 255, .5);
  background:
    radial-gradient(ellipse at 10% 5%, rgba(57, 225, 214, .2), transparent 31%),
    radial-gradient(ellipse at 91% 18%, rgba(239, 110, 181, .2), transparent 30%),
    radial-gradient(ellipse at 52% 100%, rgba(112, 91, 235, .16), transparent 45%),
    linear-gradient(125deg, #11152f 0%, #21183f 44%, #102c3c 100%);
  box-shadow: 0 -25px 90px rgba(17, 15, 55, .24);
}
body .site-footer::before,
body[data-page="home"] .site-footer::before {
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  height: 100%;
  border-radius: 0;
  background:
    radial-gradient(circle at 76% 25%, rgba(255, 255, 255, .11) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 61%, rgba(255, 255, 255, .14) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 72%, rgba(255, 255, 255, .1) 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 50% -30%, rgba(177, 156, 255, .16), transparent 58%);
  filter: none;
  opacity: .9;
}
body .site-footer .footer-main,
body[data-page="home"] .site-footer .footer-main {
  grid-template-columns: minmax(280px, 1.25fr) minmax(170px, .75fr) minmax(210px, .9fr);
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(45px, 7vw, 82px);
  padding-bottom: clamp(40px, 6vw, 68px);
}
body .site-footer .footer-brand-panel,
body[data-page="home"] .site-footer .footer-brand-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 265px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 12px 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body .site-footer .footer-brand-panel::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  width: clamp(150px, 18vw, 235px);
  aspect-ratio: 1;
  transform: translate(6%, -50%);
  border: 1px solid rgba(188, 173, 255, .13);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255, 247, 220, .98), rgba(244, 213, 141, .94) 28%, rgba(180, 154, 255, .64) 57%, rgba(95, 208, 208, .23) 70%, transparent 71%);
  box-shadow: 0 0 54px rgba(155, 144, 255, .21), 0 0 105px rgba(66, 219, 205, .12);
  content: "";
  opacity: .24;
  pointer-events: none;
}
body .site-footer .footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #8ff4e1;
  font: 700 10px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
}
body .site-footer .footer-kicker .live-dot { margin: 0; }
body .site-footer .footer-brand,
body[data-page="home"] .site-footer .footer-brand { margin: 0; }
body .site-footer .footer-brand .brand-logo { width: min(236px, 100%); height: auto; }
body .site-footer .footer-tagline,
body[data-page="home"] .site-footer .footer-tagline {
  margin: 20px 0 23px;
  color: #f1efff;
  font: 500 clamp(20px, 2.2vw, 27px)/1.42 "Sora", sans-serif;
  letter-spacing: -.045em;
}
body .site-footer .footer-tagline span {
  color: #b8bad7;
  font-size: .76em;
  font-weight: 400;
  letter-spacing: -.02em;
}
body .site-footer .footer-cta {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 17px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: linear-gradient(105deg, #f4d58d, #ffae9b 52%, #e99bc6);
  box-shadow: 0 9px 29px rgba(235, 143, 166, .2);
  color: #241b37;
  font: 700 13px "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
body .site-footer .footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 36px rgba(235, 143, 166, .34);
}
body .site-footer .footer-cta span { font-size: 18px; line-height: 1; }
body .site-footer .footer-links,
body[data-page="home"] .site-footer .footer-links {
  position: relative;
  align-self: stretch;
  justify-content: center;
  gap: 6px;
  padding: 9px 0 9px clamp(17px, 2.6vw, 38px);
  border: 0;
  border-left: 1px solid rgba(181, 154, 255, .3);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body .site-footer .footer-links.footer-pages {
  border-left-color: rgba(255, 157, 184, .32);
  background: none;
}
body .site-footer .footer-links h2,
body[data-page="home"] .site-footer .footer-links h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 15px;
  padding: 0 0 15px;
  border: 0;
  color: #f4d58d;
  font: 700 clamp(17px, 1.6vw, 21px)/1.3 "Sora", sans-serif;
  letter-spacing: -.035em;
}
body .site-footer .footer-links h2 span {
  display: inline-grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(244, 213, 141, .34);
  border-radius: 10px;
  background: rgba(244, 213, 141, .11);
  color: #f4d58d;
  font: 700 10px "Space Grotesk", sans-serif;
}
body .site-footer .footer-pages h2 span {
  border-color: rgba(255, 157, 184, .36);
  background: rgba(255, 157, 184, .1);
  color: #ffb2cb;
}
body .site-footer .footer-links a,
body[data-page="home"] .site-footer .footer-links a {
  min-height: 39px;
  padding: 6px 10px;
  border: 0;
  border-radius: 9px;
  color: #c9cde1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
body .site-footer .footer-links a > span { color: #8ff4e1; font-size: 17px; opacity: .8; }
body .site-footer .footer-links a:hover,
body[data-page="home"] .site-footer .footer-links a:hover {
  transform: translateX(4px);
  border: 0;
  background: linear-gradient(90deg, rgba(101, 223, 208, .15), rgba(181, 154, 255, .06));
  color: #ffffff;
}
body .site-footer .footer-pages a:hover { background: rgba(255, 157, 184, .1); }
body .site-footer .footer-bottom,
body[data-page="home"] .site-footer .footer-bottom {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(198, 190, 255, .18);
  color: #aeb7d2;
  font-size: 11px;
  line-height: 1.7;
}
body .site-footer .footer-source-line,
body .site-footer .footer-copyright { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body .site-footer .footer-source-line { color: #d1d5e7; font-weight: 600; letter-spacing: .035em; }
body .site-footer .footer-source-line a {
  color: #8ff4e1;
  font-weight: 500;
  text-decoration-color: rgba(143, 244, 225, .36);
  text-underline-offset: 3px;
}
body .site-footer .footer-bottom a:hover { color: #f4d58d; }
body .site-footer .footer-copyright > span[aria-hidden="true"] { color: #ffb2cb; }
@media (max-width: 760px) {
  body .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 13px;
    padding-top: 43px;
    padding-bottom: 36px;
  }
  body .site-footer .footer-brand-panel,
  body[data-page="home"] .site-footer .footer-brand-panel {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0 0 29px;
    border-bottom: 1px solid rgba(181, 154, 255, .27);
  }
  body .site-footer .footer-brand-panel::after { right: 5%; width: 165px; }
  body .site-footer .footer-links,
  body[data-page="home"] .site-footer .footer-links {
    justify-content: flex-start;
    padding: 8px 0 8px 13px;
  }
  body .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { font-size: 16px; }
  body .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { min-height: 42px; font-size: 13px; }
}
@media (max-width: 440px) {
  body .site-footer .footer-main,
  body[data-page="home"] .site-footer .footer-main { gap: 21px 6px; }
  body .site-footer .footer-links,
  body[data-page="home"] .site-footer .footer-links { padding-left: 10px; }
  body .site-footer .footer-links h2,
  body[data-page="home"] .site-footer .footer-links h2 { gap: 7px; font-size: 14px; }
  body .site-footer .footer-links h2 span { width: 27px; height: 27px; flex-basis: 27px; }
  body .site-footer .footer-links a,
  body[data-page="home"] .site-footer .footer-links a { padding-inline: 6px; font-size: 13px; }
  body .site-footer .footer-bottom,
  body[data-page="home"] .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Shared celestial navigation and homepage refresh. */
.site-header {
  min-height: 84px;
  padding-inline: max(26px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(160, 164, 255, .22);
  background:
    radial-gradient(ellipse at 17% 0%, rgba(91, 103, 224, .16), transparent 38%),
    linear-gradient(105deg, rgba(10, 13, 35, .97), rgba(22, 17, 53, .97) 52%, rgba(7, 36, 49, .97));
  box-shadow: 0 12px 42px rgba(2, 4, 18, .3), 0 1px rgba(105, 226, 214, .14);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 231, 210, .6) 28%, rgba(184, 161, 255, .62) 68%, transparent);
  content: "";
  pointer-events: none;
}
.site-header .brand-logo {
  width: clamp(184px, 18vw, 222px);
  filter: drop-shadow(0 0 18px rgba(115, 231, 210, .19));
}
.site-header .primary-nav { gap: clamp(9px, 1.15vw, 17px); }
.site-header .nav-link {
  position: relative;
  padding-block: 10px;
  color: #c6cce3;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, text-shadow .2s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.nav-current {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(142, 237, 224, .35);
}
.site-header .nav-link.nav-current::after {
  right: 12%;
  bottom: -17px;
  left: 12%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7cebd7, #b6a5ff, #ffd38a);
  box-shadow: 0 0 12px rgba(124, 235, 215, .62);
}
.site-header .nav-menu > .tools-menu-trigger {
  min-height: 44px;
  padding-inline: 14px;
  border: 1px solid rgba(163, 163, 241, .26);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(134, 112, 255, .12), rgba(101, 223, 208, .055));
  font-size: 11px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-header .nav-menu:nth-of-type(2) > .tools-menu-trigger {
  border-color: rgba(101, 223, 208, .28);
  background: linear-gradient(135deg, rgba(101, 223, 208, .1), rgba(98, 161, 230, .05));
}
.site-header .nav-menu:nth-of-type(3) > .tools-menu-trigger {
  border-color: rgba(255, 157, 184, .27);
  background: linear-gradient(135deg, rgba(255, 157, 184, .09), rgba(181, 154, 255, .07));
}
.site-header .nav-menu > .tools-menu-trigger:hover,
.site-header .nav-menu[open] > .tools-menu-trigger {
  transform: translateY(-1px);
  border-color: rgba(132, 239, 222, .7);
  background: linear-gradient(135deg, rgba(101, 223, 208, .16), rgba(181, 154, 255, .13));
  box-shadow: 0 5px 25px rgba(101, 223, 208, .12);
}
.site-header .nav-cta {
  min-height: 43px;
  padding-inline: 16px;
  border: 1px solid rgba(255, 226, 164, .55);
  background: linear-gradient(112deg, #ffe39d, #ffbd9d 55%, #f5a9cb);
  box-shadow: 0 6px 25px rgba(244, 176, 138, .18);
  color: #271b35;
  font-size: 11px;
}
.site-header .nav-cta:hover {
  box-shadow: 0 8px 32px rgba(244, 176, 138, .34), 0 0 22px rgba(244, 176, 138, .18);
}
.site-header .mega-menu,
.site-header .nav-menu .mega-menu {
  border-color: rgba(171, 158, 255, .34);
  background:
    radial-gradient(ellipse at 92% 0%, rgba(111, 96, 219, .18), transparent 38%),
    linear-gradient(145deg, rgba(20, 23, 54, .99), rgba(11, 29, 47, .99) 62%, rgba(24, 19, 49, .99));
  box-shadow: 0 30px 95px rgba(1, 4, 16, .68), 0 0 55px rgba(101, 223, 208, .08);
}
body[data-theme="aurora"] .site-header {
  border-bottom-color: rgba(145, 133, 200, .36);
  background:
    radial-gradient(ellipse at 17% 0%, rgba(154, 145, 222, .25), transparent 42%),
    linear-gradient(105deg, rgba(35, 38, 75, .97), rgba(57, 40, 84, .97) 53%, rgba(22, 70, 77, .97));
}
body[data-theme="aurora"] .site-header .nav-link { color: #e6e9f5; }

body[data-page="home"] {
  background:
    radial-gradient(ellipse at 80% 5%, rgba(107, 86, 225, .18), transparent 33%),
    radial-gradient(ellipse at 3% 36%, rgba(33, 190, 178, .1), transparent 30%),
    radial-gradient(ellipse at 95% 66%, rgba(204, 108, 169, .065), transparent 27%),
    #0a1020;
}
body[data-page="home"][data-theme="aurora"] {
  background:
    radial-gradient(ellipse at 80% 5%, rgba(158, 146, 225, .18), transparent 33%),
    radial-gradient(ellipse at 3% 36%, rgba(83, 197, 179, .11), transparent 30%),
    #f5f6fb;
}
body[data-page="home"] .hero-dashboard {
  width: min(1320px, calc(100% - 64px));
  min-height: 660px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  overflow: visible;
}
body[data-page="home"] .hero-dashboard::before {
  top: 5%;
  left: -31%;
  width: 77%;
  height: 89%;
  background: radial-gradient(ellipse, rgba(89, 210, 193, .16), transparent 67%);
  filter: blur(8px);
}
body[data-page="home"] .hero-dashboard::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -8%;
  width: 70%;
  height: 84%;
  border: 1px solid rgba(166, 161, 255, .1);
  border-radius: 48% 52% 50% 50%;
  background:
    radial-gradient(ellipse at 65% 50%, rgba(121, 93, 221, .11), transparent 59%),
    radial-gradient(ellipse at 44% 74%, rgba(63, 201, 191, .075), transparent 58%);
  content: "";
  transform: rotate(-8deg);
  pointer-events: none;
}
body[data-page="home"] .hero-copy {
  padding: 78px 0 88px;
}
body[data-page="home"] .hero-copy .eyebrow {
  margin-bottom: 25px;
  padding: 10px 15px;
  border: 1px solid rgba(115, 231, 210, .28);
  background: linear-gradient(100deg, rgba(115, 231, 210, .11), rgba(184, 161, 255, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 6px 26px rgba(49, 130, 151, .08);
  color: #b7fff0;
  font-size: 9px;
}
body[data-page="home"] .hero-copy h1 {
  max-width: 620px;
  margin-bottom: 25px;
  font-size: clamp(64px, 7.35vw, 98px);
  line-height: .98;
  letter-spacing: -.09em;
  text-wrap: balance;
}
body[data-page="home"] .hero-copy h1 span {
  background: linear-gradient(100deg, #70efd4 0%, #a3c8ff 43%, #c4a2ff 73%, #ffcf9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(105, 185, 224, .22));
}
body[data-page="home"] .hero-intro {
  max-width: 470px;
  margin-bottom: 25px;
  color: #c0c9df;
  font-size: 15px;
  line-height: 1.9;
}
body[data-page="home"] .live-stamp {
  padding: 11px 15px;
  border: 1px solid rgba(170, 179, 224, .18);
  border-radius: 999px;
  background: rgba(19, 27, 53, .7);
  color: #c5cee3;
  font-size: 9px;
}
body[data-page="home"] .hero-actions { gap: 11px; margin-top: 29px; }
body[data-page="home"] .hero-actions .button {
  min-height: 46px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 11px;
}
body[data-page="home"] .button-gold {
  border-color: rgba(158, 255, 234, .68);
  background: linear-gradient(110deg, #71e8d1, #9bd6ff 58%, #c0b0ff);
  box-shadow: 0 8px 30px rgba(91, 193, 191, .24), inset 0 1px rgba(255, 255, 255, .48);
}
body[data-page="home"] .button-gold:hover {
  box-shadow: 0 11px 38px rgba(91, 193, 191, .38), 0 0 25px rgba(147, 172, 255, .16);
}
body[data-page="home"] .button-quiet {
  border-color: rgba(168, 174, 230, .24);
  background: linear-gradient(135deg, rgba(30, 34, 69, .76), rgba(15, 30, 49, .82));
}
body[data-page="home"] .button-quiet:hover {
  border-color: rgba(184, 161, 255, .62);
  background: linear-gradient(135deg, rgba(75, 62, 129, .3), rgba(20, 52, 68, .8));
  box-shadow: 0 8px 28px rgba(116, 100, 200, .15);
}
body[data-page="home"] .hero-visual {
  min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(173, 168, 255, .16);
  border-radius: 48% 52% 45% 55% / 51% 46% 54% 49%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(38, 51, 102, .26), transparent 65%),
    linear-gradient(145deg, rgba(17, 23, 54, .13), rgba(12, 32, 46, .2));
  box-shadow: inset 0 0 75px rgba(91, 101, 194, .12), 0 24px 80px rgba(2, 5, 20, .12);
}
body[data-page="home"] .hero-visual::after {
  position: absolute;
  z-index: -1;
  inset: 8%;
  border: 1px dashed rgba(204, 210, 255, .13);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
}
body[data-page="home"] .aurora-glow {
  width: 108%;
  height: 98%;
  background:
    radial-gradient(ellipse at 39% 54%, rgba(54, 232, 211, .31), transparent 47%),
    radial-gradient(ellipse at 65% 39%, rgba(142, 94, 255, .36), transparent 57%),
    radial-gradient(ellipse at 54% 72%, rgba(255, 194, 126, .14), transparent 69%);
  filter: blur(27px);
}
body[data-page="home"] .moon-halo {
  width: 69%;
  border-color: rgba(218, 221, 255, .22);
  box-shadow: 0 0 105px rgba(131, 113, 241, .23), 0 0 70px rgba(68, 216, 196, .16), inset 0 0 58px rgba(115, 231, 210, .1);
}
body[data-page="home"] .moon-canvas {
  width: min(108%, 510px);
  filter: drop-shadow(0 25px 48px rgba(0, 0, 0, .39)) drop-shadow(0 0 30px rgba(220, 203, 255, .12));
}
body[data-page="home"] .moon-orbit {
  width: 99%;
  height: 54%;
  border-color: rgba(199, 203, 248, .2);
}
body[data-page="home"] .visual-coordinate {
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(185, 194, 239, .14);
  border-radius: 999px;
  background: rgba(11, 17, 40, .55);
  color: #d0d9ef;
  font-size: 8px;
  backdrop-filter: blur(10px);
}
body[data-page="home"] .coordinate-top { top: 12%; right: 8%; }
body[data-page="home"] .coordinate-bottom { bottom: 11%; left: 8%; }
body[data-page="home"] .dashboard-section,
body[data-page="home"] .guide-section,
body[data-page="home"] .cycle-section,
body[data-page="home"] .tools-section,
body[data-page="home"] .about-strip,
body[data-page="home"] .faq-section {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 76px);
}
body[data-page="home"] .section-heading { margin-bottom: 28px; }
body[data-page="home"] .section-heading h2,
body[data-page="home"] .about-strip h2 {
  font-size: clamp(30px, 3.5vw, 43px);
  letter-spacing: -.065em;
}
body[data-page="home"] .section-note { max-width: 360px; font-size: 12px; }
body[data-page="home"] .date-control {
  padding: 7px;
  border: 1px solid rgba(169, 190, 222, .14);
  border-radius: 14px;
  background: rgba(18, 25, 50, .62);
}
body[data-page="home"] .date-control .icon-button,
body[data-page="home"] .date-control .date-label input { border-color: rgba(169, 190, 222, .19); }
body[data-page="home"] .dashboard-grid { gap: 17px; }
body[data-page="home"] .glass-card {
  border-color: rgba(166, 174, 230, .19);
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(123, 104, 214, .12), transparent 41%),
    linear-gradient(145deg, rgba(24, 34, 63, .96), rgba(13, 25, 46, .97));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .055);
}
body[data-page="home"] .phase-card,
body[data-page="home"] .metrics-card { min-height: 265px; padding: 25px 27px; }
body[data-page="home"] .phase-readout { min-height: 116px; }
body[data-page="home"] .phase-readout h3 { font-size: 23px; }
body[data-page="home"] .phase-readout p { font-size: 11px; }
body[data-page="home"] .metric-grid { gap: 0 25px; margin-top: 24px; }
body[data-page="home"] .metric > span { font-size: 10px; }
body[data-page="home"] .metric strong { font-size: 21px; }
body[data-page="home"] .metric small { font-size: 9px; }
body[data-page="home"] .next-phases { gap: 13px; margin-top: 13px; }
body[data-page="home"] .next-phase,
body[data-page="home"] .hemisphere-toggle {
  min-height: 93px;
  border-color: rgba(166, 174, 230, .17);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(24, 34, 63, .88), rgba(14, 28, 48, .9));
}
body[data-page="home"] .guide-grid { gap: 13px; }
body[data-page="home"] .guide-card {
  min-height: 180px;
  padding: 19px 17px;
  border-color: rgba(166, 174, 230, .16);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(24, 34, 63, .88), rgba(14, 27, 46, .94));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body[data-page="home"] .guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 231, 210, .46);
  box-shadow: 0 16px 38px rgba(50, 137, 158, .12), inset 0 1px rgba(255, 255, 255, .06);
}
body[data-page="home"] .guide-icon { color: #8bf0dd; font-size: 20px; }
body[data-page="home"] .guide-card h3 { margin-bottom: 8px; font-size: 15px; }
body[data-page="home"] .guide-card p { font-size: 11px; line-height: 1.7; }
body[data-page="home"] .cycle-card {
  min-height: 270px;
  border-color: rgba(171, 158, 255, .21);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 13% 50%, rgba(115, 231, 210, .13), transparent 42%),
    radial-gradient(ellipse at 94% 0%, rgba(147, 113, 255, .16), transparent 47%),
    linear-gradient(120deg, #17233e, #101c34 65%, #1a1d3c);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .055);
}
body[data-page="home"] .cycle-moon-wrap { transform: scale(1.06); }
body[data-page="home"] .tool-card {
  min-height: 225px;
  border-color: rgba(166, 174, 230, .17);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(25, 36, 65, .97), rgba(14, 27, 47, .97));
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12), inset 0 1px rgba(255, 255, 255, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body[data-page="home"] .tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 231, 210, .52);
  box-shadow: 0 18px 42px rgba(46, 149, 158, .14), inset 0 1px rgba(255, 255, 255, .06);
}
body[data-page="home"] .tool-search {
  min-height: 47px;
  border-color: rgba(166, 174, 230, .2);
  border-radius: 13px;
  background: rgba(17, 26, 50, .84);
}
body[data-page="home"] .faq-item {
  border-color: rgba(166, 174, 230, .17);
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(24, 34, 63, .82), rgba(15, 28, 47, .88));
}
body[data-page="home"][data-theme="aurora"] .hero-visual {
  border-color: rgba(106, 97, 171, .19);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(194, 187, 245, .25), transparent 64%),
    linear-gradient(145deg, rgba(229, 233, 250, .68), rgba(218, 242, 237, .6));
}
body[data-page="home"][data-theme="aurora"] .hero-intro { color: #56637e; }
body[data-page="home"][data-theme="aurora"] .live-stamp {
  border-color: rgba(79, 93, 143, .18);
  background: rgba(255, 255, 255, .75);
  color: #53607c;
}
body[data-page="home"][data-theme="aurora"] .date-control {
  border-color: rgba(50, 68, 108, .15);
  background: rgba(255, 255, 255, .76);
}
body[data-page="home"][data-theme="aurora"] .glass-card,
body[data-page="home"][data-theme="aurora"] .next-phase,
body[data-page="home"][data-theme="aurora"] .hemisphere-toggle,
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .tool-card,
body[data-page="home"][data-theme="aurora"] .faq-item {
  border-color: rgba(50, 68, 108, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(241, 245, 253, .96));
  box-shadow: 0 16px 42px rgba(49, 65, 105, .08), inset 0 1px rgba(255, 255, 255, .8);
}
body[data-page="home"][data-theme="aurora"] .cycle-card {
  border-color: rgba(92, 91, 153, .18);
  background:
    radial-gradient(ellipse at 13% 50%, rgba(115, 210, 197, .17), transparent 48%),
    radial-gradient(ellipse at 94% 0%, rgba(147, 132, 215, .14), transparent 47%),
    linear-gradient(120deg, #fff, #f1f3fb 65%, #f8f5ff);
}

@media (max-width: 1120px) {
  .site-header { padding-inline: 24px; }
  body[data-page="home"] .hero-dashboard { min-height: 600px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(58px, 7.6vw, 82px); }
}
@media (max-width: 760px) {
  body[data-page="home"] .hero-dashboard {
    width: min(100% - 36px, 560px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    padding-inline: 0;
  }
  body[data-page="home"] .hero-dashboard::after {
    top: 42%;
    right: -38%;
    width: 110%;
    height: 52%;
  }
  body[data-page="home"] .hero-copy { padding: 54px 0 16px; }
  body[data-page="home"] .hero-copy .eyebrow { margin-bottom: 19px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(54px, 11.4vw, 76px); }
  body[data-page="home"] .hero-intro { max-width: 500px; font-size: 14px; }
  body[data-page="home"] .hero-visual {
    min-height: clamp(350px, 96vw, 470px);
    margin: 0 -10px 20px;
  }
  body[data-page="home"] .hero-visual::after { inset: 7%; }
  body[data-page="home"] .moon-canvas { width: min(100%, 430px); }
  body[data-page="home"] .moon-halo { width: 70%; }
  body[data-page="home"] .visual-coordinate { font-size: 7px; }
  body[data-page="home"] .dashboard-section,
  body[data-page="home"] .guide-section,
  body[data-page="home"] .cycle-section,
  body[data-page="home"] .tools-section,
  body[data-page="home"] .about-strip,
  body[data-page="home"] .faq-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  body[data-page="home"] .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .about-strip h2 { font-size: clamp(29px, 8vw, 37px); }
  body[data-page="home"] .section-note { max-width: 100%; text-align: left; }
  body[data-page="home"] .date-control { max-width: 100%; gap: 6px; }
  body[data-page="home"] .date-label input { max-width: 145px; }
  body[data-page="home"] .phase-card,
  body[data-page="home"] .metrics-card { min-height: 0; padding: 21px; }
  body[data-page="home"] .guide-card { min-height: 160px; }
}
@media (max-width: 440px) {
  .site-header { min-height: 68px; padding-inline: 16px; }
  .site-header .brand-logo { width: clamp(174px, 49vw, 194px); }
  .site-header .menu-toggle {
    width: 43px;
    height: 43px;
    border-color: rgba(115, 231, 210, .36);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(115, 231, 210, .13), rgba(184, 161, 255, .13));
    box-shadow: 0 0 24px rgba(111, 138, 228, .12);
  }
  body[data-page="home"] .hero-dashboard { width: calc(100% - 34px); }
  body[data-page="home"] .hero-copy { padding-top: 42px; }
  body[data-page="home"] .hero-copy .eyebrow { padding: 9px 12px; font-size: 8px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(49px, 13.4vw, 62px); }
  body[data-page="home"] .hero-intro { font-size: 13px; line-height: 1.8; }
  body[data-page="home"] .hero-actions { gap: 8px; margin-top: 22px; }
  body[data-page="home"] .hero-actions .button { min-height: 43px; padding-inline: 12px; font-size: 10px; }
  body[data-page="home"] .hero-visual { min-height: 340px; margin-inline: -6px; }
  body[data-page="home"] .dashboard-section,
  body[data-page="home"] .guide-section,
  body[data-page="home"] .cycle-section,
  body[data-page="home"] .tools-section,
  body[data-page="home"] .about-strip,
  body[data-page="home"] .faq-section { padding-block: 38px; }
  body[data-page="home"] .guide-grid { gap: 9px; }
  body[data-page="home"] .guide-card { min-height: 155px; padding: 14px 12px; }
  body[data-page="home"] .guide-card h3 { font-size: 13px; }
  body[data-page="home"] .guide-card p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .guide-card,
  body[data-page="home"] .tool-card,
  .site-header .nav-link,
  .site-header .nav-menu > .tools-menu-trigger {
    scroll-behavior: auto;
    transition-duration: .01ms;
  }
  body[data-page="home"] .star-field { animation: none; }
}

.blog-page { padding-top: 34px; }
body[data-page="blog"] {
  --bg: #0a1020;
  --bg-raised: #101a30;
  --card: #131f37;
  --card-raised: #1b2943;
  --line: rgba(169, 190, 222, .17);
  --text: #f3f6ff;
  --muted: #aab8d0;
  --gold: #ffd38a;
  --teal: #73e7d2;
  --violet: #b8a1ff;
  --rose: #ff9cc7;
  --success: #73e7d2;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(90, 107, 190, .13), transparent 34%),
    radial-gradient(ellipse at 6% 48%, rgba(37, 155, 153, .075), transparent 30%),
    #0a1020;
}
body[data-page="blog-article"] {
  --bg: #0a1020;
  --bg-raised: #101a30;
  --card: #131f37;
  --card-raised: #1b2943;
  --line: rgba(169, 190, 222, .17);
  --text: #f3f6ff;
  --muted: #aab8d0;
  --gold: #ffd38a;
  --teal: #73e7d2;
  --violet: #b8a1ff;
  --rose: #ff9cc7;
  --success: #73e7d2;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(90, 107, 190, .13), transparent 34%),
    radial-gradient(ellipse at 6% 48%, rgba(37, 155, 153, .075), transparent 30%),
    #0a1020;
}
.blog-page .breadcrumbs { margin-bottom: 20px; }
.blog-hero {
  position: relative;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(171, 158, 255, .24);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(118, 85, 221, .22), transparent 38%),
    radial-gradient(ellipse at 14% 100%, rgba(57, 203, 183, .16), transparent 38%),
    linear-gradient(125deg, #121a37, #171737 52%, #102c3c);
  box-shadow: 0 28px 75px rgba(1, 5, 20, .25), inset 0 1px rgba(255, 255, 255, .07);
}
.blog-hero::before,
.blog-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.blog-hero::before {
  top: -44%;
  right: -5%;
  width: 53%;
  aspect-ratio: 1;
  border: 1px solid rgba(206, 207, 255, .16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 240, 204, .98), rgba(225, 204, 178, .94) 24%, rgba(162, 146, 221, .74) 55%, rgba(87, 211, 197, .2) 70%, transparent 71%);
  box-shadow: 0 0 90px rgba(132, 111, 232, .23), 0 0 140px rgba(60, 206, 185, .12);
  opacity: .46;
}
.blog-hero::after {
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 65% 22%, #fff 60%, transparent),
    radial-gradient(1.5px 1.5px at 83% 70%, #f4d58d 60%, transparent),
    radial-gradient(1px 1px at 91% 38%, #c6d5ff 60%, transparent),
    radial-gradient(1px 1px at 71% 83%, #fff 60%, transparent);
  opacity: .58;
}
.blog-hero-copy { position: relative; z-index: 1; max-width: 680px; }
.blog-hero .eyebrow { color: #8ff4e1; }
.blog-hero h1 {
  margin: 0 0 17px;
  color: #f5f4ff;
  font-size: clamp(42px, 6.2vw, 73px);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1.02;
}
.blog-hero h1 span {
  background: linear-gradient(100deg, #7ee9d6, #beaaff 59%, #ffd594);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-hero-copy > p:last-of-type { max-width: 540px; margin: 0; color: #c2cce3; font-size: 14px; line-height: 1.85; }
.blog-hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 230px;
  place-items: center;
}
.blog-hero-art::before,
.blog-hero-art::after {
  position: absolute;
  width: min(72%, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(197, 201, 255, .2);
  border-radius: 50%;
  content: "";
  transform: rotate(-23deg) scaleY(.43);
}
.blog-hero-art::after { width: min(94%, 340px); transform: rotate(28deg) scaleY(.46); }
.blog-hero-moon {
  position: relative;
  z-index: 1;
  width: min(55%, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 248, 224, .95), transparent 8%),
    radial-gradient(circle at 65% 62%, rgba(81, 83, 130, .34) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 61%, rgba(97, 93, 138, .24) 0 11%, transparent 12%),
    radial-gradient(circle at 54% 38%, rgba(121, 111, 153, .26) 0 8%, transparent 9%),
    radial-gradient(circle at 40% 40%, #fff5d8, #e8d6b8 43%, #a9a0c2 72%, #76c9bd);
  box-shadow: 0 0 50px rgba(245, 217, 164, .25), 0 0 110px rgba(119, 106, 218, .26), inset -20px -13px 27px rgba(32, 33, 70, .24);
}
.blog-index { padding-top: clamp(42px, 6vw, 70px); padding-bottom: 50px; }
.blog-index-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.blog-index-heading h2 { margin: 0; font-size: clamp(27px, 3.8vw, 40px); font-weight: 500; letter-spacing: -.065em; }
.blog-index-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.blog-card {
  display: flex;
  min-width: 0;
  min-height: 365px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(166, 174, 230, .18);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(25, 36, 65, .97), rgba(14, 27, 47, .98));
  box-shadow: 0 15px 38px rgba(0, 0, 0, .14), inset 0 1px rgba(255, 255, 255, .04);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(115, 231, 210, .5);
  box-shadow: 0 22px 48px rgba(32, 128, 146, .15), inset 0 1px rgba(255, 255, 255, .06);
}
.blog-card-art {
  position: relative;
  display: grid;
  min-height: 180px;
  flex: 0 0 180px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(ellipse at 72% 30%, rgba(140, 106, 237, .4), transparent 44%),
    linear-gradient(130deg, #162844, #28204d 58%, #163c49);
}
.blog-card-art::before,
.blog-card-art::after {
  position: absolute;
  width: 190px;
  height: 78px;
  border: 1px solid rgba(210, 212, 255, .23);
  border-radius: 50%;
  content: "";
  transform: rotate(-25deg);
}
.blog-card-art::after { width: 235px; height: 100px; transform: rotate(28deg); opacity: .65; }
.blog-card-art > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 245, 215, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 29%, #fff2ce, #d7c3a3 54%, #8b83a8 100%);
  box-shadow: 0 0 36px rgba(244, 213, 141, .27), 0 0 68px rgba(140, 106, 237, .23), inset -12px -8px 17px rgba(36, 38, 69, .24);
  color: #302842;
  font-size: 29px;
}
.blog-card:nth-child(2) .blog-card-art { background: radial-gradient(ellipse at 20% 30%, rgba(63, 213, 196, .25), transparent 45%), linear-gradient(130deg, #112b3c, #172b4c 55%, #212044); }
.blog-card:nth-child(2) .blog-card-art > span { background: radial-gradient(circle at 35% 35%, #fff3d6, #c7c6d8 58%, #45557c); }
.blog-card:nth-child(3) .blog-card-art { background: radial-gradient(ellipse at 75% 30%, rgba(255, 147, 176, .26), transparent 45%), linear-gradient(130deg, #261b3d, #282347 58%, #4a2646); }
.blog-card:nth-child(3) .blog-card-art > span { background: radial-gradient(circle at 35% 35%, #fff0d0, #d6bcae 55%, #766480); }
.blog-card:nth-child(4) .blog-card-art { background: radial-gradient(ellipse at 25% 28%, rgba(255, 205, 132, .25), transparent 46%), linear-gradient(130deg, #282443, #152a49 55%, #163b43); }
.blog-card:nth-child(4) .blog-card-art > span { background: radial-gradient(circle at 35% 35%, #fff3d8, #d3c09c 58%, #738898); }
.blog-card:nth-child(5) .blog-card-art { background: radial-gradient(ellipse at 75% 35%, rgba(124, 121, 255, .3), transparent 45%), linear-gradient(130deg, #171d3f, #29234d 58%, #123845); }
.blog-card:nth-child(5) .blog-card-art > span { background: radial-gradient(circle at 35% 35%, #fff1d6, #bfc3d3 52%, #53698b); }
.blog-card:nth-child(6) .blog-card-art { background: radial-gradient(ellipse at 20% 45%, rgba(88, 224, 201, .26), transparent 45%), linear-gradient(130deg, #122a3d, #202243 58%, #36284b); }
.blog-card:nth-child(6) .blog-card-art > span { background: radial-gradient(circle at 35% 35%, #fff3d6, #d0c1b5 58%, #756e9d); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 21px 21px; }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; color: #8ff4e1; font: 700 9px/1.4 "Space Grotesk", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.blog-card-meta span + span::before { margin-right: 8px; color: #9c9fbe; content: "·"; }
.blog-card h3 { margin: 0 0 10px; color: #f2f4ff; font-size: 19px; font-weight: 600; letter-spacing: -.045em; line-height: 1.35; }
.blog-card-body > p { margin: 0 0 20px; color: #b7c1d8; font-size: 12px; line-height: 1.75; }
.blog-card-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: #ffe0a0; font-size: 11px; font-weight: 700; }
.blog-card-link span { color: #8ff4e1; font-size: 17px; transition: transform .2s ease; }
.blog-card:hover .blog-card-link span { transform: translateX(4px); }
.blog-article-list { display: grid; gap: 18px; padding-bottom: 75px; }
.blog-article {
  scroll-margin-top: 110px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(166, 174, 230, .17);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(112, 90, 208, .09), transparent 36%),
    linear-gradient(145deg, rgba(22, 33, 60, .85), rgba(13, 26, 45, .91));
}
.blog-article .eyebrow { margin-bottom: 10px; }
.blog-article h2 { margin: 0 0 15px; font-size: clamp(23px, 3vw, 32px); font-weight: 500; letter-spacing: -.055em; }
.blog-article p { max-width: 850px; margin: 0 0 13px; color: #b9c3da; font-size: 13px; line-height: 1.9; }
.blog-article p:last-child { margin-bottom: 0; }
.blog-article a { color: #8ff4e1; text-underline-offset: 3px; }
body[data-theme="aurora"] .blog-hero {
  border-color: rgba(126, 119, 182, .28);
  background:
    radial-gradient(ellipse at 80% 30%, rgba(154, 133, 226, .23), transparent 38%),
    radial-gradient(ellipse at 14% 100%, rgba(76, 187, 169, .17), transparent 38%),
    linear-gradient(125deg, #293351, #373052 52%, #1b4750);
}
body[data-theme="aurora"] .blog-hero-copy > p:last-of-type { color: #e2e7f5; }
body[data-theme="aurora"] .blog-card {
  border-color: rgba(50, 68, 108, .15);
  background: linear-gradient(150deg, #fff, #f2f4fb);
  box-shadow: 0 16px 40px rgba(49, 65, 105, .08);
}
body[data-theme="aurora"] .blog-card h3 { color: #202b43; }
body[data-theme="aurora"] .blog-card-body > p { color: #5e6d86; }
body[data-theme="aurora"] .blog-article {
  border-color: rgba(50, 68, 108, .15);
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(240, 244, 251, .96));
}
body[data-theme="aurora"] .blog-article p { color: #56637e; }
body[data-page="blog"][data-theme="aurora"] .blog-card-meta { color: #087f78; }
body[data-page="blog"][data-theme="aurora"] .blog-article .eyebrow { color: #087f78; }
@media (max-width: 760px) {
  .blog-page { padding-top: 23px; }
  .blog-hero { min-height: 0; grid-template-columns: 1fr; gap: 0; padding: 34px 25px 0; }
  .blog-hero h1 { font-size: clamp(39px, 10vw, 58px); }
  .blog-hero-copy > p:last-of-type { font-size: 13px; }
  .blog-hero-art { min-height: 210px; margin-top: 8px; }
  .blog-hero::before { top: 38%; right: -6%; width: 63%; }
  .blog-index-heading { align-items: flex-start; flex-direction: column; }
  .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .blog-card { min-height: 350px; }
  .blog-card-art { min-height: 150px; flex-basis: 150px; }
  .blog-card-body { padding: 17px; }
  .blog-card h3 { font-size: 17px; }
}
@media (max-width: 480px) {
  .blog-hero { border-radius: 23px; padding: 29px 20px 0; }
  .blog-hero-art { min-height: 185px; }
  .blog-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-card { min-height: 0; }
  .blog-card-art { min-height: 175px; flex-basis: 175px; }
  .blog-card-body { padding: 18px; }
  .blog-card h3 { font-size: 19px; }
  .blog-article { border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card, .blog-card-link span { transition-duration: .01ms; }
}
.blog-index-only { padding-top: 39px; }
.blog-index-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid rgba(171, 158, 255, .21);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 94% 0%, rgba(118, 85, 221, .2), transparent 39%),
    radial-gradient(ellipse at 10% 100%, rgba(57, 203, 183, .12), transparent 42%),
    linear-gradient(125deg, rgba(18, 26, 55, .94), rgba(16, 34, 51, .96));
  box-shadow: 0 20px 55px rgba(1, 5, 20, .18), inset 0 1px rgba(255, 255, 255, .055);
}
.blog-index-intro::after {
  position: absolute;
  top: -95px;
  right: -25px;
  width: 245px;
  aspect-ratio: 1;
  border: 1px solid rgba(208, 209, 255, .13);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, rgba(255, 241, 208, .85), rgba(211, 194, 184, .58) 32%, rgba(139, 129, 195, .27) 58%, transparent 69%);
  box-shadow: 0 0 75px rgba(130, 111, 230, .16);
  content: "";
  opacity: .56;
  pointer-events: none;
}
.blog-index-intro > * { position: relative; z-index: 1; }
.blog-index-intro .eyebrow { margin-bottom: 10px; }
.blog-index-intro h1 {
  margin: 0 0 11px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.05;
}
.blog-index-intro h1 span {
  background: linear-gradient(100deg, #7ee9d6, #beaaff 59%, #ffd594);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-index-intro p:last-child { max-width: 650px; margin: 0; color: #c2cce3; font-size: 13px; line-height: 1.8; }
.blog-index-only .blog-index { padding-top: 0; padding-bottom: 65px; }
.blog-index-only .blog-index-heading { align-items: end; }
.blog-index-only .blog-card { min-height: 375px; }
.blog-index-only .blog-card-art { min-height: 190px; flex-basis: 190px; }
.blog-index-only .blog-card-art > span { font-size: 0; color: transparent; }
.blog-index-only .blog-card-body > p { margin-bottom: 20px; }
.blog-index-only .blog-card:hover .blog-card-art::before { border-color: rgba(130, 239, 222, .42); }
body[data-page="blog"][data-theme="aurora"] .blog-index-intro {
  border-color: rgba(126, 119, 182, .25);
  background:
    radial-gradient(ellipse at 94% 0%, rgba(154, 133, 226, .2), transparent 40%),
    radial-gradient(ellipse at 10% 100%, rgba(76, 187, 169, .14), transparent 42%),
    linear-gradient(125deg, #293351, #263c50);
}
body[data-page="blog"][data-theme="aurora"] .blog-index-intro p:last-child { color: #e2e7f5; }
.blog-article-page { width: min(1060px, calc(100% - 48px)); padding-top: 29px; }
.blog-article-page .breadcrumbs { margin-bottom: 17px; }
.article-feature-image {
  position: relative;
  display: grid;
  min-height: clamp(270px, 42vw, 470px);
  overflow: hidden;
  margin-bottom: 29px;
  place-items: center;
  border: 1px solid rgba(178, 170, 255, .2);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 72% 24%, rgba(134, 106, 237, .38), transparent 40%),
    radial-gradient(ellipse at 20% 95%, rgba(53, 212, 191, .19), transparent 46%),
    linear-gradient(130deg, #12253d, #252047 57%, #123c48);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .07);
}
.article-feature-image::before,
.article-feature-image::after {
  position: absolute;
  width: 70%;
  height: 47%;
  border: 1px solid rgba(218, 216, 255, .22);
  border-radius: 50%;
  content: "";
  transform: rotate(-20deg);
}
.article-feature-image::after { width: 92%; height: 62%; transform: rotate(24deg); opacity: .66; }
.article-feature-image .feature-moon {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(160px, 25vw, 270px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 246, 222, .45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 67% 65%, rgba(77, 78, 122, .35) 0 8%, transparent 8.5%),
    radial-gradient(circle at 39% 60%, rgba(100, 92, 132, .25) 0 12%, transparent 12.5%),
    radial-gradient(circle at 53% 34%, rgba(123, 112, 147, .24) 0 9%, transparent 9.5%),
    radial-gradient(circle at 33% 28%, #fff5d9, #e4d1b1 44%, #aaa0c2 76%, #78c9bd);
  box-shadow: 0 0 55px rgba(248, 220, 170, .24), 0 0 130px rgba(131, 107, 231, .33), inset -25px -18px 35px rgba(29, 32, 66, .27);
}
.article-feature-image .feature-image-label {
  position: absolute;
  right: 22px;
  bottom: 19px;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid rgba(196, 202, 241, .18);
  border-radius: 999px;
  background: rgba(10, 16, 36, .57);
  color: #d5def1;
  font: 700 9px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.article-feature-image--phases { background: radial-gradient(ellipse at 77% 28%, rgba(146, 116, 248, .4), transparent 42%), linear-gradient(132deg, #142846, #24204c 57%, #153c4b); }
.article-feature-image--moonrise { background: radial-gradient(ellipse at 50% 92%, rgba(255, 187, 123, .32), transparent 38%), linear-gradient(180deg, #131d42, #30345e 56%, #1b3a4c); }
.article-feature-image--photography { background: radial-gradient(ellipse at 75% 25%, rgba(255, 151, 183, .23), transparent 43%), linear-gradient(135deg, #292044, #1c2949 56%, #173e4b); }
.article-feature-image--supermoon { background: radial-gradient(ellipse at 30% 20%, rgba(255, 205, 132, .27), transparent 42%), linear-gradient(135deg, #282443, #172b49 58%, #163b43); }
.article-feature-image--eclipses { background: radial-gradient(ellipse at 70% 30%, rgba(135, 108, 255, .34), transparent 44%), linear-gradient(135deg, #131b3c, #282044 58%, #183748); }
.article-feature-image--lunar-month { background: radial-gradient(ellipse at 25% 40%, rgba(88, 224, 201, .24), transparent 45%), linear-gradient(135deg, #122b3d, #202344 58%, #36284b); }
.article-feature-image.dynamic-feature-image { display: block; min-height: 0; aspect-ratio: 2.25 / 1; margin-inline: 0; }
.dynamic-feature-image img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.article-content img { display: block; max-width: 100%; height: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 13px; }
.article-content figure { margin: 22px 0; }
.article-content figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-not-found { max-width: 720px; margin: 70px auto 110px; padding: clamp(25px, 5vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(32, 33, 63, .96), rgba(25, 26, 54, .98)); }
.article-not-found h1 { margin: 12px 0; font-size: clamp(32px, 6vw, 52px); letter-spacing: -.06em; }
.article-not-found > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); line-height: 1.7; }
.blog-card-art--image { background: linear-gradient(135deg, #191a36, #20213f); }
.blog-card-art--image::before,.blog-card-art--image::after { pointer-events: none; }
.blog-card-art--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-header { max-width: 840px; margin: 0 auto 32px; }
.article-header .blog-card-meta { margin-bottom: 15px; }
.article-header h1 { margin: 0 0 14px; color: var(--text); font-size: clamp(37px, 6vw, 63px); font-weight: 500; letter-spacing: -.075em; line-height: 1.08; }
.article-deck { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.75; }
.article-content {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 49px);
  border: 1px solid rgba(166, 174, 230, .17);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(112, 90, 208, .08), transparent 35%),
    linear-gradient(145deg, rgba(22, 33, 60, .84), rgba(13, 26, 45, .91));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14), inset 0 1px rgba(255, 255, 255, .04);
}
.article-content h2 { margin: 31px 0 12px; color: var(--text); font-size: clamp(22px, 3.5vw, 29px); font-weight: 600; letter-spacing: -.05em; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 24px 0 9px; color: var(--text); font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.article-content h1 { margin: 35px 0 15px; color: var(--text); font-size: clamp(29px, 4vw, 38px); font-weight: 600; letter-spacing: -.06em; }
.article-content h4 { margin: 21px 0 8px; color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.article-content p,
.article-content li { color: #c0c9dd; font-size: 15px; line-height: 1.95; }
.article-content p { margin-bottom: 18px; }
.article-content ul,
.article-content ol { display: grid; gap: 8px; margin: 0 0 21px; padding-left: 22px; }
.article-content li::marker { color: #8ff4e1; }
.article-content a { color: #8ff4e1; text-underline-offset: 4px; }
.article-callout { margin: 27px 0; padding: 19px 21px; border-left: 3px solid #8ff4e1; border-radius: 0 13px 13px 0; background: linear-gradient(100deg, rgba(101, 223, 208, .1), rgba(181, 154, 255, .06)); }
.article-callout p { margin: 0; }
.article-faq { margin-top: 34px; padding-top: 25px; border-top: 1px solid rgba(166, 174, 230, .18); }
.article-faq h2 { margin-top: 0; }
.article-faq h3 { margin-top: 20px; font-size: 16px; }
.article-related { display: flex; flex-wrap: wrap; gap: 11px; max-width: 840px; margin: 23px auto 74px; }
.article-related a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 15px; border: 1px solid rgba(115, 231, 210, .27); border-radius: 999px; background: rgba(115, 231, 210, .055); color: #a7f7e8; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.article-related a:hover { border-color: rgba(115, 231, 210, .62); background: rgba(115, 231, 210, .12); }
body[data-theme="aurora"] .article-content { background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(240, 244, 251, .96)); border-color: rgba(50, 68, 108, .15); }
body[data-theme="aurora"] .article-content p,
body[data-theme="aurora"] .article-content li { color: #4f5e78; }
body[data-theme="aurora"] .article-content a,
body[data-theme="aurora"] .article-related a { color: #087f78; }
body[data-theme="aurora"] .article-related a { border-color: rgba(8, 127, 120, .27); background: rgba(8, 127, 120, .055); }
@media (max-width: 640px) {
  .blog-index-only { padding-top: 25px; }
  .blog-index-intro { margin-bottom: 22px; padding: 25px 21px; }
  .blog-index-intro::after { top: -55px; right: -120px; width: 215px; }
  .blog-index-only .blog-index { padding-bottom: 45px; }
  .blog-index-only .blog-index-heading { gap: 9px; }
  .blog-index-only .blog-card { min-height: 0; }
  .blog-index-only .blog-card-art { min-height: 165px; flex-basis: 165px; }
  .blog-article-page { width: calc(100% - 34px); padding-top: 21px; }
  .article-feature-image { min-height: 250px; margin-bottom: 22px; border-radius: 19px; }
  .article-feature-image .feature-image-label { right: 12px; bottom: 12px; font-size: 8px; }
  .article-header { margin-bottom: 24px; }
  .article-content { padding: 22px 19px; border-radius: 17px; }
  .article-content p,
  .article-content li { font-size: 14px; line-height: 1.85; }
  .article-related { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-related a { transition-duration: .01ms; }
}

body[data-page="home"] {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(29, 85, 115, .2), transparent 32%),
    radial-gradient(ellipse at 88% 38%, rgba(72, 51, 123, .18), transparent 34%),
    radial-gradient(ellipse at 22% 78%, rgba(22, 100, 94, .13), transparent 32%),
    var(--bg);
}
body[data-page="home"][data-theme="aurora"] {
  background:
    radial-gradient(ellipse at 12% 12%, rgba(82, 151, 191, .12), transparent 32%),
    radial-gradient(ellipse at 88% 38%, rgba(136, 112, 193, .1), transparent 34%),
    radial-gradient(ellipse at 22% 78%, rgba(69, 163, 146, .08), transparent 32%),
    var(--bg);
}
body[data-page="home"] .cosmic-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
body[data-page="home"] .site-header,
body[data-page="home"] main,
body[data-page="home"] .site-footer {
  position: relative;
  z-index: 1;
}
body[data-page="home"] .site-header { position: sticky; z-index: 1000; }
body:not([data-page="home"]) .site-header { z-index: 1000; }
body:not([data-page="home"]) {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 12% 9%, rgba(53, 117, 164, .16), transparent 34rem),
    radial-gradient(ellipse at 87% 38%, rgba(117, 68, 169, .15), transparent 36rem),
    radial-gradient(ellipse at 17% 82%, rgba(26, 153, 153, .09), transparent 32rem),
    var(--bg);
}
body:not([data-page="home"])::before,
body:not([data-page="home"])::after {
  position: fixed;
  z-index: -1;
  inset: -3vh -2vw;
  content: "";
  pointer-events: none;
}
body:not([data-page="home"])::before {
  background:
    radial-gradient(ellipse at 17% 16%, rgba(64, 191, 207, .1), transparent 30%),
    radial-gradient(ellipse at 78% 38%, rgba(163, 104, 233, .12), transparent 32%),
    radial-gradient(ellipse at 49% 84%, rgba(219, 111, 185, .07), transparent 29%);
  animation: nebula-float 32s ease-in-out infinite alternate;
}
body:not([data-page="home"])::after {
  opacity: .34;
  background-image:
    radial-gradient(circle at 4% 18%, #c5eaff 0 1px, transparent 1.6px),
    radial-gradient(circle at 11% 74%, #ffe0b0 0 .8px, transparent 1.5px),
    radial-gradient(circle at 18% 42%, #d6c6ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 25% 91%, #d7f5ff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 32% 22%, #d7f5ff 0 .9px, transparent 1.6px),
    radial-gradient(circle at 39% 64%, #ffe0b0 0 .8px, transparent 1.5px),
    radial-gradient(circle at 46% 12%, #d6c6ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 53% 83%, #d7f5ff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 60% 37%, #d7f5ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 67% 72%, #ffe0b0 0 .8px, transparent 1.5px),
    radial-gradient(circle at 74% 18%, #d6c6ff 0 .9px, transparent 1.6px),
    radial-gradient(circle at 81% 91%, #d7f5ff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 88% 53%, #d7f5ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 96% 27%, #ffe0b0 0 .8px, transparent 1.5px);
  background-size: 100% 100%;
  animation: stars-drift 95s linear infinite, stars-twinkle 7s ease-in-out infinite alternate;
}
@keyframes nebula-float {
  from { transform: translate3d(-.4%, -.3%, 0) scale(1); }
  to { transform: translate3d(.5%, .4%, 0) scale(1.04); }
}
@keyframes stars-drift {
  from { transform: translate3d(-.5%, -.25%, 0); }
  to { transform: translate3d(.5%, .25%, 0); }
}
@keyframes stars-twinkle {
  from { opacity: .24; }
  to { opacity: .48; }
}
body[data-theme="aurora"] {
  color-scheme: dark;
  --bg: #111126;
  --bg-raised: #191a36;
  --card: #20213f;
  --card-raised: #2b2a50;
  --line: rgba(195, 179, 255, .2);
  --text: #f2edff;
  --muted: #b8b2d1;
  --gold: #ffd28f;
  --teal: #76eadb;
  --violet: #c5a0ff;
  --rose: #ff9dcc;
  --success: #76eadb;
  --shadow: 0 24px 80px rgba(4, 3, 18, .38);
  background:
    radial-gradient(ellipse at 13% 8%, rgba(71, 141, 183, .18), transparent 35rem),
    radial-gradient(ellipse at 85% 30%, rgba(128, 78, 182, .18), transparent 37rem),
    radial-gradient(ellipse at 43% 100%, rgba(158, 65, 136, .1), transparent 34rem),
    var(--bg);
}
body[data-theme="aurora"] .site-header {
  border-bottom-color: rgba(197, 160, 255, .28);
  background: linear-gradient(100deg, rgba(17, 17, 39, .98), rgba(35, 24, 58, .98) 54%, rgba(14, 43, 57, .98));
}
body[data-theme="aurora"] .site-header .nav-link { color: #d8d4ed; }
body[data-theme="aurora"] .site-header .nav-link:hover { color: #ffffff; }
body[data-theme="aurora"] .primary-nav { background: transparent; }
body[data-theme="aurora"] .site-header .mega-menu {
  border-color: rgba(197, 160, 255, .4);
  background: linear-gradient(145deg, #1b1b3b, #141b35 60%, #201735);
}
body[data-theme="aurora"] .site-header .mega-group {
  border-color: rgba(197, 160, 255, .26);
  background: linear-gradient(145deg, #252547, #20213d);
}
body[data-theme="aurora"] .site-header .mega-group h3 { color: #ffffff; }
body[data-theme="aurora"] .site-header .mega-group > a { color: #ebe7fa; }
body[data-theme="aurora"] .site-header .mega-menu-heading h2 { color: #ffffff; }
body[data-theme="aurora"] .site-header .mega-menu-heading > span,
body[data-theme="aurora"] .site-header .mega-menu-footer > span { color: #c6c0dc; }
@media (max-width: 1120px) {
  body[data-theme="aurora"] .primary-nav,
  body[data-theme="aurora"] .primary-nav.is-open {
    background: rgba(17, 18, 38, .995);
  }
}
body[data-page="home"][data-theme="aurora"] .site-header .nav-link { color: #d8d4ed; }
body[data-page="home"][data-theme="aurora"] .site-header {
  border-bottom-color: rgba(197, 160, 255, .28);
  background: linear-gradient(100deg, rgba(17, 17, 39, .98), rgba(35, 24, 58, .98) 54%, rgba(14, 43, 57, .98));
}
body[data-page="home"][data-theme="aurora"] .primary-nav { background: transparent; }
body[data-page="home"][data-theme="aurora"] .nav-menu > .tools-menu-trigger { color: #f2edff; }
body[data-page="home"][data-theme="aurora"] .nav-cta {
  border-color: rgba(197, 160, 255, .56);
  background: linear-gradient(115deg, #76eadb, #c5a0ff 58%, #ffd28f);
  color: #19142b;
  box-shadow: 0 7px 26px rgba(197, 160, 255, .2);
}
body[data-page="home"][data-theme="aurora"] .nav-cta span { color: #35224c; }
body[data-page="home"][data-theme="aurora"] .menu-toggle {
  border-color: rgba(197, 160, 255, .32);
  background: #20213f;
}
body[data-page="home"][data-theme="aurora"] .menu-toggle span { background: #76eadb; }
@media (max-width: 1120px) {
  body[data-page="home"][data-theme="aurora"] .primary-nav,
  body[data-page="home"][data-theme="aurora"] .primary-nav.is-open {
    background: rgba(17, 18, 38, .995);
  }
}
body[data-theme="aurora"] .site-footer {
  border-top-color: rgba(197, 160, 255, .34);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(118, 234, 219, .14), transparent 35%),
    radial-gradient(ellipse at 86% 0%, rgba(255, 157, 204, .14), transparent 34%),
    linear-gradient(120deg, #15172f, #251b3e 48%, #12303c);
}
body[data-theme="aurora"] .site-footer .footer-links a { color: #d3cde8; }
body[data-theme="aurora"] .site-footer .footer-links h2 { color: var(--gold); }
body[data-theme="aurora"] .glass-card,
body[data-theme="aurora"] .tool-card,
body[data-theme="aurora"] .guide-card,
body[data-theme="aurora"] .faq-item,
body[data-theme="aurora"] .tool-directory-card,
body[data-theme="aurora"] .blog-card,
body[data-theme="aurora"] .blog-article,
body[data-theme="aurora"] .article-content,
body[data-theme="aurora"] .contact-card,
body[data-theme="aurora"] .contact-topic {
  border-color: rgba(197, 160, 255, .2);
  background: linear-gradient(145deg, rgba(34, 34, 66, .97), rgba(23, 28, 52, .98));
  color: var(--text);
  box-shadow: 0 18px 48px rgba(3, 3, 18, .22);
}
body[data-theme="aurora"] .blog-card h3,
body[data-theme="aurora"] .blog-article h2,
body[data-theme="aurora"] .tool-directory-card h3 { color: var(--text); }
body[data-theme="aurora"] .blog-card-body > p,
body[data-theme="aurora"] .blog-article p,
body[data-theme="aurora"] .article-content p,
body[data-theme="aurora"] .article-content li { color: #c4bfd8; }
body[data-theme="aurora"] .blog-hero {
  border-color: rgba(197, 160, 255, .34);
  background:
    radial-gradient(ellipse at 80% 28%, rgba(157, 115, 230, .2), transparent 39%),
    radial-gradient(ellipse at 14% 100%, rgba(76, 187, 169, .12), transparent 38%),
    linear-gradient(125deg, #222343, #302247 52%, #173744);
}
body[data-theme="aurora"] input,
body[data-theme="aurora"] select,
body[data-theme="aurora"] textarea { color-scheme: dark; }
@media (prefers-reduced-motion: reduce) {
  body:not([data-page="home"])::before,
  body:not([data-page="home"])::after { animation: none; }
}
body[data-page="home"] .site-header .nav-menu .mega-menu {
  border-color: rgba(181, 194, 232, .36);
  background: linear-gradient(145deg, #171a3a 0%, #111d35 58%, #1a1535 100%);
  box-shadow: 0 34px 100px rgba(1, 4, 16, .78), 0 0 54px rgba(101, 223, 208, .1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body[data-page="home"] .site-header .nav-menu .mega-group {
  border-color: rgba(181, 194, 232, .24);
  background: linear-gradient(145deg, #202747, #20213f);
}
body[data-page="home"] .site-header .nav-menu .mega-group h3 { color: #ffffff; }
body[data-page="home"] .site-header .nav-menu .mega-group > a { color: #e0e7f7; }
body[data-page="home"] .site-header .nav-menu .mega-group > a:hover {
  background: rgba(101, 223, 208, .2);
  color: #a5ffef;
}
body[data-page="home"] .site-header .nav-menu .mega-menu-heading h2 { color: #ffffff; }
body[data-page="home"] .site-header .nav-menu .mega-menu-heading > span,
body[data-page="home"] .site-header .nav-menu .mega-menu-footer > span { color: #c1cbe2; }
@media (min-width: 641px) {
  .site-header .nav-menu .mega-menu-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}
.site-header .nav-menu .mega-menu {
  border-color: var(--line);
  background-color: var(--bg-raised);
  background-image: linear-gradient(145deg, var(--bg-raised), var(--bg));
}
.site-header .nav-menu .mega-group { padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.site-header .nav-menu .mega-group h3 { color: var(--text); font-size: 14px; }
.site-header .nav-menu .mega-group > a {
  min-height: 36px;
  justify-content: flex-start;
  padding: 7px 9px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.site-header .nav-menu .mega-menu-heading > span { font-size: 10px; }
.site-header .nav-menu .mega-menu-footer { font-size: 12px; }
@media (max-width: 1120px) {
  .site-header .primary-nav.is-open { background: #11182e; }
  body[data-page="home"] .site-header .primary-nav.is-open { background: rgba(10, 16, 32, .995); }
}
@media (max-width: 640px) {
  body[data-page="home"] .site-header .nav-menu .mega-menu {
    position: static;
    width: auto;
    max-height: 48vh;
    overflow: auto;
    margin: 0 0 11px;
    padding: 14px 11px 12px;
    transform: none;
    border-radius: 10px;
    box-shadow: none;
  }
  body[data-page="home"] .site-header .nav-menu .mega-group > a {
    min-height: 40px;
    font-size: 13px;
  }
}
body[data-page="home"] .site-header .nav-menu .mega-menu,
body[data-page="home"] .site-header .nav-menu .mega-group {
  background-image: linear-gradient(145deg, #171a3a 0%, #111d35 58%, #1a1535 100%);
}
body[data-page="home"] .site-header .nav-menu .mega-group {
  background-image: linear-gradient(145deg, #202747, #20213f);
}
@media (max-width: 1120px) {
  body[data-page="home"] .primary-nav { z-index: 1; }
}

.tool-page .tool-heading > p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.tool-page .tool-form-area .tool-input-label {
  font-size: 14px;
  line-height: 1.55;
}

.tool-page .tool-form-area input,
.tool-page .tool-form-area select,
.tool-page .tool-form-area textarea {
  min-height: 46px;
  font-size: 16px;
}

.tool-page .tool-output > p,
.tool-page .tool-output .tool-fact dd {
  font-size: 15px;
  line-height: 1.7;
}

.tool-page .tool-output .tool-fact dt,
.tool-page .tool-location-attribution {
  font-size: 13px;
  line-height: 1.6;
}

.tool-page .tool-article > p,
.tool-page .tool-article .faq-item p {
  font-size: 16px;
  line-height: 1.85;
}

.tool-page .tool-article h2 {
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.25;
}

.tool-page .tool-article .faq-item summary {
  font-size: 16px;
  line-height: 1.55;
}

.tool-page .related-tool-links a {
  min-height: 44px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .tool-page .tool-heading > p:not(.eyebrow) { font-size: 16px; }
  .tool-page .tool-form-area .tool-input-label { font-size: 14px; }
  .tool-page .tool-article > p,
  .tool-page .tool-article .faq-item p { font-size: 16px; }
  .tool-page .tool-article .faq-item summary { font-size: 15px; }
  .tool-page .tool-output > p,
  .tool-page .tool-output .tool-fact dd { font-size: 15px; }
}

.tool-directory {
  display: grid;
  gap: 31px;
  margin: 29px 0 72px;
}

.tool-directory-search {
  display: grid;
  width: min(100%, 620px);
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.tool-directory-search input {
  min-height: 49px;
  padding: 0 15px;
  border: 1px solid rgba(162, 177, 226, .28);
  border-radius: 13px;
  outline: none;
  background: rgba(17, 24, 54, .78);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.tool-directory-search input:focus-visible {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .16);
}

.tool-directory-group { display: grid; gap: 15px; }
.tool-directory-group > h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 3vw, 29px);
  letter-spacing: -.045em;
}

.tool-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.tool-directory-card {
  display: grid;
  min-height: 160px;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(153, 169, 226, .19);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(21, 31, 63, .88), rgba(14, 29, 48, .89));
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tool-directory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, .52);
  box-shadow: 0 12px 32px rgba(4, 9, 26, .28), 0 0 24px rgba(45, 212, 191, .08);
}

.tool-directory-card:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 3px;
}

.tool-directory-card strong { font-size: 17px; line-height: 1.4; }
.tool-directory-card > span:not(.tool-directory-open) { color: var(--muted); font-size: 14px; line-height: 1.65; }
.tool-directory-open { align-self: end; color: #8ff4e1; font-size: 14px; font-weight: 700; }
.tool-directory-empty { color: var(--muted); font-size: 16px; }

body[data-theme="aurora"] .tool-directory-search input {
  border-color: rgba(50, 68, 108, .22);
  background: #fff;
  color: #18223b;
}

body[data-theme="aurora"] .tool-directory-card {
  border-color: rgba(50, 68, 108, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(239, 244, 250, .96));
  color: #18223b;
}

body[data-theme="aurora"] .tool-directory-card > span:not(.tool-directory-open) { color: #52617b; }
body[data-theme="aurora"] .tool-directory-open { color: #087f78; }

body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"], [data-page="moon-emoji"]) .content-block > p:not(.eyebrow),
body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"], [data-page="moon-emoji"]) .faq-block .faq-item p {
  font-size: 16px;
  line-height: 1.85;
}

body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"], [data-page="moon-emoji"]) .faq-block .faq-item summary {
  font-size: 16px;
  line-height: 1.55;
}

body:is([data-page="phase-date"], [data-page="moon-age"]) .date-form label {
  font-size: 14px;
  line-height: 1.55;
}

body:is([data-page="phase-date"], [data-page="moon-age"]) .date-form input {
  min-height: 46px;
  font-size: 16px;
}

body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"]) .result-date {
  font-size: 14px;
  line-height: 1.6;
}

body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"]) .result-stat span,
body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"]) .result-facts > div > span {
  font-size: 13px;
}

body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"]) .result-stat strong,
body:is([data-page="phase-today"], [data-page="phase-date"], [data-page="moon-age"]) .result-facts > div > strong {
  font-size: 15px;
}

body[data-page="moon-emoji"] .emoji-button > span:last-child { font-size: 12px; }
body[data-page="moon-emoji"] .unicode-table th { font-size: 13px; }
body[data-page="moon-emoji"] .unicode-table td { font-size: 14px; }

@media (max-width: 900px) {
  .tool-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .tool-directory { gap: 25px; margin-top: 22px; }
  .tool-directory-grid { grid-template-columns: 1fr; gap: 10px; }
  .tool-directory-card { min-height: 0; padding: 17px; }
  .tool-directory-card strong { font-size: 16px; }
}

body[data-theme="aurora"] {
  color-scheme: dark;
  --bg: #111126;
  --bg-raised: #191a36;
  --card: #20213f;
  --card-raised: #2b2a50;
  --line: rgba(195, 179, 255, .2);
  --text: #f2edff;
  --muted: #b8b2d1;
  --gold: #ffd28f;
  --teal: #76eadb;
  --violet: #c5a0ff;
  --rose: #ff9dcc;
  --success: #76eadb;
  --shadow: 0 24px 80px rgba(4, 3, 18, .38);
  background:
    radial-gradient(ellipse at 13% 8%, rgba(71, 141, 183, .18), transparent 35rem),
    radial-gradient(ellipse at 85% 30%, rgba(128, 78, 182, .18), transparent 37rem),
    radial-gradient(ellipse at 43% 100%, rgba(158, 65, 136, .1), transparent 34rem),
    var(--bg);
}
body[data-page="home"][data-theme="aurora"] {
  --bg: #111126;
  --bg-raised: #191a36;
  --card: #20213f;
  --card-raised: #2b2a50;
  --line: rgba(195, 179, 255, .2);
  --text: #f2edff;
  --muted: #b8b2d1;
  --gold: #ffd28f;
  --teal: #76eadb;
  --violet: #c5a0ff;
  --rose: #ff9dcc;
  --success: #76eadb;
  --shadow: 0 24px 80px rgba(4, 3, 18, .38);
  color-scheme: dark;
  background:
    radial-gradient(ellipse at 13% 8%, rgba(71, 141, 183, .18), transparent 35rem),
    radial-gradient(ellipse at 85% 30%, rgba(128, 78, 182, .18), transparent 37rem),
    radial-gradient(ellipse at 43% 100%, rgba(158, 65, 136, .1), transparent 34rem),
    var(--bg);
}
body[data-theme="aurora"] .site-header {
  border-bottom-color: rgba(197, 160, 255, .28);
  background: linear-gradient(100deg, rgba(17, 17, 39, .98), rgba(35, 24, 58, .98) 54%, rgba(14, 43, 57, .98));
}
body[data-theme="aurora"] .site-header .nav-link { color: #d8d4ed; }
body[data-theme="aurora"] .site-header .nav-link:hover { color: #ffffff; }
body[data-theme="aurora"] .site-header .theme-toggle {
  border-color: rgba(118, 234, 219, .42);
  background: rgba(118, 234, 219, .1);
  color: #f2edff;
}
body[data-theme="aurora"] .site-header .mega-menu {
  border-color: rgba(197, 160, 255, .4);
  background: linear-gradient(145deg, #1b1b3b, #141b35 60%, #201735);
}
body[data-theme="aurora"] .site-header .mega-group {
  border-color: rgba(197, 160, 255, .26);
  background: linear-gradient(145deg, #252547, #20213d);
}
body[data-theme="aurora"] .site-header .mega-group h3 { color: #ffffff; }
body[data-theme="aurora"] .site-header .mega-group > a { color: #ebe7fa; }
body[data-theme="aurora"] .site-header .mega-group > a:hover { color: #a5ffef; }
body[data-theme="aurora"] .site-header .mega-menu-heading h2 { color: #ffffff; }
body[data-theme="aurora"] .site-header .mega-menu-heading > span,
body[data-theme="aurora"] .site-header .mega-menu-footer > span { color: #c6c0dc; }
body[data-theme="aurora"] .site-footer {
  border-top-color: rgba(197, 160, 255, .34);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(118, 234, 219, .14), transparent 35%),
    radial-gradient(ellipse at 86% 0%, rgba(255, 157, 204, .14), transparent 34%),
    linear-gradient(120deg, #15172f, #251b3e 48%, #12303c);
}
body[data-theme="aurora"] .site-footer .footer-links a { color: #d3cde8; }
body[data-theme="aurora"] .site-footer .footer-links h2 { color: var(--gold); }
body[data-theme="aurora"] .glass-card,
body[data-theme="aurora"] .tool-card,
body[data-theme="aurora"] .guide-card,
body[data-theme="aurora"] .faq-item,
body[data-theme="aurora"] .tool-directory-card,
body[data-theme="aurora"] .blog-card,
body[data-theme="aurora"] .blog-article,
body[data-theme="aurora"] .article-content,
body[data-theme="aurora"] .contact-card,
body[data-theme="aurora"] .contact-topic {
  border-color: rgba(197, 160, 255, .2);
  background: linear-gradient(145deg, rgba(34, 34, 66, .97), rgba(23, 28, 52, .98));
  color: var(--text);
  box-shadow: 0 18px 48px rgba(3, 3, 18, .22);
}
body[data-theme="aurora"] .blog-card h3,
body[data-theme="aurora"] .blog-article h2,
body[data-theme="aurora"] .tool-directory-card h3 { color: var(--text); }
body[data-theme="aurora"] .blog-card-body > p,
body[data-theme="aurora"] .blog-article p,
body[data-theme="aurora"] .article-content p,
body[data-theme="aurora"] .article-content li { color: #c4bfd8; }
body[data-theme="aurora"] .blog-hero {
  border-color: rgba(197, 160, 255, .34);
  background:
    radial-gradient(ellipse at 80% 28%, rgba(157, 115, 230, .2), transparent 39%),
    radial-gradient(ellipse at 14% 100%, rgba(76, 187, 169, .12), transparent 38%),
    linear-gradient(125deg, #222343, #302247 52%, #173744);
}
body[data-theme="aurora"] .tool-directory-search input {
  border-color: rgba(197, 160, 255, .28);
  background: #191a36;
  color: var(--text);
}
body[data-theme="aurora"] .tool-directory-card > span:not(.tool-directory-open) { color: #c4bfd8; }
body[data-theme="aurora"] .tool-directory-open { color: #76eadb; }
body[data-page="blog"][data-theme="aurora"] {
  --bg: #111126;
  --bg-raised: #191a36;
  --card: #20213f;
  --line: rgba(195, 179, 255, .2);
  --text: #f2edff;
  --muted: #b8b2d1;
  background:
    radial-gradient(ellipse at 13% 8%, rgba(71, 141, 183, .18), transparent 35rem),
    radial-gradient(ellipse at 85% 30%, rgba(128, 78, 182, .18), transparent 37rem),
    radial-gradient(ellipse at 43% 100%, rgba(158, 65, 136, .1), transparent 34rem),
    var(--bg);
}
body[data-page="blog"][data-theme="aurora"] .blog-index-intro,
body[data-page="blog"][data-theme="aurora"] .blog-card,
body[data-page="blog"][data-theme="aurora"] .blog-article {
  border-color: rgba(197, 160, 255, .24);
  background: linear-gradient(145deg, rgba(34, 34, 66, .97), rgba(23, 28, 52, .98));
  color: var(--text);
  box-shadow: 0 18px 48px rgba(3, 3, 18, .22);
}
body[data-page="blog"][data-theme="aurora"] .blog-card h3,
body[data-page="blog"][data-theme="aurora"] .blog-article h2 { color: var(--text); }
body[data-page="blog"][data-theme="aurora"] .blog-card-body > p,
body[data-page="blog"][data-theme="aurora"] .blog-article p,
body[data-page="blog"][data-theme="aurora"] .blog-index-intro p { color: #c4bfd8; }
body[data-page="blog"][data-theme="aurora"] .blog-card-meta,
body[data-page="blog"][data-theme="aurora"] .blog-article .eyebrow { color: #76eadb; }
body[data-theme="aurora"] input,
body[data-theme="aurora"] select,
body[data-theme="aurora"] textarea { color-scheme: dark; }
body[data-page="home"][data-theme="aurora"] .glass-card,
body[data-page="home"][data-theme="aurora"] .tool-card,
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .faq-item {
  border-color: rgba(197, 160, 255, .2);
  background: linear-gradient(145deg, rgba(34, 34, 66, .97), rgba(23, 28, 52, .98));
  color: var(--text);
}
body[data-page="home"][data-theme="aurora"] .cycle-card {
  border-color: rgba(197, 160, 255, .24);
  background: radial-gradient(ellipse at 13% 50%, rgba(118, 234, 219, .1), transparent 48%), linear-gradient(120deg, #1d2040, #171a35 65%, #28203f);
}
body[data-page="home"][data-theme="aurora"] .hero-dashboard::after {
  border-color: rgba(197, 160, 255, .18);
  background:
    radial-gradient(ellipse at 88% 45%, rgba(118, 234, 219, .09), transparent 45%),
    linear-gradient(115deg, rgba(24, 25, 53, .92), rgba(24, 25, 53, .72) 53%, rgba(39, 29, 61, .84));
  box-shadow: 0 24px 65px rgba(4, 3, 18, .25), inset 0 1px rgba(231, 226, 255, .04);
}
body[data-page="home"][data-theme="aurora"] .hero-visual {
  border-color: rgba(197, 160, 255, .2);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(132, 106, 210, .25), transparent 62%),
    radial-gradient(ellipse at 44% 67%, rgba(64, 191, 183, .11), transparent 62%),
    linear-gradient(145deg, rgba(21, 25, 55, .68), rgba(15, 35, 52, .82));
  box-shadow: inset 0 0 75px rgba(112, 98, 199, .14), 0 24px 80px rgba(2, 5, 20, .18);
}
body[data-page="home"][data-theme="aurora"] .section-band-mist::before {
  background: linear-gradient(100deg, transparent, rgba(18, 34, 53, .72) 13%, rgba(18, 34, 53, .72) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-orbit::before {
  background: linear-gradient(100deg, transparent, rgba(31, 27, 56, .72) 13%, rgba(31, 27, 56, .72) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .section-band-dawn::before {
  background: linear-gradient(100deg, transparent, rgba(40, 29, 51, .72) 13%, rgba(40, 29, 51, .72) 87%, transparent);
}
body[data-page="home"][data-theme="aurora"] .moon-guide::before {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(118, 234, 219, .09), transparent 36%),
    radial-gradient(ellipse at 87% 77%, rgba(197, 160, 255, .1), transparent 35%),
    linear-gradient(100deg, transparent, rgba(20, 28, 52, .65) 12%, rgba(20, 28, 52, .65) 88%, transparent);
}
body[data-page="home"][data-theme="aurora"] .hero-intro { color: #c4bfd8; }
body[data-page="home"][data-theme="aurora"] .live-stamp {
  border-color: rgba(197, 160, 255, .2);
  background: rgba(27, 27, 59, .88);
  color: #c4bfd8;
}
body[data-page="home"][data-theme="aurora"] .button-quiet {
  border-color: rgba(197, 160, 255, .28);
  background: rgba(27, 27, 59, .92);
  color: #f2edff;
}
body[data-page="home"][data-theme="aurora"] .tool-search {
  border-color: rgba(197, 160, 255, .24);
  background: rgba(25, 26, 54, .94);
  color: #f2edff;
}
body[data-page="home"][data-theme="aurora"] .faq-item { background: rgba(32, 33, 63, .86); }
body[data-page="home"][data-theme="aurora"] .faq-item[open] { background: rgba(43, 42, 80, .97); }
body[data-page="home"][data-theme="aurora"] .site-footer .footer-links a,
body[data-page="home"][data-theme="aurora"] .site-footer .footer-bottom { color: #d3cde8; }
body[data-page="home"][data-theme="aurora"] .hero-copy h1 span {
  background-image: linear-gradient(100deg, #76eadb 2%, #c5a0ff 52%, #ffd28f 100%);
}
body[data-page="home"][data-theme="aurora"] .hero-copy .eyebrow { color: #9cf2e3; }
body[data-theme="aurora"] .date-label input,
body[data-theme="aurora"] .date-form input { color-scheme: dark; }
body[data-theme="aurora"] .article-content a,
body[data-theme="aurora"] .article-related a { color: #76eadb; }
.site-header .primary-nav { justify-content: flex-end; gap: clamp(10px, 1.4vw, 19px); }
@media (max-width: 1120px) {
  .site-header .primary-nav { justify-content: initial; }
}
body[data-page="home"][data-theme="aurora"] {
  color-scheme: dark;
  --bg: #111126;
  --bg-raised: #191a36;
  --card: #20213f;
  --card-raised: #2b2a50;
  --line: rgba(195, 179, 255, .2);
  --text: #f2edff;
  --muted: #b8b2d1;
  --gold: #ffd28f;
  --teal: #76eadb;
  --violet: #c5a0ff;
  --rose: #ff9dcc;
  --success: #76eadb;
  --shadow: 0 24px 80px rgba(4, 3, 18, .38);
  background:
    radial-gradient(ellipse at 13% 8%, rgba(71, 141, 183, .18), transparent 35rem),
    radial-gradient(ellipse at 85% 30%, rgba(128, 78, 182, .18), transparent 37rem),
    radial-gradient(ellipse at 43% 100%, rgba(158, 65, 136, .1), transparent 34rem),
    var(--bg);
}
body[data-page="home"][data-theme="aurora"] .site-header {
  border-bottom-color: rgba(197, 160, 255, .28);
  background: linear-gradient(100deg, rgba(17, 17, 39, .98), rgba(35, 24, 58, .98) 54%, rgba(14, 43, 57, .98));
}
body[data-page="home"][data-theme="aurora"] .primary-nav { background: transparent; }
body[data-page="home"][data-theme="aurora"] .button-quiet,
body[data-page="home"][data-theme="aurora"] .live-stamp,
body[data-page="home"][data-theme="aurora"] .date-control,
body[data-page="home"][data-theme="aurora"] .tool-search {
  border-color: rgba(197, 160, 255, .25);
  background-color: rgba(25, 26, 54, .94);
  color: var(--text);
}
body[data-page="home"][data-theme="aurora"] .glass-card,
body[data-page="home"][data-theme="aurora"] .next-phase,
body[data-page="home"][data-theme="aurora"] .hemisphere-toggle,
body[data-page="home"][data-theme="aurora"] .guide-card,
body[data-page="home"][data-theme="aurora"] .tool-card,
body[data-page="home"][data-theme="aurora"] .faq-item {
  border-color: rgba(197, 160, 255, .2);
  background: linear-gradient(145deg, rgba(32, 33, 63, .96), rgba(25, 26, 54, .98));
  box-shadow: 0 16px 42px rgba(4, 3, 18, .24), inset 0 1px rgba(255, 255, 255, .035);
}
body[data-page="home"][data-theme="aurora"] .cycle-card {
  border-color: rgba(197, 160, 255, .24);
  background:
    radial-gradient(ellipse at 13% 50%, rgba(118, 234, 219, .12), transparent 48%),
    radial-gradient(ellipse at 94% 0%, rgba(197, 160, 255, .12), transparent 47%),
    linear-gradient(120deg, #191a36, #20213f 65%, #211b3b);
}
body[data-page="home"][data-theme="aurora"] .site-footer {
  border-top-color: rgba(197, 160, 255, .34);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(118, 234, 219, .14), transparent 35%),
    radial-gradient(ellipse at 86% 0%, rgba(255, 157, 204, .14), transparent 34%),
    linear-gradient(120deg, #15172f, #251b3e 48%, #12303c);
}
body[data-page="home"][data-theme="aurora"] .footer-tagline,
body[data-page="home"][data-theme="aurora"] .footer-links a,
body[data-page="home"][data-theme="aurora"] .footer-bottom { color: #d3cde8; }
@media (prefers-reduced-motion: reduce) {
  body:not([data-page="home"])::before,
  body:not([data-page="home"])::after { animation: none; }
}
