:root {
  --ink: #0f2a2e;
  --muted: #4a6569;
  --foam: #f3f8f7;
  --teal: #0d6e6e;
  --teal-deep: #084848;
  --sand: #d8ebe6;
  --glow: rgba(13, 110, 110, 0.35);
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #0a1c1f;
  line-height: 1.55;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 70% 10%, rgba(45, 160, 150, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(8, 72, 72, 0.55), transparent 50%),
    linear-gradient(165deg, #071618 0%, #0f2f32 45%, #163a3c 100%);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='%23fff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  animation: drift 40s linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-60px, -60px, 0);
  }
}

.top {
  padding: 1.25rem 1.5rem;
}

.logo-link {
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 1;
}

.hero {
  max-width: 42rem;
  padding: 8vh 1.5rem 3rem;
  animation: rise 0.8s ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: #f7fffe;
  letter-spacing: -0.02em;
  animation: rise 0.9s 0.08s ease both;
}

.tagline {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: #c5ddd9;
  font-size: 1.1rem;
  animation: rise 1s 0.14s ease both;
}

.cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  animation: rise 1s 0.22s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 32px var(--glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--glow);
}

.btn-primary.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

.meta {
  margin: 0;
  color: #8fb0ab;
  font-size: 0.9rem;
}

.trust-note {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: #9ec4bf;
  font-size: 0.88rem;
  line-height: 1.5;
}

.trust-note strong {
  color: #d8ebe6;
  font-weight: 600;
}

.panel {
  margin: 0 1.5rem 3rem;
  max-width: 40rem;
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: rgba(243, 248, 247, 0.94);
  color: var(--ink);
  animation: rise 1s 0.28s ease both;
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.panel ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.panel code {
  font-size: 0.9em;
  background: var(--sand);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.contact {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact a {
  color: var(--teal-deep);
  font-weight: 600;
}

footer {
  padding: 0 1.5rem 2rem;
  color: #7a9a96;
  font-size: 0.8rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5vh;
  }

  .btn-primary {
    width: 100%;
  }
}
