:root { --ink: #25304a; --muted: #707993; --pink: #d985a6; --blue: #8da7c8; --cream: #fbf8f6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-geist-sans), sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell { min-height: 100svh; position: relative; overflow: hidden; background: linear-gradient(140deg, #fcfaf8 0%, #f8f4f4 48%, #f0f5fa 100%); }
.ambient { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 44vw; height: 44vw; left: -22vw; top: -20vw; background: radial-gradient(circle, rgba(229,172,192,.26), transparent 67%); }
.ambient-two { width: 50vw; height: 50vw; right: -26vw; bottom: -28vw; background: radial-gradient(circle, rgba(151,180,211,.28), transparent 68%); }

.home { min-height: 100svh; max-width: 1320px; margin: auto; padding: 0 62px; display: flex; flex-direction: column; opacity: 0; transform: scale(.985); transition: opacity .9s .16s ease, transform 1s .12s cubic-bezier(.2,.8,.2,1); }
.is-entered .home { opacity: 1; transform: scale(1); }
.topbar { height: 110px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(68,80,109,.12); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; color: white; font-family: Georgia, serif; font-style: italic; background: linear-gradient(145deg, #d77f9f, #a78db8); box-shadow: 0 8px 24px rgba(185,121,155,.22); }
.network-status { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.network-status i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #83b995; box-shadow: 0 0 0 5px rgba(131,185,149,.12); }

.hero { flex: 1; min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding: 70px 0 48px; }
.eyebrow { margin: 0 0 24px; color: #aa6f87; font-family: var(--font-geist-mono), monospace; font-size: 11px; font-weight: 600; letter-spacing: .19em; }
h1 { margin: 0; font-size: clamp(52px, 6.1vw, 88px); line-height: .99; letter-spacing: -.065em; font-weight: 560; }
h1 span { color: #8299b8; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.055em; }
.intro { max-width: 570px; margin: 34px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.actions { display: flex; gap: 14px; margin-top: 38px; }
.actions a { height: 52px; padding: 0 22px; border-radius: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.actions a:hover { transform: translateY(-3px); }
.actions svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.primary-action { color: white; background: var(--ink); box-shadow: 0 12px 30px rgba(37,48,74,.16); }
.secondary-action { border: 1px solid rgba(79,91,119,.17); background: rgba(255,255,255,.46); }

.network-art { justify-self: end; width: min(42vw, 520px); aspect-ratio: 1; position: relative; }
.orbit { position: absolute; border: 1px solid rgba(111,130,161,.14); border-radius: 50%; }
.orbit-one { inset: 4%; }
.orbit-two { inset: 19%; border-style: dashed; animation: spin 32s linear infinite; }
.connections { position: absolute; inset: 0; width: 100%; height: 100%; }
.connections path { fill: none; stroke: rgba(127,149,181,.32); stroke-width: 1.2; stroke-dasharray: 5 7; }
.node { position: absolute; z-index: 2; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.72); border: 1px solid rgba(104,123,154,.16); box-shadow: 0 22px 55px rgba(82,103,139,.13); backdrop-filter: blur(8px); }
.node-a { width: 154px; height: 154px; left: calc(50% - 77px); top: calc(50% - 77px); background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(248,231,238,.86)); }
.node-a span { display: block; color: #a8788c; font-size: 10px; letter-spacing: .25em; text-align: center; }
.node-a strong { display: block; margin-top: -26px; font-size: 20px; letter-spacing: -.04em; }
.node-b,.node-c,.node-d { width: 30px; height: 30px; }
.node-b { left: 19%; top: 24%; }.node-c { right: 17%; top: 20%; }.node-d { right: 15%; bottom: 21%; }
.node i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.node-c i { background: var(--blue); }.node-d i { background: #a9bb9a; }
.art-caption { position: absolute; right: 0; bottom: 4%; color: #8b94a7; font-family: var(--font-geist-mono), monospace; font-size: 9px; line-height: 1.7; letter-spacing: .15em; text-align: right; }
footer { min-height: 80px; border-top: 1px solid rgba(68,80,109,.12); display: flex; justify-content: space-between; align-items: center; color: #8b92a2; font-size: 11px; letter-spacing: .04em; }
footer a:hover { color: var(--pink); }

.splash { position: fixed; z-index: 10; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--ink); background: linear-gradient(145deg, #fbf7f5, #f3f6fa); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .75s ease, visibility .75s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.splash::before { content: ""; position: absolute; width: min(64vw, 720px); height: min(64vw, 720px); border: 1px solid rgba(161,125,151,.13); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.08), 0 0 0 160px rgba(137,162,192,.035); }
.splash.is-leaving { opacity: 0; visibility: hidden; transform: scale(1.035); pointer-events: none; }
.splash-logo { position: relative; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 31px 31px 31px 10px; color: white; background: linear-gradient(145deg, #e093af, #9aaeca); box-shadow: 0 22px 58px rgba(165,128,164,.24); }
.splash-logo i { font-family: Georgia, serif; font-size: 48px; line-height: 1; font-weight: 400; }
.splash-title { position: relative; margin-top: 28px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 58px); font-style: italic; letter-spacing: -.035em; }
.splash-subtitle { position: relative; margin-top: 10px; color: #9299a8; font-family: var(--font-geist-mono), monospace; font-size: 10px; letter-spacing: .22em; }
.enter-hint { position: absolute; bottom: 9%; color: #7e8798; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; animation: breathe 2.8s ease-in-out infinite; }
.enter-hint i { display: inline-block; width: 22px; height: 1px; margin: 0 10px 4px 0; background: #c98aa2; }
.splash-sakura { position: absolute; color: rgba(209,132,162,.3); font-size: 18px; animation: drift 6s ease-in-out infinite; }
.sakura-one { left: 18%; top: 25%; }.sakura-two { right: 22%; top: 32%; animation-delay: -2s; font-size: 12px; }.sakura-three { right: 30%; bottom: 25%; animation-delay: -4s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .42; transform: translateY(4px); } }
@keyframes drift { 50% { transform: translate(9px, -12px) rotate(25deg); } }

@media (max-width: 840px) {
  .home { padding: 0 24px; }
  .topbar { height: 84px; }
  .network-status { display: none; }
  .hero { grid-template-columns: 1fr; padding: 54px 0 42px; }
  .network-art { width: min(84vw, 420px); justify-self: center; order: -1; margin-bottom: -50px; opacity: .8; }
  h1 { font-size: clamp(48px, 14vw, 72px); }
  .intro { font-size: 15px; }
}
@media (max-width: 520px) {
  .network-art { margin-top: -55px; margin-bottom: -75px; transform: scale(.72); }
  .actions { flex-direction: column; }
  .actions a { justify-content: center; }
  footer { flex-direction: column; justify-content: center; gap: 7px; }
  .splash::before { width: 88vw; height: 88vw; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
