:root {
  --bg: #05070d;
  --bg-elevated: #0a101c;
  --surface: rgba(14, 22, 38, 0.78);
  --surface-solid: #0e1626;
  --ink: #eef3fb;
  --muted: #8ea0bd;
  --line: rgba(94, 168, 255, 0.16);
  --cyan: #3dd8ff;
  --cyan-deep: #1494d6;
  --navy: #143a78;
  --glow: rgba(61, 216, 255, 0.28);
  --radius: 22px;
  --max: 1120px;
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(20, 58, 120, 0.45), transparent 58%),
    radial-gradient(720px 420px at 92% 8%, rgba(61, 216, 255, 0.12), transparent 55%),
    radial-gradient(700px 500px at 70% 110%, rgba(20, 58, 120, 0.35), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #070b14 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(61, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
}

@media (min-width: 800px) {
  .brand img {
    height: 52px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(61, 216, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #041018;
  background: linear-gradient(180deg, #7ae7ff 0%, var(--cyan) 48%, var(--cyan-deep) 100%);
  box-shadow: 0 10px 28px -12px var(--glow);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.header-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
}

.mobile-nav.is-open {
  display: flex;
}

.hero {
  padding: 3.2rem 0 2.5rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.4rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(520px 280px at 80% 0%, rgba(61, 216, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(16, 28, 52, 0.72), rgba(8, 12, 22, 0.88));
  text-align: center;
}

.pixels {
  position: absolute;
  inset: auto auto 1.4rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 8px);
  gap: 5px;
  opacity: 0.7;
}

.pixels span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
}

.pixels span:nth-child(2),
.pixels span:nth-child(5),
.pixels span:nth-child(8) {
  opacity: 0.45;
}

.pixels span:nth-child(3),
.pixels span:nth-child(7) {
  opacity: 0.2;
}

.hero-logo {
  width: min(280px, 72vw);
  margin: 0 auto 1.5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.9rem auto 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.section {
  padding: 3.2rem 0;
}

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

.muted {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3,
.card h2 {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #041018;
  background: linear-gradient(180deg, #7ae7ff, var(--cyan-deep));
}

.num {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.values {
  display: grid;
  gap: 1rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 1.4rem;
  border-radius: 28px;
  text-align: center;
  border: 1px solid rgba(61, 216, 255, 0.22);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(61, 216, 255, 0.22), transparent 50%),
    linear-gradient(180deg, #0b1730, #07101f);
}

.cta-band h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cta-band p {
  margin: 0.7rem auto 0;
  max-width: 34rem;
  color: var(--muted);
}

.cta-band .btn {
  margin-top: 1.4rem;
}

.page-hero {
  padding: 2.4rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumbs a:hover {
  color: var(--ink);
}

.prose {
  max-width: 44rem;
  color: var(--muted);
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.prose p,
.prose li {
  line-height: 1.75;
}

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mail-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.6rem;
}

.mail-card:hover {
  border-color: rgba(61, 216, 255, 0.35);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 16, 0.7);
}

.footer-top {
  display: grid;
  gap: 1.4rem;
  padding: 2.2rem 0 1.6rem;
}

.footer-brand img {
  height: 64px;
  width: auto;
}

.footer-note {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

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

@media (min-width: 800px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }

  .hero-panel {
    padding: 3.4rem 2.2rem 3rem;
  }

  .grid-2,
  .values {
    grid-template-columns: 1fr 1fr;
  }

  .mail-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1.4fr 0.8fr;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: center;
  }
}
