@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #07090d;
  --ink: #eef2f6;
  --muted: #8b95a5;
  --accent: #2dd4c8;
  --accent-ink: #042f2e;
  --line: #243040;
  --font: "Outfit", "IBM Plex Sans", sans-serif;
  --meta: "IBM Plex Sans", "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.page-landing {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Soft drifting aurora behind the landing content */
body.page-landing::before,
body.page-landing::after {
  content: '';
  position: fixed;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(45, 212, 200, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 10%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 45% at 70% 80%, rgba(45, 212, 200, 0.1), transparent 60%);
  animation: lp-aurora 18s ease-in-out infinite alternate;
}

body.page-landing::after {
  background:
    radial-gradient(ellipse 55% 40% at 10% 70%, rgba(45, 212, 200, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 60%, rgba(91, 141, 239, 0.08), transparent 50%);
  animation: lp-aurora-alt 22s ease-in-out infinite alternate;
  opacity: 0.85;
}

body.page-landing > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; }

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px max(clamp(18px, 4vw, 40px), calc((100% - 920px) / 2 + clamp(18px, 4vw, 40px)));
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  animation: lp-fade 0.5s var(--ease) both;
}

.lp-mark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.lp-nav-cta {
  font-family: var(--meta);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid rgba(45, 212, 200, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lp-nav-cta:hover {
  background: rgba(45, 212, 200, 0.12);
  border-color: var(--accent);
}

.lp-hero {
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: clamp(40px, 10vh, 96px) clamp(18px, 5vw, 48px) 72px;
  max-width: 920px;
}

.lp-brand {
  margin: 0 0 18px;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  max-width: 100%;
  overflow-wrap: anywhere;
  animation: lp-rise 0.7s var(--ease) both;
}

.lp-hero h1 {
  margin: 0 auto 16px;
  max-width: 16ch;
  font-size: clamp(28px, 5.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #c9d3df;
  animation: lp-rise 0.7s var(--ease) 0.08s both;
}

.lp-lede {
  margin: 0 auto 28px;
  max-width: 42ch;
  font-family: var(--meta);
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
  animation: lp-rise 0.7s var(--ease) 0.16s both;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: lp-rise 0.7s var(--ease) 0.24s both;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), box-shadow 0.22s var(--ease);
}

.lp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.lp-btn:hover {
  background: #5eead4;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45, 212, 200, 0.28);
}

.lp-btn:hover::after { transform: translateX(120%); }
.lp-btn:active { transform: translateY(0) scale(0.98); }

.lp-btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.lp-btn.ghost:hover {
  border-color: rgba(45, 212, 200, 0.45);
  background: rgba(45, 212, 200, 0.08);
  color: var(--accent);
  box-shadow: none;
}

.lp-btn.ghost::after { display: none; }

.lp-section {
  padding: 72px clamp(18px, 5vw, 48px);
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  text-align: center;
  animation: lp-rise 0.6s var(--ease) both;
}

.lp-section-alt { max-width: 920px; }

.lp-section h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lp-section-lede {
  margin: 0 auto 36px;
  max-width: 48ch;
  font-family: var(--meta);
  color: var(--muted);
  font-size: 16px;
}

.lp-section-lede code {
  font-family: var(--meta);
  font-size: 0.95em;
  color: var(--accent);
  background: rgba(45, 212, 200, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.lp-search-label {
  display: block;
  font-family: var(--meta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 auto 8px;
  max-width: 420px;
  text-align: left;
}

.lp-search {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto 20px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0c1017;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.lp-search:focus {
  outline: none;
  border-color: rgba(45, 212, 200, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 200, 0.12);
}

.lp-company-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.lp-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c1017;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}

.lp-company:hover {
  border-color: rgba(45, 212, 200, 0.45);
  background: rgba(45, 212, 200, 0.08);
  transform: translateY(-1px);
}

.lp-company strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.lp-company span {
  font-family: var(--meta);
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-muted {
  font-family: var(--meta);
  color: var(--muted);
  font-size: 14px;
}

.lp-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 28px;
  max-width: 52ch;
  text-align: left;
}

.lp-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  max-width: 52ch;
}

.lp-step-num {
  grid-row: 1 / span 2;
  font-family: var(--meta);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.lp-steps strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lp-steps span:last-child {
  font-family: var(--meta);
  font-size: 15px;
  color: var(--muted);
}

.lp-hosts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.lp-host {
  background: #0c1017;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}

.lp-host.current {
  background: linear-gradient(160deg, rgba(45, 212, 200, 0.12), #0c1017 55%);
}

.lp-host.muted { opacity: 0.72; }

.lp-host-label {
  font-family: var(--meta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-host strong {
  font-size: clamp(13px, 3.5vw, 16px);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-host span:last-child {
  font-family: var(--meta);
  font-size: 13px;
  color: var(--muted);
}

.lp-close {
  text-align: center;
  padding-bottom: 48px;
}

.lp-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px clamp(18px, 5vw, 48px) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-family: var(--meta);
  font-size: 13px;
  color: var(--muted);
}

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

.lp-footer a:hover { text-decoration: underline; }

.lp-footer-sep { opacity: 0.5; }

@keyframes lp-aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@keyframes lp-aurora-alt {
  from { transform: translate3d(2%, 1%, 0) scale(1.04); }
  to { transform: translate3d(-3%, -2%, 0) scale(1); }
}

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

@keyframes lp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .lp-hosts { grid-template-columns: 1fr; }
  .lp-hero {
    min-height: auto;
    padding-top: 48px;
    width: 100%;
    max-width: 100%;
  }
  .lp-nav-cta { font-size: 12px; padding: 7px 10px; flex-shrink: 0; }
  .lp-section,
  .lp-hero,
  .lp-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lp-company,
  .lp-search,
  .lp-company-list {
    max-width: 100%;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  body.page-landing::before,
  body.page-landing::after {
    animation: none !important;
  }
}
