:root {
  --bg: #0a1214;
  --bg-elevated: #101a1d;
  --text: #e8f2f0;
  --muted: #8aa19c;
  --accent: #2dd4bf;
  --accent-deep: #0f766e;
  --line: rgba(232, 242, 240, 0.1);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --max: 1080px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(15, 118, 110, 0.22), transparent 50%),
    linear-gradient(180deg, #0a1214 0%, #071012 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: 12%;
  left: -4%;
  background: rgba(45, 212, 191, 0.28);
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -8%;
  bottom: 8%;
  background: rgba(20, 84, 90, 0.45);
  animation-delay: -4s;
  animation-duration: 18s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 242, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 242, 240, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

.hero {
  min-height: calc(100vh - 7.5rem);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 4rem;
}

.hero-layout {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-layout {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3rem;
  }
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.brand-word {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #f4fffc;
  text-shadow: 0 0 48px rgba(45, 212, 191, 0.28);
  animation: reveal 0.9s ease both;
}

.tag {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 18ch;
  animation: reveal 0.9s ease 0.12s both;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  animation: reveal 0.9s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: reveal 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #3ae0ca, #14b8a6);
  color: #042f2e;
  cursor: default;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(16, 26, 29, 0.55);
}

.btn-ghost:hover {
  border-color: rgba(45, 212, 191, 0.45);
  text-decoration: none;
}

.meta {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  animation: reveal 0.9s ease 0.4s both;
}

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

.hero-visual {
  animation: reveal 1s ease 0.28s both;
}

.visual-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 26, 29, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.visual-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 18, 0.55);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3a4a4d;
}

.dot:nth-child(1) {
  background: #ff5f57;
}
.dot:nth-child(2) {
  background: #febc2e;
}
.dot:nth-child(3) {
  background: #28c840;
}

.chrome-label {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.visual-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
}

.lane {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.08), transparent 70%);
  transform: translateX(0);
  animation: lane-in 0.8s ease both, lane-nudge 5s ease-in-out infinite;
}

.lane span {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lane em {
  font-style: normal;
  color: var(--text);
  font-size: 0.95rem;
}

.lane-1 {
  animation-delay: 0.35s, 0.35s;
}
.lane-2 {
  animation-delay: 0.5s, 0.9s;
}
.lane-3 {
  animation-delay: 0.65s, 1.4s;
}

@keyframes lane-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lane-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

.site-footer {
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .brand-word {
    font-size: clamp(3rem, 14vw, 4rem);
  }
}
