@import './fonts.css';
@import './theme.css';

:root {
    --ld-green: #6DB380;
    --ld-green-hover: #5aa16c;
    --ld-teal: #5bb6a9;
    --ld-dark: #3d4043;
    --ld-dark-nav: #464A53;
    --ld-bg: #f4f7f9;
}

body.builder-mode {
    background-color: var(--ld-bg);
}

/* Global Overrides for Builder Mode */
.builder-mode .bg-primary {
    background-color: var(--ld-green) !important;
}

.builder-mode .text-primary {
    color: var(--ld-green) !important;
}

.builder-mode .hover\:bg-primary-hover:hover {
    background-color: var(--ld-green-hover) !important;
}

.builder-mode .peer-checked\:border-primary:checked ~ div,
.builder-mode .peer-checked\:border-primary {
    border-color: var(--ld-green) !important;
}

.builder-mode .peer-checked\:bg-accent:checked ~ div,
.builder-mode .peer-checked\:bg-accent {
    background-color: #f0fdfa !important; /* Light teal/green */
}

.builder-mode .text-primary {
    color: var(--ld-green) !important;
}

.builder-mode input:focus, 
.builder-mode textarea:focus, 
.builder-mode select:focus {
    border-color: var(--ld-green) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 181, 122, 0.2);
}


.builder-mode button[type="submit"], 
.builder-mode .btn-primary {
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.ld-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border: 1px solid #e2e8f0;
    background: #f8f9fa;
    color: #696c71;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}

.group:hover .ld-toggle-btn,
.ld-toggle-btn:hover, 
input:checked + .ld-toggle-btn,
.ld-toggle-btn.active {
    border: 2px solid var(--ld-teal);
    color: var(--ld-teal);
    background: white;
    padding: 9px 39px; /* Adjust for 2px border to maintain size */
}



.ld-nav-bar {
    background-color: var(--ld-dark-nav);
    color: white;
}

.ld-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ld-btn-primary {
    background-color: var(--ld-green);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.ld-btn-primary:hover {
    background-color: var(--ld-green-hover);
}

.ld-progress-container {
    height: 4px;
    background-color: #e2e8f0;
    width: 100%;
}

.ld-progress-bar {
    height: 100%;
    background-color: var(--ld-green);
    transition: width 0.5s ease;
}

.ld-selection-card {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ld-selection-card:hover {
    border-color: var(--ld-teal);
    background-color: #f0fdfa;
}

.ld-selection-card.selected {
    border: 3px solid var(--ld-teal);
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(91, 182, 169, 0.1);
}

.builder-mode .bg-white.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.ld-btn-primary, .builder-mode button[type="submit"] {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* Print Styles for Legal Documents */
@media print {
  @page {
    size: A4;
    margin: 1in;
  }
  
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  
  .page-break-after {
    page-break-after: always;
    break-after: page;
  }
  
  /* Hide navigation and UI elements when printing */
  header, footer, nav, .no-print {
    display: none !important;
  }
  
  /* Ensure text is black for printing */
  * {
    color: black !important;
  }
  
  /* Preserve gold color for headers */
  h1[style*="color: #D4AF37"] {
    color: #D4AF37 !important;
  }
  
  /* Preserve gray backgrounds */
  .bg-gray-300 {
    background-color: #D1D5DB !important;
  }
}

/* Home hero and discovery (clear value prop, search, categories — original SA copy) */
.hero-bg {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 480px;
    height: auto;
    position: relative;
    padding-bottom: 2rem;
}

/* Absolute .hero-overlap-card does not affect hero height; reserve space so the category strip is not covered */
@media (min-width: 640px) {
    .hero-bg {
        padding-bottom: clamp(19rem, 34vw, 32rem);
    }
}

.hero-overlap-card {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 20;
}

@media (max-width: 639px) {
    .hero-bg {
        min-height: 0;
        padding: 1.25rem 0 2rem;
    }

    .hero-overlap-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .hero-overlap-card h1 {
        font-size: 1.35rem;
    }
}

.hero-overlap-card h1 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.hero-overlap-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-overlap-card .hero-lead {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    font-size: 0.9375rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.25rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.14s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.hero-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 182, 169, 0.45);
}

.hero-cta--primary {
    background-color: #6db380;
    color: #fff;
    border-color: #5aa16c;
    box-shadow: 0 2px 12px rgba(109, 179, 128, 0.38);
}

.hero-cta--primary:hover {
    background-color: #5fa374;
    border-color: #4f9062;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(82, 148, 98, 0.4);
}

.hero-cta--primary:active {
    transform: translateY(0);
}

.hero-cta--secondary {
    background: #fff;
    color: #374151;
    border-color: #e5e7eb;
}

.hero-cta--secondary:hover {
    border-color: #5bb6a9;
    color: #0f766e;
    background: #f0fdfa;
}

.home-hero-label {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 0.5rem;
}

.doc-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

@media (min-width: 640px) {
    .doc-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem 1rem;
        max-width: 720px;
    }
}

.doc-chip-grid .doc-chip {
    margin: 0;
    min-width: 0;
}

.doc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1.5px solid #0f5132;
    border-radius: 8px;
    color: #0f5132;
    font-size: 15px;
    font-weight: 600;
    margin: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: white;
}

.doc-chip:hover {
    border-color: #0f5132;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.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;
}

.main-search-container {
    margin-top: 32px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.main-search-input {
    width: 100%;
    height: 54px;
    padding: 0 3.25rem 0 20px;
    border: 1px solid #ccc;
    border-radius: 27px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.main-search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background-color 0.15s;
}

.main-search-submit:hover {
    color: #00a88f;
    background-color: rgba(0, 168, 143, 0.08);
}

.accomplish-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.accomplish-heading {
    font-size: 1.375rem;
    line-height: 1.25;
    font-weight: 700;
    color: #374151;
    margin: 0 auto;
    max-width: 42rem;
}

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

.accomplish-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem 1.5rem;
    max-width: 52rem;
    margin: 2.25rem auto 0;
    text-align: left;
}

@media (min-width: 768px) {
    .accomplish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 2.5rem;
        margin-top: 2.5rem;
    }
}

.accomplish-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .accomplish-item {
        padding: 0.45rem 0;
    }
}

.accomplish-item:hover {
    color: #00a88f;
}

.accomplish-item:hover .accomplish-item-icon {
    opacity: 1;
}

.accomplish-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f0fdfa 0%, #ecfdf5 100%);
    opacity: 0.95;
    transition: opacity 0.2s;
}

/* Lucide replaces <i data-lucide> with <svg>; target both for sizing/color */
.accomplish-item-icon :is(i, svg) {
    width: 22px;
    height: 22px;
    color: #00a88f;
}

.accomplish-grid .accomplish-item:nth-child(4n + 2) .accomplish-item-icon :is(i, svg) {
    color: #0d9488;
}

.accomplish-grid .accomplish-item:nth-child(4n + 3) .accomplish-item-icon :is(i, svg) {
    color: #059669;
}

.accomplish-grid .accomplish-item:nth-child(4n + 4) .accomplish-item-icon :is(i, svg) {
    color: #0891b2;
}

.accomplish-item-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    padding-top: 8px;
}

@media (min-width: 640px) {
    .accomplish-item-text {
        font-size: 16px;
        padding-top: 9px;
    }
}

/* Grouped accomplish cards (homepage) */
.accomplish-section--groups {
    padding: 4rem 0 5rem;
    text-align: left;
}

.accomplish-section-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .accomplish-section-inner {
        padding: 0 1.5rem;
    }
}

.accomplish-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.accomplish-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.accomplish-section-lead {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.5;
}

.accomplish-groups-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .accomplish-groups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

@media (min-width: 1280px) {
    .accomplish-groups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.accomplish-group-card {
    background: #fff;
    border: 1.5px solid #e9eef3;
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.accomplish-group-card:hover {
    border-color: #b8dfc4;
    box-shadow: 0 8px 28px rgba(109, 179, 128, 0.1);
}

.accomplish-group-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f3f4f6;
}

.accomplish-group-emoji {
    font-size: 1.65rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.accomplish-group-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2535;
    margin: 0;
    line-height: 1.35;
}

.accomplish-group-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
    line-height: 1.35;
}

.accomplish-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.accomplish-doc-item + .accomplish-doc-item {
    border-top: 1px solid #f3f4f6;
}

.accomplish-doc-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.15rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.15s;
}

a.accomplish-doc-link:hover {
    color: #2d7a48;
}

a.accomplish-doc-link:hover .accomplish-doc-name {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.accomplish-doc-link--static {
    cursor: default;
}

.accomplish-doc-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.accomplish-doc-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
    flex-shrink: 0;
}

a.accomplish-doc-link:hover .accomplish-doc-price {
    color: #047857;
}

/* Trust bar (home — under categories) */
.home-trust-bar {
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1rem 1.25rem;
}

.home-trust-bar-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.home-trust-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.home-trust-bar-icon {
    font-size: 1rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .home-trust-bar {
        padding: 1.125rem 1.5rem 1.375rem;
    }

    .home-trust-bar-inner {
        gap: 1rem 2.5rem;
    }

    .home-trust-bar-item {
        font-size: 0.875rem;
    }
}

/* Pricing hint (home — light version) */
.home-pricing-hint {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1rem 1.5rem;
    text-align: center;
}

.home-pricing-hint-inner {
    max-width: 36rem;
    margin: 0 auto;
}

.home-pricing-hint-lead {
    margin: 0 0 0.75rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #374151;
}

.home-pricing-hint-lead strong {
    font-weight: 800;
    color: #059669;
}

.home-pricing-hint-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
}

.home-pricing-hint-list li {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Payment methods (home — after How it Works) */
.home-payments {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 1rem 3rem;
}

.home-payments-inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.home-payments-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

@media (min-width: 640px) {
    .home-payments-title {
        font-size: 1.25rem;
    }
}

.home-payments-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.home-payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.home-payment-logo:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.home-payment-logo img {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 2rem;
    max-height: 2rem;
}

.home-payment-logo--wide img {
    height: 2rem;
    max-height: 2rem;
}

@media (min-width: 640px) {
    .home-payment-logo img {
        height: 2.25rem;
        max-height: 2.25rem;
    }

    .home-payment-logo--wide img {
        height: 2.25rem;
        max-height: 2.25rem;
    }
}

.home-payments-note {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.5;
}

/* Legal notices (home — above footer) */
.home-legal-notices {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 1rem 2.5rem;
}

.home-legal-notices-inner {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-legal-notice {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.65;
    color: #6b7280;
    text-align: center;
}

.home-legal-notice--popia {
    color: #4b5563;
    font-weight: 500;
}

/* Legal policy pages */
.legal-page {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 1rem 4rem;
}

.legal-page-inner {
    max-width: 48rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.25rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
    .legal-page-inner {
        padding: 2.5rem 2.5rem 3rem;
    }
}

.legal-page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-page-icon {
    display: block;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-page-header h1 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .legal-page-header h1 {
        font-size: 1.625rem;
    }
}

.legal-page-updated {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.legal-page-body section {
    margin-bottom: 1.75rem;
}

.legal-page-body h2 {
    margin: 0 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
}

.legal-page-body h3 {
    margin: 1rem 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #374151;
}

.legal-page-body p,
.legal-page-body li {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #4b5563;
}

.legal-page-body ul {
    margin: 0.5rem 0 0.75rem;
    padding-left: 1.25rem;
}

.legal-page-body a {
    color: #0f766e;
    font-weight: 600;
    text-decoration: underline;
}

.legal-page-body a:hover {
    color: #115e59;
}

.legal-callout {
    margin-top: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-left: 3px solid #6db380;
    background: #f0fdf4;
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
}

.legal-contact-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.legal-contact-block h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.legal-contact-block p {
    margin: 0.35rem 0;
    font-size: 0.9375rem;
    color: #4b5563;
}

.legal-contact-block a {
    color: #0f766e;
    font-weight: 600;
}

/* Cookie consent notice */
.cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    max-width: 42rem;
    margin: 0 auto;
    background: #1f2937;
    color: #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .cookie-notice {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
}

.cookie-notice[hidden] {
    display: none !important;
}

.cookie-notice p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.cookie-notice a {
    color: #fcd34d;
    text-decoration: underline;
}

.cookie-notice-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-notice-btn {
    border: 0;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-notice-btn--accept {
    background: #6db380;
    color: #fff;
}

.cookie-notice-btn--reject {
    background: transparent;
    color: #d1d5db;
    border: 1px solid #4b5563;
}

/* Trust strip (home) — legacy */
.home-trust-strip {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.home-trust-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.home-trust-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.home-trust-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00a88f;
    text-decoration: none;
}

.home-trust-link:hover {
    text-decoration: underline;
}

/* Category strip under hero */
.home-category-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 1.5rem;
    padding: 1.125rem 0 0.875rem;
}

.home-category-nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .home-category-nav-inner {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0 1.5rem;
    }
}

.home-category-nav-label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-category-nav-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.home-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.home-category-pill:hover {
    border-color: #5bb6a9;
    background: #f0fdfa;
    color: #0f766e;
}

.home-category-pill--outline {
    background: #fff;
    border-color: #d1d5db;
}

.home-category-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-category-pill-icon :is(i, svg) {
    width: 1rem;
    height: 1rem;
    color: #6db380;
}

/* Three benefit cards (home) */
.home-benefits {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2.75rem 1rem 3rem;
}

.home-benefits-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .home-benefits-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.home-benefit-card {
    text-align: center;
    padding: 0 0.5rem;
}

.home-benefit-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
}

.home-benefit-icon :is(i, svg) {
    width: 1.35rem;
    height: 1.35rem;
    color: #059669;
}

.home-benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.home-benefit-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b7280;
}

/* How it works */
.home-how-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: #374151;
    margin: 0 auto 2.75rem;
    max-width: 28rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .home-how-title {
        font-size: 1.75rem;
        margin-bottom: 3.25rem;
        max-width: 36rem;
    }
}

.home-how-row {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.75rem;
}

.home-how-row:last-of-type {
    margin-bottom: 0;
}

.home-how-row .home-how-visual {
    order: 1;
}

.home-how-row .home-how-copy {
    order: 2;
}

@media (min-width: 1024px) {
    .home-how-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
        margin-bottom: 3.5rem;
    }

    .home-how-row--flip .home-how-visual {
        order: 2;
    }

    .home-how-row--flip .home-how-copy {
        order: 1;
    }
}

.home-how-visual {
    margin: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: #e5e7eb;
}

.home-how-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-how-copy {
    text-align: left;
}

.home-how-copy h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
    .home-how-copy h3 {
        font-size: 1.25rem;
    }
}

.home-how-copy p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #6b7280;
}

@media (min-width: 640px) {
    .home-how-copy p {
        font-size: 1rem;
    }
}

.home-how-cta-wrap {
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .home-how-cta-wrap {
        margin-top: 3.5rem;
    }
}

/* Horizontal scroll for step bars without visible scrollbar */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* --- Responsive layout (home + global) --- */
@media (max-width: 639px) {
    .hero-bg {
        height: auto;
        min-height: 280px;
        padding-bottom: clamp(12rem, 42vw, 17rem);
    }

    .hero-overlap-card {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
        max-width: none;
        padding: 1.25rem 1rem;
        box-sizing: border-box;
    }

    .hero-overlap-card h1 {
        font-size: 1.25rem;
        line-height: 1.25;
    }

    .hero-overlap-card p {
        font-size: 13px;
        margin-bottom: 1rem;
    }

    .doc-chip {
        font-size: 12px;
        padding: 6px 12px;
        margin: 3px;
    }

    .main-search-container {
        margin-top: 1rem;
    }

    .main-search-input {
        height: 48px;
        font-size: 16px; /* avoid iOS zoom on focus */
    }

    .accomplish-section--groups {
        padding: 2.5rem 0 3rem;
    }

    .accomplish-section-header {
        margin-bottom: 1.75rem;
    }

    .accomplish-section-lead {
        font-size: 0.95rem;
    }

    .accomplish-group-card {
        padding: 1rem 1rem 0.75rem;
    }

    .accomplish-doc-name {
        font-size: 0.875rem;
    }

    .accomplish-heading {
        font-size: 1.25rem;
    }

    .accomplish-grid {
        gap: 0.15rem 0;
        margin-top: 1.5rem;
    }

    .accomplish-item {
        padding: 0.4rem 0;
    }

    .accomplish-item-text {
        font-size: 15px;
    }

    .home-how-title {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .home-how-visual {
        max-height: 180px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .hero-bg {
        min-height: 440px;
        height: auto;
    }

    .hero-overlap-card {
        top: 2rem;
        padding: 2rem;
    }

    .hero-overlap-card h1 {
        font-size: 1.625rem;
    }

    .accomplish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Builder step footers: stack controls on narrow screens */
@media (max-width: 639px) {
    .builder-mode form div.flex:has(> button[type="submit"]) {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .builder-mode form div.flex:has(> button[type="submit"]) a.ml-6 {
        margin-left: 0 !important;
    }

    .builder-mode form div.flex:has(> button[type="submit"]) button[type="submit"],
    .builder-mode form div.flex:has(> .wm-btn--primary) > .wm-btn--primary {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ld-toggle-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .group:hover .ld-toggle-btn,
    .ld-toggle-btn:hover,
    input:checked + .ld-toggle-btn,
    .ld-toggle-btn.active {
        padding: 9px 15px;
    }
}

/* -------------------------------------------------------------------------
   Builder step hint (? button → modal copy in footer partial)
   ------------------------------------------------------------------------- */
.wm-step-hint-btn {
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.wm-step-hint-btn:hover {
    background-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(91, 182, 169, 0.4);
    transform: scale(1.08);
}

.wm-step-hint-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 5px rgba(91, 182, 169, 0.55);
}

.wm-step-hint-btn.is-active {
    animation: wm-step-hint-pulse 0.65s ease-out 1;
}

@keyframes wm-step-hint-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(91, 182, 169, 0.55);
    }
    100% {
        box-shadow: 0 0 0 14px rgba(91, 182, 169, 0);
    }
}

.wm-step-hint-btn--corner {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    margin-left: 0;
}

/* -------------------------------------------------------------------------
   Woza Mmeli — shared buttons (builders, modals, home CTAs)
   ------------------------------------------------------------------------- */
.wm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    min-height: 2.875rem;
    padding: 0.65rem 1.35rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.065em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.14s ease,
        opacity 0.18s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wm-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(91, 182, 169, 0.45),
        0 2px 8px rgba(109, 179, 128, 0.22);
}

.wm-btn:disabled,
.wm-btn[aria-disabled="true"] {
    opacity: 0.52;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.wm-btn--lg {
    min-height: 3.125rem;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
}

@media (max-width: 639px) {
    .wm-btn--lg {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.wm-btn--primary {
    color: #fff;
    background-color: #6db380;
    border-color: #5aa16c;
    box-shadow: 0 2px 10px rgba(109, 179, 128, 0.38);
}

.wm-btn--primary:hover {
    background-color: #5fa374;
    border-color: #4f9062;
    box-shadow: 0 4px 16px rgba(82, 148, 98, 0.42);
    transform: translateY(-1px);
}

.wm-btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(82, 148, 98, 0.35);
}

.wm-btn--secondary {
    color: #4b5563;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wm-btn--secondary:hover {
    background-color: #e5e7eb;
    color: #374151;
    border-color: #d1d5db;
}

.wm-btn--teal-soft {
    color: #115e59;
    background-color: rgba(240, 253, 250, 0.92);
    border-color: #99f6e4;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.08);
}

.wm-btn--teal-soft:hover {
    background-color: #ccfbf1;
    border-color: #5eead4;
    color: #0f766e;
}

.builder-mode a.wm-btn--secondary {
    display: inline-flex;
}

.wm-btn--amber {
    color: #fff;
    background-color: #f59e0b;
    border-color: #d97706;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.wm-btn--amber:hover {
    background-color: #d97706;
    border-color: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

/* Share / link-style actions (distinct from primary green) */
.wm-btn--blue {
    color: #fff;
    background-color: #3b82f6;
    border-color: #2563eb;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.32);
}

.wm-btn--blue:hover {
    background-color: #2563eb;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
}

.wm-btn--full {
    width: 100%;
}

.wm-btn--sm {
    min-height: 2.25rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    border-radius: 0.375rem;
}

.wm-btn--gold {
    color: #fff;
    background: linear-gradient(165deg, #e5c158 0%, #d4af37 45%, #b8941f 100%);
    border-color: #9a7b18;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

.wm-btn--gold:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(184, 148, 31, 0.45);
}

.wm-btn--gold:active {
    transform: translateY(0);
}

.wm-btn--outline-gold {
    color: #1f2937;
    background: #fff;
    border-color: #d4af37;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.wm-btn--outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #111827;
    border-color: #b8941f;
}

.wm-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #5bb6a9;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.wm-btn-text:hover {
    color: #0d9488;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wm-btn-text:focus-visible {
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 2px rgba(91, 182, 169, 0.45);
}

/* Compact search submit in dark nav bar */
.wm-btn-header-go {
    height: 100%;
    min-width: 2.5rem;
    padding: 0 0.65rem;
    margin: 0;
    border: none;
    border-radius: 0 0.125rem 0.125rem 0;
    background: #2d2f31;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.wm-btn-header-go:hover {
    background: #000;
}

.wm-btn-header-go:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* Loan / AOD: flat illustrated tiles (custom SVGs) */
.loan-role-card,
.aod-role-card {
    min-height: 13rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.loan-role-card.selected,
.aod-role-card.selected {
    border-width: 2px !important;
}

.aod-role-card--compact {
    min-height: 11.5rem;
}

.loan-role-illustration,
.aod-role-illustration {
    width: 6.75rem;
    height: 6.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aod-type-illustration {
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aod-type-illustration--person {
    background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
}

.aod-type-illustration--company {
    background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
}

.aod-type-illustration-img {
    width: 4.25rem;
    height: auto;
    max-height: 4.5rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.07));
}

.aod-hero-illustration {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(165deg, #ecfdf5 0%, #ccfbf1 100%);
    border: 1px solid rgba(91, 182, 169, 0.35);
    margin-left: auto;
    margin-right: auto;
}

.aod-hero-illustration-img {
    width: 3.35rem;
    height: auto;
    object-fit: contain;
}

.loan-role-illustration--lend {
    background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
}

.loan-role-illustration--borrow {
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
}

.aod-role-illustration--debtor {
    background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
}

.aod-role-illustration--creditor {
    background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
}

.aod-role-illustration--both {
    background: linear-gradient(165deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.aod-payment-illustration {
    width: 5.75rem;
    height: 5.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aod-payment-illustration--lump {
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
}

.aod-payment-illustration--schedule {
    background: linear-gradient(165deg, #ecfeff 0%, #cffafe 50%, #a5f3fc 100%);
}

.aod-payment-illustration-img {
    width: 4.25rem;
    height: auto;
    max-height: 4.75rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.07));
}

.loan-role-illustration-img,
.aod-role-illustration-img {
    width: 5.25rem;
    height: auto;
    max-height: 5.5rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* Document detail — interactive question icons */
@keyframes wm-dq-pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.12);
        opacity: 0;
    }
}

@keyframes wm-dq-icon-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes wm-dq-panel-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wm-doc-questions .wm-dq-rail {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 0.25rem 0.125rem 0.75rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.wm-doc-questions .wm-dq-rail-line {
    flex: 1 1 0.75rem;
    min-width: 0.5rem;
    max-width: 2rem;
    height: 2px;
    margin-top: 1.35rem;
    background: linear-gradient(90deg, #d1d5db 0%, #e5e7eb 100%);
    border-radius: 999px;
}

.wm-doc-questions .wm-dq-rail-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 4.75rem;
    max-width: 6.5rem;
    padding: 0.25rem 0.35rem;
    border: none;
    background: transparent;
    cursor: pointer;
    scroll-snap-align: center;
    transition: transform 0.2s ease;
}

.wm-doc-questions .wm-dq-rail-chip:hover {
    transform: translateY(-2px);
}

.wm-doc-questions .wm-dq-rail-chip:focus-visible {
    outline: 2px solid #5bb6a9;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

.wm-doc-questions .wm-dq-rail-step {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    line-height: 1;
}

.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-rail-step {
    color: #5bb6a9;
}

.wm-doc-questions .wm-dq-rail-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    line-height: 1.25;
    max-width: 6rem;
}

.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-rail-label {
    color: #111827;
}

.wm-doc-questions .wm-dq-icon-shell {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7f9;
    border: 1px solid #e5e7eb;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wm-doc-questions .wm-dq-icon-shell::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid rgba(91, 182, 169, 0.45);
    opacity: 0;
    pointer-events: none;
}

.wm-doc-questions .wm-dq-rail-chip:hover .wm-dq-icon-shell,
.wm-doc-questions .wm-dq-card summary:hover .wm-dq-icon-shell {
    transform: scale(1.06);
    border-color: rgba(91, 182, 169, 0.35);
    box-shadow: 0 4px 14px rgba(91, 182, 169, 0.15);
}

.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-icon-shell,
.wm-doc-questions .wm-dq-card[open] .wm-dq-icon-shell,
.wm-doc-questions .wm-dq-card.is-open .wm-dq-icon-shell {
    background: rgba(91, 182, 169, 0.14);
    border-color: rgba(91, 182, 169, 0.45);
    box-shadow: 0 4px 16px rgba(91, 182, 169, 0.2);
}

.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-icon-shell::after,
.wm-doc-questions .wm-dq-card[open] .wm-dq-icon-shell::after {
    opacity: 1;
    animation: wm-dq-pulse-ring 2s ease-out infinite;
}

.wm-doc-questions .wm-dq-lucide,
.wm-doc-questions .wm-dq-icon-shell svg {
    color: #5bb6a9;
    stroke: #5bb6a9;
    transition: transform 0.25s ease;
}

.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-lucide,
.wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-icon-shell svg,
.wm-doc-questions .wm-dq-card[open] .wm-dq-lucide,
.wm-doc-questions .wm-dq-card[open] .wm-dq-icon-shell svg {
    animation: wm-dq-icon-bob 1.6s ease-in-out infinite;
}

.wm-doc-questions .wm-dq-icon-shell--card {
    width: 2.5rem;
    height: 2.5rem;
}

.wm-doc-questions .wm-dq-card {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.wm-doc-questions .wm-dq-card[open],
.wm-doc-questions .wm-dq-card.is-open {
    border-color: rgba(91, 182, 169, 0.35);
}

.wm-doc-questions .wm-dq-card[open] .wm-dq-panel,
.wm-doc-questions .wm-dq-card.is-open .wm-dq-panel {
    animation: wm-dq-panel-in 0.35s ease-out;
}

.wm-doc-questions .wm-dq-cards .wm-dq-card {
    animation: wm-dq-panel-in 0.45s ease-out backwards;
}

.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(1) { animation-delay: 0.05s; }
.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(2) { animation-delay: 0.1s; }
.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(3) { animation-delay: 0.15s; }
.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(4) { animation-delay: 0.2s; }
.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(5) { animation-delay: 0.25s; }
.wm-doc-questions .wm-dq-cards .wm-dq-card:nth-child(n+6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-lucide,
    .wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-icon-shell svg,
    .wm-doc-questions .wm-dq-card[open] .wm-dq-lucide,
    .wm-doc-questions .wm-dq-card[open] .wm-dq-icon-shell svg,
    .wm-doc-questions .wm-dq-rail-chip.is-active .wm-dq-icon-shell::after,
    .wm-doc-questions .wm-dq-card[open] .wm-dq-icon-shell::after {
        animation: none;
    }

    .wm-doc-questions .wm-dq-cards .wm-dq-card,
    .wm-doc-questions .wm-dq-card[open] .wm-dq-panel {
        animation: none;
    }
}