:root {
  --ink: #07141f;
  --ink-2: #0c2233;
  --foam: #e8f2f4;
  --muted: #9bb4c0;
  --line: rgba(232, 242, 244, 0.12);
  --accent: #c8f542;
  --accent-ink: #102000;
  --glow: rgba(56, 189, 168, 0.28);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
  --narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ddff6a;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foam);
  text-decoration: none;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% 10%, var(--glow), transparent 55%),
    linear-gradient(165deg, #0a1c2b 0%, var(--ink) 48%, #051018 100%);
}

.hero-glow {
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 55%;
  background: radial-gradient(circle at 30% 30%, rgba(200, 245, 66, 0.16), transparent 60%);
  filter: blur(8px);
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 242, 244, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 242, 244, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: grid-fade 1.2s ease both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--foam);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero-lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.btn-primary:hover {
  background: #ddff6a;
  color: var(--accent-ink);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--foam);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(232, 242, 244, 0.35);
  color: var(--foam);
}

.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: linear-gradient(180deg, rgba(12, 34, 51, 0.65), rgba(7, 20, 31, 0.2));
}

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

.section h2,
.legal h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.section-lede,
.section p,
.legal p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--foam);
}

.feature-list span {
  color: var(--muted);
}

.contact-link {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--foam);
  border-bottom: 2px solid var(--accent);
}

.contact-link:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-inner p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--foam);
}

.fineprint {
  color: var(--muted);
  font-size: 0.85rem !important;
}

.legal h2 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-4%, -3%, 0);
  }
}

@media (max-width: 720px) {
  .nav {
    gap: 0.85rem;
  }

  .hero {
    min-height: 84vh;
    align-items: center;
    padding-top: 4rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-grid,
  .hero-glow,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
