:root {
  color-scheme: light;
  --ink: #16212f;
  --muted: #5c6877;
  --line: #eadff2;
  --soft: #fbf6ff;
  --brand: #c23bea;
  --brand-strong: #8d22b8;
  --brand-deep: #5f2388;
  --pink: #ff5ab7;
  --lavender: #f3dcff;
  --lavender-strong: #e7c1ff;
  --gold: #f7cf69;
  --blue: #e8f0ff;
  --rose: #ffe5f2;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fffafd;
  line-height: 1.65;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 253, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  color: var(--brand-deep);
  font-weight: 750;
}

.nav-links a:hover {
  color: var(--brand);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(142, 70, 174, 0.08);
}

.language-button {
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.language-button:hover {
  color: var(--brand);
}

.language-button.active {
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(194, 59, 234, 0.22);
}

.button:hover {
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-strong), #db3aa2);
}

.button.secondary {
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 22px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lavender), var(--rose));
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 18px 0 18px;
}

h2 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 0 14px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 24px;
}

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

.hero-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(142, 70, 174, 0.14);
}

.hero-panel img {
  border-radius: 6px;
  border: 1px solid var(--line);
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.note-chip {
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px;
}

.section.alt {
  max-width: none;
  background: #fbf5ff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.alt > .inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.muted { color: var(--muted); }

.subsection-title {
  margin: 22px 0 14px;
  font-size: 22px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card.tint-mint { background: #f5e8ff; }
.card.tint-gold { background: #fff8e6; }
.card.tint-blue { background: #f4f0ff; }
.card.tint-rose { background: #fff0f8; }

.metric {
  font-size: 30px;
  font-weight: 850;
  color: var(--brand-deep);
  margin: 2px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid.single {
  grid-template-columns: 1fr;
}

.feature {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lavender), var(--rose));
  color: var(--brand-deep);
  font-size: 26px;
  font-weight: 850;
}

.partner-groups {
  display: grid;
  gap: 18px;
}

.partner-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.partner-group.subtle {
  background: #fff8fc;
}

.partner-group-head {
  margin-bottom: 12px;
}

.partner-group-head h4 {
  margin: 4px 0 0;
  font-size: 18px;
}

.group-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.provider-group-row td {
  background: #f6e8ff;
  color: var(--brand-deep);
  font-weight: 850;
}

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

.media-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.media-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.media-card .body { padding: 16px; }

.demo-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.demo-video-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.demo-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 49, 71, 0.08);
}

.demo-video-card-wide {
  grid-column: span 2;
}

.demo-video-card .body {
  padding: 16px;
}

.demo-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
}

.demo-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #101820;
  cursor: pointer;
}

.demo-thumb img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.demo-thumb.landscape img {
  aspect-ratio: 16 / 9;
}

.demo-thumb:hover img {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  padding: 0 14px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(194, 59, 234, 0.94), rgba(255, 90, 183, 0.94));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.28);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 24, 32, 0.82);
}

.video-modal.open { display: flex; }

.video-dialog {
  width: min(960px, 96vw);
  max-height: 94vh;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.video-dialog-head h2 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.video-dialog video {
  display: block;
  width: 100%;
  max-height: calc(94vh - 64px);
  background: #000;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th { background: #f6e8ff; }

tr:last-child td { border-bottom: 0; }

.notice {
  padding: 16px;
  border-radius: 8px;
  background: #fff0f8;
  border: 1px solid #f4bfdf;
}

.legal-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 22px;
}

.legal-layout h1 { font-size: 38px; }

.footer {
  border-top: 1px solid var(--line);
  background: #211029;
  color: #f4e7ff;
}

.footer .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer a { color: #ffd6ef; }

.fine {
  font-size: 13px;
  color: #cbb7d8;
}

@media (max-width: 860px) {
  .nav { align-items: center; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 46px; }
  h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .demo-video-card-wide { grid-column: span 1; }
  .footer .inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav { gap: 10px; padding-inline: 14px; }
  .brand img { width: 32px; height: 32px; }
  .language-button { min-height: 30px; padding-inline: 8px; font-size: 12px; }
  .hero-note { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .feature { grid-template-columns: 1fr; }
}
