/* ==========================================================================
   Static Pages — shared styles for legal, about, tools, help-center pages
   Matches production design: clean, light, content-rich
   Uses CSS custom properties from site.css :root for color consistency
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Typography — Space Grotesk for headings, JetBrains Mono for code
   --------------------------------------------------------------------------- */
.sp-hero h1,
.sp-section-title,
.sp-feature-card h3,
.sp-stats-bar .stat-number,
.sp-achievement .ach-value,
.sp-team-card h4,
.sp-quote .quote-author,
.about-hero h1,
.stat-card .stat-value,
.team-card h4,
.tool-card h3,
.help-card h3,
.license-card h3,
.license-card .price,
.faq-category h2,
.cta-block h2,
.legal-page .legal-header h1,
.legal-page .legal-content h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

/* Monospace for code elements, hex values, technical snippets */
.sp-mono,
code,
.sp-color-card .color-hex {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

/* ---------------------------------------------------------------------------
   Left-aligned section titles (override center default for content pages)
   --------------------------------------------------------------------------- */
.sp-section-left .sp-section-title,
.sp-section-left .sp-section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* ---------------------------------------------------------------------------
   Content prose — rich paragraph blocks for SEO-heavy pages
   --------------------------------------------------------------------------- */
.sp-prose {
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
    max-width: 720px;
}
.sp-prose p {
    margin-bottom: 1.25rem;
}
.sp-prose strong {
    color: #111827;
    font-weight: 600;
}
.sp-prose a {
    color: #111827;
    text-decoration: underline;
}
.sp-prose a:hover {
    color: #33691e;
}
.sp-prose ul,
.sp-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.sp-prose li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

/* Two-column text layout */
.sp-two-col-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 767px) {
    .sp-two-col-text { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Eyebrow label above section titles */
.sp-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111827;
    margin-bottom: 0.75rem;
}

/* Divider line */
.sp-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 3rem 0;
    border: none;
}

/* Contact info cards (row of icon + text blocks) */
.sp-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.sp-contact-card .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fbfde8;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-contact-card .contact-icon svg { width: 20px; height: 20px; }
.sp-contact-card h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
}
.sp-contact-card p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 767px) {
    .sp-contact-cards { grid-template-columns: 1fr; }
}

/* Form card (clean white card for forms) */
.sp-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
}
.sp-form-card label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}
.sp-form-card input,
.sp-form-card select,
.sp-form-card textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    transition: border-color 0.15s;
}
.sp-form-card input:focus,
.sp-form-card select:focus,
.sp-form-card textarea:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(85,139,47,0.1);
}
.sp-form-card .form-group {
    margin-bottom: 1.25rem;
}
.sp-form-card .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.sp-form-card .btn-submit:hover {
    background: #1f2937;
}

/* Social links row */
.sp-social-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.sp-social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.15s;
}
.sp-social-link:hover {
    border-color: #111827;
    color: #111827;
    background: #fbfde8;
    text-decoration: none;
}
.sp-social-link svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------------
   Branded hero — contained card aligned with navbar (logo → burger)
   --------------------------------------------------------------------------- */
.sp-hero {
    background: linear-gradient(135deg, #EDEEE5 0%, #F0F1EA 50%, #F2F3EC 100%);
    color: #111827;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 1rem;
    max-width: 1650px;
    margin: 0.75rem auto 0;
    width: calc(100% - 1.5rem);
}
.sp-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}
.sp-hero .sp-subtitle {
    font-size: 1rem;
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}
.sp-hero .sp-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.sp-hero .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}
.sp-hero .btn-hero-primary {
    background: var(--brand-dark);
    color: #fff;
}
.sp-hero .btn-hero-primary:hover {
    background: var(--brand-dark-hover);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.35);
    transform: translateY(-1px);
}
.sp-hero .btn-hero-outline {
    border: 1.5px solid var(--brand-gray-300);
    color: var(--brand-dark);
    background: #fff;
}
.sp-hero .btn-hero-outline:hover {
    border-color: var(--brand-gray-400);
    background: var(--brand-gray-100);
    color: var(--brand-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Feature badge pills (in heroes) */
.sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: rgba(255,255,255,0.5);
    color: #374151;
    border: 1px solid rgba(0,0,0,0.06);
}
.sp-badge svg { width: 14px; height: 14px; }

/* Responsive hero sizing */
@media (min-width: 768px) {
    .sp-hero { padding: 3rem 2.5rem; }
    .sp-hero h1 { font-size: 2.5rem; }
    .sp-hero .sp-subtitle { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
    .sp-hero { padding: 3.5rem 3rem; }
    .sp-hero h1 { font-size: 2.75rem; }
}
@media (min-width: 1400px) {
    .sp-hero { max-width: 1650px; }
}
@media (min-width: 1536px) {
    .sp-hero { padding: 5rem 4.5rem; }
}

/* ---------------------------------------------------------------------------
   Page body / container
   --------------------------------------------------------------------------- */
.sp-body {
    padding-top: 100px;
    padding-bottom: 60px;
}
.sp-section {
    padding: 4rem 0;
}
.sp-section-alt {
    padding: 4rem 0;
    background: #f9fafb;
}
.sp-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}
.sp-section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.sp-section-center {
    text-align: center;
}
.sp-section-center .sp-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------------------------------
   Stats bar (dark bg, production-style)
   --------------------------------------------------------------------------- */
.sp-stats-bar {
    background: #111827;
    padding: 3rem 0;
    color: #fff;
}
.sp-stats-bar .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.sp-stats-bar .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-stats-bar .stat-text {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ---------------------------------------------------------------------------
   Feature cards (icon + title + desc, used on about, tools, free-illustrations)
   --------------------------------------------------------------------------- */
.sp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.15s;
}
.sp-feature-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.sp-feature-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fbfde8;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.sp-feature-card .icon-wrap svg { width: 24px; height: 24px; }
.sp-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}
.sp-feature-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* 2-col variant */
.sp-features-2col { grid-template-columns: repeat(2, 1fr); }
/* 4-col variant */
.sp-features-4col { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------------
   Testimonial cards
   --------------------------------------------------------------------------- */
.sp-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-testimonial {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}
.sp-testimonial .stars {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.sp-testimonial blockquote {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 1rem;
    font-style: normal;
}
.sp-testimonial .author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
}
.sp-testimonial .author-role {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Achievement badges row */
.sp-achievements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}
.sp-achievement {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
}
.sp-achievement .ach-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-achievement .ach-label {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ---------------------------------------------------------------------------
   Team section (production-style)
   --------------------------------------------------------------------------- */
.sp-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}
.sp-team-card {
    text-align: center;
}
.sp-team-card .avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.sp-team-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-team-card .role {
    font-size: 0.8125rem;
    color: #111827;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.sp-team-card .bio {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 0.5rem;
}
.sp-team-card .location {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ---------------------------------------------------------------------------
   Team cards v2 — larger photos, horizontal card layout, 3-col grid
   --------------------------------------------------------------------------- */
.sp-team-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-team-card-v2 {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-team-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.sp-team-card-v2 .team-photo-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e8f5e9;
    box-shadow: 0 4px 16px rgba(85,139,47,0.12);
}
.sp-team-card-v2 .team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sp-team-card-v2 h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-team-card-v2 .role {
    font-size: 0.8125rem;
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.sp-team-card-v2 .location {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}
.sp-team-card-v2 .bio {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 0.5rem;
}
@media (max-width: 900px) {
    .sp-team-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .sp-team-v2 { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
    .sp-team-card-v2 .team-photo-wrap { width: 120px; height: 120px; }
}

/* ---------------------------------------------------------------------------
   Quote / founder block
   --------------------------------------------------------------------------- */
.sp-quote {
    text-align: center;
    padding: 3rem 2rem;
    background: #fbfde8;
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid #f5fad4;
}
.sp-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #374151;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}
.sp-quote .quote-author {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
}
.sp-quote .quote-role {
    font-size: 0.875rem;
    color: #6b7280;
}
.sp-quote .quote-exp {
    font-size: 0.8125rem;
    color: #111827;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ---------------------------------------------------------------------------
   Legal page layout (privacy, terms, refund, cookies)
   --------------------------------------------------------------------------- */
.legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
}
.legal-page .legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.legal-page .legal-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}
.legal-page .legal-header .last-updated {
    font-size: 0.875rem;
    color: #6b7280;
}
.legal-page .legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.legal-page .legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-page .legal-content p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1rem;
}
.legal-page .legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-page .legal-content ul li {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 0.25rem;
}
.legal-page .legal-content a {
    color: #111827;
    text-decoration: underline;
}
.legal-page .legal-content a:hover {
    color: #33691e;
}
.legal-page .legal-nav {
    position: sticky;
    top: 80px;
}
.legal-page .legal-nav a {
    display: block;
    padding: 6px 12px;
    font-size: 0.8125rem;
    color: #6b7280;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s;
}
.legal-page .legal-nav a:hover,
.legal-page .legal-nav a.active {
    color: #111827;
    border-left-color: #111827;
    background: #fbfde8;
}

/* Data retention / cookie table */
.legal-page .legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}
.legal-page .legal-content table th,
.legal-page .legal-content table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}
.legal-page .legal-content table th {
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
}

/* ---------------------------------------------------------------------------
   License page pricing cards
   --------------------------------------------------------------------------- */
.license-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.license-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: box-shadow 0.2s;
}
.license-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.license-card.popular {
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
}
.license-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(204, 234, 74);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.license-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.license-card .price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.license-card .price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
}
.license-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.license-card ul li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}
.license-card ul li .check { color: #22c55e; }
.license-card ul li .cross { color: #d1d5db; }

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}
.comparison-table th {
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
}
.comparison-table td {
    color: #4b5563;
}
.comparison-table .check-icon { color: #22c55e; font-size: 1.125rem; }
.comparison-table .cross-icon { color: #d1d5db; font-size: 1.125rem; }
.comparison-table .attr-icon { color: #f59e0b; font-size: 0.75rem; }

/* ---------------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------------- */
.faq-section { margin: 2rem 0; }
.faq-category {
    margin-bottom: 2.5rem;
}
.faq-category h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}
.faq-category .faq-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-item summary {
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: #9ca3af;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after {
    content: '\2212';
    color: #111827;
}
.faq-item .faq-answer {
    padding: 0 20px 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
}
.faq-item .faq-answer a {
    color: #111827;
    text-decoration: underline;
}

/* Jump-to navigation */
.jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
}
.jump-nav a {
    padding: 6px 14px;
    font-size: 0.8125rem;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.jump-nav a:hover,
.jump-nav a.active {
    border-color: #111827;
    color: #111827;
    background: #fbfde8;
}

/* ---------------------------------------------------------------------------
   About page (legacy classes kept for compatibility)
   --------------------------------------------------------------------------- */
.about-hero {
    text-align: center;
    padding: 3rem 0;
}
.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.about-hero p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f9fafb;
}
.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}
.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.value-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.value-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.value-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.team-card {
    text-align: center;
    padding: 1.5rem;
}
.team-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}
.team-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.team-card .role {
    font-size: 0.8125rem;
    color: #111827;
    margin-bottom: 0.25rem;
}
.team-card .location {
    font-size: 0.75rem;
    color: #9ca3af;
}
.quote-block {
    text-align: center;
    padding: 2.5rem;
    background: #fbfde8;
    border-radius: 16px;
    margin: 2rem 0;
}
.quote-block blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #374151;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}
.quote-block .quote-author {
    font-weight: 600;
    color: #111827;
}
.quote-block .quote-role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ---------------------------------------------------------------------------
   Tools page
   --------------------------------------------------------------------------- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.tool-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s;
    position: relative;
}
.tool-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.tool-card.featured {
    border-color: #111827;
}
.tool-card .tool-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.tool-card .tool-badge.available { background: #f5fad4; color: #3d5a00; }
.tool-card .tool-badge.coming { background: #f3f4f6; color: #6b7280; }
.tool-card .tool-badge.featured-badge { background: #fbfde8; color: #111827; }
.tool-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tool-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.tool-card .tool-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.tool-card .tool-link:hover {
    text-decoration: underline;
}
.tool-card.coming-soon {
    opacity: 0.6;
}

/* ---------------------------------------------------------------------------
   Help center cards
   --------------------------------------------------------------------------- */
.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.help-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
    display: block;
}
.help-card:hover {
    border-color: #111827;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    color: inherit;
    text-decoration: none;
}
.help-card .help-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fbfde8;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.help-card .help-icon svg { width: 24px; height: 24px; }
.help-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}
.help-card p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ---------------------------------------------------------------------------
   CTA blocks
   --------------------------------------------------------------------------- */
.cta-block {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9fafb;
    border-radius: 16px;
    margin: 3rem 0;
}
.cta-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cta-block p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}
/* .btn-primary inside CTA blocks inherits from global site.css definition
   (lime-green with dark text — brand-consistent primary CTA) */
.cta-block .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-left: 0.75rem;
    transition: all 0.15s;
}
.cta-block .btn-outline:hover {
    border-color: #111827;
    color: #111827;
    text-decoration: none;
}

/* Dark CTA variant */
.cta-block-dark {
    background: #111827;
    color: #fff;
}
.cta-block-dark h2 { color: #fff; }
.cta-block-dark p { color: #9ca3af; }

/* ---------------------------------------------------------------------------
   How-to steps (numbered)
   --------------------------------------------------------------------------- */
.sp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-step {
    text-align: center;
    padding: 1.5rem;
}
.sp-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(204, 234, 74);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.sp-step h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}
.sp-step p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Color psychology cards
   --------------------------------------------------------------------------- */
.sp-color-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-color-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.sp-color-card .color-swatch {
    height: 8px;
}
.sp-color-card .color-body {
    padding: 1.25rem;
}
.sp-color-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.sp-color-card .color-hex {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: monospace;
    margin-bottom: 0.75rem;
}
.sp-color-card .color-meaning {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}
.sp-color-card p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ---------------------------------------------------------------------------
   Helpful links / resource links
   --------------------------------------------------------------------------- */
.sp-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}
.sp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}
.sp-link:hover {
    border-color: #111827;
    color: #111827;
    text-decoration: none;
}
.sp-link svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .sp-hero h1 { font-size: 2rem; }
    .sp-stats-bar .stats-row { grid-template-columns: repeat(2, 1fr); }
    .sp-features { grid-template-columns: repeat(2, 1fr); }
    .sp-features-4col { grid-template-columns: repeat(2, 1fr); }
    .sp-testimonials { grid-template-columns: 1fr; }
    .sp-achievements { grid-template-columns: repeat(2, 1fr); }
    .sp-team { grid-template-columns: repeat(2, 1fr); }
    .sp-steps { grid-template-columns: repeat(2, 1fr); }
    .sp-color-cards { grid-template-columns: repeat(2, 1fr); }
    .license-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .help-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .sp-hero h1 { font-size: 1.75rem; }
    .sp-hero { padding: 2rem 1.25rem; width: calc(100% - 1rem); border-radius: 1rem; }
    .sp-stats-bar .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .sp-features { grid-template-columns: 1fr; }
    .sp-features-4col { grid-template-columns: 1fr; }
    .sp-achievements { grid-template-columns: repeat(2, 1fr); }
    .sp-team { grid-template-columns: 1fr; }
    .sp-steps { grid-template-columns: 1fr; }
    .sp-color-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .help-grid { grid-template-columns: 1fr; }
    .legal-page .legal-header h1 { font-size: 1.75rem; }
    .about-hero h1 { font-size: 1.75rem; }
    .sp-section-title { font-size: 1.5rem; }
    .cta-block .btn-outline { margin-left: 0; margin-top: 0.75rem; }
    .sp-hero .sp-actions { flex-direction: column; align-items: center; }
}

/* ---------------------------------------------------------------------------
   About page: story paragraphs
   --------------------------------------------------------------------------- */
.sp-story-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}
.sp-story-text:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   About page: API feature checklist grid
   --------------------------------------------------------------------------- */
.sp-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    margin: 1.5rem 0 2rem;
}
.sp-checklist-item {
    font-size: 0.875rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}
.sp-checklist-item .check-mark {
    color: #111827;
    font-weight: 700;
    margin-right: 8px;
}

/* ---------------------------------------------------------------------------
   About page: card link with arrow
   --------------------------------------------------------------------------- */
.sp-card-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.sp-card-link:hover {
    color: #33691e;
    text-decoration: underline;
}
.sp-card-link svg {
    display: inline;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    margin-left: 3px;
}

/* API docs link (larger variant) */
.sp-docs-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.sp-docs-link:hover {
    color: #33691e;
    text-decoration: underline;
}
.sp-docs-link svg {
    display: inline;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* Section center with reduced bottom margin (used for team, testimonials, achievements headers) */
.sp-section-center-tight {
    text-align: center;
    margin-bottom: 0.5rem;
}
.sp-section-center-tight .sp-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------------------------------
   Help center: breadcrumb
   --------------------------------------------------------------------------- */
.sp-breadcrumb-nav {
    padding-top: 1.5rem;
}
.sp-breadcrumb-nav .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}
.sp-breadcrumb-nav .breadcrumb-item a {
    color: #111827;
    text-decoration: none;
}
.sp-breadcrumb-nav .breadcrumb-item.active {
    color: #6b7280;
}

/* ---------------------------------------------------------------------------
   Help center: FAQ banner (CTA card with green gradient)
   --------------------------------------------------------------------------- */
.sp-faq-banner {
    background: linear-gradient(135deg, rgb(204, 234, 74) 0%, rgb(184, 214, 54) 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #111827;
}
.sp-faq-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sp-faq-banner-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.sp-faq-banner-icon {
    padding: 0.75rem;
    background: rgba(0,0,0,0.08);
    border-radius: 12px;
}
.sp-faq-banner-icon svg {
    width: 32px;
    height: 32px;
}
.sp-faq-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}
.sp-faq-banner p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.9375rem;
}
.sp-faq-banner .arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   Help center: section header with link
   --------------------------------------------------------------------------- */
.sp-section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.sp-section-header-row .sp-section-title {
    margin-bottom: 0;
}
.sp-section-header-link {
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}
.sp-section-header-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Help center: FAQ category icon header
   --------------------------------------------------------------------------- */
.sp-faq-cat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.sp-faq-cat-icon {
    padding: 0.5rem;
    background: #fbfde8;
    border-radius: 8px;
}
.sp-faq-cat-icon svg {
    width: 20px;
    height: 20px;
}
.sp-faq-cat-header h2 {
    font-size: 1.125rem;
    margin: 0;
}
.sp-faq-cat-header p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* ---------------------------------------------------------------------------
   Help center: helpful links grid
   --------------------------------------------------------------------------- */
.sp-helpful-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.sp-helpful-link-card {
    display: block;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
}
.sp-helpful-link-card:hover {
    border-color: #111827;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    color: inherit;
    text-decoration: none;
}
.sp-helpful-link-card svg {
    width: 24px;
    height: 24px;
    margin-bottom: 0.75rem;
}
.sp-helpful-link-card .link-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-helpful-link-card .link-desc {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* CTA icon (centered above heading) */
.sp-cta-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    display: block;
}

/* Block-level link (replaces inline style="display:block;text-decoration:none;color:inherit") */
.sp-block-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.sp-block-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Help center: section with no bottom padding */
.sp-section-no-pb {
    padding-bottom: 0;
}

/* Responsive for new help center classes */
@media (max-width: 991px) {
    .sp-helpful-links-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-checklist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .sp-helpful-links-grid { grid-template-columns: 1fr; }
    .sp-faq-banner-inner { flex-direction: column; text-align: center; gap: 1rem; }
    .sp-faq-banner-content { flex-direction: column; text-align: center; }
    .sp-section-header-row { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ==========================================================================
   UX-M2: Subtle entrance animations for content sections
   CSS-only with @keyframes — triggered by scroll via CSS animation-timeline
   where supported, with graceful fallback to immediate display.
   ========================================================================== */

/* Keyframes */
@keyframes sp-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sp-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes sp-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Base animation class — applied to sections, cards, heroes */
.sp-animate {
    animation: sp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Variants */
.sp-animate-fade {
    animation: sp-fade-in 0.5s ease both;
}
.sp-animate-scale {
    animation: sp-scale-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stagger delays for grid children (cards, stats, team members) */
.sp-stagger > *:nth-child(1)  { animation-delay: 0s; }
.sp-stagger > *:nth-child(2)  { animation-delay: 0.08s; }
.sp-stagger > *:nth-child(3)  { animation-delay: 0.16s; }
.sp-stagger > *:nth-child(4)  { animation-delay: 0.24s; }
.sp-stagger > *:nth-child(5)  { animation-delay: 0.32s; }
.sp-stagger > *:nth-child(6)  { animation-delay: 0.40s; }
.sp-stagger > *:nth-child(7)  { animation-delay: 0.48s; }
.sp-stagger > *:nth-child(8)  { animation-delay: 0.56s; }

/* Scroll-triggered animations using animation-timeline (progressive enhancement).
   Supported in Chrome 115+, Edge 115+. Falls back to immediate animation elsewhere. */
@supports (animation-timeline: view()) {
    .sp-scroll-reveal {
        animation: sp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .sp-animate,
    .sp-animate-fade,
    .sp-animate-scale,
    .sp-scroll-reveal,
    .sp-stagger > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Hero entrance — slightly more dramatic */
.sp-hero {
    animation: sp-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Feature cards, stat cards, team cards — subtle entrance */
.sp-feature-card,
.sp-testimonial,
.sp-achievement,
.sp-team-card,
.sp-team-card-v2,
.sp-showcase-card,
.sp-color-card,
.sp-step,
.stat-card,
.value-card,
.team-card,
.tool-card,
.help-card,
.license-card,
.faq-item {
    animation: sp-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stagger within grids */
.sp-features .sp-feature-card:nth-child(1),
.sp-testimonials .sp-testimonial:nth-child(1),
.sp-achievements .sp-achievement:nth-child(1),
.sp-team .sp-team-card:nth-child(1) { animation-delay: 0.05s; }

.sp-features .sp-feature-card:nth-child(2),
.sp-testimonials .sp-testimonial:nth-child(2),
.sp-achievements .sp-achievement:nth-child(2),
.sp-team .sp-team-card:nth-child(2) { animation-delay: 0.12s; }

.sp-features .sp-feature-card:nth-child(3),
.sp-testimonials .sp-testimonial:nth-child(3),
.sp-achievements .sp-achievement:nth-child(3),
.sp-team .sp-team-card:nth-child(3) { animation-delay: 0.19s; }

.sp-features .sp-feature-card:nth-child(4),
.sp-testimonials .sp-testimonial:nth-child(4),
.sp-achievements .sp-achievement:nth-child(4),
.sp-team .sp-team-card:nth-child(4) { animation-delay: 0.26s; }

.sp-team-v2 .sp-team-card-v2:nth-child(1) { animation-delay: 0.05s; }
.sp-team-v2 .sp-team-card-v2:nth-child(2) { animation-delay: 0.12s; }
.sp-team-v2 .sp-team-card-v2:nth-child(3) { animation-delay: 0.19s; }
.sp-team-v2 .sp-team-card-v2:nth-child(4) { animation-delay: 0.26s; }
.sp-team-v2 .sp-team-card-v2:nth-child(5) { animation-delay: 0.33s; }
.sp-team-v2 .sp-team-card-v2:nth-child(6) { animation-delay: 0.40s; }

/* CTA blocks — scale in */
.cta-block {
    animation: sp-scale-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stats bar — fade in */
.sp-stats-bar {
    animation: sp-fade-in 0.5s ease both;
}

/* Quote block — fade up with delay */
.sp-quote,
.quote-block {
    animation: sp-fade-up 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ==========================================================================
   WAVE 2 — Enhanced visual components, animations, illustration showcases
   ========================================================================== */

/* ---------------------------------------------------------------------------
   IntersectionObserver-based scroll reveal (JS-driven, broader browser support)
   --------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}
/* Stagger delays for children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.22s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.34s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ---------------------------------------------------------------------------
   Illustration showcase grid — floating pack preview images
   --------------------------------------------------------------------------- */
.sp-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.sp-showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}
.sp-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.sp-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-showcase-card:hover img {
    transform: scale(1.05);
}
.sp-showcase-card .showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.sp-showcase-card:hover .showcase-overlay {
    opacity: 1;
}
.sp-showcase-card .showcase-label {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
}
.sp-showcase-card .showcase-style {
    color: rgba(255,255,255,0.7);
    font-size: 0.6875rem;
    margin-top: 2px;
}
@media (max-width: 991px) {
    .sp-showcase { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
    .sp-showcase { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------------
   Trust badges row — Trustpilot, G2, Product Hunt ratings
   --------------------------------------------------------------------------- */
.sp-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    margin: 1rem 0;
}
.sp-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}
.sp-trust-badge:hover {
    border-color: #111827;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: #374151;
}
.sp-trust-badge .trust-stars {
    color: #f59e0b;
    font-size: 0.875rem;
    letter-spacing: 1px;
}
.sp-trust-badge .trust-score {
    font-weight: 700;
    color: #111827;
}
.sp-trust-badge .trust-source {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* ---------------------------------------------------------------------------
   Visual tool showcase — image + text side-by-side (replaces text-dense blocks)
   --------------------------------------------------------------------------- */
.sp-tool-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: box-shadow 0.3s;
}
.sp-tool-showcase:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.sp-tool-showcase.reverse {
    direction: rtl;
}
.sp-tool-showcase.reverse > * {
    direction: ltr;
}
.sp-tool-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    aspect-ratio: 4/3;
}
.sp-tool-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-tool-showcase:hover .sp-tool-visual img {
    transform: scale(1.03);
}
.sp-tool-visual .tool-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(85,139,47,0.9);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.sp-tool-content h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}
.sp-tool-content p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.sp-tool-content .tool-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.sp-tool-content .tool-features li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-tool-content .tool-features li .feat-icon {
    color: #111827;
    font-weight: 700;
    flex-shrink: 0;
}
.sp-tool-content .tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s;
}
.sp-tool-content .tool-link:hover {
    gap: 10px;
    text-decoration: none;
}
@media (max-width: 991px) {
    .sp-tool-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .sp-tool-showcase.reverse { direction: ltr; }
}

/* ---------------------------------------------------------------------------
   Illustration marquee — auto-scrolling horizontal strip of illustrations
   --------------------------------------------------------------------------- */
.sp-marquee-wrap {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}
.sp-marquee-wrap::before,
.sp-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.sp-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.sp-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}
.sp-marquee {
    display: flex;
    gap: 1.5rem;
    animation: sp-marquee-scroll 70s linear infinite;
    width: max-content;
}
.sp-marquee img {
    height: 140px;
    width: auto;
    border-radius: 10px;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}
.sp-marquee img:hover {
    opacity: 1;
    transform: scale(1.08);
}
@keyframes sp-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.sp-marquee-wrap.dark {
    background: #111827;
}
.sp-marquee-wrap.dark::before {
    background: linear-gradient(to right, #111827, transparent);
}
.sp-marquee-wrap.dark::after {
    background: linear-gradient(to left, #111827, transparent);
}

/* ---------------------------------------------------------------------------
   Pack preview cards — used for cross-linking illustration packs
   --------------------------------------------------------------------------- */
.sp-pack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.sp-pack-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}
.sp-pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}
.sp-pack-card .pack-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f3f4f6;
}
.sp-pack-card .pack-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-pack-card:hover .pack-thumb img {
    transform: scale(1.06);
}
.sp-pack-card .pack-info {
    padding: 0.875rem 1rem;
}
.sp-pack-card .pack-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    margin-bottom: 2px;
}
.sp-pack-card .pack-style {
    font-size: 0.75rem;
    color: #9ca3af;
}
@media (max-width: 991px) {
    .sp-pack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .sp-pack-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Enhanced form card — fix send button spacing
   --------------------------------------------------------------------------- */
.sp-form-card .btn-submit {
    margin-top: 0.5rem;
}

/* ---------------------------------------------------------------------------
   Image-text split section (hero-like visual sections)
   --------------------------------------------------------------------------- */
.sp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}
.sp-split.reverse { direction: rtl; }
.sp-split.reverse > * { direction: ltr; }
.sp-split-image {
    border-radius: 16px;
    overflow: hidden;
}
.sp-split-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}
@media (max-width: 991px) {
    .sp-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .sp-split.reverse { direction: ltr; }
}

/* ---------------------------------------------------------------------------
   Counter animation (for stats)
   --------------------------------------------------------------------------- */
@keyframes sp-count-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.sp-stats-bar .stat-number {
    animation: sp-count-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sp-stats-bar .stats-row > div:nth-child(1) .stat-number { animation-delay: 0s; }
.sp-stats-bar .stats-row > div:nth-child(2) .stat-number { animation-delay: 0.15s; }
.sp-stats-bar .stats-row > div:nth-child(3) .stat-number { animation-delay: 0.3s; }
.sp-stats-bar .stats-row > div:nth-child(4) .stat-number { animation-delay: 0.45s; }

/* ---------------------------------------------------------------------------
   Hover lift effect for cards
   --------------------------------------------------------------------------- */
.sp-hover-lift {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}
.sp-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ---------------------------------------------------------------------------
   Gradient text (for hero highlights)
   --------------------------------------------------------------------------- */
.sp-gradient-text {
    background: linear-gradient(135deg, rgb(204, 234, 74) 0%, rgb(184, 214, 54) 50%, rgb(164, 194, 34) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------------------------------------------------------------------------
   Floating dots decoration (subtle bg pattern)
   --------------------------------------------------------------------------- */
.sp-dotted-bg {
    position: relative;
}
.sp-dotted-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.4;
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Stats bar variant — lighter, for mid-page use
   --------------------------------------------------------------------------- */
.sp-stats-light {
    padding: 2.5rem 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.sp-stats-light .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.sp-stats-light .stat-number {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sp-stats-light .stat-text {
    font-size: 0.8125rem;
    color: #6b7280;
}
@media (max-width: 991px) {
    .sp-stats-light .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------------
   Section with subtle background pattern
   --------------------------------------------------------------------------- */
.sp-section-pattern {
    background: #fafafa url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e5e7eb' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   Responsive image with rounded corners and shadow
   --------------------------------------------------------------------------- */
.sp-img-rounded {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------------------------------------------------
   Tag pills (for tool feature tags, pack style tags)
   --------------------------------------------------------------------------- */
.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0.75rem 0;
}
.sp-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 20px;
    background: #fbfde8;
    color: #111827;
    border: 1px solid #f5fad4;
}
.sp-tag-neutral {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}
