:root {
  --bg: #f7f9ff;
  --panel: #ffffff;
  --text: #0b1220;
  --muted: #5b6475;
  --border: rgba(18, 33, 64, 0.12);
  --shadow: 0 18px 40px rgba(18, 33, 64, 0.12);
  --shadow-soft: 0 12px 30px rgba(18, 33, 64, 0.08);
  --blue: #2f6cf6;
  --blue2: #2cc1ff;
  --green: #19c37d;
  --yellow: #f7c948;
  --orange: #ff9f1c;
  --purple: #7c5cff;
  --navy: #07122a;
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(1100px 700px at 80% 20%, rgba(47, 108, 246, 0.10) 0%, rgba(47, 108, 246, 0) 58%),
    radial-gradient(900px 600px at 50% 90%, rgba(124, 92, 255, 0.08) 0%, rgba(124, 92, 255, 0) 62%),
    var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

.tiny {
  font-size: 12px;
  line-height: 1.4;
}

.strong {
  font-weight: 600;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
}

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* Keep the background calm; this should never compete with the CTA. */
  opacity: 0.10;
  background-image: radial-gradient(circle at 10% 20%, rgba(47, 108, 246, 0.24) 0 2px, transparent 2px),
    radial-gradient(circle at 30% 10%, rgba(25, 195, 125, 0.22) 0 2px, transparent 2px),
    radial-gradient(circle at 60% 15%, rgba(247, 201, 72, 0.22) 0 2px, transparent 2px),
    radial-gradient(circle at 85% 28%, rgba(124, 92, 255, 0.22) 0 2px, transparent 2px),
    radial-gradient(circle at 15% 75%, rgba(255, 159, 28, 0.18) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 82%, rgba(47, 108, 246, 0.16) 0 2px, transparent 2px);
  background-size: 420px 420px;
}

/* Sticky offer */
/* (removed sticky discount bar for legacy flow) */
/* Sticky offer */
.sticky-offer {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(222, 239, 255, 0.62);
  border-bottom: 1px solid rgba(47, 108, 246, 0.20);
  backdrop-filter: blur(10px);
}

.sticky-offer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 12px;
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-emoji {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 108, 246, 0.10);
  border: 1px solid rgba(47, 108, 246, 0.18);
}

.sticky-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 249, 255, 0.7);
  border-bottom: 1px solid rgba(18, 33, 64, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  box-shadow: 0 12px 20px rgba(47, 108, 246, 0.18);
  font-size: 13px;
}

.brand-mark--sm {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.brand-text {
  font-size: 12px;
}

.nav {
  display: inline-flex;
  gap: 18px;
  font-weight: 500;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.78);
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(47, 108, 246, 0.08);
  text-decoration: none;
}

.header-cta {
  display: flex;
  justify-content: flex-end;
}

.trust-chips {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(18, 33, 64, 0.10);
  color: rgba(11, 18, 32, 0.78);
  white-space: nowrap;
}

.chip:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  user-select: none;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #2257d6 100%);
  box-shadow: 0 14px 30px rgba(47, 108, 246, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(47, 108, 246, 0.28);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(18, 33, 64, 0.10);
  color: rgba(11, 18, 32, 0.86);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.75);
}

.pill-primary {
  border-color: rgba(47, 108, 246, 0.20);
  background: rgba(47, 108, 246, 0.10);
  color: rgba(29, 82, 210, 1);
}

.pill-soft {
  border-color: rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.6);
  color: rgba(11, 18, 32, 0.75);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 28px 0 20px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  /* Keep the hero copy high even when the right column is taller (demo + upload). */
  align-items: start;
}

.hero-right {
  display: grid;
  align-content: start;
}

.hero-copy h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
}

.hero-sub .trust-line {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: rgba(11, 18, 32, 0.65);
}

.hero-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(18, 33, 64, 0.10);
  box-shadow: var(--shadow-soft);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.trust-line span {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(11, 18, 32, 0.72);
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.steps {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(18, 33, 64, 0.08);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: rgba(7, 18, 42, 0.78);
  background: rgba(47, 108, 246, 0.10);
  border: 1px solid rgba(47, 108, 246, 0.16);
}

.step-title {
  font-weight: 900;
  color: rgba(7, 18, 42, 0.92);
  letter-spacing: -0.01em;
}

.hero-proof {
  margin-top: 10px;
}

.hero-pricing {
  margin-top: 16px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  max-width: 560px;
}

.hero-pricing-top {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-pricing-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 15px;
  color: rgba(7, 18, 42, 0.92);
}

.hero-pricing-note {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(47, 108, 246, 0.14);
  background: rgba(47, 108, 246, 0.06);
  color: rgba(11, 18, 32, 0.75);
  line-height: 1.35;
}

.pdf-mini {
  border-radius: 16px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.pdf-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(47, 108, 246, 0.10) 0%, rgba(124, 92, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(18, 33, 64, 0.08);
}

.pdf-mini-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 13px;
  color: rgba(7, 18, 42, 0.92);
}

.pdf-mini-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(11, 18, 32, 0.72);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.pdf-mini-body {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

.pdf-mini-line {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.85);
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(18, 33, 64, 0.08);
  background: rgba(247, 249, 255, 0.7);
}

.pdf-mini-flag {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(247, 201, 72, 0.35);
  background: rgba(247, 201, 72, 0.20);
  font-weight: 900;
}

.pdf-mini-footer {
  padding: 10px 12px;
  border-top: 1px solid rgba(18, 33, 64, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

/* Subtle animation to guide the eye (no "busy" movement). */
@keyframes stepGlow {
  0% {
    box-shadow: var(--shadow-soft);
    border-color: rgba(18, 33, 64, 0.08);
  }
  60% {
    box-shadow: 0 14px 30px rgba(47, 108, 246, 0.14);
    border-color: rgba(47, 108, 246, 0.20);
  }
  100% {
    box-shadow: var(--shadow-soft);
    border-color: rgba(18, 33, 64, 0.08);
  }
}

.step {
  animation: stepGlow 8s ease-in-out infinite;
}
.step:nth-child(1) {
  animation-delay: 0s;
}
.step:nth-child(2) {
  animation-delay: 2s;
}
.step:nth-child(3) {
  animation-delay: 4s;
}
.step:nth-child(4) {
  animation-delay: 6s;
}

/* Wheel */
.wheel-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 33, 64, 0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.wheel-wrap {
  position: relative;
  width: min(360px, 92vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 10px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 34px rgba(18, 33, 64, 0.18);
  /* Fallback: show a colored wheel even if JS/canvas render fails. */
  background:
    conic-gradient(
      from -90deg,
      #63b3ff 0deg 60deg,
      #2cc1ff 60deg 120deg,
      #19c37d 120deg 180deg,
      #7c5cff 180deg 240deg,
      #f7c948 240deg 300deg,
      #f7c948 300deg 360deg
    );
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid rgba(11, 18, 32, 0.92);
  filter: drop-shadow(0 10px 10px rgba(18, 33, 64, 0.18));
  z-index: 4;
}

.wheel-pointer--small {
  border-left-width: 12px;
  border-right-width: 12px;
  border-top-width: 22px;
  top: -8px;
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
  box-shadow: 0 16px 36px rgba(18, 33, 64, 0.18);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(11, 18, 32, 0.88);
  cursor: pointer;
  z-index: 5;
}

.wheel-center:hover {
  box-shadow: 0 20px 46px rgba(18, 33, 64, 0.20);
}

.wheel-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
}

/* Demo (animated preview) */
.demo-card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  padding: 16px;
}

.demo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-title {
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: rgba(7, 18, 42, 0.96);
}

.demo-body {
  border-radius: 16px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(247, 249, 255, 0.55);
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.demo-drop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-drop-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 108, 246, 0.10);
  border: 1px solid rgba(47, 108, 246, 0.18);
  font-weight: 900;
  color: rgba(7, 18, 42, 0.78);
}

.demo-drop-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.demo-chip {
  margin-left: auto;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.14);
  background: rgba(255, 255, 255, 0.70);
  color: rgba(7, 18, 42, 0.82);
}

.demo-rows {
  display: grid;
  gap: 8px;
}

.demo-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
}

.demo-k {
  font-size: 12px;
  font-weight: 900;
  color: rgba(7, 18, 42, 0.68);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-v {
  font-size: 13px;
  color: rgba(7, 18, 42, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 33, 64, 0.10);
  overflow: hidden;
}

.demo-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 108, 246, 0.95) 0%, rgba(124, 92, 255, 0.95) 100%);
  transition: width 700ms ease;
}

.demo-preview {
  display: grid;
  gap: 8px;
}

.demo-line {
  display: grid;
  grid-template-columns: 78px 96px 1fr 50px;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(18, 33, 64, 0.08);
  background: rgba(255, 255, 255, 0.70);
}

.demo-bottom {
  display: grid;
  gap: 10px;
}

.demo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Demo animation states */
.demo-body[data-step="select"] .demo-progress-bar {
  width: 0%;
}

.demo-body[data-step="hash"] .demo-progress-bar {
  width: 12%;
}

.demo-body[data-step="upload"] .demo-progress-bar {
  width: 65%;
}

.demo-body[data-step="processing"] .demo-progress-bar {
  width: 82%;
}

.demo-body[data-step="ready"] .demo-progress-bar {
  width: 100%;
}

.demo-body[data-step="select"] #demoStatusChip::before {
  content: "Waiting";
}
.demo-body[data-step="hash"] #demoStatusChip::before {
  content: "Hashing";
}
.demo-body[data-step="upload"] #demoStatusChip::before {
  content: "Uploading";
}
.demo-body[data-step="processing"] #demoStatusChip::before {
  content: "Processing";
}
.demo-body[data-step="ready"] #demoStatusChip::before {
  content: "Ready";
}
.demo-body #demoStatusChip {
  color: transparent;
  position: relative;
}
.demo-body #demoStatusChip::before {
  color: rgba(7, 18, 42, 0.82);
}

/* Upload widget (legacy flow) */
.upload-widget {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 16px;
}

.intake-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.68);
  margin-bottom: 8px;
}

.uw-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.62);
  line-height: 1.6;
}

.formats {
  margin-top: 10px;
}

.selected-file {
  margin-top: 10px;
}

.progress {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(31, 41, 55, 0.12);
  border: 1px solid rgba(18, 33, 64, 0.10);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(25, 195, 125, 1);
}

.error {
  margin-top: 10px;
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 650;
}

.uw-notice {
  margin-top: 12px;
}

/* Pricing */
.pricing {
  padding: 34px 0 30px;
}

.section-head h2,
.section-head h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
}

.persona-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.chip {
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 18, 32, 0.76);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(47, 108, 246, 0.22);
  background: rgba(47, 108, 246, 0.10);
  color: rgba(29, 82, 210, 1);
}

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

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.card.is-featured {
  border-color: rgba(47, 108, 246, 0.30);
  box-shadow: 0 18px 46px rgba(47, 108, 246, 0.14);
}

.card.is-amber {
  border-color: rgba(247, 201, 72, 0.34);
}

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.74);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-main.is-discounted {
  color: rgba(13, 128, 82, 1);
}

.price-unit {
  font-weight: 700;
  color: rgba(11, 18, 32, 0.62);
}

.price-was {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.50);
  text-decoration: line-through;
}

.badge {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 201, 72, 0.30);
  background: rgba(247, 201, 72, 0.16);
  color: rgba(130, 88, 0, 1);
  white-space: nowrap;
}

.badge.badge-blue {
  border-color: rgba(47, 108, 246, 0.26);
  background: rgba(47, 108, 246, 0.12);
  color: rgba(29, 82, 210, 1);
}

.badge.badge-amber {
  border-color: rgba(247, 201, 72, 0.34);
  background: rgba(247, 201, 72, 0.18);
  color: rgba(130, 88, 0, 1);
}

.features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.78);
}

.features li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(25, 195, 125, 0.12);
  color: rgba(13, 128, 82, 1);
  font-weight: 900;
  margin-top: 1px;
}

.metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.08);
  background: rgba(255, 255, 255, 0.6);
  padding: 14px;
}

.metric-value {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.metric-label {
  margin-top: 4px;
  font-size: 13px;
}

/* Sample */
.sample {
  padding: 18px 0 34px;
}

.services-teaser {
  padding: 18px 0 34px;
}

.card-link {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.card-link:hover {
  transform: translateY(-1px);
  text-decoration: none;
  border-color: rgba(47, 108, 246, 0.22);
  box-shadow: 0 22px 55px rgba(18, 33, 64, 0.12);
}

.card-link:focus-visible {
  outline: 3px solid rgba(47, 108, 246, 0.30);
  outline-offset: 2px;
  text-decoration: none;
}

.sample-inner {
  display: grid;
  gap: 14px;
}

.sample-head h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.sample-head p {
  margin: 0;
}

.sample-card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.preview {
  border-radius: 14px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(247, 249, 255, 0.55);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.preview-line {
  display: grid;
  grid-template-columns: 86px 108px 1fr 56px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.ts {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  color: rgba(11, 18, 32, 0.62);
}

.spk {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-align: center;
}

.spk-a {
  border-color: rgba(47, 108, 246, 0.24);
  background: rgba(47, 108, 246, 0.10);
  color: rgba(29, 82, 210, 1);
}

.spk-b {
  border-color: rgba(124, 92, 255, 0.24);
  background: rgba(124, 92, 255, 0.10);
  color: rgba(80, 56, 210, 1);
}

.txt {
  color: rgba(11, 18, 32, 0.82);
}

.conf {
  font-weight: 900;
  text-align: right;
}

.conf.good {
  color: rgba(13, 128, 82, 1);
}

.conf.warn {
  color: rgba(130, 88, 0, 1);
}

.flag {
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(247, 201, 72, 0.22);
  border: 1px solid rgba(247, 201, 72, 0.34);
  font-weight: 800;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.format {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 18, 32, 0.72);
}

.format.is-active {
  border-color: rgba(25, 195, 125, 0.24);
  background: rgba(25, 195, 125, 0.12);
  color: rgba(13, 128, 82, 1);
}

/* Trust */
.trust {
  padding: 8px 0 26px;
}

.industry-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.74);
}

.industry-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 108, 246, 0.10);
  border: 1px solid rgba(47, 108, 246, 0.18);
}

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

.quote {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.75);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.quote-text {
  font-weight: 650;
  color: rgba(11, 18, 32, 0.82);
  line-height: 1.5;
}

.badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sec-badge {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(11, 18, 32, 0.72);
}

/* Upload */
/* (removed separate upload section for legacy flow) */

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.cta-left {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: linear-gradient(135deg, rgba(47, 108, 246, 0.10) 0%, rgba(124, 92, 255, 0.09) 100%),
    rgba(255, 255, 255, 0.7);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.cta-left h3 {
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
}

.cta-left p {
  margin: 0;
}

.cta-card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.70);
  font-weight: 700;
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18, 33, 64, 0.12);
  background: rgba(247, 249, 255, 0.6);
  font-size: 14px;
  outline: none;
}

.input:focus {
  border-color: rgba(47, 108, 246, 0.40);
  box-shadow: 0 0 0 4px rgba(47, 108, 246, 0.14);
}

.drop {
  position: relative;
  border-radius: 16px;
  border: 1px dashed rgba(47, 108, 246, 0.45);
  background: rgba(47, 108, 246, 0.06);
  padding: 14px;
  text-align: center;
  cursor: pointer;
}

.drop:focus-within {
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 108, 246, 0.14);
}

.drop-title {
  font-weight: 900;
}

/* Important: the actual file input must NOT overlay the page. We trigger it from JS. */
#fileInput {
  display: none;
}

/* Privacy */
.privacy {
  padding: 10px 0 34px;
}

.privacy-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 33, 64, 0.10);
  background: rgba(255, 255, 255, 0.70);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
}

.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 108, 246, 0.10);
  border: 1px solid rgba(47, 108, 246, 0.18);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(18, 33, 64, 0.08);
  padding: 22px 0 30px;
  background: linear-gradient(180deg, rgba(7, 18, 42, 0.98) 0%, rgba(7, 18, 42, 0.92) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer .muted {
  color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.brand-footer .brand-text {
  font-size: 12px;
}

/* (removed modal/chat styles for legacy flow) */

/* Modal (spin result) */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 42, 0.58);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(920px, 96vw);
  border-radius: 22px;
  background: radial-gradient(800px 300px at 50% 20%, rgba(47, 108, 246, 0.18) 0%, rgba(255, 255, 255, 0) 55%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(18, 33, 64, 0.12);
  background: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  cursor: pointer;
}

.modal-top {
  padding: 18px 18px 0;
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 18px;
  align-items: center;
}

.modal-form {
  display: grid;
  gap: 10px;
}

.modal-title {
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(7, 18, 42, 0.92);
}

.modal-fields {
  display: grid;
  gap: 10px;
}

.modal-fields .field {
  margin: 0;
}

.modal-fields .tiny {
  margin-top: -6px;
}

.modal-wheel {
  position: relative;
  width: min(520px, 78vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.wheel-pointer--small {
  border-left-width: 12px;
  border-right-width: 12px;
  border-top-width: 22px;
  top: -8px;
}

.wheel-canvas--modal {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 12px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 34px rgba(18, 33, 64, 0.18);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
}

.modal-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, rgba(47, 108, 246, 0.98) 0%, rgba(124, 92, 255, 0.98) 100%);
  box-shadow: 0 18px 38px rgba(47, 108, 246, 0.28);
}

.modal-body {
  padding: 8px 18px 18px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.modal-win {
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.4vw, 44px);
  color: rgba(7, 18, 42, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.timer {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(47, 108, 246, 0.22);
  background: rgba(47, 108, 246, 0.10);
  font-weight: 900;
  min-width: 112px;
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .preview-line {
    grid-template-columns: 78px 96px 1fr 50px;
  }
  .demo-line {
    grid-template-columns: 68px 88px 1fr 46px;
  }
  .modal-top {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .demo-progress-bar {
    transition: none;
  }
  .step {
    animation: none;
  }
}

/* ------------------------------------------------------------
   Services + Support (static pages)
   ------------------------------------------------------------ */

.page-hero {
  padding: 32px 0 12px;
}

.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.page-hero p {
  max-width: 70ch;
}

.services-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

.services-section h2 {
  margin-bottom: 10px;
}

.services-section p {
  margin-bottom: 28px;
  opacity: 0.85;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-column h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.service-column ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.services-card {
  padding: 18px;
}

.service-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(18, 33, 64, 0.25);
  padding-bottom: 1px;
}

.service-link:hover {
  border-bottom-color: rgba(47, 108, 246, 0.6);
  text-decoration: none;
}

.support-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 20px 60px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.card-soft {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 33, 64, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(18, 33, 64, 0.08);
}

.support-card {
  padding: 18px;
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(11, 18, 32, 0.72);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(18, 33, 64, 0.12);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 12px;
  font: inherit;
}

.field textarea {
  min-height: 220px;
  resize: vertical;
  line-height: 1.4;
}

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

.hint {
  color: rgba(11, 18, 32, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

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

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
