:root {
  --ink: #07141f;
  --ink-2: #0d2233;
  --fog: #d7e6ef;
  --fog-dim: rgba(215, 230, 239, 0.62);
  --sea: #2f8f9d;
  --sea-deep: #1b6b78;
  --sand: #e8b86d;
  --sand-hot: #f0c985;
  --danger: #d96b5c;
  --ok: #5cb89a;
  --line: rgba(215, 230, 239, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--fog);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

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

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-mark span {
  color: var(--sand);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--fog-dim);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2rem, 6vh, 3.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(47, 143, 157, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(232, 184, 109, 0.12), transparent 55%),
    linear-gradient(160deg, #07141f 0%, #0a1c2b 45%, #0d2233 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215, 230, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 230, 239, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black, transparent 75%);
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 32px, -32px 64px; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0 0 1.1rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--sand);
}

.hero-line {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: var(--fog-dim);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.btn-primary:hover {
  background: var(--sand-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--fog);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  background: rgba(215, 230, 239, 0.06);
}

.hero-visual {
  position: absolute;
  right: clamp(-2rem, -2vw, 2rem);
  top: 18%;
  width: min(48vw, 34rem);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}

.radar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(47, 143, 157, 0.35) 0 2%, transparent 3%),
    repeating-radial-gradient(circle at center, transparent 0 11%, rgba(47, 143, 157, 0.18) 11% 11.4%);
  box-shadow: inset 0 0 0 1px rgba(47, 143, 157, 0.25);
  animation: pulse 4.5s ease-in-out infinite;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, transparent 0 72%, rgba(232, 184, 109, 0.35) 78%, transparent 88%);
  animation: sweep 5.5s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.section {
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-muted {
  background: var(--ink-2);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
}

.section p.lead {
  margin: 0 0 2rem;
  color: var(--fog-dim);
  max-width: 34rem;
  line-height: 1.5;
}

.flow {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.flow-item {
  position: relative;
  padding-top: 0.25rem;
}

.flow-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--sea);
  margin-bottom: 0.7rem;
}

.flow-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.flow-item p {
  margin: 0;
  color: var(--fog-dim);
  line-height: 1.5;
  font-size: 0.98rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--fog-dim);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hero-visual {
    opacity: 0.35;
    width: 70vw;
    top: 8%;
    right: -18%;
  }
}
