/* ============================================
   WEBSPARKS — COMPONENTS STYLESHEET
   Reusable UI components using CSS custom properties
   ============================================ */

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge--accent {
  background-color: rgba(45, 125, 210, 0.1);
  color: var(--color-accent);
}

.badge--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.badge--surface {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ============================================
   CARD
   ============================================ */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-3px);
}

.card__body {
  padding: var(--space-xl);
}

.card__header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.card__footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

/* ============================================
   ALERT / NOTICE
   ============================================ */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.alert--info {
  background-color: rgba(45, 125, 210, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(45, 125, 210, 0.2);
}

.alert--success {
  background-color: rgba(52, 168, 83, 0.08);
  color: #1a7a35;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.alert--warning {
  background-color: rgba(251, 188, 5, 0.1);
  color: #7a5800;
  border: 1px solid rgba(251, 188, 5, 0.3);
}

.alert--error {
  background-color: rgba(217, 48, 37, 0.08);
  color: #a50e0e;
  border: 1px solid rgba(217, 48, 37, 0.2);
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-2xl);
}

.divider--thick {
  border-top-width: 2px;
}

.divider--accent {
  border-color: var(--color-accent);
}

/* ============================================
   ICON BOX
   ============================================ */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.icon-box--sm {
  width: 36px;
  height: 36px;
}

.icon-box--lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
}

.icon-box--accent {
  background-color: rgba(45, 125, 210, 0.1);
  color: var(--color-accent);
}

.icon-box--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.icon-box--surface {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.checklist__item::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: rgba(45, 125, 210, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%232D7DD2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.checklist--dark .checklist__item {
  color: rgba(255, 255, 255, 0.8);
}

.checklist--dark .checklist__item::before {
  background-color: rgba(65, 179, 245, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%2341B3F5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
}

.testimonial__quote {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__quote::before {
  content: '\201C';
  color: var(--color-accent);
  font-size: 2rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.25rem;
}

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

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  gap: var(--space-md);
  transition: background-color var(--transition-fast);
}

.faq-item__question:hover {
  background-color: var(--color-surface);
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq-item[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: none;
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--color-border);
}

.faq-item[aria-expanded="true"] .faq-item__answer {
  display: block;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding-top: var(--space-2xl);
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.pagination__link:hover,
.pagination__link.is-current {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ============================================
   NOTICE BAR (Announcement)
   ============================================ */
.notice-bar {
  background-color: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 0.625rem var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
}

.notice-bar a {
  color: var(--color-white);
  text-decoration: underline;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    opacity: 0.5;
  }
}

/* ============================================
   HIGHLIGHT / CALLOUT BOX
   ============================================ */
.callout {
  background: linear-gradient(135deg, rgba(45, 125, 210, 0.05) 0%, rgba(65, 179, 245, 0.08) 100%);
  border: 1px solid rgba(45, 125, 210, 0.15);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.callout--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: var(--color-highlight);
}

.callout__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.callout--dark .callout__heading {
  color: var(--color-white);
}

.callout__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.callout--dark .callout__text {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   LINK WITH ARROW
   ============================================ */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.arrow-link:hover {
  gap: var(--space-sm);
  color: var(--color-primary);
}

.arrow-link--white {
  color: var(--color-white);
}

.arrow-link--white:hover {
  color: var(--color-highlight);
}

.arrow-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   TABLE
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th {
  background-color: var(--color-surface);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
}

.data-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: rgba(244, 247, 251, 0.5);
}

/* ============================================
   SKIP TO COMPARISON TABLE (Platform page)
   ============================================ */
.comparison-table .check-yes {
  color: #34a853;
  font-size: 1.125rem;
}

.comparison-table .check-partial {
  color: var(--color-accent);
  font-size: 1.125rem;
}

.comparison-table .check-no {
  color: #d93025;
  font-size: 1rem;
}

/* ============================================================================
   BLOCK COMPONENTS — BEM-named ACF block styles
   ============================================================================ */

/* ── Block: Page Hero ────────────────────────────────────────────────────── */
/* Background image is set via inline style from ACF. Fallback: solid primary colour. */
.ws-page-hero {
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: calc(var(--space-3xl) + 64px);
  position: relative;
  overflow: visible;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 52px),
    calc(50% + 52px) calc(100% - 52px),
    50% 100%,
    calc(50% - 52px) calc(100% - 52px),
    0 calc(100% - 52px)
  );
}

.ws-page-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-highlight);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.ws-page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.ws-page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: var(--space-2xl);
}

.ws-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.ws-page-hero__scroll-cta {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  z-index: 10;
  transition: color 0.2s;
}

.ws-page-hero__scroll-cta:hover,
.ws-page-hero__scroll-cta:focus-visible {
  color: var(--color-highlight);
  outline: none;
}

/* ── Block: Intro Split ──────────────────────────────────────────────────── */
.ws-intro-split__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .ws-intro-split__layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ws-intro-split__layout {
    gap: var(--space-4xl);
  }
}

.ws-intro-split__para {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.ws-intro-split__para:last-of-type {
  margin-bottom: 0;
}

.ws-intro-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.ws-intro-split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

.ws-intro-split__icon {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ── Block: Service Cards ────────────────────────────────────────────────── */
.ws-service-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .ws-service-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ws-service-cards__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ws-service-cards__card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-top-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.ws-service-cards__card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-4px);
  border-top-color: var(--color-primary);
}

.ws-service-cards__icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.ws-service-cards__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.ws-service-cards__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.ws-service-cards__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.ws-service-cards__link:hover {
  gap: var(--space-sm);
  color: var(--color-primary);
}

.ws-service-cards__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Block: Feature Grid ─────────────────────────────────────────────────── */
.ws-feature-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .ws-feature-grid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ws-feature-grid__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ws-feature-grid__item {
  padding: var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
}

.ws-feature-grid__icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.ws-feature-grid__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.ws-feature-grid__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Block: Checklist Section ────────────────────────────────────────────── */
.ws-checklist-section__body {
  max-width: 760px;
}

/* ── Block: Process Steps ────────────────────────────────────────────────── */
.ws-process-steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .ws-process-steps__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .ws-process-steps__list::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
    z-index: 0;
  }
}

.ws-process-steps__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ws-process-steps__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-accent);
}

.ws-process-steps__label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.ws-process-steps__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── Block: CTA Section ──────────────────────────────────────────────────── */
.ws-cta-section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.ws-cta-section {
  background-color: var(--color-primary);
  padding-block: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ws-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(45, 125, 210, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ws-cta-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.ws-cta-section__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-inline: auto;
  position: relative;
}

.ws-cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  position: relative;
}

/* Surface variant — light background with dark text */
.ws-cta-section.section--surface {
  background-color: var(--color-surface);
}

.ws-cta-section.section--surface::before {
  display: none;
}

.ws-cta-section.section--surface .ws-cta-section__eyebrow {
  color: var(--color-accent);
}

.ws-cta-section.section--surface .ws-cta-section__heading {
  color: var(--color-primary);
}

.ws-cta-section.section--surface .ws-cta-section__sub {
  color: var(--color-text-muted);
}

/* ── Block: Platform Cards ───────────────────────────────────────────────── */
.ws-platform-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .ws-platform-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ws-platform-cards__card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.ws-platform-cards__card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-4px);
}

.ws-platform-cards__logo {
  display: block;
  height: 72px;
  width: auto;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  object-fit: contain;
  object-position: center;
}

.ws-platform-cards__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.ws-platform-cards__desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.ws-platform-cards__features {
  text-align: left;
  margin-bottom: var(--space-lg);
  list-style: none;
  padding: 0;
}

.ws-platform-cards__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-block: 0.375rem;
  border-bottom: 1px solid var(--color-border);
}

.ws-platform-cards__features li:last-child {
  border-bottom: none;
}

.ws-platform-cards__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ws-platform-cards__best-for {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  text-align: left;
}

.ws-platform-cards__best-for strong {
  color: var(--color-primary);
}

.ws-platform-cards__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.625rem var(--space-lg);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.ws-platform-cards__cta:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ── Block: FAQ Section ──────────────────────────────────────────────────── */
.ws-faq-section .faq__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.ws-faq-section .faq__tab {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.ws-faq-section .faq__tab:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.ws-faq-section .faq__tab--active {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.ws-faq-section .faq__panels {
  max-width: 760px;
  margin-inline: auto;
}

.ws-faq-section .faq__panel {
  display: block;
}

.ws-faq-section .faq__panel[hidden] {
  display: none;
}

.ws-faq-section .faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ws-faq-section .faq__item {
  border-bottom: 1px solid var(--color-border);
}

.ws-faq-section .faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.ws-faq-section .faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

@media (min-width: 640px) {
  .ws-faq-section .faq__question {
    font-size: 1.0625rem;
  }
}

.ws-faq-section .faq__question:hover {
  color: var(--color-accent);
}

.ws-faq-section .faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.ws-faq-section .faq__item--open .faq__chevron {
  transform: rotate(180deg);
}

.ws-faq-section .faq__answer {
  display: block;
  overflow: hidden;
}

.ws-faq-section .faq__answer[hidden] {
  display: none;
}

.ws-faq-section .faq__answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ws-faq-section .faq__answer-inner p:last-child {
  margin-bottom: 0;
}
