/* ====== Video placeholder ====== */
.video-sec { background: var(--paper); }
.video-frame {
  margin-top: 56px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.12);
}
.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--plum-950);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, black 10%, transparent) 0%, color-mix(in oklch, black 55%, transparent) 100%);
}
.video-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-play {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.4),
    0 0 0 12px color-mix(in oklch, white 18%, transparent),
    0 0 0 24px color-mix(in oklch, white 6%, transparent),
    0 24px 60px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.video-play:hover { transform: scale(1.06); }
.video-play-tri {
  width: 0; height: 0;
  border-left: 22px solid var(--plum-800);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-meta {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: white; font-size: 13px; font-family: 'JetBrains Mono', monospace;
  opacity: 0.85;
}
.video-chip {
  background: color-mix(in oklch, white 12%, transparent);
  border: 1px solid color-mix(in oklch, white 18%, transparent);
  padding: 6px 12px; border-radius: 999px;
}
.video-caption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  border-top: 1px solid var(--ink-200);
  font-size: 14px;
}
.video-caption strong { display: block; color: var(--ink-950); font-weight: 700; }
.video-caption span { color: var(--ink-500); font-size: 13px; }
.link-arrow { color: var(--plum-700); font-weight: 600; cursor: pointer; }

/* ====== Competitor comparison ====== */
.cmp-sec { background: white; }
.cmp-table-wrap { margin-top: 56px; overflow-x: auto; }
.cmp-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.cmp-table th, .cmp-table td {
  padding: 18px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.cmp-table th { font-weight: 600; background: var(--paper); color: var(--ink-700); }
.cmp-table th.cmp-us {
  background: color-mix(in oklch, var(--plum-700) 8%, white);
  border-bottom: 2px solid var(--plum-700);
}
.cmp-h, .cmp-h-us { display: flex; flex-direction: column; gap: 4px; }
.cmp-h strong, .cmp-h-us strong {
  font-family: 'Inter Tight'; font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink-950);
}
.cmp-h-us strong { color: var(--plum-700); }
.cmp-h span, .cmp-h-us span {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-500); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.cmp-table td.cmp-feat {
  text-align: left; font-weight: 500; color: var(--ink-900);
  max-width: 360px;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: color-mix(in oklch, var(--plum-700) 3%, white); }

.cmp-cell {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 16px; font-weight: 700;
}
.cmp-cell.yes { background: color-mix(in oklch, var(--ok) 14%, white); color: var(--ok); }
.cmp-cell.mid { background: color-mix(in oklch, var(--warn) 16%, white); color: var(--warn); }
.cmp-cell.no { background: var(--ink-100); color: var(--ink-400); }

.cmp-legend {
  margin-top: 24px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-600);
}
.cmp-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-legend .cmp-cell { width: 22px; height: 22px; font-size: 12px; }

/* ====== Migration guarantee — dark panel floating over light background ====== */
.guarantee {
  background: var(--ink-100);
  border-top: 1px solid var(--ink-200);
  padding-top: 96px;
  padding-bottom: 96px;
}
.guarantee > .wrap {
  background: var(--plum-950);
  color: white;
  border-radius: 32px;
  padding: 88px 72px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px -32px color-mix(in oklch, var(--plum-950) 60%, transparent),
    0 0 0 1px color-mix(in oklch, var(--plum-800) 60%, transparent);
}
.guarantee > .wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 88% 0%, color-mix(in oklch, var(--plum-700) 50%, transparent), transparent 65%),
    radial-gradient(500px 350px at 0% 100%, color-mix(in oklch, var(--plum-800) 40%, transparent), transparent 70%);
  pointer-events: none;
}
.guarantee-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.guarantee-copy .section-tag { background: color-mix(in oklch, var(--plum-700) 30%, transparent); color: var(--plum-200); border-color: color-mix(in oklch, var(--plum-400) 30%, transparent); }
.guarantee-copy .section-title { color: white; max-width: 18ch; }
.guarantee-copy .section-sub { color: color-mix(in oklch, var(--plum-200) 92%, transparent); }
.guarantee-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.g-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in oklch, var(--plum-800) 60%, transparent);
  color: white;
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid color-mix(in oklch, var(--plum-600) 50%, transparent);
}
.g-pill .check { color: var(--lime); font-weight: 700; }
.g-fineprint {
  margin-top: 16px;
  font-size: 12px;
  color: color-mix(in oklch, var(--plum-200) 80%, transparent);
  font-style: italic;
}

.guarantee-art { display: flex; flex-direction: column; gap: 18px; }
.g-card {
  background: color-mix(in oklch, var(--plum-900) 80%, black);
  border: 1px solid color-mix(in oklch, var(--plum-700) 60%, transparent);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.g-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.g-card-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--plum-200); text-transform: uppercase; letter-spacing: 0.08em;
}
.g-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.g-steps li { display: flex; gap: 16px; align-items: flex-start; }
.g-step-n {
  flex: 0 0 56px;
  font-family: 'Inter Tight'; font-size: 18px; font-weight: 800;
  color: var(--lime);
  background: color-mix(in oklch, var(--lime) 10%, transparent);
  padding: 8px 12px; border-radius: 8px;
  text-align: center;
  letter-spacing: -0.02em;
}
.g-steps li > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.g-steps strong { color: white; font-size: 15px; font-weight: 700; }
.g-steps span { color: color-mix(in oklch, var(--plum-200) 90%, transparent); font-size: 13px; line-height: 1.5; }

.g-seal {
  display: flex; gap: 18px; align-items: flex-start;
  background: color-mix(in oklch, var(--lime) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--lime) 30%, transparent);
  border-radius: 14px;
  padding: 22px;
}
.g-seal-icon {
  flex: 0 0 48px; height: 48px; border-radius: 12px;
  background: var(--lime); color: var(--plum-950);
  font-size: 24px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.g-seal strong { display: block; color: white; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.g-seal span { color: color-mix(in oklch, var(--plum-200) 92%, transparent); font-size: 13px; line-height: 1.5; }

/* ====== ROI calculator (sits above pricing) ====== */
.roi-card {
  background: linear-gradient(180deg, white, color-mix(in oklch, var(--plum-700) 4%, white));
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 56px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.roi-card::before {
  content: ''; position: absolute; inset: -1px -1px auto auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, color-mix(in oklch, var(--plum-700) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.roi-head { grid-column: 1 / -1; max-width: 36rem; position: relative; z-index: 1; }
.roi-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--plum-700); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600;
}
.roi-head h3 {
  font-family: 'Inter Tight'; font-size: 32px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink-950);
  margin: 8px 0 8px;
}
.roi-head p { color: var(--ink-600); font-size: 14px; }

.roi-inputs { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.roi-input label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--ink-700); margin-bottom: 8px;
}
.roi-input label strong {
  font-family: 'Inter Tight'; font-size: 18px; font-weight: 700;
  color: var(--plum-700); letter-spacing: -0.01em;
}
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--plum-700) 0 var(--pct, 0%), var(--ink-200) var(--pct, 0%) 100%);
  outline: none; cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--plum-700); border: 3px solid white;
  box-shadow: 0 2px 6px rgba(106, 0, 168, 0.3);
  cursor: pointer;
}
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--plum-700); border: 3px solid white;
  box-shadow: 0 2px 6px rgba(106, 0, 168, 0.3);
  cursor: pointer;
}

.roi-out {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; z-index: 1;
  align-self: start;
}
.roi-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-700);
}
.roi-row strong { font-family: 'Inter Tight'; font-weight: 700; color: var(--ink-950); }
.roi-row.sub { color: var(--ink-500); font-size: 13px; }
.roi-row.sub strong { color: var(--ink-500); font-weight: 600; }
.roi-row.total {
  margin-top: 8px; padding-top: 16px;
  border-top: 1px dashed var(--ink-200);
  font-size: 15px; font-weight: 600;
  color: var(--ink-950);
}
.roi-row.total strong {
  font-family: 'Inter Tight'; font-size: 28px; font-weight: 900;
  letter-spacing: -0.02em;
}
.roi-row.total strong.pos { color: var(--ok); }
.roi-row.total strong.neg { color: var(--ink-700); }
.roi-foot {
  grid-column: 1 / -1;
  font-size: 12px; color: var(--ink-500);
  margin-top: 4px;
  position: relative; z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .guarantee-grid { grid-template-columns: 1fr; gap: 48px; }
  .guarantee > .wrap { padding: 56px 40px; border-radius: 24px; }
  .roi-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .cmp-table th, .cmp-table td { padding: 14px 10px; font-size: 13px; }
  .cmp-table td.cmp-feat { max-width: none; }
}
@media (max-width: 640px) {
  .guarantee > .wrap { padding: 40px 24px; border-radius: 20px; }
  .video-caption { flex-direction: column; align-items: flex-start; gap: 8px; }
  .roi-head h3 { font-size: 26px; }
  .cmp-table th, .cmp-table td { padding: 12px 6px; font-size: 12px; }
  .cmp-h strong, .cmp-h-us strong { font-size: 13px; }
  .cmp-h span, .cmp-h-us span { display: none; }
  .cmp-cell { width: 22px; height: 22px; font-size: 13px; }
}
