:root {
  --bg: #0b0714;
  --ink: #f4eefc;
  --muted: #b3a8c9;
  --line: rgba(244, 238, 252, 0.12);
  --pink: #ff5fa2;
  --amber: #ffb35c;
  --violet: #7c6bff;
  --teal: #3fd7c5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }

.aurora { position: fixed; inset: -20vmax; z-index: -2; filter: blur(80px) saturate(140%); opacity: .55; pointer-events: none; }
.aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; mix-blend-mode: screen; animation: drift 28s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: radial-gradient(circle, var(--pink), transparent 60%); top: 0; left: 10%; }
.aurora span:nth-child(2) { background: radial-gradient(circle, var(--violet), transparent 60%); top: 20%; right: 0; animation-duration: 34s; animation-delay: -8s; }
.aurora span:nth-child(3) { background: radial-gradient(circle, var(--amber), transparent 60%); bottom: 0; left: 30%; animation-duration: 40s; animation-delay: -16s; opacity: .7; }
.aurora span:nth-child(4) { background: radial-gradient(circle, var(--teal), transparent 60%); bottom: 10%; right: 20%; animation-duration: 46s; opacity: .45; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vmax, -6vmax) scale(1.15); }
  100% { transform: translate(-6vmax, 8vmax) scale(.9); }
}
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1.25rem, 5vw, 4rem); backdrop-filter: blur(14px); background: rgba(11, 7, 20, .45); border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); font-size: .95rem; }
nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
nav a:hover { color: var(--ink); }

main { padding: 0 clamp(1.25rem, 5vw, 4rem); max-width: 1240px; margin: 0 auto; }
section { padding: clamp(4rem, 10vw, 8rem) 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }

.hero { min-height: calc(100vh - 70px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--muted); margin: 0 0 1.5rem; }
h1 { font-size: clamp(2.9rem, 9vw, 7.4rem); line-height: .98; }
h1 em { font-style: italic; background: linear-gradient(100deg, var(--pink), var(--amber) 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.lede { max-width: 38rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); margin: 2rem 0 2.5rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.btn { display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: #14081f; background: linear-gradient(100deg, var(--pink), var(--amber)); box-shadow: 0 10px 40px -10px rgba(255, 95, 162, .6); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(255, 95, 162, .75); }
.link { color: var(--muted); text-underline-offset: 4px; }
.link:hover { color: var(--ink); }

h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 2.5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.card { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); text-decoration: none; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; z-index: -1; }
.card.slurry::before { background: radial-gradient(120% 80% at 0% 0%, rgba(63, 215, 197, .25), transparent 60%); }
.card.signal::before { background: radial-gradient(120% 80% at 0% 0%, rgba(255, 95, 162, .25), transparent 60%); }
.card.next::before { background: radial-gradient(120% 80% at 0% 0%, rgba(124, 107, 255, .22), transparent 60%); opacity: 1; }
a.card:hover { transform: translateY(-4px); border-color: rgba(244, 238, 252, .3); }
a.card:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.arrow { font-size: 1.3rem; transition: transform .3s; }
a.card:hover .arrow { transform: translate(3px, -3px); }
.card h3 { font-size: 2rem; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.url { font-size: .9rem; font-weight: 600; }
.next { border-style: dashed; }

.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.how li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; background: linear-gradient(100deg, var(--pink), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how h3 { font-size: 1.6rem; margin: .5rem 0 .75rem; }
.how p { color: var(--muted); margin: 0; }

.contact { text-align: center; }
.contact h2 { margin-bottom: 1rem; }
.contact p { color: var(--muted); margin: 0 0 2rem; }
.big { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 3.2rem); text-decoration: none; background: linear-gradient(100deg, var(--pink), var(--amber) 50%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; border-bottom: 1px solid rgba(255, 179, 92, .4); padding-bottom: .2rem; word-break: break-word; }

footer { border-top: 1px solid var(--line); padding: 2.5rem clamp(1.25rem, 5vw, 4rem); color: var(--muted); font-size: .85rem; max-width: 1240px; margin: 0 auto; }
footer p { margin: .35rem 0; }
footer strong { color: var(--ink); font-weight: 600; }

.prose { max-width: 44rem; padding: clamp(3rem, 8vw, 6rem) 0; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 640px) {
  nav { display: none; }
  .hero { min-height: auto; padding-top: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora span, h1 em { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
