:root {
  --ink: #050d12;
  --ink-2: #0a1a22;
  --ink-3: #102830;
  --text: #eef8f5;
  --muted: #8faba5;
  --neon: #5ef0d0;
  --neon-bright: #9ef7e8;
  --neon-ice: #c8fff4;
  --line: rgba(94, 240, 208, 0.2);
  --font-brand: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(70% 55% at 85% 8%, rgba(94, 240, 208, 0.08), transparent 55%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink-3) 100%);
  line-height: 1.55;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.site-header-solid {
  position: relative;
}

.brand-mark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.45rem;
  vertical-align: 0.15em;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(94, 240, 208, 0.45);
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--neon-bright);
}

/* —— Hero: one airy composition —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero-visual img,
.hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 13, 18, 0.1) 0%,
      rgba(5, 13, 18, 0.2) 40%,
      rgba(5, 13, 18, 0.78) 78%,
      rgba(5, 13, 18, 0.94) 100%
    );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 11vh, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vh, 3.25rem);
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3.25rem, 11.5vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
  animation: rise 0.95s var(--ease) both;
}

.hero-neon {
  display: block;
  color: var(--neon-bright);
  text-shadow:
    0 0 0.5px rgba(200, 255, 244, 1),
    0 0 14px rgba(94, 240, 208, 0.32);
}

.hero-future {
  display: block;
  color: var(--text);
}

/* thin signage underline — neon as controlled line */
.hero-brand::after {
  content: "";
  display: block;
  width: min(11rem, 36vw);
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--neon-bright), transparent 92%);
  box-shadow: 0 0 12px rgba(94, 240, 208, 0.35);
  transform-origin: left center;
  animation: draw 1.15s var(--ease) 0.3s both;
}

.hero-line {
  margin: 0 0 1.6rem;
  max-width: 26rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  animation: rise 0.95s var(--ease) 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  animation: rise 0.95s var(--ease) 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--neon);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--neon-bright);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--neon);
  color: var(--neon-bright);
}

@keyframes rise {
  from {
    transform: translateY(0.85rem);
  }
  to {
    transform: none;
  }
}

@keyframes draw {
  from {
    transform: scaleX(0.15);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero-line,
  .cta-row,
  .hero-brand::after,
  .hero-visual {
    animation: none;
  }
}

/* —— Below-fold product row —— */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.product-band {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 40, 48, 0.35), transparent 70%);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section > p {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--muted);
}

.app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.app-list li {
  border-bottom: 1px solid var(--line);
}

.app-link {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 0.1rem;
  transition: color 0.2s var(--ease);
}

.app-link:hover {
  color: var(--neon-bright);
}

.app-link:hover .app-meta {
  color: var(--neon-ice);
}

.app-name {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-desc {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 34rem;
}

.app-meta {
  font-size: 0.84rem;
  color: var(--neon);
  letter-spacing: 0.03em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.site-footer a:hover {
  color: var(--neon-bright);
}

.page-main {
  padding-top: 1rem;
}

@media (max-width: 640px) {
  .nav {
    gap: 0.9rem;
    font-size: 0.86rem;
  }

  .hero-copy {
    padding-bottom: 1.75rem;
  }

  .hero-brand {
    font-size: clamp(2.85rem, 14vw, 3.6rem);
  }

  .hero-line {
    margin-bottom: 1.25rem;
  }
}
