/* Croissant onboarding modal overlay.
   Tokens (--colors--primary-blue, --colors--text-color, --font-family-2) come
   from the existing Webflow CSS; this file only adds new selectors. */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(186, 200, 218, 0.7);
  padding: 24px;
}

.onboarding-overlay[hidden] {
  display: none;
}

.onboarding-shell {
  position: relative;
  width: 100%;
  max-width: 1416px;
  max-height: calc(100vh - 48px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.12),
    0 15px 35px rgba(48, 49, 61, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Inter", "Manrope", sans-serif;
  color: var(--colors--text-color, #080511);
}

.onboarding-header {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.onboarding-logo {
  height: 28px;
  width: auto;
}

.onboarding-progress {
  width: 124px;
  height: 6px;
  background: #f4f7fa;
  border-radius: 9999px;
  overflow: hidden;
}

.onboarding-progress-fill {
  height: 100%;
  background: var(--colors--primary-blue, #6fc28d);
  border-radius: inherit;
  width: 0%;
  transition: width 240ms ease;
}

.onboarding-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.onboarding-step {
  width: 100%;
  max-width: 656px;
}

.onboarding-step-heading {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.45px;
  margin: 0 0 8px;
  color: var(--colors--text-color, #080511);
}

.onboarding-step-subheading {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.45px;
  margin: 0 0 24px;
  color: #3c4f69;
}

.onboarding-footer {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 12px;
}

/* Override `display: flex` so the [hidden] attribute actually hides the
 * footer on steps that render their own inline CTAs (step 0, step 4). */
.onboarding-footer[hidden] {
  display: none;
}

.onboarding-footer-left,
.onboarding-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.onboarding-btn {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  border-radius: 6px;
  padding: 8px 16px;
  height: 40px;
  border: 0;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease;
  white-space: nowrap;
}

.onboarding-btn:focus-visible {
  outline: 2px solid var(--colors--primary-blue, #6fc28d);
  outline-offset: 2px;
}

.onboarding-btn--primary {
  background: var(--colors--primary-blue, #6fc28d);
  color: var(--colors--white, #ffffff);
}

.onboarding-btn--primary:hover {
  background: #5ba376;
}

.onboarding-btn--primary[disabled],
.onboarding-btn--primary[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.onboarding-btn--secondary {
  background: #ffffff;
  color: #273951;
  box-shadow: inset 0 0 0 1px #d4dee9;
}

.onboarding-btn--secondary:hover {
  background: #f4f7fa;
}

.onboarding-btn--ghost {
  background: transparent;
  color: var(--colors--primary-blue, #6fc28d);
  padding: 8px 12px;
  height: auto;
}

.onboarding-btn--ghost:hover {
  text-decoration: underline;
}

[hidden].onboarding-btn,
.onboarding-btn[hidden] {
  display: none;
}

.onboarding-back-icon {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

body.onboarding-scroll-locked {
  overflow: hidden;
}

/* ── Narrow single-column step layout (used by steps 1 & 2) ────────── */

.onboarding-step--narrow {
  max-width: 426px;
}

/* ── Wide single-column step layout (used by step 3) ───────────────── */

.onboarding-step--wide {
  max-width: 656px;
}

.onboarding-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboarding-choice-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .onboarding-choice-list--grid {
    grid-template-columns: 1fr;
  }
}

.onboarding-step-counter {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #3c4f69;
  font-weight: 500;
  margin: -16px 0 0;
  transition: color 160ms ease, font-weight 160ms ease;
}

.onboarding-step-counter.is-at-limit {
  color: var(--colors--primary-blue, #6fc28d);
  font-weight: 600;
}

/* ── Topic-section grouping (step 3): "Core topics" and "Topics generated
   for your team". The heading is a real <h2> so the structure is exposed
   to assistive tech; the section's aria-labelledby ties the group to it. */
.onboarding-topic-section + .onboarding-topic-section {
  margin-top: 20px;
}

.onboarding-section-header {
  margin: 16px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6ebf3;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #6b7a90;
}

.onboarding-topic-section:first-child .onboarding-section-header {
  margin-top: 0;
}

/* ── Card: the whole label is the click target; native checkbox is
   hidden visually (sr-only) but kept in the DOM so form state /
   keyboard / assistive tech behavior is unchanged. The visible
   "checkmark box" is .onboarding-choice-check. */
.onboarding-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  cursor: pointer;
  user-select: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.onboarding-choice-card:hover {
  border-color: #d4dee9;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.onboarding-choice-card:has(input:checked) {
  border-color: var(--colors--primary-blue, #6fc28d);
  background: rgba(111, 194, 141, 0.10);
}

/* Keyboard-only focus ring — matches the existing input :focus halo at
   onboarding.css ~L773. :has(:focus-visible) keeps the ring off
   mouse-click selection. */
.onboarding-choice-card:has(input:focus-visible) {
  border-color: var(--colors--primary-blue, #6fc28d);
  box-shadow: 0 0 0 3px rgba(111, 194, 141, 0.25);
}

.onboarding-choice-card:has(input:disabled) {
  opacity: 0.45;
  pointer-events: none;
}

/* Visually hidden but accessible — assistive tech still sees the
   <input type="checkbox">, but it doesn't paint on screen. */
.onboarding-choice-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.onboarding-choice-check {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  border: 1.5px solid #d4dee9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.onboarding-choice-check svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.onboarding-choice-card:hover .onboarding-choice-check {
  border-color: #6b7a90;
}

.onboarding-choice-card:has(input:checked) .onboarding-choice-check {
  background: var(--colors--primary-blue, #6fc28d);
  border-color: var(--colors--primary-blue, #6fc28d);
}

.onboarding-choice-card:has(input:checked) .onboarding-choice-check svg {
  opacity: 1;
  transform: scale(1);
}

.onboarding-choice-title {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: var(--colors--text-color, #080511);
  margin: 0;
  flex: 1;
}

/* ── AI variant: very pale tint (lighter than the marketing site's
   #ddd1f7 cards — we want a calmer in-modal reading). The selected
   state of an AI card still uses the brand-green selection styles
   above so selection cues are consistent. */
.onboarding-choice-card--ai {
  background: #f5f1fc;
  border-color: #dccdf5;
}

.onboarding-choice-card--ai:hover {
  background: #ece3fb;
  border-color: #c9b8ee;
}

.onboarding-choice-sparkle {
  flex: none;
  font-size: 16px;
  line-height: 1;
  color: #8079DB;
}

.onboarding-choice-description {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #3c4f69;
  margin: 0;
}

.onboarding-choice-divider {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #3c4f69;
  padding: 8px 0 0;
  margin: 0;
}

/* ── Step 4: Sandbox completion (two-column: steps + preview) ──────── */

.onboarding-step--sandbox {
  max-width: 1024px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: 48px;
  align-items: center;
}

.onboarding-sandbox-left {
  min-width: 0;
}

.onboarding-sandbox-right {
  min-width: 0;
}

.onboarding-sandbox-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.onboarding-sandbox-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.onboarding-sandbox-step-number {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--colors--primary-blue, #6fc28d);
  color: var(--colors--white, #ffffff);
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onboarding-sandbox-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.onboarding-sandbox-step-title {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  color: var(--colors--text-color, #080511);
  margin: 0 0 2px;
}

.onboarding-sandbox-step-desc {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #3c4f69;
  margin: 0;
}

/* Mock product preview (HTML/CSS only — no images / no chart deps).
 * Decorative glimpse of the real dashboard: workspace sidebar (grouped nav
 * with business-name overlay), hero engagement metric with inline-SVG line
 * chart, plus three stat tiles. Sample numbers are hardcoded. */

.onboarding-preview {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.onboarding-preview-frame {
  background: #ffffff;
  border: 1px solid #ecf1f6;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.onboarding-preview-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f4f7fa;
  border-bottom: 1px solid #ecf1f6;
}

.onboarding-preview-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4dee9;
}

.onboarding-preview-content {
  display: grid;
  grid-template-columns: 134px 1fr;
  min-height: 340px;
}

.onboarding-preview-sidebar {
  background: #fafbfd;
  border-right: 1px solid #ecf1f6;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onboarding-preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 12px;
  border-bottom: 1px solid #ecf1f6;
}

.onboarding-preview-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--colors--primary-blue, #6fc28d);
  flex-shrink: 0;
}

.onboarding-preview-brand-name {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: var(--colors--text-color, #080511);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.onboarding-preview-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.onboarding-preview-sidebar-header {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 9px;
  line-height: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7d8ba4;
  margin: 0 0 2px;
  padding: 0 8px;
}

.onboarding-preview-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.onboarding-preview-nav li {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #3c4f69;
  padding: 5px 8px;
  border-radius: 4px;
}

.onboarding-preview-nav li.is-active {
  background: #f4f7fa;
  color: var(--colors--text-color, #080511);
  font-weight: 600;
}

.onboarding-preview-main {
  background: #f7f9fc;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-preview-hero {
  background: #ffffff;
  border: 1px solid #ecf1f6;
  border-radius: 8px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.onboarding-preview-hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 10px;
  line-height: 14px;
  color: #7d8ba4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.onboarding-preview-hero-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.onboarding-preview-hero-value {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  color: var(--colors--text-color, #080511);
  letter-spacing: -0.02em;
}

.onboarding-preview-hero-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: var(--colors--primary-blue, #6fc28d);
}

.onboarding-preview-hero-delta svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.onboarding-preview-hero-timestamp {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 14px;
  color: #7d8ba4;
  margin: 0;
}

.onboarding-preview-chart {
  width: 100%;
  height: 52px;
  display: block;
  margin-top: 4px;
}

.onboarding-preview-chart-axis {
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  line-height: 12px;
  color: #7d8ba4;
}

.onboarding-preview-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.onboarding-preview-tile {
  background: #ffffff;
  border: 1px solid #ecf1f6;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.onboarding-preview-tile-value {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: var(--colors--text-color, #080511);
}

.onboarding-preview-tile-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 14px;
  color: #7d8ba4;
}

/* Below ~900px the 2-col layout (steps + preview) squishes the preview
 * into an unreadable strip — collapse to a stack so the preview keeps
 * legible width beneath the steps. */
@media (max-width: 900px) {
  .onboarding-step--sandbox {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}

/* Below ~640px the stacked preview is still too cramped to read — hide
 * it. The 3 numbered steps + CTA are the meaningful content on phone. */
@media (max-width: 640px) {
  .onboarding-sandbox-right {
    display: none;
  }
}

.onboarding-step-heading--welcome,
.onboarding-step-heading--two-tone {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.45px;
  color: #3c4f69;
  margin: 0 0 24px;
}

.onboarding-step-heading--welcome .onboarding-brand {
  font-weight: 700;
  color: var(--colors--primary-blue, #6fc28d);
}

.onboarding-step-heading--two-tone .onboarding-bold {
  font-weight: 700;
  color: var(--colors--text-color, #080511);
}

.onboarding-label-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.onboarding-info-icon {
  width: 12px;
  height: 12px;
  color: #7d8ba4;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ── Two-column step layout (used by step 0) ───────────────────────── */

.onboarding-step--two-column {
  max-width: 1024px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 48px;
  align-items: start;
}

.onboarding-form-col {
  min-width: 0;
}

.onboarding-divider-vertical {
  width: 1px;
  align-self: stretch;
  background: #ecf1f6;
}

.onboarding-marketing-col {
  min-width: 0;
  padding-top: 8px;
}

/* ── Form primitives ──────────────────────────────────────────────── */

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 0;
}

.onboarding-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.onboarding-label {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: var(--colors--text-color, #080511);
}

.onboarding-input,
.onboarding-select {
  font-family: "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: var(--colors--text-color, #080511);
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #d4dee9;
  border-radius: 6px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}

.onboarding-input:focus,
.onboarding-select:focus {
  outline: none;
  border-color: var(--colors--primary-blue, #6fc28d);
  box-shadow: 0 0 0 3px rgba(111, 194, 141, 0.25);
}

.onboarding-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5l5 5 5-5' stroke='%233c4f69' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding-right: 32px;
}

.onboarding-input--error {
  border-color: #e53935;
}

.onboarding-input--error:focus {
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
}

.onboarding-textarea {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: var(--colors--text-color, #080511);
  padding: 8px 12px;
  border: 1px solid #d4dee9;
  border-radius: 6px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
  min-height: 112px;
  resize: vertical;
  box-sizing: border-box;
}

.onboarding-textarea:focus {
  outline: none;
  border-color: var(--colors--primary-blue, #6fc28d);
  box-shadow: 0 0 0 3px rgba(111, 194, 141, 0.25);
}

.onboarding-textarea::placeholder {
  color: #667691;
}

.onboarding-field-error {
  color: #c62828;
  font-size: 12px;
  line-height: 16px;
  margin: 4px 0 0;
}

.onboarding-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #3c4f69;
  cursor: pointer;
}

.onboarding-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--colors--primary-blue, #6fc28d);
  flex-shrink: 0;
}

.onboarding-inline-link {
  color: var(--colors--primary-blue, #6fc28d);
  text-decoration: none;
  font-weight: 600;
  /* Webflow's global `a` rule sets font-size:18px and line-height:1.4;
   * inherit from the surrounding paragraph instead so links match their
   * context (12px in the marketing checkbox row, 13px in the form footer). */
  font-size: inherit;
  line-height: inherit;
}

.onboarding-inline-link:hover {
  text-decoration: underline;
}

/* ── Inline form actions (step 0 only) ─────────────────────────────── */

.onboarding-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.onboarding-btn--block {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.onboarding-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #7d8ba4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.onboarding-or-divider::before,
.onboarding-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ecf1f6;
}

.onboarding-btn--google {
  background: #ffffff;
  color: #273951;
  box-shadow: inset 0 0 0 1px #d4dee9;
}

.onboarding-btn--google:hover {
  background: #f4f7fa;
}

.onboarding-google-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.onboarding-form-footer {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-align: center;
  color: #3c4f69;
  margin: 8px 0 0;
}

/* ── Marketing column (step 0 only) ────────────────────────────────── */

.onboarding-marketing-heading {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.31px;
  margin: 0 0 20px;
  color: var(--colors--text-color, #080511);
}

.onboarding-marketing-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.onboarding-marketing-item h3 {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  margin: 0 0 4px;
  color: var(--colors--text-color, #080511);
}

.onboarding-marketing-item p {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #3c4f69;
  margin: 0;
}

.onboarding-trusted-by {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ecf1f6;
}

.onboarding-trusted-by-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #7d8ba4;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.onboarding-trusted-by-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-trusted-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.onboarding-trusted-logo img {
  height: 28px;
  width: auto;
  max-width: 110px;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 200ms ease, opacity 200ms ease;
}

.onboarding-trusted-logo img[src*="TRISON"] {
  opacity: 0.35;
}

.onboarding-trusted-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Responsive: stack two-column to single column ─────────────────── */

@media (max-width: 768px) {
  .onboarding-step--two-column {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
  }

  .onboarding-divider-vertical {
    display: none;
  }

  .onboarding-marketing-col {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .onboarding-overlay {
    padding: 0;
    background: #ffffff;
  }

  .onboarding-shell {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .onboarding-header {
    padding: 0 20px;
    flex: 0 0 64px;
  }

  .onboarding-body {
    padding: 20px;
  }

  .onboarding-footer {
    flex: 0 0 80px;
    padding: 0 20px;
  }

  .onboarding-step-heading,
  .onboarding-step-subheading {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ── Continue-button loading state (step 2 → 3 topic generation).
   The standard disabled opacity (0.5) gets bumped back up while loading
   so the shimmering label stays legible — cursor stays not-allowed and
   the button is still aria-disabled, so it's still non-interactive. */
.onboarding-btn--primary[disabled]:has(.onboarding-btn-loading),
.onboarding-btn--primary[aria-disabled="true"]:has(.onboarding-btn-loading) {
  opacity: 1;
}

/* The shimmer span paints an animated gradient that is clipped to the
   text glyphs of both the Tabler sparkle icon and the "Generating…"
   word, so a single light sweep crosses both in sync. */
.onboarding-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: onboarding-btn-shimmer 1.8s linear infinite;
}

/* The icon glyph sits inline in the shimmer span as a text glyph —
   no transform (would create a stacking context and break the clip),
   no per-icon animation. It inherits the clipped gradient automatically
   so it shares the button text colour and rides the same sweep. */
.onboarding-btn-sparkle {
  line-height: 1;
}

@keyframes onboarding-btn-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .onboarding-btn-loading {
    background-image: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    animation: none;
  }
}
