:root {
  --bg: #06140f;
  --bg-deep: #03100b;
  --panel: rgba(16, 38, 28, 0.72);
  --panel-strong: rgba(16, 38, 28, 0.92);
  --edge: rgba(125, 255, 173, 0.14);
  --edge-strong: rgba(125, 255, 173, 0.28);
  --accent: #58d68d;
  --accent-bright: #7dffad;
  --accent-deep: #1f7a4d;
  --label: #8bc7a4;
  --text: #e9fff2;
  --muted: rgba(233, 255, 242, 0.68);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --radius-pill: 999px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(88, 214, 141, 0.16), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(31, 143, 85, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, #071912);
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: breathe 9s ease-in-out infinite;
}

.ambient__glow--a {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: 8%;
  left: 42%;
  background: rgba(88, 214, 141, 0.18);
}

.ambient__glow--b {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  top: 58%;
  left: 8%;
  background: rgba(31, 122, 77, 0.22);
  animation-delay: -4s;
}

.ambient__wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 12%;
  height: 180px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(125, 255, 173, 0.08), transparent 40%),
    radial-gradient(ellipse at 70% 60%, rgba(88, 214, 141, 0.07), transparent 42%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

@keyframes drift {
  from { transform: translateX(-2%); }
  to { transform: translateX(3%); }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(88, 214, 141, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--label);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

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

.site-nav .nav-cta {
  color: var(--bg);
  background: var(--accent-bright);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  color: var(--bg);
  background: #a6ffc6;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 8vh, 72px) 24px clamp(64px, 12vh, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 88px);
}

.brand-mark {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--accent-bright);
  text-shadow: 0 0 48px rgba(125, 255, 173, 0.22);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 11ch;
}

.lede {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
  background: var(--accent-bright);
  color: #06140f;
  box-shadow: 0 14px 40px rgba(88, 214, 141, 0.28);
}

.btn--primary:hover {
  background: #a6ffc6;
  box-shadow: 0 18px 48px rgba(88, 214, 141, 0.35);
}

.btn--ghost {
  background: rgba(16, 38, 28, 0.55);
  border-color: var(--edge-strong);
  color: var(--accent-bright);
}

.btn--ghost:hover {
  background: rgba(16, 38, 28, 0.85);
}

.hero__stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.watch {
  width: min(78%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 10px rgba(6, 20, 15, 0.85),
    0 0 0 12px rgba(125, 255, 173, 0.12),
    var(--shadow);
  background: #03100b;
}

.watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch--primary {
  position: relative;
  z-index: 2;
  animation: rise-in 0.9s ease both;
}

.watch--secondary {
  position: absolute;
  width: min(48%, 210px);
  right: 2%;
  bottom: 4%;
  z-index: 3;
  box-shadow:
    0 0 0 8px rgba(6, 20, 15, 0.9),
    0 0 0 9px rgba(125, 255, 173, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.45);
  animation: rise-in 0.9s ease 0.12s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pulse-dot {
  position: absolute;
  top: 18%;
  right: 22%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(125, 255, 173, 0.55);
  animation: pulse 2.8s ease-out infinite;
  z-index: 4;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 255, 173, 0.5); }
  70% { box-shadow: 0 0 0 22px rgba(125, 255, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 255, 173, 0); }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section__intro {
  max-width: 38rem;
  margin-bottom: 40px;
}

.section__intro h2,
.privacy__copy h2,
.cta__card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section__intro p,
.privacy__copy p,
.cta__card > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.feature {
  padding: 8px 0 18px;
  border-top: 1px solid var(--edge);
}

.feature__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--accent-bright);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.feature p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 34ch;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px;
}

.step {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.step:nth-child(even) .step__watch {
  order: 2;
}

.step__watch {
  margin: 0;
  width: min(100%, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 8px rgba(6, 20, 15, 0.9),
    0 0 0 9px rgba(125, 255, 173, 0.14),
    var(--shadow);
}

.step__watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__num {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.step__copy h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.step__copy p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 36ch;
}

.proof {
  padding-top: 24px;
}

.proof__panel {
  border: 1px solid var(--edge);
  background:
    linear-gradient(145deg, rgba(16, 38, 28, 0.94), rgba(11, 31, 22, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(125, 255, 173, 0.1), transparent 35%);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.proof__kicker {
  margin: 0 0 24px;
  color: var(--label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

.proof__metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof__label {
  color: var(--label);
  font-size: 0.92rem;
}

.proof__metrics strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.proof__metrics em {
  font-style: normal;
  color: var(--accent-bright);
  font-weight: 700;
}

.proof__quote {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--edge);
  color: var(--text);
  font-size: 1.15rem;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
}

.privacy__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.privacy__points li {
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--edge);
  background: rgba(16, 38, 28, 0.55);
  color: var(--accent-bright);
  font-weight: 600;
}

.cta {
  padding-bottom: 40px;
}

.cta__card {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) 24px;
  border-radius: 36px;
  border: 1px solid var(--edge-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 255, 173, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 38, 28, 0.9), rgba(6, 20, 15, 0.7));
  box-shadow: var(--shadow);
}

.cta__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(88, 214, 141, 0.28);
}

.cta__card > p {
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta__steps {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  max-width: 420px;
  text-align: left;
  color: var(--muted);
}

.cta__steps li {
  position: relative;
  padding: 8px 0 8px 36px;
  border-top: 1px solid rgba(125, 255, 173, 0.08);
}

.cta__steps li:first-child {
  border-top: 0;
}

.cta__steps li::before {
  counter-increment: cta-step;
  content: counter(cta-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent-bright);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
}

.cta__card {
  counter-reset: cta-step;
}

.cta__note {
  margin: 22px 0 0;
  color: var(--label);
  font-size: 0.9rem;
}

.cta__platforms {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--label);
  border-top: 1px solid rgba(125, 255, 173, 0.08);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
}

.site-footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-bright);
  font-weight: 600;
}

.site-footer code {
  font-size: 0.85em;
  color: var(--label);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.releases-section .releases {
  margin-top: 8px;
}

.releases-more {
  margin: 28px 0 0;
  text-align: center;
}

.releases-more a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
}

.releases-more a:hover {
  text-decoration: underline;
}

/* Releases page */
.releases-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 72px) 24px 12px;
}

.releases-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.releases-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: 14ch;
}

.releases-hero .lede {
  margin-top: 16px;
  max-width: 42ch;
}

.releases {
  display: grid;
  gap: 28px;
  padding-top: 28px;
}

.releases-empty {
  margin: 0;
  padding: 28px;
  color: var(--label);
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: var(--panel);
}

.release {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--edge);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(16, 38, 28, 0.9), rgba(11, 31, 22, 0.72));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.release--latest {
  border-color: var(--edge-strong);
  background:
    radial-gradient(circle at 88% 0%, rgba(125, 255, 173, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(16, 38, 28, 0.95), rgba(11, 31, 22, 0.78));
}

.release__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.release__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.release__version {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  font-size: 1.05rem;
}

.release__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(125, 255, 173, 0.16);
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.release__date {
  color: var(--label);
  font-size: 0.95rem;
}

.release__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.release__summary {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.release__features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.release__features li {
  position: relative;
  padding: 12px 16px 12px 38px;
  border-radius: 18px;
  border: 1px solid rgba(125, 255, 173, 0.1);
  background: rgba(6, 20, 15, 0.35);
  color: var(--text);
}

.release__features li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(125, 255, 173, 0.45);
  transform: translateY(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero__copy {
    order: 1;
  }

  .hero__stage {
    order: 0;
    min-height: 340px;
    margin-bottom: 8px;
  }

  .brand-mark {
    max-width: 10ch;
  }

  .hero h1 {
    max-width: none;
  }

  .feature-list,
  .privacy,
  .proof__metrics {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .step:nth-child(even) .step__watch {
    order: 0;
  }

  .step__watch {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta):not([aria-current="page"]):not([href="/releases"]) {
    display: none;
  }

  .watch--secondary {
    width: min(42%, 150px);
  }

  .pulse-dot {
    top: 14%;
    right: 18%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient__glow,
  .ambient__wave,
  .pulse-dot,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
