/* Minimal tokens (standalone, no UI kit) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --login-page-gradient: linear-gradient(135deg, #1d4ed8 0%, #5b21b6 100%);
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-accent-text: #4338ca;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg: color-mix(in srgb, #f1f5f9 52%, #f8fafc);
  --color-warning: #d97706;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.2s ease;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
}

.btn-primary:focus {
  text-decoration: none;
}


.landing {
  --display: "Manrope", var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

/* ——— Hero ——— */

.hero {
  --spot-x: 50%;
  --spot-y: 40%;
  --spot-on: 0;
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 64vh, 580px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--login-page-gradient);
  cursor: crosshair;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(96, 165, 250, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 20%, rgba(167, 139, 250, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(29, 78, 216, 0.45), transparent 50%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  transition: opacity 0.35s ease;
}

.hero-grid-base {
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  animation: grid-rise 28s linear infinite;
}

.hero-grid-hot {
  opacity: calc(var(--spot-on) * 0.95);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    radial-gradient(
      circle 180px at var(--spot-x) var(--spot-y),
      rgba(147, 197, 253, 0.35),
      transparent 70%
    );
  background-size: 32px 32px, 32px 32px, 100% 100%;
  mask-image: radial-gradient(
    circle 220px at var(--spot-x) var(--spot-y),
    #000 0%,
    #000 35%,
    transparent 72%
  );
  -webkit-mask-image: radial-gradient(
    circle 220px at var(--spot-x) var(--spot-y),
    #000 0%,
    #000 35%,
    transparent 72%
  );
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}

.hero-skyline {
  position: absolute;
  left: 50%;
  bottom: -30px;
  z-index: 1;
  width: 2400px;
  height: 470px;
  max-width: none;
  transform: translateX(-50%);
  animation: skyline-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-skyline .bldg {
  fill: rgba(15, 23, 42, 0.42);
}

.hero-skyline .wins rect {
  fill: rgba(191, 219, 254, 0.15);
  animation: window-twinkle 4.8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px 24px clamp(200px, 38%, 280px);
  max-width: 880px;
}

.hero-brand {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.75rem, 14vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(15, 23, 42, 0.25);
  animation: brand-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-lead {
  margin: 0 auto;
  max-width: 22em;
  font-family: var(--display);
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

/* ——— Planet horizon ——— */

.planet-curve-wrap {
  position: relative;
  z-index: 3;
  height: 110px;
  margin-top: -110px;
  overflow: hidden;
  pointer-events: none;
}

.planet-curve {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2400px;
  height: 110px;
  transform: translateX(-50%);
  fill: var(--color-bg);
}

/* ——— Products ——— */

.products {
  position: relative;
  z-index: 2;
  padding: 40px 0 80px;
  background: var(--color-bg);
}

.products-head {
  margin: 0 auto 40px;
  max-width: 36rem;
  text-align: center;
}

.products-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.products-sub {
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.product {
  --i: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--color-border);
  animation: product-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.08s * var(--i) + 0.4s);
}

.product-soon {
  opacity: 0.78;
}

.product-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-width: 0;
}

.product-index {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent-text);
  padding-top: 6px;
}

.product-name {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.product-desc {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.product-action {
  flex-shrink: 0;
}

.product-action a.btn,
.product-action a.btn:hover,
.product-action a.btn:focus {
  text-decoration: none;
}

.product-status {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-warning);
}

/* ——— Motion ——— */

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes skyline-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes product-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes grid-rise {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -48px;
  }
}

@keyframes window-twinkle {
  0%,
  100% {
    fill: rgba(191, 219, 254, 0.12);
  }
  40% {
    fill: rgba(253, 224, 71, 0.55);
  }
  60% {
    fill: rgba(147, 197, 253, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-grid-base,
  .hero-skyline,
  .hero-brand,
  .hero-lead,
  .product,
  .hero-skyline .wins rect {
    animation: none;
  }

  .hero-grid-hot {
    transition: none;
  }

  .hero-skyline {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 400px;
    cursor: default;
  }

  .hero-content {
    padding: 48px 20px 168px;
  }

  .hero-brand {
    font-size: clamp(3.25rem, 16vw, 5rem);
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 1.0625rem;
    max-width: 18em;
  }

  .hero-grid-hot {
    display: none;
  }

  .products {
    padding: 28px 0 64px;
  }

  .products .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .products-head {
    margin-bottom: 28px;
  }

  .products-title {
    font-size: 1.5rem;
  }

  .products-sub {
    font-size: 0.9375rem;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 40px 16px 148px;
  }

  .hero-brand {
    font-size: clamp(2.75rem, 18vw, 3.75rem);
  }

  .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.45;
    max-width: 16.5em;
  }

  .hero-skyline {
    bottom: -48px;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .product-main {
    gap: 14px;
  }

  .product-index {
    padding-top: 4px;
    font-size: 0.75rem;
  }

  .product-name {
    font-size: 1.125rem;
  }

  .product-desc {
    font-size: 0.875rem;
  }

  .product-action {
    padding-left: 38px;
  }

  .product-action .btn {
    width: 100%;
    max-width: 200px;
  }

  .product-status {
    display: inline-block;
    padding: 0.4rem 0;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding-bottom: 132px;
  }

  .products-title {
    font-size: 1.375rem;
  }

  .product-action {
    padding-left: 0;
  }

  .product-action .btn {
    max-width: none;
  }
}