* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #0f1514;
  --bg-deep: #0a0f0e;
  --surface: #121c1b;
  --surface-soft: #1a2624;
  --accent: #7fffd4;
  --accent-warm: #f5b183;
  --accent-cool: #69a7ff;
  --text: #f1f4f2;
  --text-muted: #b8c4bf;
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(2, 12, 10, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-sans: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --brand-orb-size: 44px;
  --brand-gap: 12px;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #1a2d29 0%, var(--bg) 55%, var(--bg-deep) 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(127, 255, 212, 0.12), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(245, 177, 131, 0.1), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(105, 167, 255, 0.12), transparent 45%);
  filter: blur(0px);
  z-index: 0;
}

.hero,
.section,
.footer {
  width: min(100%, 980px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero {
  position: relative;
  padding-top: 28px;
  padding-bottom: 80px;
  z-index: 1;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.nav-left {
  display: grid;
  grid-template-columns: var(--brand-orb-size) max-content;
  column-gap: var(--brand-gap);
  row-gap: 8px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--brand-gap);
  font-weight: 600;
  letter-spacing: 0.02em;
  grid-column: 1 / -1;
}

.brand-orb {
  width: var(--brand-orb-size);
  height: var(--brand-orb-size);
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.7), transparent 38%),
    radial-gradient(circle at 62% 64%, rgba(43, 255, 106, 0.6), transparent 52%),
    radial-gradient(circle at 45% 52%, rgba(18, 185, 106, 0.45), transparent 60%),
    linear-gradient(140deg, rgba(31, 226, 139, 0.75), rgba(18, 185, 106, 0.9));
  box-shadow: inset 0 0 18px rgba(43, 255, 106, 0.35), 0 10px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  transform-origin: center;
  animation:
    orbPulse 5s ease-in-out infinite,
    orbGlow 5s ease-in-out infinite,
    orbAudio 6.75s linear infinite;
}

.brand-orb::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(43, 255, 106, 0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(31, 226, 139, 0.35), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(18, 185, 106, 0.35), transparent 55%),
    linear-gradient(120deg, rgba(18, 185, 106, 0.2), rgba(43, 255, 106, 0.35), rgba(31, 226, 139, 0.2));
  background-size: 200% 200%, 180% 180%, 200% 200%, 240% 240%;
  background-position: 0% 50%, 100% 30%, 50% 100%, 50% 50%;
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: orbMarble 8s ease-in-out infinite;
  clip-path: circle(50% at 50% 50%);
}

.brand-orb::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(43, 255, 106, 0.25), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(31, 226, 139, 0.2), transparent 60%),
    radial-gradient(circle at 55% 80%, rgba(18, 185, 106, 0.22), transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(43, 255, 106, 0.2), transparent 70%);
  background-size: 120% 120%, 140% 140%, 160% 160%, 110% 110%;
  filter: blur(1.6px);
  opacity: 0.7;
  mix-blend-mode: screen;
  clip-path: circle(50% at 50% 50%);
  animation:
    orbPulse 5s ease-in-out infinite,
    orbRipples 5s ease-in-out infinite,
    orbAudio 6.75s linear infinite;
}

.brand-name {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--font-serif);
  background: linear-gradient(120deg, #eafff4, #7fffd4 45%, #3bd18f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-weight: 500;
  align-items: center;
  font-size: 1.02rem;
  grid-column: 2;
  justify-self: center;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(15, 21, 20, 0.6);
  backdrop-filter: blur(6px);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: 16px 0 24px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, rgba(127, 255, 212, 0.25), rgba(105, 167, 255, 0.3));
  border-color: rgba(127, 255, 212, 0.4);
  box-shadow: 0 12px 40px rgba(76, 255, 216, 0.15);
}

.btn.ghost {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
}

.hero-panel {
  display: grid;
  justify-items: start;
}

.panel-rail {
  width: min(360px, 85vw);
  padding: 24px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 22px;
}

.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.panel-rail h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.panel-list {
  display: grid;
  gap: 16px;
}

.panel-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
}

.panel-item strong {
  display: block;
  margin-bottom: 4px;
}

.panel-item p {
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(127, 255, 212, 0.6);
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-top: 14px;
}

.section-note {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 620px;
}

.feature-grid,
.tech-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid article,
.tech-grid article,
.mode-cards article {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.feature-grid h3,
.tech-grid h3,
.mode-cards h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-grid p,
.tech-grid p,
.mode-cards p {
  color: var(--text-muted);
}

.modes {
  background: linear-gradient(120deg, rgba(105, 167, 255, 0.07), transparent 55%);
}

.mode-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pipeline-steps {
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--stroke);
}

.step-label {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(127, 255, 212, 0.15);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.download {
  padding-bottom: 120px;
}

.download-card {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  background: linear-gradient(120deg, rgba(127, 255, 212, 0.12), rgba(15, 21, 20, 0.6));
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--stroke);
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer {
  padding-top: 32px;
  padding-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  border-top: 1px solid var(--stroke);
  color: var(--text-muted);
  text-align: center;
}

.footer strong {
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 12px;
  min-width: 240px;
  justify-items: center;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.footer-list a {
  color: var(--text);
  font-weight: 500;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  width: 100%;
  font-size: 0.9rem;
}

.footer-policies a {
  color: var(--text-muted);
}

.footer-policies a:hover {
  color: var(--text);
}

.policy {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 60px 20px 80px;
  position: relative;
  z-index: 1;
}

.policy-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.policy-back:hover {
  color: var(--text);
}

.policy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.policy-updated {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.policy section {
  margin-bottom: 22px;
  background: rgba(18, 28, 27, 0.6);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.policy h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.policy p {
  color: var(--text-muted);
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 70px;
  }

  .nav-left {
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  .brand-name {
    font-size: 2.5rem;
  }

  .brand-orb {
    width: 54px;
    height: 54px;
  }

  :root {
    --brand-orb-size: 54px;
  }
}

@keyframes orbGlow {
  0%,
  100% {
    box-shadow: inset 0 0 20px rgba(43, 255, 106, 0.35), 0 12px 28px rgba(0, 0, 0, 0.38);
  }
  50% {
    box-shadow: inset 0 0 30px rgba(43, 255, 106, 0.7), 0 16px 34px rgba(0, 0, 0, 0.45);
  }
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(0.972);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.028);
    opacity: 0.95;
  }
}

@keyframes orbRipples {
  0% {
    transform: scale(0.96);
    opacity: 0.55;
    background-position: 30% 35%, 70% 55%, 55% 80%, 50% 50%;
  }
  60% {
    transform: scale(1.04);
    opacity: 0.85;
    background-position: 40% 25%, 60% 70%, 45% 75%, 55% 45%;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.55;
    background-position: 30% 35%, 70% 55%, 55% 80%, 50% 50%;
  }
}

@keyframes orbAudio {
  0% {
    transform: scale(0.98);
    opacity: 0.55;
  }
  8% {
    transform: scale(1.01);
    opacity: 0.72;
  }
  16% {
    transform: scale(0.97);
    opacity: 0.6;
  }
  28% {
    transform: scale(1.03);
    opacity: 0.9;
  }
  41% {
    transform: scale(0.99);
    opacity: 0.65;
  }
  57% {
    transform: scale(1.02);
    opacity: 0.85;
  }
  71% {
    transform: scale(0.98);
    opacity: 0.62;
  }
  84% {
    transform: scale(1.04);
    opacity: 0.95;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.55;
  }
}

@keyframes orbMarble {
  0% {
    background-position: 0% 50%, 100% 30%, 50% 50%;
    filter: blur(0px);
  }
  50% {
    background-position: 80% 20%, 20% 80%, 40% 60%;
    filter: blur(0.4px);
  }
  100% {
    background-position: 0% 50%, 100% 30%, 50% 50%;
    filter: blur(0px);
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-card {
    padding: 28px;
  }
}
