:root {
  --bg0: #07131a;
  --bg1: #0c2430;
  --ink: #e8f2f6;
  --muted: #9bb4c0;
  --accent: #e2a35a;
  --line: rgba(232, 242, 246, 0.14);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg0);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(56, 148, 163, 0.35), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(226, 163, 90, 0.22), transparent 50%),
    linear-gradient(160deg, #07131a 0%, #0c2430 48%, #102a28 100%);
  z-index: -2;
}

.grid-glow {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 242, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 242, 246, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: -1;
  animation: drift 24s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(64px); }
}

.top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.25rem 6vw;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(58, 166, 180, 0.15);
}

.brand-inline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.hero {
  min-height: calc(100vh - 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 6vw 4rem;
  max-width: 56rem;
}

.brand-hero {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #f3fafc 20%, #7fd0db 55%, #e2a35a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.2s;
}

.hero h1 {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.35;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.5s;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.65s;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta:hover { transform: translateY(-2px); }

.cta.primary {
  color: #07131a;
  background: linear-gradient(120deg, #7fd0db, #e2a35a);
}

.cta.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.foot {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 6vw 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.8s;
}

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

.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}

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

@media (max-width: 640px) {
  .hero { min-height: calc(100vh - 6rem); }
  .cta { width: 100%; }
}
