/* recovery landing page V1.0.0 (prod) · 2026-11-06 · first live release
   V0.8.0 (dev) · 2026-11-06 · hero floating cards
   V0.6.2 (dev) · 2026-11-06 · pricing heading and intro centred
   V0.6.1 · 2026-11-06 · billing and currency toggles stacked and centred
   V0.5.0 (dev) · 2026-11-06 · .rc-intro-copy, .rc-final-copy for the export campaign lines
   V0.4.1 · 2026-11-06 · removed unused .rc-note
   V0.3.0 · 2026-11-05 · no CSS change; version kept in step with index.html
   V0.2.0 · 2026-11-05 · USD/CAD currency toggle
   V0.1.3 · 2026-11-05 · compare table: plan columns centred, feature column left
   V0.0.0 · 2026-11-05 · first mock
   Page styles for /recovery/. Every selector is prefixed .rc- (or scoped under one).
   Mobile-first, min-width queries at 480 / 768 / 1024 only. */

.rc-main {
  font-size: 1rem;
}

.rc-main .faq-answer p {
  font-size: 1rem;
}

.rc-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.rc-section {
  padding: var(--space-section-sm) 0;
  background: var(--color-white);
}

.rc-section-tint {
  background: var(--color-cream);
}

.rc-section-narrow .container {
  max-width: 900px;
}

.rc-intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.rc-intro h2 {
  margin-top: 14px;
}

.rc-intro-copy {
  margin-top: 14px;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--color-muted);
}

.rc-on-dark {
  color: var(--color-white);
}

.rc-shot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(51, 51, 51, 0.1);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

/* ---------- hero ---------- */

.rc-hero {
  background: var(--color-cream);
  padding: 112px 0 var(--space-section-sm);
}

.rc-hero-copy {
  max-width: 780px;
}

.rc-tag {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-text);
}

.rc-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.125rem, 5vw, 4rem);
}

.rc-h1-brand {
  display: block;
  margin-bottom: 12px;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-muted);
}

.rc-lead {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 62ch;
}

.rc-checks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.rc-checks li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

/* A tick drawn in CSS: two borders of a rotated box. */
.rc-checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.2em;
  width: 7px;
  height: 13px;
  border: solid var(--color-accent-text);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.rc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

/* Outline button for light backgrounds; .button-outline in base.css is white-on-dark. */
.rc-button-outline {
  background: transparent;
  color: var(--color-ink);
  border: 2px solid var(--color-ink);
}

.rc-button-outline:hover,
.rc-button-outline:focus-visible {
  background: var(--color-ink);
  color: var(--color-white);
}

.rc-hero-media {
  margin-top: 48px;
}

/* ---------- hero floating cards ----------
   Real text, not images, so they stay sharp. Phones: the rate and export cards
   sit in a row under the screenshot. From 768px they float over its edges and
   drift. Reduced motion stops the drift (base.css shortens every animation). */
.rc-hero {
  overflow: hidden;
}

.rc-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rc-hero-stage .rc-shot {
  grid-column: 1 / -1;
}

/* Soft green glow behind the product. */
.rc-hero-stage::before {
  content: '';
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  background: radial-gradient(closest-side, var(--color-accent-tint-bg), transparent);
  pointer-events: none;
}

.rc-hero-stage > * {
  position: relative;
  z-index: 1;
}

.rc-float {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(51, 51, 51, 0.08);
  box-shadow: 0 18px 40px rgba(26, 42, 14, 0.16);
  animation: rc-rise 0.7s ease-out both;
}

.rc-float-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-muted);
}

.rc-float-big {
  margin-top: 2px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.rc-float-chip {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-text);
  font-size: var(--text-xs);
  font-weight: 700;
}

.rc-float-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rc-float-files span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
}

.rc-float-toast {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: 1.35;
}

.rc-float-tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  position: relative;
}

.rc-float-tick::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid var(--color-forest-1);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

@keyframes rc-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rc-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (min-width: 768px) {
  .rc-hero-stage {
    display: block;
    margin-bottom: 36px;
  }

  .rc-float {
    position: absolute;
    animation: rc-rise 0.7s ease-out both, rc-drift 6s ease-in-out 0.7s infinite;
  }

  .rc-float-rate {
    left: 3%;
    top: -36px;
    min-width: 220px;
  }

  .rc-float-toast {
    display: flex;
    right: 4%;
    top: 10%;
    animation-delay: 0.5s, 1.2s;
  }

  .rc-float-export {
    right: 6%;
    bottom: -36px;
    animation-delay: 0.9s, 1.6s;
  }
}

/* ---------- factual strip ---------- */

.rc-strip {
  background: var(--color-white);
  border-block: 1px solid rgba(51, 51, 51, 0.08);
}

.rc-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding-block: 22px;
  font-weight: 700;
  font-size: var(--text-sm);
  text-align: center;
}

/* ---------- steps and small cards ---------- */

.rc-steps,
.rc-mini-grid,
.rc-gallery,
.rc-plans {
  display: grid;
  gap: 18px;
}

.rc-step h3,
.rc-mini h3 {
  margin-bottom: 10px;
}

.rc-step p,
.rc-mini p {
  color: var(--color-muted);
  line-height: 1.6;
}

.rc-step-num {
  display: block;
  margin-bottom: 14px;
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-accent-text);
}

.rc-mini-grid {
  margin-top: 56px;
}

/* ---------- feature rows ---------- */

.rc-feature {
  display: grid;
  gap: 24px;
  align-items: center;
}

.rc-feature + .rc-feature {
  margin-top: 56px;
}

.rc-feature-copy h3 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.rc-feature-copy p {
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 52ch;
}

/* ---------- gallery ---------- */

.rc-gallery {
  align-items: start;
}

.rc-gallery-item figcaption {
  margin-top: 12px;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ---------- dark bands ---------- */

.rc-band,
.rc-final {
  background: var(--gradient-forest);
  padding: var(--space-section-sm) 0;
}

.rc-band-inner {
  max-width: 1180px;
  display: grid;
  gap: 28px;
  justify-items: start;
}

.rc-band h2 {
  margin-top: 12px;
}

.rc-band-copy {
  margin-top: 16px;
  max-width: 62ch;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.rc-link-on-dark {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-link-on-dark:hover,
.rc-link-on-dark:focus-visible {
  color: var(--color-white);
}

.rc-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.rc-final-inner {
  max-width: 900px;
  text-align: center;
}

.rc-final-copy {
  margin: 16px auto 0;
  max-width: 56ch;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.rc-final-actions {
  justify-content: center;
}

/* ---------- pricing ---------- */

/* Yearly/Monthly is a native radio group, so it works from the keyboard and with a
   screen reader with no script. Yearly is checked in the HTML, so yearly prices show
   with JS off; :has() swaps them when Monthly is picked. */
.rc-billing {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 28px;
  padding: 4px;
  border: 1px solid rgba(51, 51, 51, 0.16);
  border-radius: var(--radius-pill);
  background: var(--color-white);
}

.rc-billing input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rc-billing label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
}

.rc-billing input:checked + label {
  background: var(--color-ink);
  color: var(--color-white);
}

.rc-billing input:focus-visible + label {
  outline: 2px solid var(--color-accent-text);
  outline-offset: 2px;
}

/* The pricing heading and intro line centre over the stacked toggles. */
#pricing .rc-intro {
  margin-inline: auto;
  text-align: center;
}

#pricing .rc-intro-copy {
  margin-inline: auto;
}

/* Billing period and currency stack, one pill group above the other, centred. */
.rc-toggles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.rc-toggles .rc-billing {
  margin: 0;
}

/* USD/CAD works like Yearly/Monthly: USD is checked in the HTML, :has() swaps to CAD. */
.rc-cad,
.rc-monthly {
  display: none;
}

#pricing:has(#rc-cur-cad:checked) .rc-cad {
  display: inline;
}

#pricing:has(#rc-cur-cad:checked) .rc-usd {
  display: none;
}

#pricing:has(#rc-billing-month:checked) .rc-monthly {
  display: block;
}

#pricing:has(#rc-billing-month:checked) .rc-yearly {
  display: none;
}

.rc-plan {
  display: flex;
  flex-direction: column;
}

.rc-plan-featured {
  border: 2px solid var(--color-accent);
}

.rc-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-forest-1);
  font-size: var(--text-xs);
  font-weight: 900;
}

.rc-plan-name {
  font-size: var(--text-xl);
}

.rc-price {
  margin-top: 14px;
  font-weight: 700;
  color: var(--color-muted);
}

.rc-amount {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-ink);
}

.rc-billed {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.rc-plan-list {
  margin-bottom: 20px;
}

.rc-addon {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Pushes the button to the card's foot so the three line up. */
.rc-plan-cta {
  margin-top: auto;
}

.rc-enterprise {
  margin-top: 18px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.rc-enterprise-price {
  margin-top: 8px;
  font-weight: 900;
}

.rc-enterprise-list {
  margin-top: 6px;
  color: var(--color-muted);
}

.rc-small-print {
  margin-top: 24px;
  display: grid;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.rc-compare {
  margin-top: 28px;
}

.rc-compare summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-accent-text);
  cursor: pointer;
}

/* The table scrolls inside its own box at phone width, never the page. */
.rc-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(51, 51, 51, 0.08);
}

.rc-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.rc-table th,
.rc-table td {
  padding: 12px 14px;
  text-align: center;
  vertical-align: top;
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}

/* Feature names (first column) stay left; plan values centre under their plan. */
.rc-table th:first-child {
  text-align: left;
}

.rc-table thead th {
  font-weight: 900;
}

.rc-table tbody th {
  font-weight: 700;
}

/* ---------- breakpoints ---------- */

@media (min-width: 768px) {
  .rc-steps,
  .rc-mini-grid,
  .rc-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .rc-band-inner,
  .rc-enterprise {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .rc-hero {
    padding-top: 128px;
  }

  /* Text left, product right, so the product is on the first screen. */
  .rc-hero-inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 48px;
    align-items: center;
  }

  .rc-hero h1 {
    font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  }

  .rc-hero-media {
    margin-top: 0;
  }

  /* Smaller screenshot in the column: the cards hang further off its edges. */
  .rc-float-rate {
    left: -9%;
    top: -44px;
  }

  .rc-float-toast {
    right: -2%;
    top: 22%;
  }

  .rc-float-export {
    right: 2%;
    bottom: -48px;
  }

  .rc-plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .rc-feature {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .rc-feature-flip .rc-feature-copy {
    order: 2;
  }
}
