:root {
  --ink: #07131a;
  --ink-2: #0c1f28;
  --foam: #e7f2ef;
  --mist: #9db5b0;
  --accent: #0b5f58;
  --accent-2: #147a70;
  --ok: #3dd6a5;
  --warn: #e0b35a;
  --line: rgba(231, 242, 239, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", ui-sans-serif, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--ink);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(20, 122, 112, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(11, 95, 88, 0.22), transparent 50%),
    linear-gradient(165deg, #041016 0%, #0a1c24 45%, #07131a 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(231, 242, 239, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 242, 239, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(72px);
  }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang,
.ghost {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.lang {
  border: 1px solid var(--line);
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
}

.ghost:hover,
.lang:hover {
  color: var(--foam);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2.5rem;
  padding: 1rem 1.5rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 2rem;
  }
}

.hero-copy {
  animation: rise 0.8s ease-out both;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--foam);
}

.hero h1 {
  margin: 1.25rem 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--mist);
  font-size: 1.05rem;
  line-height: 1.55;
}

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

.cta,
.cta-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta {
  background: var(--accent);
  color: #fff;
}

.cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.cta-quiet {
  border: 1px solid var(--line);
  color: var(--foam);
}

.cta-quiet:hover {
  border-color: rgba(231, 242, 239, 0.35);
}

.hero-stage {
  position: relative;
  min-height: 280px;
  animation: rise 1s ease-out 0.12s both;
}

.stage-glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(61, 214, 165, 0.22), transparent 70%);
  filter: blur(8px);
  animation: breathe 5.5s ease-in-out infinite;
}

.fleet-panel {
  position: relative;
  margin-left: auto;
  width: min(100%, 420px);
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(12, 31, 40, 0.92), rgba(7, 19, 26, 0.88));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.fleet-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  color: var(--mist);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}
.dot.ok {
  background: var(--ok);
}
.dot.warn {
  background: var(--warn);
}
.dot.muted {
  background: #4a5c63;
}
.fleet-title {
  margin-left: 0.4rem;
}

.fleet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.fleet-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--foam);
}

.fleet-list .dim {
  color: var(--mist);
  opacity: 0.8;
}

.pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(61, 214, 165, 0.55);
  animation: ping 2.2s ease-out infinite;
}
.pulse.delay {
  animation-delay: 0.4s;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(224, 179, 90, 0.45);
}
.pulse.delay2 {
  animation-delay: 0.8s;
  background: #7f93ff;
  box-shadow: 0 0 0 0 rgba(127, 147, 255, 0.4);
}

.audit-line {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  white-space: pre-wrap;
}

.trust {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  animation: rise 0.7s ease-out both;
}

.trust h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.trust p {
  margin: 1rem 0 0;
  color: var(--mist);
  line-height: 1.6;
  font-size: 1.05rem;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--mist);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.foot a {
  color: var(--foam);
  font-weight: 600;
  text-decoration: none;
}

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

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

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 214, 165, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(61, 214, 165, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 214, 165, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .atmosphere::after {
    mask-image: none;
  }
}
