﻿:root {
  --bg: #09101d;
  --bg-soft: rgba(11, 20, 38, 0.72);
  --panel: rgba(12, 22, 42, 0.82);
  --panel-strong: rgba(16, 28, 52, 0.92);
  --line: rgba(151, 177, 224, 0.18);
  --line-strong: rgba(151, 177, 224, 0.34);
  --text: #eef4ff;
  --text-soft: rgba(226, 235, 255, 0.72);
  --muted: rgba(180, 197, 231, 0.58);
  --gold: #f0bf72;
  --gold-soft: rgba(240, 191, 114, 0.18);
  --cyan: #87d9ff;
  --cyan-soft: rgba(135, 217, 255, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(57, 105, 199, 0.18), transparent 30%),
    radial-gradient(circle at 85% 16%, rgba(240, 191, 114, 0.17), transparent 22%),
    linear-gradient(180deg, #08101d 0%, #090d17 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  color: var(--cyan);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-a {
  background: radial-gradient(circle at 0% 0%, rgba(120, 181, 255, 0.15), transparent 35%);
  filter: blur(10px);
}

.ambient-b {
  background: radial-gradient(circle at 100% 0%, rgba(240, 191, 114, 0.12), transparent 30%);
  filter: blur(16px);
}

.noise {
  opacity: 0.15;
  background-image: radial-gradient(rgba(255,255,255,0.18) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 80%);
}

.topbar,
.section-frame,
.footer {
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 14, 26, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 8px 20px rgba(135, 217, 255, 0.22));
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.topnav a {
  position: relative;
  padding: 6px 0;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.topnav a:hover::after { transform: scaleX(1); }

main {
  padding: 34px 0 60px;
}

.section-frame {
  position: relative;
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 24, 43, 0.85), rgba(9, 16, 30, 0.86));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 30px;
  align-items: stretch;
  min-height: 650px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0;
  padding-right: 6px;
}

.eyebrow,
.status-pill,
.card-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  color: var(--cyan);
  background: rgba(135, 217, 255, 0.09);
  border: 1px solid rgba(135, 217, 255, 0.16);
}

.status-pill,
.card-topline {
  color: var(--gold);
  background: rgba(240, 191, 114, 0.1);
  border: 1px solid rgba(240, 191, 114, 0.15);
}

.card-topline.muted {
  color: var(--text-soft);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero h1,
.section-title h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.85rem, 5.6vw, 5.15rem);
  max-width: 9.4ch;
  text-wrap: balance;
}

.hero h1 span,
.section-title h2 {
  background: linear-gradient(135deg, #ffffff 5%, #c6d6f7 38%, #f0bf72 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  display: grid;
  gap: 0.06em;
}

.hero-title-line {
  display: block;
}

.hero-title-intro {
  font-size: 0.78em;
  letter-spacing: -0.02em;
}

.hero-title-intro em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 5%, #c6d6f7 38%, #f0bf72 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-accent {
  font-size: 0.88em;
}

.hero-lead {
  margin: 20px 0 22px;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.82;
  text-wrap: balance;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 168px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0d1016;
  background: linear-gradient(135deg, #f4d49d, #f0bf72 72%);
  box-shadow: 0 18px 34px rgba(240, 191, 114, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(135, 217, 255, 0.24);
  background: rgba(135, 217, 255, 0.08);
}

.btn.block {
  width: 100%;
}

.meta-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.meta-grid div,
.feature-card,
.download-card,
.install-grid article,
.command-card,
.channel-strip article,
.notice-bar,
.faq-list details,
.signal-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 29, 54, 0.72), rgba(10, 17, 30, 0.88));
  border-radius: var(--radius-lg);
}

.meta-grid div {
  padding: 16px 16px 15px;
}

.meta-grid strong,
.feature-card h3,
.download-card h3,
.install-grid h3 {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.meta-grid span,
.feature-card p,
.download-card p,
.install-grid p,
.channel-strip p,
.notice-bar,
.faq-list p,
.signal-grid p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding-top: 14px;
}

.panel-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 15, 26, 0.78);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
}

.dot:first-child { background: #f27979; }
.dot:nth-child(2) { background: #f0bf72; }
.dot:nth-child(3) { background: #87d9ff; }

.panel-head small {
  margin-left: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-card {
  padding: 24px 24px 22px;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(135, 217, 255, 0.16);
  background: radial-gradient(circle at top, rgba(14, 38, 74, 0.72), rgba(7, 12, 20, 0.98));
  min-height: 252px;
}

.terminal-line {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.92rem;
  color: #dbe9ff;
  line-height: 1.82;
  word-break: break-word;
}

.terminal-line.accent { color: var(--gold); }
.terminal-line.dim { color: var(--muted); margin-top: 8px; }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid article {
  padding: 18px 18px 20px;
  min-height: 204px;
}

.signal-grid span,
.install-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 10px;
  color: #0d1016;
  font-weight: 800;
  background: linear-gradient(135deg, #f4d49d, #f0bf72);
}

.signal-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.signal-grid p {
  font-size: 0.98rem;
  line-height: 1.72;
}

.section-title {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-title.compact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.section-title h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  max-width: 12ch;
}

.feature-grid,
.download-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.download-card,
.install-grid article,
.command-card,
.notice-bar,
.channel-strip article,
.faq-list details {
  padding: 24px;
}

.feature-card.featured {
  background: linear-gradient(160deg, rgba(34, 58, 101, 0.82), rgba(14, 19, 33, 0.92));
}

.feature-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.8;
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.primary-card {
  border-color: rgba(240, 191, 114, 0.24);
  box-shadow: 0 20px 48px rgba(240, 191, 114, 0.09);
}

.artifact-name {
  color: var(--gold);
  font-size: 0.95rem;
  word-break: break-word;
}

.download-card dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.download-card dt {
  color: var(--muted);
}

.download-card dd {
  margin: 0;
  text-align: right;
  color: var(--text);
}

.notice-bar {
  margin-top: 18px;
  border-color: rgba(240, 191, 114, 0.2);
  background: linear-gradient(180deg, rgba(63, 43, 12, 0.22), rgba(11, 17, 31, 0.82));
}

.command-card {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  background: rgba(8, 14, 24, 0.88);
}

.command-line {
  font-family: "IBM Plex Mono", Consolas, monospace;
  color: var(--cyan);
}

.mini-copy {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 217, 255, 0.24);
  background: rgba(135, 217, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "−";
}

.footer {
  margin-top: 24px;
  margin-bottom: 28px;
  display: grid;
  gap: 14px;
  align-items: start;
}

.footer p,
.footer small {
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--gold);
}

@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .download-grid,
  .install-grid,
  .channel-strip,
  .signal-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
  }

  .section-title h2,
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 780px) {
  .topbar {
    border-radius: 28px;
    padding: 14px 16px;
    align-items: start;
    flex-direction: column;
  }

  .topnav {
    gap: 12px 16px;
  }

  .section-frame {
    width: min(var(--container), calc(100vw - 20px));
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-title-intro,
  .hero-title-accent {
    font-size: 1em;
  }

  .hero-tags {
    margin-bottom: 20px;
  }

  .cta-row,
  .download-card dl div {
    flex-direction: column;
    align-items: stretch;
  }

  .download-card dd {
    text-align: left;
  }
}
