:root {
  --ink: #f8f2e9;
  --muted: #c9c9db;
  --navy: #070d28;
  --navy-deep: #040719;
  --night: #101b4b;
  --rose: #f6c1d1;
  --rose-deep: #be6e91;
  --gold: #f5dfae;
  --line: rgba(246, 193, 209, 0.27);
  --serif: 'Quicksand', ui-rounded, system-ui, sans-serif;
  --sans: 'Quicksand', ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-deep); }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #0a1131 0%, #080d29 25%, #111b49 61%, #050817 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: var(--navy); background: var(--ink); border-radius: 99px; transition: top .2s ease; }
.skip-link:focus { top: 1rem; }
.sky-grain { position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.starfield span { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--s) * 1px); height: calc(var(--s) * 1px); border-radius: 50%; background: #fff8e7; box-shadow: 0 0 7px 1px rgba(255, 245, 215, .5); animation: twinkle 3.5s var(--d) ease-in-out infinite alternate; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 1.8rem clamp(1.25rem, 5vw, 5rem); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: .79rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.brand__mark { width: 1.5rem; height: 1.5rem; object-fit: contain; filter: drop-shadow(0 0 10px rgba(246, 193, 209, .48)); }
.header-note { color: var(--muted); font-size: .74rem; letter-spacing: .08em; }
.hero { position: relative; isolation: isolate; min-height: min(820px, 100svh); display: grid; place-items: center; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, #0a1031); }
.hero__art { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(90deg, rgba(5, 8, 28, .76) 0%, rgba(8, 13, 36, .18) 58%, rgba(5, 8, 28, .62) 100%), linear-gradient(0deg, rgba(7, 13, 40, .8), transparent 50%), url('/manus-storage/async-images/XPpX3rtlXV597g2s2EHveu/image-1.webp'); background-size: cover; background-position: center; opacity: .85; }
.hero__glow { position: absolute; z-index: -2; width: 45vw; aspect-ratio: 1; border-radius: 50%; filter: blur(65px); opacity: .38; pointer-events: none; }
.hero__glow--one { top: 9%; right: -10%; background: #e488ae; }
.hero__glow--two { left: -15%; bottom: 1%; background: #657ce1; opacity: .28; }
.hero__content { width: min(88vw, 790px); text-align: center; padding-top: 4.5rem; animation: rise-in 1.1s .1s both cubic-bezier(.2,.75,.25,1); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.6rem; color: var(--rose); font-size: clamp(.65rem, .9vw, .76rem); font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { display: block; width: 1.45rem; height: 1px; background: currentColor; }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--center::after { content: ''; display: block; width: 1.45rem; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
h1 { margin-bottom: 1.65rem; font-size: clamp(3.9rem, 9.7vw, 8.5rem); }
h1 em, h2 em { color: var(--rose); font-style: normal; font-weight: 400; }
.hero__lede { width: min(100%, 36rem); margin: 0 auto 2.15rem; color: #e5e1ec; font-size: clamp(.97rem, 1.4vw, 1.15rem); line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.25rem; padding: .95rem 1.3rem; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-3px); }
.button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.button--primary { color: #31172a; background: var(--rose); box-shadow: 0 12px 32px rgba(246, 193, 209, .22); }
.button--primary:hover { background: #ffe1eb; box-shadow: 0 14px 42px rgba(246, 193, 209, .38); }
.button--outline { color: var(--rose); background: rgba(255,255,255,.025); border-color: var(--line); }
.button--outline:hover { background: rgba(246, 193, 209, .13); border-color: rgba(246, 193, 209, .7); }
.hero__bottom { position: absolute; left: 50%; bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: .55rem; color: rgba(248,242,233,.62); font-size: .61rem; letter-spacing: .18em; text-transform: uppercase; transform: translateX(-50%); }
.hero__bottom i { display: block; width: 1px; height: 2.5rem; background: linear-gradient(var(--rose), transparent); }
.letter-section { position: relative; z-index: 1; padding: clamp(4.5rem, 11vw, 9rem) 1.25rem 6.5rem; }
.section-anchor { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-bottom: 2rem; color: var(--gold); opacity: .8; }
.section-anchor span { height: 1px; width: 3rem; background: currentColor; }
.section-anchor i { width: .35rem; height: .35rem; border-radius: 50%; background: currentColor; }
.letter { position: relative; width: min(100%, 820px); margin: auto; padding: clamp(2.1rem, 6vw, 5rem) clamp(1.3rem, 8vw, 7rem); overflow: hidden; border: 1px solid rgba(246,193,209,.23); border-radius: 1.2rem; background: linear-gradient(135deg, rgba(36, 48, 106, .69), rgba(19, 25, 66, .77)); box-shadow: 0 35px 90px rgba(0,0,0,.25); backdrop-filter: blur(15px); }
.letter::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(245,223,174,.13); border-radius: .7rem; pointer-events: none; }
.letter__prelude { position: relative; margin-bottom: 1rem; color: var(--gold); font-size: .82rem; letter-spacing: .12em; }
.letter h2 { position: relative; margin-bottom: 1.7rem; font-size: clamp(2.1rem, 5.2vw, 4.7rem); }
.letter__rule { position: relative; display: flex; align-items: center; gap: .7rem; width: min(100%, 15rem); margin-bottom: 1.85rem; color: var(--rose); }
.letter__rule span { flex: 1; height: 1px; background: currentColor; opacity: .55; }
.letter__rule i { font-size: .8rem; font-style: normal; }
.letter__copy { position: relative; width: min(100%, 36rem); font-size: clamp(.98rem, 1.4vw, 1.1rem); color: #e7e4ed; line-height: 1.9; }
.letter__copy p { margin-bottom: 1.25rem; }
.letter__emphasis { color: #fff2f6; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; }
.letter__moon { position: absolute; right: clamp(-4rem, -1vw, -1rem); bottom: -4rem; width: 12rem; height: 12rem; border: 1px solid rgba(245,223,174,.25); border-radius: 50%; transform: rotate(-28deg); }
.letter__moon span { position: absolute; inset: 1.2rem -1.3rem 1.2rem 2.4rem; border-radius: 50%; background: rgba(17,26,73,.88); }
.truth-section { position: relative; z-index: 1; padding: 5.5rem 1.25rem 7rem; background: radial-gradient(circle at 78% 35%, rgba(245, 135, 181, .14), transparent 25rem), rgba(4, 8, 26, .5); }
.truth-section__inner { width: min(100%, 1050px); margin: auto; }
.truth-section h2, .constellation-section h2, .final-section h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); text-align: center; font-size: clamp(2.4rem, 5.2vw, 5rem); }
.truth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.truth-card { min-height: 17.8rem; padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.11); border-radius: 1rem; background: rgba(12, 19, 54, .55); transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.truth-card:hover { transform: translateY(-7px); border-color: rgba(246,193,209,.5); background: rgba(36, 41, 91, .62); }
.truth-card--accent { background: linear-gradient(150deg, rgba(139, 58, 100, .5), rgba(22, 31, 82, .68)); }
.truth-card__number { color: var(--rose); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.truth-card p { margin: 2rem 0 0; font-size: clamp(.96rem, 1.25vw, 1.08rem); line-height: 1.72; }
.truth-closing { max-width: 37rem; margin: 2.5rem auto 0; color: var(--gold); text-align: center; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.6; }
.constellation-section { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(15rem, .9fr) minmax(17rem, 1.1fr); gap: clamp(2rem, 8vw, 9rem); align-items: center; width: min(100% - 2.5rem, 1050px); margin: auto; padding: clamp(6rem, 12vw, 10rem) 0; }
.constellation-section h2 { margin-bottom: 0; text-align: left; }
.constellation-section__intro .eyebrow { max-width: 100%; letter-spacing: .1em; line-height: 1.55; }
.constellation-list { display: grid; gap: .95rem; }
.constellation-item { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1rem; padding: 1.15rem 1.2rem; border-bottom: 1px solid rgba(246,193,209,.18); }
.constellation-item__star { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid rgba(245,223,174,.3); border-radius: 50%; color: var(--gold); font-size: .85rem; }
.constellation-item__label { margin-bottom: .35rem; color: var(--rose); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.constellation-item p:last-child { margin: 0; color: #e2e2ed; font-size: .96rem; line-height: 1.65; }
.final-section { position: relative; z-index: 1; display: grid; min-height: 46rem; place-items: center; overflow: hidden; padding: 7rem 1.25rem; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(185, 94, 139, .28), transparent 20rem), radial-gradient(circle at 50% 40%, rgba(47, 67, 154, .34), transparent 34rem); }
.final-section__content { position: relative; width: min(100%, 45rem); }
.final-star { margin-bottom: 1.5rem; color: var(--gold); font-size: 1.5rem; filter: drop-shadow(0 0 14px var(--gold)); }
.final-section h2 { margin-bottom: 1.35rem; }
.final-section__content > p:not(.eyebrow):not(.secret-note) { max-width: 34rem; margin: 0 auto 1.75rem; color: #e3e2ed; font-size: 1.03rem; line-height: 1.8; }
.secret-note { max-width: 36rem; margin: 1.5rem auto 0; padding: 1rem 1.3rem; border-radius: .8rem; background: rgba(255,255,255,.07); color: #ffeaf2; line-height: 1.75; animation: soft-appear .5s ease both; }
.signature { margin-top: 2.35rem; }
.signature span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .78rem; letter-spacing: .12em; }
.signature strong { display: inline-block; color: var(--rose); font-size: clamp(1.3rem, 2.5vw, 1.85rem); font-weight: 500; }
.orbit { position: absolute; left: 50%; top: 50%; width: min(78vw, 49rem); aspect-ratio: 1; border: 1px solid rgba(245,223,174,.14); border-radius: 50%; transform: translate(-50%,-50%) rotate(-28deg); }
.orbit--two { width: min(103vw, 65rem); transform: translate(-50%,-50%) rotate(48deg); border-color: rgba(246,193,209,.1); }
footer { position: relative; z-index: 2; display: flex; justify-content: center; gap: .7rem; padding: 1.35rem; border-top: 1px solid rgba(255,255,255,.08); color: rgba(201,201,219,.72); background: #040718; font-size: .68rem; letter-spacing: .08em; text-align: center; }
footer i { color: var(--rose); font-style: normal; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes twinkle { from { opacity: .25; transform: scale(.75); } to { opacity: .95; transform: scale(1.35); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soft-appear { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .site-header { padding: 1.35rem 1.25rem; }
  .header-note { display: none; }
  .hero { min-height: 44rem; }
  .hero__content { padding-top: 3rem; }
  .letter-section { padding-bottom: 4rem; }
  .letter { border-radius: 1rem; }
  .truth-section { padding: 4.3rem 1.25rem 5rem; }
  .truth-grid { grid-template-columns: 1fr; gap: .75rem; }
  .truth-card { min-height: 12rem; }
  .constellation-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 5.5rem 0; }
  .constellation-section h2 { text-align: center; }
  .constellation-section__intro { text-align: center; }
  .constellation-section__intro .eyebrow { justify-content: center; }
  .final-section { min-height: 39rem; }
}

@media (max-width: 420px) {
  h1 { font-size: 3.65rem; }
  .hero__lede { font-size: .91rem; }
  .letter__copy { font-size: .93rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
