:root {
  color-scheme: dark;
  --bg: #141c38;
  --bg-soft: #1a2448;
  --text: #f6f8ff;
  --muted: #c8d3ee;
  --muted-strong: #eef3ff;
  --line: rgba(161, 179, 255, 0.22);
  --blue: #5d8cff;
  --cyan: #4fe8ff;
  --violet: #a970ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% -8%, rgba(93, 140, 255, 0.26), transparent 34rem),
    radial-gradient(circle at 84% 6%, rgba(169, 112, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 52% 42%, rgba(79, 232, 255, 0.12), transparent 36rem),
    linear-gradient(180deg, #1e2848 0%, var(--bg) 46%, #0a1020 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 78%);
  z-index: 1;
}

#cosmos-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.page-shell {
  position: relative;
  z-index: 2;
}

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

.prose-link,
.detail-delegate a,
.bullet-list a,
.pricing-footnote a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.prose-link:hover,
.detail-delegate a:hover,
.bullet-list a:hover,
.pricing-footnote a:hover {
  color: var(--text);
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
  padding: 0;
  border: none;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.35));
  box-shadow: none;
  background: transparent;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(93, 140, 255, 0.22), rgba(169, 112, 255, 0.16)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 34px rgba(93, 140, 255, 0.18);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  font-weight: 820;
}

.brand-tagline {
  color: var(--muted);
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 860;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.intro-section {
  padding: 56px 0 40px;
}

.intro-layout {
  display: block;
}

.intro-copy {
  min-width: 0;
  max-width: 760px;
}

.intro-text {
  max-width: 640px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.intro-text strong {
  color: var(--text);
  font-weight: 850;
}

.intro-product-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 12px 14px;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 12, 32, 0.35);
}

.intro-product-logo {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 12px rgba(79, 70, 229, 0.35));
}

.intro-product-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.intro-product-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-product-name {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.intro-product-name:hover {
  color: var(--cyan);
}

.section-block {
  margin-top: 12px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.product-section {
  border-color: rgba(118, 240, 184, 0.22);
  background:
    radial-gradient(circle at 8% 0%, rgba(118, 240, 184, 0.12), transparent 42%),
    radial-gradient(circle at 92% 10%, rgba(93, 140, 255, 0.18), transparent 46%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 40, 0.72);
}

.unified-card-head {
  margin-bottom: 8px;
}

.product-section .unified-card-head {
  margin-bottom: 2px;
}

.product-head-with-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    ". eyebrow"
    "logo title";
  column-gap: 16px;
  row-gap: 8px;
  align-items: center;
  margin-bottom: 2px;
}

.product-head-eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.product-head-with-logo .product-app-logo {
  grid-area: logo;
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 6px 18px rgba(79, 70, 229, 0.4));
}

.product-head-with-logo h2 {
  grid-area: title;
  margin: 0;
}

.unified-card-head .eyebrow {
  margin-bottom: 10px;
}

.product-section h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.product-section .product-head-with-logo + .product-lede {
  margin-top: 14px;
}

.product-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.65;
}

.product-section .product-lede + .product-demo {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bullet-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bullet-group:first-of-type {
  padding-top: 0;
  border-top: none;
}

.bullet-group-title {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.bullet-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}

.bullet-list li {
  margin-bottom: 10px;
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.bullet-list strong {
  color: var(--text);
  font-weight: 800;
}

.bullet-list-tight li {
  margin-bottom: 8px;
}

.detail-delegate {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 12, 32, 0.35);
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.product-demo {
  margin: 0;
}

.product-demo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 620px);
  margin: 0 auto;
  max-width: 920px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 10, 28, 0.75);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.product-demo-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050a18;
}

.product-demo-caption {
  margin: 10px 0 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.product-demo-fallback {
  margin: 0;
  padding: 1.25rem 1rem;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.product-demo-fallback a {
  color: var(--cyan);
}

.pricing-inside-block {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-inside-title {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-inside-lede {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-inside-block .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-inside-block .pricing-card {
  display: flex;
  flex-direction: column;
  padding: 18px 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(4, 10, 28, 0.45);
}

.pricing-inside-block .pricing-card h4 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-price {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pricing-currency {
  font-size: 0.72em;
  font-weight: 800;
  opacity: 0.92;
}

.pricing-period {
  font-size: 0.48em;
  font-weight: 700;
  color: var(--muted);
}

.pricing-price-free {
  color: var(--cyan);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
}

.pricing-inside-block .pricing-for {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.pricing-inside-block .pricing-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-inside-block .pricing-card li {
  margin-bottom: 6px;
}

.pricing-inside-block .pricing-card li:last-child {
  margin-bottom: 0;
}

.pricing-card-highlight {
  border-color: rgba(118, 240, 184, 0.35);
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 240, 184, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.06);
}

.pricing-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pricing-footnote strong {
  color: var(--muted-strong);
  font-weight: 750;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 44px rgba(93, 140, 255, 0.28);
  color: white;
}

.btn-primary-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 48px rgba(93, 140, 255, 0.34);
}

.product-cta-lead {
  margin-top: 22px;
  margin-bottom: 6px;
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer-legal {
  margin: 28px 0 36px;
  padding: 26px clamp(18px, 3vw, 30px);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-strong);
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
}

.footer-section-label {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-trader,
.footer-trader-line,
.footer-contact-line {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-strong);
}

.footer-trader {
  font-weight: 700;
  color: var(--text);
}

.footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-legal-links a {
  color: var(--muted-strong);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.footer-legal-links a:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.footer-contact-email a {
  color: var(--cyan);
  font-weight: 650;
}

.footer-contact-email a:hover {
  color: var(--text);
}

.footer-bottom {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.footer-bottom a:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .footer-legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .pricing-inside-block .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-cta .btn,
  .product-cta-lead .btn {
    width: 100%;
  }

  .section-block {
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
