:root {
  color-scheme: dark;
  --night: #01030c;
  --space: #050b22;
  --blue: #1288ff;
  --cyan: #63f5ff;
  --white: #effdff;
  --violet: #5542ff;
  --line: rgba(129, 229, 255, .22);
  --glass: rgba(4, 15, 43, .58);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 116, 255, .13), transparent 34rem),
    radial-gradient(circle at 15% 75%, rgba(84, 46, 255, .14), transparent 32rem),
    var(--night);
  font-family: var(--body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; }
.aurora { position: fixed; width: 40rem; height: 40rem; border-radius: 50%; filter: blur(90px); opacity: .12; z-index: -2; pointer-events: none; }
.aurora-one { top: -18rem; right: -10rem; background: #00c8ff; }
.aurora-two { bottom: -24rem; left: -12rem; background: #5433ff; }

.site-header {
  width: min(1180px, calc(100% - 3rem));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: .8rem; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; }
.brand strong { color: var(--cyan); }
.brand-mark { position: relative; display: inline-flex; width: 34px; height: 32px; align-items: center; justify-content: center; }
.brand-mark i { position: absolute; width: 6px; height: 25px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); transform-origin: 50% 100%; }
.brand-mark i:first-child { transform: rotate(-38deg); }
.brand-mark i:nth-child(2) { transform: translateY(-4px); }
.brand-mark i:last-child { transform: rotate(38deg); }
nav { display: flex; align-items: center; gap: 1.7rem; font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
nav a { opacity: .72; transition: opacity .25s, color .25s; }
nav a:hover, nav a:focus-visible { opacity: 1; color: var(--cyan); }
.nav-pill { border: 1px solid var(--line); padding: .65rem .85rem; border-radius: 999px; }

main { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.hero { min-height: calc(100svh - 88px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 1.5rem; padding: 3rem 0 6rem; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: #9defff; font-size: .76rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .5rem; font-family: var(--display); font-size: clamp(4rem, 8.8vw, 8rem); line-height: .77; letter-spacing: -.08em; text-transform: uppercase; filter: drop-shadow(0 0 20px rgba(65, 212, 255, .18)); }
h1 em { display: inline-block; padding-right: .1em; color: transparent; font-style: normal; -webkit-text-stroke: 2px var(--cyan); text-shadow: 0 0 24px rgba(53, 208, 255, .54); transform: skewX(-6deg); }
.ticker { margin: 1.5rem 0 1.25rem; color: var(--cyan); font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: .08em; }
.intro { max-width: 32rem; color: rgba(229, 247, 255, .7); font-size: 1.04rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.energy-button { position: relative; isolation: isolate; min-width: 176px; padding: 1px; clip-path: polygon(8% 0, 92% 0, 100% 30%, 96% 100%, 4% 100%, 0 68%); background: linear-gradient(110deg, var(--cyan), var(--blue), var(--violet), var(--cyan)); background-size: 260%; color: white; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s, filter .25s; animation: buttonCharge 5s linear infinite; }
.energy-button span { display: block; padding: 1rem 1.35rem; clip-path: inherit; text-align: center; background: rgba(3, 10, 31, .94); }
.energy-button.primary span { background: linear-gradient(115deg, rgba(0, 95, 255, .95), rgba(25, 220, 255, .62)); text-shadow: 0 0 10px #fff; }
.energy-button:hover, .energy-button:focus-visible { transform: translateY(-3px) scale(1.02); filter: drop-shadow(0 0 15px rgba(81, 229, 255, .8)); outline: none; }
@keyframes buttonCharge { to { background-position: 260% 0; } }

.hero-visual { position: relative; min-height: 690px; display: grid; place-items: center; perspective: 1000px; }
.hero-visual::after { content: ""; position: absolute; inset: 10% -5% 2%; background: radial-gradient(ellipse, rgba(24, 189, 255, .2), transparent 65%); filter: blur(22px); z-index: -1; }
.hero-visual img { width: min(680px, 62vw); aspect-ratio: 1; object-fit: cover; border-radius: 48% 52% 49% 51% / 43% 47% 53% 57%; filter: saturate(1.1) contrast(1.05) drop-shadow(0 0 28px rgba(0, 159, 255, .64)); mix-blend-mode: screen; animation: characterFloat 5.4s ease-in-out infinite; }
@keyframes characterFloat { 50% { transform: translate3d(0, -14px, 30px) rotate(1deg); filter: saturate(1.25) contrast(1.08) drop-shadow(0 0 42px rgba(0, 196, 255, .78)); } }
.orbit { position: absolute; border: 1px solid rgba(92, 224, 255, .55); border-radius: 50%; box-shadow: inset 0 0 24px rgba(49, 171, 255, .16), 0 0 18px rgba(49, 171, 255, .18); pointer-events: none; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 6px var(--cyan); top: 12%; left: 16%; }
.orbit-a { width: 78%; aspect-ratio: 1; transform: rotate(25deg); animation: orbitOne 11s linear infinite; }
.orbit-b { width: 62%; aspect-ratio: 1; transform: rotate(-55deg); animation: orbitTwo 8s linear infinite reverse; }
.orbit-c { width: 92%; height: 40%; transform: rotate(-20deg); animation: orbitOne 14s linear infinite reverse; }
@keyframes orbitOne { to { transform: rotate(385deg); } }
@keyframes orbitTwo { to { transform: rotate(305deg); } }
.pulse-ring { position: absolute; width: 38%; aspect-ratio: 1; border: 2px solid rgba(95, 243, 255, .5); border-radius: 50%; animation: pulseRing 2.8s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(.65); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.charge { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: white; box-shadow: 0 0 16px 7px #34dfff; }
.charge-one { top: 16%; right: 18%; animation: flicker 2s infinite; }
.charge-two { bottom: 22%; left: 10%; animation: flicker 1.6s .4s infinite; }
.charge-three { top: 38%; left: 4%; animation: flicker 2.6s 1s infinite; }
@keyframes flicker { 50% { opacity: .28; transform: scale(.5); } }

.signal-section { padding: 7rem 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading .eyebrow { align-self: flex-start; }
h2 { max-width: 700px; margin-bottom: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.signal-card { position: relative; overflow: hidden; min-height: 330px; padding: 1.6rem; border: 1px solid var(--line); background: linear-gradient(155deg, rgba(8, 24, 61, .82), rgba(2, 7, 23, .5)); backdrop-filter: blur(12px); transition: transform .3s, border-color .3s, box-shadow .3s; }
.signal-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -80px; top: -80px; border-radius: 50%; background: var(--blue); filter: blur(70px); opacity: .18; }
.signal-card:hover { transform: translateY(-8px); border-color: rgba(111, 243, 255, .65); box-shadow: 0 22px 60px rgba(0, 89, 255, .18); }
.signal-card.featured { transform: translateY(-1.4rem); background: linear-gradient(145deg, rgba(18, 92, 188, .48), rgba(4, 12, 37, .72)); }
.signal-card.featured:hover { transform: translateY(-2rem); }
.signal-number { color: rgba(190, 235, 255, .45); font-size: .75rem; font-weight: 900; letter-spacing: .16em; }
.signal-icon { height: 120px; margin: 2rem 0 1.5rem; position: relative; }
.spark::before, .spark::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); transform: translate(-50%, -50%) rotate(45deg); }
.spark::before { width: 5px; height: 88px; }
.spark::after { width: 88px; height: 5px; }
.orbit-icon { border: 2px solid var(--cyan); border-radius: 50%; width: 112px; height: 52px; margin-left: auto; margin-right: auto; transform: rotate(-18deg); box-shadow: 0 0 18px rgba(49, 218, 255, .45); }
.orbit-icon::before, .orbit-icon::after { content: ""; position: absolute; inset: -16px 22px; border: 1px solid #6675ff; border-radius: 50%; transform: rotate(60deg); }
.orbit-icon::after { transform: rotate(-60deg); }
.streak::before { content: ""; position: absolute; width: 110px; height: 5px; top: 56px; left: calc(50% - 55px); background: linear-gradient(90deg, transparent, var(--cyan), #fff); transform: skewX(-30deg); box-shadow: 0 0 18px var(--cyan), -22px 18px 0 -1px var(--blue), -38px -17px 0 -1px #5542ff; }
.signal-card h3 { margin-bottom: .7rem; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; }
.signal-card p { margin-bottom: 0; color: rgba(221, 244, 255, .65); line-height: 1.65; }

.contract-section { margin: 5rem 0 8rem; padding: 4.5rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 80% 50%, rgba(0, 146, 255, .18), transparent 35%), rgba(5, 14, 39, .66); clip-path: polygon(0 0, 96% 0, 100% 15%, 100% 100%, 4% 100%, 0 85%); }
.contract-section p:last-child { margin: 1rem 0 0; color: rgba(221, 244, 255, .64); line-height: 1.65; }
.contract-card { width: 100%; padding: 1.3rem; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label state" "value state"; align-items: center; gap: .45rem 1rem; border: 1px solid rgba(102, 235, 255, .45); color: var(--white); background: rgba(1, 7, 24, .78); text-align: left; cursor: pointer; box-shadow: inset 0 0 30px rgba(0, 133, 255, .08), 0 0 30px rgba(0, 133, 255, .07); transition: border-color .25s, box-shadow .25s, transform .25s; }
.contract-card:hover, .contract-card:focus-visible { transform: translateY(-2px); border-color: var(--cyan); box-shadow: inset 0 0 30px rgba(0, 133, 255, .14), 0 0 32px rgba(0, 197, 255, .2); outline: none; }
.contract-label { grid-area: label; color: #78ddec; font-size: .67rem; font-weight: 900; letter-spacing: .18em; }
.contract-value { grid-area: value; overflow: hidden; text-overflow: ellipsis; color: white; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92rem; white-space: nowrap; }
.copy-state { grid-area: state; padding: .8rem 1rem; color: var(--cyan); border-left: 1px solid var(--line); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }

footer { width: min(1180px, calc(100% - 3rem)); min-height: 100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: rgba(206, 236, 255, .48); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.footer-mark { color: var(--cyan); font-size: 1rem; text-shadow: 0 0 12px var(--cyan); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 5rem; }
  .hero-copy, .hero-visual { min-width: 0; max-width: 100%; }
  .hero-visual { min-height: 560px; margin-top: -2rem; }
  .hero-visual img { width: min(720px, 100%); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card, .signal-card.featured { min-height: 270px; transform: none; }
  .signal-card.featured:hover { transform: translateY(-8px); }
  .contract-section { grid-template-columns: 1fr; padding: 3rem; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 1.5rem, 1180px); }
  .site-header { height: 72px; }
  .brand { font-size: .7rem; }
  nav a:not(.nav-pill) { display: none; }
  nav { gap: .5rem; }
  .hero { padding-top: 4rem; padding-bottom: 3rem; }
  h1 { max-width: 100%; font-size: clamp(3rem, 16.5vw, 4.7rem); }
  .intro { font-size: 1rem; }
  .energy-button { flex: 1 1 100%; }
  .hero-visual { min-height: 420px; }
  .section-heading { display: block; }
  .signal-section { padding: 4rem 0; }
  .contract-section { margin: 3rem 0 5rem; padding: 2rem 1.2rem; clip-path: none; }
  .contract-card { grid-template-columns: 1fr; grid-template-areas: "label" "value" "state"; }
  .copy-state { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; margin-top: .4rem; }
  footer { flex-direction: column; justify-content: center; text-align: center; padding: 2rem 0; }
}

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