/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #2a1c0f;
  --card: #ffffff;
  --card-foreground: #2a1c0f;
  --primary: #E31837;
  --primary-foreground: #fff8f3;
  --primary-soft: rgba(205, 34, 21, 0.1);
  --secondary: #eaf2fb;
  --secondary-foreground: #103d6b;
  --muted: #f4f8fc;
  --muted-foreground: #62758a;
  --border: #d1dfed;
  --trustpilot-green: #00b67a;
  --star-empty: #dcdce6;
  --radius: 0.9rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-3xl: calc(var(--radius) * 2.2);
  --font-sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout shell
   ========================================================================== */
main {
  min-height: 100vh;
  background: var(--background);
}

.container {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-3xl);
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .card {
    padding: 2.5rem;
  }
}

/* ==========================================================================
   Floating announcement toast
   ========================================================================== */
.announcement-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 0;
  pointer-events: none;
}

.announcement-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  transform: translateY(-6rem);
  opacity: 0;
}

.announcement-pill.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.announcement-icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--primary-soft);
}

.announcement-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.announcement-check {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 999px;
  background: var(--trustpilot-green);
}

.announcement-check svg {
  width: 0.625rem;
  height: 0.625rem;
  color: #fff;
}

.announcement-text {
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.3;
}

.announcement-name {
  font-weight: 600;
  color: var(--foreground);
}

.announcement-claim {
  font-weight: 400;
  color: var(--muted-foreground);
}

.announcement-amount {
  font-weight: 600;
  color: var(--primary);
}

.announcement-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.announcement-dot {
  margin-left: 0.25rem;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--trustpilot-green);
}

/* ==========================================================================
   Heading / identity
   ========================================================================== */
.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.identity-mark {
  height: 0.625rem;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(227, 24, 55, 0.3);
}

@media (min-width: 640px) {
  .identity-mark {
    height: 0.75rem;
    width: 3.5rem;
  }
}

.identity-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .identity-label {
    font-size: 0.875rem;
  }
}

.divider {
  margin: 0.75rem 0;
  height: 1px;
  width: 100%;
  background: var(--border);
}

@media (min-width: 640px) {
  .divider {
    margin: 2rem 0;
  }
}

.headline {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .headline {
    font-size: 1.875rem;
  }
}

/* ==========================================================================
   Offer card
   ========================================================================== */
.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  box-shadow: 0 20px 35px rgba(227, 24, 55, 0.3);
}

@media (min-width: 640px) {
  .offer-card {
    padding: 2.5rem 2.25rem;
    margin-top: 1.5rem;
  }
}

.offer-sparkle {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  width: 1rem;
  height: 1rem;
  color: rgba(253, 244, 243, 0.4);
}

@media (min-width: 640px) {
  .offer-sparkle {
    right: 1.5rem;
    top: 1.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }
}

.offer-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(253, 244, 243, 0.7);
}

@media (min-width: 640px) {
  .offer-eyebrow {
    font-size: 0.75rem;
  }
}

.offer-amount {
  margin: 0.25rem 0 0;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .offer-amount {
    margin-top: 0.75rem;
    font-size: 4.5rem;
  }
}

.offer-caption {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(253, 244, 243, 0.75);
}

@media (min-width: 640px) {
  .offer-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Steps list
   ========================================================================== */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0.125rem 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-2xl);
}

@media (min-width: 640px) {
  .steps-list {
    padding: 0.5rem 1.75rem;
  }
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.steps-list li:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .steps-list li {
    gap: 1rem;
    padding: 1rem 0;
  }
}

.step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
}

.step-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .step-label {
    font-size: 1rem;
  }
}

.step-highlight {
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   Trust badges + viewer count
   ========================================================================== */
.trust-section {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .trust-section {
    margin-top: 2rem;
    gap: 1.5rem;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .trust-badges {
    gap: 1.5rem;
    font-size: 0.875rem;
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-badge svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .trust-badge svg {
    width: 1rem;
    height: 1rem;
  }
}

.trust-dot {
  flex-shrink: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--border);
  margin-right: 0.75rem;
}

@media (min-width: 640px) {
  .trust-dot {
    margin-right: 0;
  }
}

.viewer-pill {
  margin: 0 auto;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--secondary);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .viewer-pill {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.viewer-pill svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .viewer-pill svg {
    width: 1rem;
    height: 1rem;
  }
}

.viewer-count {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--foreground);
}

.viewer-label {
  color: var(--muted-foreground);
}

.viewer-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--trustpilot-green);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-button {
  margin-top: 0.75rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-xl);
  background: var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--primary-foreground);
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(227, 24, 55, 0.4);
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #b5122b;
}

.cta-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .cta-button {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
  }
}

/* ==========================================================================
   Rating strip
   ========================================================================== */
.rating-section {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rating-strip {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .rating-strip {
    gap: 0.75rem;
    padding: 1rem;
  }
}

.rating-star-lead {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--trustpilot-green);
  fill: var(--trustpilot-green);
}

.rating-name {
  font-weight: 700;
  color: var(--foreground);
}

.rating-sep {
  width: 1px;
  height: 1rem;
  background: var(--border);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.rating-star {
  position: relative;
  display: flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.rating-star svg {
  width: 1rem;
  height: 1rem;
}

.rating-star .empty {
  position: absolute;
  color: var(--star-empty);
  fill: var(--star-empty);
}

.rating-star .filled-wrap {
  position: absolute;
  height: 1rem;
  overflow: hidden;
}

.rating-star .filled-wrap svg {
  color: var(--trustpilot-green);
  fill: var(--trustpilot-green);
}

.rating-score {
  font-weight: 700;
  color: var(--foreground);
}

.rating-caption {
  color: var(--muted-foreground);
}

/* ==========================================================================
   Trust comments carousel
   ========================================================================== */
.comments-viewport {
  width: 100%;
  overflow: hidden;
}

.comments-track {
  display: flex;
  width: 100%;
  transition: transform 0.7s ease-in-out;
}

.comments-page {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .comments-page {
    gap: 0.75rem;
  }
}

.comment-card {
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.375rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 0.75rem 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .comment-card {
    padding: 0.75rem 1rem;
  }
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.comment-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
}

.comment-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--trustpilot-green);
}

.comment-check svg {
  width: 0.625rem;
  height: 0.625rem;
  color: #fff;
}

.comment-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .comment-name {
    font-size: 0.875rem;
  }
}

.comment-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--trustpilot-green);
}

.comment-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.comment-stars svg {
  width: 0.625rem;
  height: 0.625rem;
  color: var(--trustpilot-green);
  fill: var(--trustpilot-green);
}

@media (min-width: 640px) {
  .comment-stars svg {
    width: 0.75rem;
    height: 0.75rem;
  }
}

.comment-text {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .comment-text {
    font-size: 0.75rem;
  }
}

.comment-time {
  margin: 0;
  font-size: 0.5625rem;
  color: rgba(138, 107, 103, 0.7);
}

@media (min-width: 640px) {
  .comment-time {
    font-size: 0.6875rem;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  margin-top: 3rem;
}

.faq-heading {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

.faq-accordion {
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-2xl);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: none;
  background: var(--card);
  padding: 1rem;
  text-align: left;
  transition: background 0.15s ease;
}

@media (min-width: 640px) {
  .faq-question {
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
}

.faq-item.is-open .faq-question {
  background: var(--primary-soft);
}

.faq-question-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .faq-question-text {
    font-size: 1rem;
  }
}

.faq-item.is-open .faq-question-text {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  background: var(--primary-soft);
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-disclaimer {
  max-width: 24rem;
  margin: 0 auto;
  font-size: 0.625rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-disclaimer .title {
  font-weight: 600;
  color: var(--foreground);
}

.footer-copyright {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.footer-links {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: var(--foreground);
}
