:root {
  color-scheme: light;
  --ink: #0c1116;
  --muted: #5b6670;
  --bg: #ffffff;
  --bg-deep: #f7f7f7;
  --primary: #6d4bff;
  --accent: #2f2b8a;
  --accent-2: #b79cff;
  --card: #ffffff;
  --panel-contrast: #0c1116;
  --panel-contrast-ink: #ffffff;
  --border: rgba(12, 17, 22, 0.12);
  --shadow: 0 24px 60px rgba(12, 17, 22, 0.15);
  --radius: 22px;
  font-size: 16px;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #a8b2c3;
  --bg: #0b0f17;
  --bg-deep: #0f1522;
  --primary: #7d6bff;
  --accent: #8ca0ff;
  --accent-2: #c7b4ff;
  --card: #141b2b;
  --panel-contrast: #1d2738;
  --panel-contrast-ink: #f7f9ff;
  --border: rgba(228, 234, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  background: radial-gradient(circle at top left, #ffffff, transparent 60%),
    radial-gradient(circle at 20% 60%, rgba(109, 75, 255, 0.08), transparent 55%),
    linear-gradient(120deg, var(--bg), var(--bg-deep));
  color: var(--ink);
  line-height: 1.6;
}

:root[data-theme="dark"] body {
  background: radial-gradient(circle at top left, rgba(24, 35, 54, 0.8), transparent 60%),
    radial-gradient(circle at 20% 60%, rgba(109, 75, 255, 0.18), transparent 55%),
    linear-gradient(120deg, var(--bg), var(--bg-deep));
}

h1,
h2,
h3,
h4 {
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  line-height: 1.1;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo {
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

button {
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.primary,
.secondary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(109, 75, 255, 0.35);
  padding: 12px 20px;
}

.primary:hover {
  transform: translateY(-2px);
}

.secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 20px;
}

.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 17, 22, 0.08);
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 10px 18px;
}

.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.brand img {
  max-height: 44px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
}

.header-illustration {
  position: absolute;
  top: -80px;
  right: -40px;
  width: min(520px, 90%);
  opacity: 0.7;
  z-index: 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-media-illustration {
  position: absolute;
  top: -30px;
  left: -30px;
  width: min(420px, 90%);
  opacity: 0.9;
}

.hero-media-image {
  width: min(520px, 100%);
  border-radius: 16px;
  box-shadow: 24px 18px 48px rgba(12, 17, 22, 0.2);
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) rotateZ(4deg);
}

:root[data-theme="dark"] .hero-media-image {
  box-shadow: 24px 18px 48px rgba(0, 0, 0, 0.55);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.hero-metrics h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.pill {
  background: rgba(31, 91, 147, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 6px;
}

.card-footer {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logos {
  margin: 56px 0;
  text-align: center;
}

.product-logo {
  width: min(320px, 80%);
  margin: 0 auto 20px;
  display: block;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.feature {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  min-height: 160px;
  display: grid;
  gap: 12px;
}

.feature.intro {
  background: transparent;
  border: none;
  padding: 0 10px 0 0;
}

.feature img {
  width: 40px;
  height: 40px;
}

.visual-break {
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin: 40px 0 64px;
}

.visual-break img {
  max-width: 100%;
}

.card-image {
  border-radius: 16px;
  box-shadow: 24px 18px 48px rgba(12, 17, 22, 0.18);
}

:root[data-theme="dark"] .card-image {
  box-shadow: 24px 18px 48px rgba(0, 0, 0, 0.45);
}

.v2-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(125deg, var(--card), #fff4e9);
  border: 1px solid rgba(109, 75, 255, 0.2);
  margin-bottom: 56px;
}

:root[data-theme="dark"] .v2-block {
  background: linear-gradient(125deg, #141b2b, #1a2134);
  border: 1px solid rgba(141, 160, 255, 0.25);
}

.v2-copy ul {
  list-style: none;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.v2-copy li::before {
  content: "+";
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

.v2-board {
  display: grid;
  gap: 16px;
}

.board-card {
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 32px rgba(12, 17, 22, 0.1);
}

:root[data-theme="dark"] .board-card {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.board-card.highlight {
  background: var(--panel-contrast);
  color: var(--panel-contrast-ink);
  position: relative;
  overflow: hidden;
}

.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(109, 75, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.board-card.highlight::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(109, 75, 255, 0.45), transparent 65%);
  pointer-events: none;
}

.board-card.highlight::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(111, 123, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.v2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.v2-stats span {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.board-card.highlight .v2-stats span {
  color: var(--panel-contrast-ink);
}

.v2-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.board-card.highlight .v2-stats small {
  color: rgba(255, 255, 255, 0.7);
}

.v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.v2-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(109, 75, 255, 0.12);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}

.board-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 17, 22, 0.1);
  font-weight: 600;
}

.board-card.highlight .board-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stories {
  margin-bottom: 56px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.story-card {
  padding: 22px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 30px rgba(12, 17, 22, 0.08);
}

:root[data-theme="dark"] .story-card {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.pricing {
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.price-card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
}

.price-card.featured {
  background: var(--panel-contrast);
  color: var(--panel-contrast-ink);
  border: none;
  transform: translateY(-10px);
}

.price {
  font-size: 2rem;
  font-family: "Avenir Next", "Avenir", "Gill Sans", "Trebuchet MS", "Helvetica", sans-serif;
  margin: 12px 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 6px;
}

.price-card.featured .price span {
  color: rgba(255, 255, 255, 0.7);
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.price-card li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 10px;
}

.cta {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--border);
}

.cta-button {
  padding: 16px 28px;
  font-size: 1rem;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #6d4bff, #6f7bff);
  box-shadow: 0 18px 36px rgba(109, 75, 255, 0.35);
  position: relative;
}

.cta-button::after {
  content: "→";
  margin-left: 10px;
  font-size: 1.1rem;
}

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

.ceo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.ceo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #b79cff;
  object-fit: cover;
}

.ceo-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.footer-brand img {
  max-width: 220px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer h4 {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footnote {
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .nav a {
    padding: 6px 0;
  }

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

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

@media (max-width: 720px) {
  .hero {
    gap: 28px;
  }

  img[src$=".svg"] {
    display: none;
  }

  img[src$="features-illustration-light.svg"],
  img[src$="feature-01-light.svg"],
  img[src$="feature-02-light.svg"],
  img[src$="feature-03-light.svg"] {
    display: block;
  }

  .header-illustration {
    position: static;
    width: min(420px, 100%);
    margin-bottom: 12px;
  }

  .hero-media-illustration {
    position: static;
    width: min(360px, 100%);
    margin-bottom: 16px;
  }

  .hero-media-image {
    transform: none;
    width: 100%;
  }

  .v2-block {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 24px 16px 64px;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 6.5vw, 2.4rem);
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .price-card.featured {
    transform: none;
  }
}
