:root {
  color-scheme: dark;
  --bg: #090b14;
  --panel: rgba(22, 24, 40, 0.82);
  --panel-strong: #151827;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f8ff;
  --muted: #a9aec3;
  --cyan: #5ad9ff;
  --violet: #9b7bff;
  --max: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 187, 255, 0.16), transparent 31rem),
    radial-gradient(circle at 88% 22%, rgba(141, 89, 255, 0.17), transparent 32rem),
    var(--bg);
  line-height: 1.65;
}

a { color: var(--cyan); text-underline-offset: 0.2em; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 20, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-size: 1.05rem; font-weight: 720; letter-spacing: 0.01em; }
.brand-icon { display: block; width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 104px 0 82px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.65rem, 8vw, 5.8rem); line-height: 0.98; letter-spacing: -0.055em; }
.gradient-text { background: linear-gradient(90deg, var(--cyan), #72a8ff 50%, var(--violet)); color: transparent; background-clip: text; }
.lead { max-width: 710px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; background: rgba(255,255,255,0.05); }
.button.primary { border-color: transparent; color: #07101b; font-weight: 720; background: linear-gradient(90deg, var(--cyan), #7f9cff); }

.wave-card {
  position: relative;
  height: 270px;
  margin: 0 auto 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(28, 31, 50, 0.92), rgba(13, 15, 27, 0.96));
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
}
.wave-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background: repeating-linear-gradient(90deg, transparent 0 10%, rgba(255,255,255,0.07) 10% calc(10% + 1px));
}
.wave {
  position: absolute;
  inset: 24px;
  background: linear-gradient(90deg, var(--cyan), #62a9ff 52%, var(--violet));
  clip-path: polygon(0 48%, 1% 22%, 2% 69%, 3% 38%, 4% 77%, 5% 27%, 6% 58%, 7% 44%, 8% 71%, 9% 31%, 10% 61%, 11% 42%, 12% 75%, 13% 35%, 14% 54%, 15% 46%, 16% 66%, 17% 40%, 18% 59%, 19% 26%, 20% 74%, 21% 34%, 22% 62%, 23% 43%, 24% 69%, 25% 39%, 26% 56%, 27% 30%, 28% 73%, 29% 45%, 30% 61%, 31% 37%, 32% 67%, 33% 28%, 34% 75%, 35% 42%, 36% 58%, 37% 34%, 38% 64%, 39% 44%, 40% 70%, 41% 31%, 42% 60%, 43% 47%, 44% 66%, 45% 38%, 46% 72%, 47% 29%, 48% 56%, 49% 41%, 50% 68%, 51% 35%, 52% 62%, 53% 46%, 54% 74%, 55% 33%, 56% 59%, 57% 40%, 58% 66%, 59% 30%, 60% 72%, 61% 45%, 62% 60%, 63% 36%, 64% 69%, 65% 42%, 66% 56%, 67% 28%, 68% 75%, 69% 39%, 70% 63%, 71% 46%, 72% 70%, 73% 32%, 74% 58%, 75% 43%, 76% 67%, 77% 35%, 78% 73%, 79% 40%, 80% 61%, 81% 29%, 82% 69%, 83% 44%, 84% 57%, 85% 37%, 86% 74%, 87% 41%, 88% 63%, 89% 33%, 90% 67%, 91% 45%, 92% 71%, 93% 30%, 94% 59%, 95% 39%, 96% 73%, 97% 43%, 98% 62%, 99% 35%, 100% 51%, 100% 51%, 99% 65%, 98% 38%, 97% 57%, 96% 27%, 95% 61%, 94% 41%, 93% 70%, 92% 29%, 91% 55%, 90% 33%, 89% 67%, 88% 37%, 87% 59%, 86% 26%, 85% 63%, 84% 43%, 83% 56%, 82% 31%, 81% 71%, 80% 39%, 79% 60%, 78% 27%, 77% 65%, 76% 33%, 75% 57%, 74% 42%, 73% 68%, 72% 30%, 71% 54%, 70% 37%, 69% 61%, 68% 25%, 67% 72%, 66% 44%, 65% 58%, 64% 31%, 63% 64%, 62% 40%, 61% 55%, 60% 28%, 59% 70%, 58% 34%, 57% 60%, 56% 26%, 55% 67%, 54% 39%, 53% 54%, 52% 32%, 51% 65%, 50% 38%, 49% 59%, 48% 27%, 47% 71%, 46% 33%, 45% 62%, 44% 34%, 43% 57%, 42% 40%, 41% 69%, 40% 30%, 39% 56%, 38% 36%, 37% 66%, 36% 42%, 35% 58%, 34% 25%, 33% 72%, 32% 33%, 31% 63%, 30% 39%, 29% 55%, 28% 27%, 27% 70%, 26% 44%, 25% 61%, 24% 31%, 23% 57%, 22% 38%, 21% 66%, 20% 26%, 19% 74%, 18% 41%, 17% 59%, 16% 34%, 15% 54%, 14% 46%, 13% 65%, 12% 25%, 11% 58%, 10% 39%, 9% 69%, 8% 29%, 7% 56%, 6% 42%, 5% 73%, 4% 23%, 3% 62%, 2% 31%, 1% 78%, 0 52%);
}
.playhead { position: absolute; top: 0; bottom: 0; left: 48%; width: 1px; background: rgba(255,255,255,0.92); box-shadow: 0 0 16px rgba(255,255,255,0.6); }

.section { padding: 72px 0; }
.section h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.035em; }
.section-intro { max-width: 700px; margin: 0 0 34px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }

.document { width: min(calc(100% - 40px), 840px); margin: 0 auto; padding: 72px 0 96px; }
.document h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); line-height: 1.05; }
.document h2 { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.45rem; }
.document h3 { margin-top: 26px; font-size: 1.05rem; }
.document p, .document li { color: var(--muted); }
.document .meta { color: var(--muted); }
.callout { margin: 28px 0; padding: 22px; border: 1px solid rgba(90,217,255,0.28); border-radius: 16px; background: rgba(90,217,255,0.07); }
.callout p { margin: 0; color: var(--text); }
.callout-section { padding-top: 0; }
.callout-section .callout { margin: 0 auto; }

.site-footer { padding: 32px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  .hero { padding-top: 72px; }
  .wave-card { height: 210px; margin-bottom: 48px; border-radius: 20px; }
  .grid { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
