/**
 * public/marketing.css -- Marketing site stylesheet.
 *
 * Design tokens use --mkt-* prefix to avoid conflicts with the SPA's --brand tokens.
 * Single responsive breakpoint at 768px per UI-SPEC.
 * All touch targets meet 44px minimum per UI-SPEC.
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Colour */
  --mkt-brand: #1a56db;
  --mkt-brand-hover: #1648b8;
  --mkt-brand-active: #133ea0;
  --mkt-brand-light: #eef2ff;
  --mkt-bg: #ffffff;
  --mkt-bg-alt: #f8f9fc;
  --mkt-text: #1d1d1f;
  --mkt-text-secondary: #6b7280;
  --mkt-border: #e5e7eb;
  --mkt-success: #059669;
  --mkt-max-width: 1120px;

  /* Spacing */
  --mkt-space-xs: 4px;
  --mkt-space-sm: 8px;
  --mkt-space-md: 16px;
  --mkt-space-lg: 24px;
  --mkt-space-xl: 32px;
  --mkt-space-2xl: 48px;
  --mkt-space-3xl: 64px;
  --mkt-space-4xl: 80px;
  --mkt-space-5xl: 120px;

  /* Typography */
  --mkt-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */

body {
  margin: 0;
  padding-top: 64px; /* fixed header */
  font-family: var(--mkt-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--mkt-text);
  background: var(--mkt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  text-decoration: underline;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.mkt-display {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--mkt-text);
  margin: 0 0 var(--mkt-space-md);
}

.mkt-heading {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mkt-text);
  margin: 0 0 var(--mkt-space-lg);
}

.mkt-text-centre {
  text-align: center;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.mkt-container {
  max-width: var(--mkt-max-width);
  margin: 0 auto;
  padding-left: var(--mkt-space-xl);
  padding-right: var(--mkt-space-xl);
}

.mkt-section {
  padding: var(--mkt-space-5xl) 0;
}

.mkt-section-alt {
  background: var(--mkt-bg-alt);
}

/* ============================================================
   HEADER
   ============================================================ */

.mkt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--mkt-bg);
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

.mkt-header.mkt-header-scrolled {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mkt-header-inner {
  max-width: var(--mkt-max-width);
  margin: 0 auto;
  padding: 0 var(--mkt-space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--mkt-text);
  text-decoration: none;
  flex-shrink: 0;
}

.mkt-logo:hover {
  color: var(--mkt-brand);
  text-decoration: none;
}

.mkt-nav {
  display: flex;
  align-items: center;
  gap: var(--mkt-space-md);
}

.mkt-nav-link {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mkt-text);
  text-decoration: none;
  padding: var(--mkt-space-sm) var(--mkt-space-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mkt-nav-link:hover {
  color: var(--mkt-brand);
  text-decoration: none;
}

.mkt-nav-link:focus {
  outline: 2px solid var(--mkt-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hamburger */
.mkt-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--mkt-space-sm);
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mkt-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mkt-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mkt-btn:hover {
  text-decoration: none;
}

.mkt-btn:focus {
  outline: 2px solid var(--mkt-brand);
  outline-offset: 2px;
}

.mkt-btn-primary {
  background: var(--mkt-brand);
  color: #ffffff;
  border-color: var(--mkt-brand);
}

.mkt-btn-primary:hover {
  background: var(--mkt-brand-hover);
  border-color: var(--mkt-brand-hover);
  color: #ffffff;
}

.mkt-btn-primary:active {
  background: var(--mkt-brand-active);
}

.mkt-btn-secondary {
  background: var(--mkt-bg);
  color: var(--mkt-brand);
  border-color: var(--mkt-brand);
}

.mkt-btn-secondary:hover {
  background: var(--mkt-brand-light);
  color: var(--mkt-brand);
}

.mkt-btn-secondary:active {
  background: #dbeafe;
}

.mkt-btn-sm {
  font-size: 14px;
  padding: 8px 16px;
  min-height: 44px;
}

.mkt-btn-block {
  display: flex;
  width: 100%;
}

.mkt-btn:disabled,
.mkt-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   BADGE
   ============================================================ */

.mkt-badge {
  display: inline-flex;
  align-items: center;
  background: var(--mkt-brand-light);
  color: var(--mkt-brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 6px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

.mkt-badge-success {
  background: #ecfdf5;
  color: var(--mkt-success);
}

/* ============================================================
   HERO
   ============================================================ */

.mkt-hero {
  padding: var(--mkt-space-4xl) 0;
  background: var(--mkt-bg);
}

.mkt-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mkt-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-xl);
}

.mkt-hero-ctas {
  display: flex;
  gap: var(--mkt-space-md);
  justify-content: center;
  margin-bottom: var(--mkt-space-xl);
  flex-wrap: wrap;
}

.mkt-badge-row {
  display: flex;
  gap: var(--mkt-space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   WORKS WITH (Platform logos)
   ============================================================ */

.mkt-works {
  padding: var(--mkt-space-lg) 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.mkt-works-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 1rem;
  font-weight: 600;
}
.mkt-works-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.mkt-works-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.mkt-works-logo:hover { opacity: 1; }

/* ============================================================
   HOW IT WORKS (Steps)
   ============================================================ */

.mkt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mkt-space-lg);
  margin-top: var(--mkt-space-xl);
}

.mkt-step {
  text-align: center;
}

.mkt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mkt-brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--mkt-space-md);
}

.mkt-step-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--mkt-space-sm);
}

.mkt-step p {
  color: var(--mkt-text-secondary);
  margin: 0;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */

.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mkt-space-lg);
  margin-top: var(--mkt-space-xl);
}

.mkt-feature-card {
  background: var(--mkt-bg);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: var(--mkt-space-lg);
}

.mkt-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--mkt-brand-light);
  border-radius: 8px;
  margin-bottom: var(--mkt-space-md);
}

.mkt-feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--mkt-space-sm);
}

.mkt-feature-card p {
  color: var(--mkt-text-secondary);
  margin: 0;
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */

.mkt-bottom-cta {
  padding: var(--mkt-space-4xl) 0;
}

.mkt-bottom-cta p {
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-xl);
}

/* ============================================================
   PRICING
   ============================================================ */

.mkt-pricing-section {
  padding: var(--mkt-space-4xl) 0;
}

.mkt-pricing-subtitle {
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mkt-space-sm);
  margin-bottom: var(--mkt-space-xl);
}

.mkt-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-text-secondary);
}

.mkt-toggle-label.mkt-toggle-active {
  color: var(--mkt-text);
}

.mkt-toggle-switch {
  position: relative;
  width: 48px;
  height: 28px;
  background: var(--mkt-bg-alt);
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.mkt-toggle-switch:hover {
  background: #e8e8ed;
}

.mkt-toggle-switch:focus {
  outline: 2px solid var(--mkt-brand);
  outline-offset: 2px;
}

.mkt-toggle-switch[aria-checked="true"] {
  background: var(--mkt-brand);
  border-color: var(--mkt-brand);
}

.mkt-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.mkt-toggle-switch[aria-checked="true"] .mkt-toggle-thumb {
  transform: translateX(20px);
}

.mkt-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mkt-space-lg);
  margin-bottom: var(--mkt-space-3xl);
  text-align: left;
}

.mkt-pricing-card {
  position: relative;
  background: var(--mkt-bg);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: var(--mkt-space-xl);
}

.mkt-pricing-popular {
  border: 2px solid var(--mkt-brand);
}

.mkt-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mkt-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.mkt-pricing-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--mkt-space-md);
}

.mkt-pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--mkt-space-xs);
  margin-bottom: var(--mkt-space-md);
}

.mkt-pricing-price .mkt-display {
  margin: 0;
}

.mkt-pricing-suffix {
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-text-secondary);
}

.mkt-pricing-desc {
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-lg);
}

.mkt-pricing-limits {
  list-style: none;
  margin: 0 0 var(--mkt-space-lg);
  padding: 0;
}

.mkt-pricing-limits li {
  display: flex;
  align-items: center;
  gap: var(--mkt-space-sm);
  padding: var(--mkt-space-sm) 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-text-secondary);
}

.mkt-pricing-limits li svg {
  flex-shrink: 0;
}

.mkt-trial-note {
  text-align: center;
  font-size: 14px;
  color: var(--mkt-success);
  font-weight: 600;
  margin: var(--mkt-space-sm) 0 0;
}

/* All plans include */
.mkt-all-includes {
  margin-top: var(--mkt-space-2xl);
}

.mkt-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mkt-space-md);
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.mkt-include-item {
  display: flex;
  align-items: center;
  gap: var(--mkt-space-sm);
  font-size: 16px;
}

.mkt-include-item svg {
  flex-shrink: 0;
}

.mkt-empty-state {
  color: var(--mkt-text-secondary);
  font-size: 16px;
  padding: var(--mkt-space-2xl) 0;
}

/* ============================================================
   CONTACT
   ============================================================ */

.mkt-contact-card {
  max-width: 480px;
  margin: var(--mkt-space-xl) auto 0;
  background: var(--mkt-bg);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: var(--mkt-space-xl);
}

.mkt-contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-sm);
}

.mkt-contact-email {
  font-size: 18px;
  font-weight: 600;
  color: var(--mkt-brand);
  display: block;
  margin-bottom: var(--mkt-space-md);
}

.mkt-contact-note {
  color: var(--mkt-text-secondary);
  margin: 0;
  font-size: 14px;
}

/* Page subtitles */
.mkt-page-subtitle {
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

.mkt-footer {
  background: #1d1d1f;
  color: #ffffff;
  padding: var(--mkt-space-2xl) 0;
}

.mkt-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--mkt-space-md);
}

.mkt-footer-copy {
  font-size: 14px;
  color: #9ca3af;
}

.mkt-footer-links {
  display: flex;
  gap: var(--mkt-space-lg);
}

.mkt-footer-links a {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mkt-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.mkt-footer-links a:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   SIGNUP
   ============================================================ */

.mkt-signup-section {
  padding: var(--mkt-space-3xl) 0;
}

.mkt-signup-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--mkt-bg);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: var(--mkt-space-xl);
}

.mkt-plan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mkt-brand-light);
  border-radius: 8px;
  padding: var(--mkt-space-md);
  margin-bottom: var(--mkt-space-lg);
  font-size: 14px;
}

.mkt-plan-banner strong {
  font-weight: 600;
}

.mkt-plan-banner a {
  color: var(--mkt-brand);
  font-weight: 600;
  font-size: 14px;
}

.mkt-form-group {
  margin-bottom: var(--mkt-space-lg);
}

.mkt-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mkt-text);
  margin-bottom: var(--mkt-space-xs);
}

.mkt-input {
  display: block;
  width: 100%;
  font-size: 16px;
  font-family: var(--mkt-font);
  line-height: 1.6;
  padding: 12px 16px;
  border: 1px solid var(--mkt-border);
  border-radius: 8px;
  background: var(--mkt-bg);
  color: var(--mkt-text);
  transition: border-color 0.15s ease;
}

.mkt-input::placeholder {
  color: var(--mkt-text-secondary);
}

.mkt-input:hover {
  border-color: #d1d5db;
}

.mkt-input:focus {
  outline: 2px solid var(--mkt-brand);
  outline-offset: 0;
  border-color: var(--mkt-brand);
}

.mkt-input.mkt-input-error {
  border-color: #dc2626;
}

.mkt-field-error {
  font-size: 14px;
  color: #dc2626;
  margin: var(--mkt-space-xs) 0 0;
}

.mkt-field-hint {
  font-size: 14px;
  color: var(--mkt-text-secondary);
  margin: var(--mkt-space-xs) 0 0;
}

.mkt-form-error {
  background: #fef2f2;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: var(--mkt-space-lg);
}

/* Slug composite field */
.mkt-slug-composite {
  display: flex;
  align-items: center;
  border: 1px solid var(--mkt-border);
  border-radius: 8px;
  overflow: hidden;
}

.mkt-slug-prefix,
.mkt-slug-suffix {
  font-size: 14px;
  color: var(--mkt-text-secondary);
  padding: 12px 8px;
  background: var(--mkt-bg-alt);
  white-space: nowrap;
  line-height: 1.6;
}

.mkt-slug-prefix {
  padding-left: 12px;
}

.mkt-slug-suffix {
  padding-right: 12px;
}

.mkt-slug-input {
  border: none;
  border-radius: 0;
  min-width: 0;
  flex: 1;
}

.mkt-slug-input:focus {
  outline: none;
  border: none;
}

.mkt-slug-composite:focus-within {
  outline: 2px solid var(--mkt-brand);
  outline-offset: 0;
}

.mkt-slug-status {
  font-size: 14px;
  margin-top: var(--mkt-space-xs);
  min-height: 20px;
}

.mkt-slug-available {
  color: var(--mkt-success);
  font-weight: 600;
}

.mkt-slug-unavailable {
  color: #dc2626;
  font-weight: 600;
}

/* Signup submit */
.mkt-signup-submit {
  margin-top: var(--mkt-space-sm);
}

.mkt-login-redirect {
  text-align: center;
  font-size: 14px;
  color: var(--mkt-text-secondary);
  margin: var(--mkt-space-lg) 0 0;
}

.mkt-login-redirect a {
  color: var(--mkt-brand);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE — below 768px
   ============================================================ */

@media (max-width: 767px) {
  /* Typography */
  .mkt-display {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
  }

  .mkt-heading,
  .mkt-step-title,
  .mkt-feature-card h3,
  .mkt-pricing-name {
    font-size: 20px;
    line-height: 1.3;
  }

  /* Layout */
  .mkt-container {
    padding-left: var(--mkt-space-md);
    padding-right: var(--mkt-space-md);
  }

  .mkt-section {
    padding: var(--mkt-space-3xl) 0;
  }

  /* Header mobile */
  .mkt-hamburger {
    display: flex;
  }

  .mkt-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--mkt-bg);
    flex-direction: column;
    padding: var(--mkt-space-md);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--mkt-border);
  }

  .mkt-nav.mkt-nav-open {
    display: flex;
  }

  .mkt-nav-link {
    width: 100%;
    padding: var(--mkt-space-md);
    min-height: 44px;
  }

  .mkt-nav .mkt-btn {
    width: 100%;
    margin-top: var(--mkt-space-sm);
  }

  /* Hero */
  .mkt-hero {
    padding: var(--mkt-space-2xl) 0;
  }

  .mkt-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .mkt-hero-ctas .mkt-btn {
    width: 100%;
    max-width: 300px;
  }

  /* Steps */
  .mkt-steps {
    grid-template-columns: 1fr;
    gap: var(--mkt-space-xl);
  }

  /* Feature grid */
  .mkt-feature-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .mkt-pricing-cards {
    grid-template-columns: 1fr;
  }

  .mkt-includes-grid {
    grid-template-columns: 1fr;
  }

  .mkt-bottom-cta {
    padding: var(--mkt-space-2xl) 0;
  }

  /* Footer */
  .mkt-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .mkt-footer-links {
    flex-direction: column;
    gap: var(--mkt-space-sm);
  }

  /* Signup */
  .mkt-signup-card {
    margin: 0 auto;
    padding: var(--mkt-space-lg);
  }

  .mkt-slug-composite {
    flex-wrap: wrap;
  }
}

/* ============================================================
   ONBOARDING / WELCOME PAGE
   ============================================================ */

.onboard-welcome {
  max-width: 640px;
  margin: var(--mkt-space-2xl) auto;
  padding: 0 var(--mkt-space-md);
}

.onboard-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--mkt-text);
  margin: 0 0 var(--mkt-space-xs);
}

.onboard-subheading {
  font-size: 1.125rem;
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-xl);
}

.onboard-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--mkt-border);
  margin-left: 18px;
  padding-left: 0;
}

.onboard-step {
  display: flex;
  align-items: flex-start;
  gap: var(--mkt-space-md);
  padding: var(--mkt-space-lg) 0;
  position: relative;
  transition: opacity 0.3s ease;
}

.onboard-step.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.onboard-step.completed .onboard-step-number {
  background: var(--mkt-success);
  color: #fff;
}

.onboard-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mkt-brand-light);
  color: var(--mkt-brand);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: -19px;
}

.onboard-step-content {
  flex: 1;
  min-width: 0;
}

.onboard-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--mkt-text);
  margin: 0 0 var(--mkt-space-xs);
}

.onboard-step-content p {
  font-size: 0.9375rem;
  color: var(--mkt-text-secondary);
  margin: 0 0 var(--mkt-space-md);
  line-height: 1.5;
}

.onboard-status {
  display: flex;
  align-items: center;
  gap: var(--mkt-space-sm);
}

.onboard-check {
  color: var(--mkt-success);
  font-size: 1.25rem;
  font-weight: 700;
}

/* CSS-only spinner */
.onboard-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--mkt-border);
  border-top-color: var(--mkt-brand);
  border-radius: 50%;
  animation: onboard-spin 0.8s linear infinite;
}

@keyframes onboard-spin {
  to { transform: rotate(360deg); }
}

.onboard-btn-xero {
  display: inline-block;
  padding: 12px 28px;
  background: var(--mkt-brand);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease;
  min-height: 44px;
  line-height: 1.2;
}

.onboard-btn-xero:hover {
  background: var(--mkt-brand-hover);
}

.onboard-btn-xero:active {
  background: var(--mkt-brand-active);
}

.onboard-btn-skip {
  display: inline-block;
  color: var(--mkt-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.onboard-btn-skip:hover {
  color: var(--mkt-text);
}

/* Responsive */
@media (max-width: 768px) {
  .onboard-welcome {
    padding: 0 var(--mkt-space-md);
    margin-top: var(--mkt-space-xl);
  }

  .onboard-heading {
    font-size: 1.5rem;
  }
}
