:root {
  --bg: #160124;
  --paper: rgba(25, 7, 41, 0.78);
  --ink: #f8f4ff;
  --muted: #c5b7da;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f10086;
  --accent-2: #69c8f2;
  --accent-soft: rgba(241, 0, 134, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(105, 200, 242, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(241, 0, 134, 0.2), transparent 26%),
    radial-gradient(circle at bottom right, rgba(105, 200, 242, 0.12), transparent 28%),
    linear-gradient(180deg, #170126 0%, #230537 46%, #12011d 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brandmark {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
}

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

.brandicon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.brandicon-small {
  width: 14px;
  height: 14px;
  border-radius: 0;
}

.topnav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  color: #d7cae8;
}

.topnav a {
  text-decoration: none;
}

.hero,
.section,
.signal-grid,
.footer {
  animation: rise 650ms ease both;
}

.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 0, 134, 0.2), transparent 66%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-logo {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: block;
  margin: 0 0 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.92;
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-copy,
.section p,
.product-card li,
.support-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ff5ab2);
  color: #fff8f2;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.signal-card,
.product-card,
.support-card {
  background: rgba(27, 8, 43, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 20px;
}

.signal-label,
.product-tag,
.product-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-label,
.product-tag {
  background: var(--accent-soft);
  color: #ff79c3;
}

.product-status {
  background: rgba(105, 200, 242, 0.12);
  color: var(--accent-2);
}

.section {
  margin-top: 64px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.product-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 22px;
}

.products-shell {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 8, 45, 0.74), rgba(17, 5, 30, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.products-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(105, 200, 242, 0.1), transparent 18%),
    linear-gradient(135deg, transparent 54%, rgba(241, 0, 134, 0.08));
  pointer-events: none;
}

.products-intro {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.product-card-featured {
  background:
    linear-gradient(180deg, rgba(39, 10, 62, 0.86), rgba(24, 6, 38, 0.86));
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.product-card li + li {
  margin-top: 8px;
}

.section-contrast {
  background: rgba(26, 8, 41, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

.company-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.company-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  padding: 20px;
}

.support-note {
  margin-top: 16px;
}

.contact-block {
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.contact-block h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-block p {
  margin: 0 0 6px;
  color: var(--muted);
}

.product-links {
  margin-top: 18px;
}

.product-links a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.support-card h3 {
  font-size: 1.4rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page {
  max-width: 900px;
}

.legal-page .hero {
  padding-bottom: 28px;
}

.legal-page .section {
  margin-top: 28px;
}

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

@media (max-width: 920px) {
  .signal-grid,
  .product-stack,
  .company-grid,
  .support-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .topnav {
    flex-wrap: wrap;
  }
}

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

  .hero {
    padding: 28px 22px;
  }

  .section-contrast {
    padding: 24px 20px;
  }
}
