:root {
  color-scheme: dark;
  --bg: #0d0e15;
  --surface: #16151f;
  --raised: #211925;
  --text: #f5eff5;
  --muted: #d0c3d1;
  --accent: #ffabc9;
  --line: #ffffff24;
  --font: 'Segoe UI', system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-height: 100%; background-color: var(--bg); scroll-behavior: smooth; scroll-padding-top: 115px; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; background: radial-gradient(ellipse 900px 650px at 90% 0%, #a5285030, transparent 70%), radial-gradient(ellipse 850px 750px at 0% 450px, #72269026, transparent 72%), radial-gradient(ellipse 900px 600px at 100% 900px, #9b205224, transparent 72%), var(--bg); background-repeat: no-repeat; color: var(--text); font: 16px/1.7 var(--font); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #ffb5d4; outline-offset: 4px; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 12px; background: #7e1d55; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 12px max(24px, calc((100vw - 1200px)/2)); border-bottom: 1px solid var(--line); background: #13111bf5; backdrop-filter: blur(18px); }
.brand-cluster { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand > span:last-child { display: grid; gap: 3px; }
.brand b { font-size: 23px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.brand b span { color: var(--accent); }
.brand small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.brand-mark { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 3px; border: 1px solid #ffabc938; border-radius: 10px; background: #2b1829; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.header-nav > a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.header-nav > a:hover { color: var(--text); background: #ffffff09; }
.admin-pill, .status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #ffabc938; border-radius: 8px; background: #a62d5414; color: #ffd0e0; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.admin-pill { margin-left: 12px; }
.admin-pill i, .status-pill i, .eyebrow > i, .visual-topline i { width: 6px; height: 6px; flex-shrink: 0; background: #f285a8; border-radius: 50%; }
.project-switcher { position: relative; }
.switcher-trigger { display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; border: 1px solid var(--line); background: #ffffff04; border-radius: 9px; color: #dcc3d5; }
.switcher-trigger span { width: 14px; height: 1.5px; background: currentColor; }
.switcher-trigger:hover, .switcher-trigger[aria-expanded=true] { border-color: #ffabc96b; background: #ffabc90c; }
.project-menu { position: absolute; top: 52px; left: 0; width: 320px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid #ffffff30; border-radius: 12px; background: #1b1522; box-shadow: 0 20px 55px #0007; }
.project-menu > small { display: block; padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.project-menu a { display: grid; gap: 3px; padding: 12px; border: 1px solid transparent; border-radius: 8px; }
.project-menu a:hover, .project-menu a[aria-current] { border-color: #ffabc930; background: #b6376118; }
.project-menu b { font-size: 15px; font-weight: 600; }
.project-menu span { font-size: 13px; color: var(--muted); }
.project-menu em { float: right; font: 12px var(--font); color: var(--accent); }
main { overflow-x: clip; }
.hero, .section-shell { width: calc(100% - 48px); max-width: 1248px; margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: 64px 0; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.5; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(42px, 4.5vw, 60px); font-weight: 650; line-height: 1.12; letter-spacing: -.045em; }
.hero h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.primary { border: 1px solid #ffabc960; background: linear-gradient(115deg, #ae254d, #932153 60%, #642773); color: #fff; box-shadow: 0 10px 28px #a3154426; }
.primary:hover { background: linear-gradient(115deg, #bb315d, #a12c65 60%, #743585); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #ffd0e0; font-size: 14px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.hero-facts > span { display: flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--accent); }
.fact-dot { width: 6px; height: 6px; border-radius: 50%; background: #bfa3ec; }
.hero-visual { min-width: 0; border: 1px solid #e873a34d; border-radius: 14px; background: var(--surface); overflow: hidden; box-shadow: 0 20px 65px #90214f20; }
.visual-topline, .visual-bottomline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 15px 20px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.visual-topline { border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #381426, #28152f); }
.visual-topline > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.rhythm-world { position: relative; height: 335px; overflow: hidden; background: radial-gradient(ellipse at 50% 20%, #a5276055, transparent 70%), radial-gradient(ellipse at 100% 100%, #6b288e38, transparent 70%), #1c0e22; }
.ambient-orb { position: absolute; width: 160px; height: 160px; top: 26px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(145deg, #d74a77, #84245c 55%, #562066); }
.orb-ring { position: absolute; width: 198px; height: 198px; border: 1px solid #eb729940; border-radius: 50%; top: 7px; left: 50%; transform: translateX(-50%); }
.orb-ring:after { content: ''; position: absolute; inset: 14px; border: 1px solid #f982aa30; border-radius: 50%; }
.rhythm-track { position: absolute; left: 8%; right: 8%; top: 80px; height: 235px; transform: perspective(420px) rotateX(34deg); transform-origin: 50% 50%; background: linear-gradient(180deg, #140519a8, #260b24e8); border-left: 1px solid #e3549960; border-right: 1px solid #a67bec60; }
.track-grid { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #c876a340 calc(25% - 1px), #c876a340 25%), repeating-linear-gradient(0deg, transparent 0, transparent 55px, #cf5d8530 56px, #cf5d8530 57px); }
.note { position: absolute; width: 15%; height: 13px; border: 1px solid #ff95b3; border-radius: 5px; background: #c92e66; box-shadow: 0 0 14px #ee407b45; }
.n1 { top: 15%; left: 55%; background: #9a55d5; border-color: #d6a2ff; }
.n2 { top: 29%; left: 30%; }
.n3 { top: 43%; left: 5%; background: #b52d40; }
.n4 { top: 57%; left: 80%; background: #9a55d5; border-color: #d6a2ff; }
.n5 { top: 71%; left: 55%; }
.n6 { top: 77%; left: 30%; }
.hit-line { position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: #ff71a4; box-shadow: 0 0 15px #f46aab; }
.track-targets { position: absolute; bottom: 6px; left: 5%; right: 5%; display: flex; justify-content: space-between; }
.track-targets i { width: 17%; height: 17px; border: 2px solid #ed698f; border-radius: 6px; }
.track-targets i:last-child { border-color: #b378df; }
.visual-bottomline { border-top: 1px solid var(--line); background: linear-gradient(110deg, #2b1221, #26142f); }
.visual-bottomline > span:first-child { color: var(--text); }
.vision { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 28px; }
h2 { margin: 12px 0 0; font-size: clamp(28px, 3vw, 38px); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p { max-width: 310px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid article { padding: 26px; border: 1px solid #e873a335; border-radius: 12px; background: linear-gradient(145deg, #301322, #1c1220); }
.feature-grid article:nth-child(2) { border-color: #b481e43b; background: linear-gradient(145deg, #2c183e, #1a1324); }
.feature-grid article:nth-child(3) { background: linear-gradient(145deg, #341326, #201325); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border: 1px solid #ffabc938; border-radius: 9px; color: var(--accent); background: #b82e5d12; }
.feature-grid article:nth-child(2) .feature-icon { color: #d3b2f3; border-color: #aa73d244; background: #65349620; }
.feature-number { display: block; color: #e3b6cc; font-size: 12px; font-weight: 500; }
.feature-grid h3 { margin: 10px 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.preview { display: flex; align-items: center; gap: 24px; padding: 30px; border: 1px solid #ffabc930; border-radius: 12px; background: linear-gradient(115deg, #3a1629, #2c1735 62%, #26182f); margin-bottom: 56px; }
.preview-icon { flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; color: var(--accent); background: #b82e5d12; border: 1px solid #ffabc938; border-radius: 12px; }
.preview > div:nth-child(2) { min-width: 0; }
.preview h2 { margin: 8px 0 12px; font-size: 26px; }
.preview p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.preview strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.status-pill { margin-left: auto; }
.family { padding-bottom: 56px; }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.family-grid > a { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.family-grid > a:hover { border-color: #ffabc96b; background: #301829; }
.family-grid > a:nth-child(1) { background: linear-gradient(120deg, #321525, #1d1422); }
.family-grid > a:nth-child(2) { background: linear-gradient(120deg, #281833, #1b1426); }
.family-grid > a:nth-child(3) { background: linear-gradient(120deg, #2d1840, #1e142b); }
.family-grid > a:nth-child(n):hover { background: #341b32; }
.app-monogram { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; border: 1px solid #eb84ad35; font-size: 22px; font-weight: 650; }
.desk { background: #99265325; color: #f7b1d2; }
.drive { background: #6b3b8c25; color: #e0bcf1; }
.ink { background: #6934a625; color: #ceb7f4; }
.family-grid > a > div { min-width: 0; }
.family-grid h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.family-grid p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.family-arrow { margin-left: auto; color: var(--accent); font-size: 20px; }
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(120deg, #21101b, #1a1125); }
.footer-main, .footer-bottom { width: calc(100% - 48px); max-width: 1248px; margin-inline: auto; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 40px; padding: 38px 0 30px; }
.footer-main p { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-main nav h2 { margin: 0 0 8px; color: var(--text); font-size: 14px; letter-spacing: 0; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 14px; }
.footer-main nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom i { margin: 0 8px; font-style: normal; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; color: #ffd0e0; }
@media (max-width: 1050px) {
  .hero { gap: 28px; padding-block: 48px; }
  .hero h1 { font-size: clamp(40px, 4.6vw, 52px); }
  .header-nav { gap: 2px; }
  .header-nav > a { padding-inline: 10px; }
  .admin-pill { margin-left: 4px; }
  .status-pill { display: none; }
  .feature-grid article { padding: 22px; }
  .family-grid > a { padding: 18px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 155px; }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 24px; }
  .brand-cluster { gap: 12px; }
  .brand small { display: none; }
  .header-nav { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .header-nav > a { min-height: 36px; padding: 5px 8px; font-size: 13px; border: 1px solid var(--line); background: #ffffff03; }
  .admin-pill { margin-left: auto; font-size: 12px; padding: 7px 9px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 0 44px; }
  .hero h1 { font-size: clamp(38px, 7.5vw, 56px); }
  .hero-copy > p { max-width: 540px; }
  .hero-visual { width: 100%; max-width: 540px; justify-self: center; }
  .project-menu { position: fixed; top: 64px; left: 24px; width: min(320px, calc(100vw - 48px)); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .section-heading { flex-direction: column; align-items: start; gap: 16px; }
  .section-heading > p { max-width: 540px; }
  .feature-grid, .family-grid { grid-template-columns: minmax(0, 1fr); }
  .vision { padding: 36px 0; }
  .preview { padding: 24px; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
  .family { padding-bottom: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-main > div { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero, .section-shell, .footer-main, .footer-bottom { width: calc(100% - 32px); }
}
@media (max-width: 480px) {
  .site-header { padding-inline: 16px; }
  .hero, .section-shell, .footer-main, .footer-bottom { width: calc(100% - 32px); }
  .brand b { font-size: 22px; }
  .header-nav { gap: 6px; }
  .header-nav > a { padding-inline: 7px; }
  .admin-pill { padding: 7px; font-size: 11px; gap: 5px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 42px); letter-spacing: -.035em; }
  .hero-copy > p { font-size: 16px; }
  .hero-facts { font-size: 12px; gap: 12px 18px; }
  .rhythm-world { height: 270px; }
  .rhythm-track { top: 70px; height: 185px; }
  .ambient-orb { width: 130px; height: 130px; }
  .orb-ring { width: 165px; height: 165px; }
  .visual-topline, .visual-bottomline { padding: 12px 16px; }
  .visual-bottomline > span:last-child { width: 100%; }
  .project-menu { left: 16px; width: calc(100vw - 32px); }
  .preview { flex-direction: column; padding: 22px; }
  .preview-icon { width: 44px; height: 44px; border-radius: 10px; }
  .preview h2 { font-size: 24px; }
  .footer-main { gap: 24px; }
  .footer-bottom > a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { min-height: 100%; background-color: var(--bg); scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}

/* Bright heading accents retain contrast across the darker page colors. */
.hero h1 em, main h2 em { background: linear-gradient(100deg, #ffabc9, #ef90be 55%, #ceacf4); background-clip: text; -webkit-background-clip: text; color: transparent; }

body > main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.hero-guest-account{display:flex;align-items:center;gap:10px;font-size:13px}.hero-guest-account a{padding:10px 14px;border-radius:9px;text-decoration:none;color:#f5dfef;white-space:nowrap}.hero-guest-account .hero-register{border:1px solid #bc78a6;background:#593048}.hero-guest-account a:focus-visible{outline:2px solid #b5d5ff;outline-offset:3px}
