@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2?v=cd2ee755d87a") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2?v=cd2ee755d87a") format("woff2");
}

:root {
  --bg: #0D1118;
  --text: #F7F8FA;
  --muted: #8892A0;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --border: #1B212C;
  --footer-dim: #4A5261;
  --dot: #1E2734;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.frame {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.dot-grid,
.cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: fade-in 1.6s ease 60ms both;
}

.dot-grid {
  z-index: 0;
  background-image: radial-gradient(var(--dot) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 0%, transparent 75%);
  animation: fade-in 1.6s ease 60ms both, dot-drift 6s linear infinite;
}

.cursor-glow {
  --gx: 50%;
  --gy: 40%;
  z-index: 1;
  background: radial-gradient(600px circle at var(--gx) var(--gy), rgba(59,130,246,0.10), transparent 70%);
}

.site-header {
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(20px,4vh,36px) clamp(24px,6vw,80px);
  animation: header-in 0.9s var(--ease) 60ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.brand img {
  height: clamp(36px,5vw,54px);
  width: auto;
  max-width: min(52vw, 260px);
  display: block;
}

.status-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-pill::before,
.status-pill::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.status-pill::after {
  position: absolute;
  left: 0;
  animation: pulse-ring 1.8s ease-out infinite;
}

.site-main {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px,8vh,96px) clamp(24px,6vw,80px);
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  margin: 0 0 clamp(24px,4vh,36px);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(40px,7.4vw,96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(48px,13.5vw,56px);
    line-height: 0.98;
  }
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.line-mask > span {
  display: inline-block;
  animation: line-up 1.1s var(--ease) 220ms both;
}

.line-mask--accent {
  color: var(--accent);
}

.line-mask--accent > span {
  animation-delay: 420ms;
}

.site-main p {
  max-width: 540px;
  margin: 0 0 clamp(32px,5vh,44px);
  color: var(--muted);
  font-size: clamp(16px,1.6vw,19px);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
  animation: rise-in 0.9s var(--ease) 640ms both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  animation: rise-in 0.9s var(--ease) 820ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 100px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button span {
  font-size: 18px;
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-footer {
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(24px,6vw,80px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  animation: footer-in 0.9s var(--ease) 1000ms both;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px,3vw,40px);
}

.copyright {
  color: var(--footer-dim);
}

@keyframes dot-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 28px 28px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-up {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footer-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  from {
    opacity: 0.6;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
