/* Import SSOT design tokens - MUST BE FIRST */
@import url('./design_tokens.generated.css');

/**
 * EISLAW Results Page Styles
 * Task: MKT-049 (Fixed per Jacob review)
 * Design System: docs/DesignSystem/README.md
 * Token System: OCTOPUS-RUN-0092 (Design Tokens SSOT Integration)
 *
 * Fixes applied:
 * - Touch targets minimum 48px (WCAG 2.5.5)
 * - Print styles show CTA info instead of hiding
 * - Accessibility: focus-visible styles, proper contrast
 * - OCTOPUS-RUN-0092: Alias layer maps legacy vars to SSOT tokens
 */

/* ============================================
   Alias Layer: Legacy Variables -> SSOT Tokens
   This layer maintains backward compatibility by mapping
   existing variable names to the canonical SSOT tokens.
   ============================================ */
:root {
    /* Brand Colors */
    --petrol: var(--eislaw-color-brand-petrol);
    --copper: var(--eislaw-color-accent-copper);
    --text: var(--eislaw-color-neutral-text);
    --muted: var(--eislaw-color-neutral-muted);
    --line: var(--eislaw-color-neutral-bg);
    --card: var(--eislaw-color-neutral-card);
    --border: var(--eislaw-color-neutral-border);  /* BUG FIX: was undefined, now aliased */

    /* Tier Colors - Yellow */
    --tier-yellow-bg: var(--eislaw-color-tier-yellow-bg);
    --tier-yellow-border: var(--eislaw-color-tier-yellow-border);
    --tier-yellow-text: var(--eislaw-color-tier-yellow-text);

    /* Tier Colors - Orange */
    --tier-orange-bg: var(--eislaw-color-tier-orange-bg);
    --tier-orange-border: var(--eislaw-color-tier-orange-border);
    --tier-orange-text: var(--eislaw-color-tier-orange-text);

    /* Tier Colors - Red */
    --tier-red-bg: var(--eislaw-color-tier-red-bg);
    --tier-red-border: var(--eislaw-color-tier-red-border);
    --tier-red-text: var(--eislaw-color-tier-red-text);

    /* Typography */
    --font-hebrew: var(--eislaw-font-family-primary);
    --fs-title: var(--eislaw-font-size-title);
    --fs-heading: var(--eislaw-font-size-heading);
    --fs-subtitle: var(--eislaw-font-size-subtitle);
    --fs-body: var(--eislaw-font-size-body);
    --lh-base: var(--eislaw-line-height-relaxed);

    /* Spacing */
    --space-1: var(--eislaw-space-1);
    --space-2: var(--eislaw-space-2);
    --space-3: var(--eislaw-space-3);
    --space-4: var(--eislaw-space-4);
    --space-5: var(--eislaw-space-5);
    --space-6: var(--eislaw-space-6);
    --space-8: var(--eislaw-space-8);

    /* Borders */
    --radius-sm: var(--eislaw-radius-sm);
    --radius-md: var(--eislaw-radius-md);
    --radius-lg: var(--eislaw-radius-lg);

    /* Shadows */
    --shadow-sm: var(--eislaw-shadow-sm);
    --shadow-md: var(--eislaw-shadow-md);
    --shadow-lg: var(--eislaw-shadow-lg);

    /* Touch target minimum (WCAG 2.5.5) */
    --touch-target-min: var(--eislaw-touch-target-min);
}

/* ============================================
   Base Styles
   ============================================ */
#results-app {
    font-family: var(--font-hebrew);
    color: var(--text);
    line-height: var(--lh-base);
    direction: rtl;
    text-align: right;
}

.results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6);
}

/* ============================================
   Screen Reader Only (for accessibility)
   ============================================ */
.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;
}

/* ============================================
   Focus Styles (Accessibility)
   ============================================ */
:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 2px;
}

/* ============================================
   Skeleton Loading
   ============================================ */
.results-skeleton {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6);
}

.skeleton-badge,
.skeleton-headline,
.skeleton-subline,
.skeleton-video,
.skeleton-bullet,
.skeleton-cta {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.skeleton-badge {
    width: 200px;
    height: 40px;
    margin: 0 auto var(--space-6);
}

.skeleton-headline {
    width: 80%;
    height: 32px;
    margin: 0 auto var(--space-4);
}

.skeleton-subline {
    width: 60%;
    height: 24px;
    margin: 0 auto var(--space-6);
}

.skeleton-video {
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: var(--space-6);
}

.skeleton-bullets {
    margin-bottom: var(--space-6);
}

.skeleton-bullet {
    width: 90%;
    height: 20px;
    margin-bottom: var(--space-3);
}

.skeleton-cta {
    width: 280px;
    height: 56px;
    margin: 0 auto;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Error State
   ============================================ */
.results-error {
    text-align: center;
    padding: var(--space-8);
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    font-size: 48px;
    margin-bottom: var(--space-4);
}

.results-error h2 {
    font-size: var(--fs-heading);
    margin-bottom: var(--space-3);
}

.results-error p {
    color: var(--muted);
    margin-bottom: var(--space-6);
}

.retry-btn {
    background: var(--petrol);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-sm);
    font-size: var(--fs-body);
    cursor: pointer;
    font-family: var(--font-hebrew);
    min-height: var(--touch-target-min); /* WCAG touch target */
    min-width: var(--touch-target-min);
}

.retry-btn:hover {
    background: #094A75;
}

/* ============================================
   Tier Badge
   ============================================ */
.tier-badge {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    border: 2px solid;
    font-size: var(--fs-subtitle);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-6);
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
    box-shadow: var(--shadow-sm);
    animation: badge-entrance 0.5s ease-out;
}

@keyframes badge-entrance {
    0% { transform: scale(0.95); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   Headlines
   ============================================ */
.results-headline {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: var(--space-4);
}

.tier-red .results-headline {
    font-size: 32pt;
}

.results-subheadline {
    font-size: var(--fs-subtitle);
    color: var(--muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

/* ============================================
   Video Container
   ============================================ */
.video-container {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper {
    position: relative;
    background: #000;
}

.video-wrapper iframe {
    border-radius: var(--radius-md);
}

.video-caption {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: var(--space-3);
}

/* ============================================
   Key Points Section
   ============================================ */
.key-points-section {
    margin-bottom: var(--space-6);
}

.section-heading {
    font-size: var(--fs-heading);
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin-bottom: var(--space-4);
}

.key-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--card);
    border-radius: var(--radius-sm);
    min-height: var(--touch-target-min); /* Touch target for potential interaction */
}

.bullet-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.bullet-text {
    font-size: var(--fs-body);
}

/* ============================================
   Hero / Trust Block
   ============================================ */
.hero-trust {
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.hero-heading {
    margin: 0 0 var(--space-3) 0;
    font-size: var(--fs-heading);
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.hero-lines p {
    margin: 0 0 var(--space-3) 0;
    color: var(--text);
    line-height: 1.7;
}

.hero-lines p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafafa;
    overflow: hidden;
}

.faq-q {
    cursor: pointer;
    padding: var(--space-3) var(--space-4);
    font-weight: 600;
    color: var(--text);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: "+";
    float: left;
    color: var(--muted);
    font-weight: 700;
}

.faq-item[open] .faq-q::after {
    content: "–";
}

.faq-a {
    padding: 0 var(--space-4) var(--space-4) var(--space-4);
    color: var(--text);
    line-height: 1.7;
}

/* ============================================
   Enforcement + Narrative Sections
   ============================================ */
.enforcement-section,
.body-section,
.decision-factors-section,
.why-result-section,
.why-price-section {
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.enforcement-section a {
    color: var(--petrol);
    text-decoration: underline;
}

.enforcement-section p,
.body-section p,
.decision-factors-section p,
.why-result-section p,
.why-price-section p {
    margin: 0 0 var(--space-3) 0;
    line-height: 1.7;
}

.enforcement-section p:last-child,
.body-section p:last-child,
.decision-factors-section p:last-child,
.why-result-section p:last-child,
.why-price-section p:last-child {
    margin-bottom: 0;
}

.enforcement-emphasis {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
}

.text-bullets {
    margin: 0 0 var(--space-3) 0;
    padding: 0 18px 0 0;
}

.text-bullets li {
    margin-bottom: var(--space-2);
}

.cta-microcopy {
    margin: var(--space-3) 0 0 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* ============================================
   Trust Signals
   ============================================ */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--card);
    border: 1px solid var(--line);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    min-height: var(--touch-target-min); /* Touch target */
}

.trust-icon {
    font-size: 24px;
}

.trust-text {
    font-size: 14px;
    color: var(--muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
    margin-bottom: var(--space-8);
}

.cta-button {
    display: inline-block;
    min-width: 280px;
    min-height: var(--touch-target-min); /* WCAG 2.5.5 touch target */
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-sm);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--font-hebrew);
    line-height: 1.4; /* Ensure text fits with min-height */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:focus-visible {
    outline: 3px solid rgba(11, 59, 90, 0.65);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(208, 118, 85, 0.25);
}

.cta-copper {
    background: var(--copper);
    color: white;
}

.cta-petrol {
    background: var(--petrol);
    color: white;
}

.cta-red {
    background: var(--tier-red-border);
    color: white;
}

.cta-button.attention-pulse {
    animation: cta-pulse 1s ease-in-out;
}

@keyframes cta-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: var(--shadow-lg); }
}

.secondary-link {
    display: inline-block;
    margin-top: var(--space-4);
    color: var(--petrol);
    text-decoration: underline;
    font-size: 14px;
    min-height: var(--touch-target-min); /* Touch target */
    line-height: var(--touch-target-min);
    padding: 0 var(--space-2);
}

/* ============================================
   Dual CTA (Orange Tier)
   ============================================ */
.cta-dual .cta-heading {
    font-size: var(--fs-subtitle);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.cta-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.cta-card {
    background: white;
    border: 2px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    text-align: center;
    transition: border-color 0.2s ease;
}

.cta-card:hover {
    border-color: var(--copper);
}

.cta-card-icon {
    font-size: 32px;
    margin-bottom: var(--space-3);
}

.cta-card h4 {
    font-size: var(--fs-body);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.cta-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4);
    font-size: 14px;
    color: var(--muted);
}

.cta-card-benefits li {
    margin-bottom: var(--space-1);
}

.cta-card .cta-button {
    min-width: auto;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-body);
    min-height: var(--touch-target-min); /* Touch target */
}

/* ============================================
   Consultation CTA (Red Tier)
   ============================================ */
.consultation-card {
    background: white;
    border: 2px solid var(--tier-red-border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.consultation-card h3 {
    font-size: var(--fs-subtitle);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.consultation-icon {
    font-size: 48px;
    margin-bottom: var(--space-3);
}

.consultation-card h4 {
    font-size: var(--fs-heading);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.consultation-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    text-align: right;
}

.consultation-benefits li {
    position: relative;
    padding-right: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: var(--fs-body);
    min-height: calc(var(--touch-target-min) / 2); /* Reasonable touch area */
}

.consultation-benefits li::before {
    content: '\2713'; /* ✓ */
    position: absolute;
    right: 0;
    color: var(--tier-red-border);
    font-weight: bold;
}

.eitan-quote {
    font-style: italic;
    font-size: var(--fs-subtitle);
    color: var(--muted);
    border-right: 3px solid var(--copper);
    padding-right: var(--space-4);
    margin: var(--space-6) 0;
    text-align: right;
}

.eitan-quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    margin-top: var(--space-2);
    text-align: left;
}

/* ============================================
   Disclaimers & Footer
   ============================================ */
.disclaimers {
    text-align: center;
    margin-bottom: var(--space-4);
}

.disclaimer-short {
    font-size: 13px;
    color: var(--muted);
}

.disclaimer-short a {
    color: var(--petrol);
}

.results-footer {
    border-top: 1px solid var(--line);
    padding-top: var(--space-6);
    text-align: center;
}

.footer-disclaimers {
    margin-bottom: var(--space-4);
}

.footer-disclaimers p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 var(--space-2);
}

.footer-links {
    font-size: 13px;
    color: var(--muted);
}

.footer-links a {
    color: var(--petrol);
    text-decoration: none;
    display: inline-block;
    min-height: var(--touch-target-min); /* Touch target for footer links */
    line-height: var(--touch-target-min);
    padding: 0 var(--space-2);
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet (768px) */
@media (max-width: 768px) {
    .results-container {
        padding: var(--space-4);
    }

    .results-headline {
        font-size: 22pt;
    }

    .tier-red .results-headline {
        font-size: 26pt;
    }

    .results-subheadline {
        font-size: 16pt;
    }

    .cta-cards {
        grid-template-columns: 1fr;
    }

    .trust-signals {
        flex-direction: column;
        align-items: center;
    }

    .trust-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .key-points li {
        display: block;
    }

    .bullet-icon {
        margin-bottom: var(--space-2);
    }
}

/* Mobile (375px) */
@media (max-width: 480px) {
    .results-container {
        padding: var(--space-3);
    }

    .tier-badge {
        padding: var(--space-3) var(--space-4);
        font-size: 16px;
    }

    .results-headline {
        font-size: 20pt;
    }

    .tier-red .results-headline {
        font-size: 22pt;
    }

    .results-subheadline {
        font-size: 15pt;
    }

    .cta-button {
        min-width: 100%;
        padding: var(--space-4);
        font-size: 16pt;
        min-height: 52px; /* Slightly larger on mobile for fat fingers */
    }

    .section-heading {
        font-size: 18pt;
    }

    .key-points li {
        padding: var(--space-2);
    }

    .bullet-text {
        font-size: 14px;
    }

    .consultation-card {
        padding: var(--space-4);
    }

    .eitan-quote {
        font-size: 16pt;
    }
}

/* ============================================
   RTL Specific Overrides
   ============================================ */
[dir="rtl"] .bullet-icon {
    /* Icons that indicate direction - flip horizontally */
}

[dir="rtl"] .email-text,
[dir="rtl"] .url-text {
    direction: ltr;
    unicode-bidi: embed;
}

/* Price display (number first, then currency) */
[dir="rtl"] .price {
    direction: ltr;
    unicode-bidi: embed;
}

/* ============================================
   Print Styles (FIXED: Show CTA info instead of hiding)
   ============================================ */
@media print {
    /* Hide video - can't play in print */
    .video-container {
        display: none;
    }

    /* Keep CTA visible but style for print */
    .cta-button {
        background: white !important;
        color: var(--text) !important;
        border: 2px solid var(--text) !important;
        padding: var(--space-3) var(--space-4);
    }

    /* Add URL after CTA for print */
    .cta-button::after {
        content: " (" attr(href) ")";
        font-size: 12px;
    }

    /* Secondary link visible */
    .secondary-link {
        color: var(--text);
    }

    /* Clean up for printing */
    .results-container {
        max-width: 100%;
        padding: 0;
    }

    /* No animations */
    * {
        animation: none !important;
        transition: none !important;
    }

    /* Ensure good contrast */
    .tier-badge,
    .trust-badge {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ============================================
   VARIANT A SSOT STYLES (PRIV-E2E-001-ORDER-020)
   Follows SSOT: variant-a/index.html
   ============================================ */

/* CSS Variables for SSOT */
.ssot-container {
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --wp-fillout-text: #1F2733;
}

/* SSOT Container */
.ssot-container {
    max-width: 1200px;
}

/* Topbar */
.ssot-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--line);
}

.ssot-logo img {
    max-height: 48px;
    width: auto;
}

.ssot-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: 9999px;
    border: 2px solid;
    font-weight: 600;
    font-size: 14px;
}

.ssot-pill-icon {
    font-size: 16px;
}

/* Hero Section */
.ssot-hero {
    margin-bottom: var(--space-2xl);
}

.ssot-h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    font-family: "Heebo", "Noto Sans Hebrew", "David", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    line-height: 1.3;
    margin: 0 0 var(--space-md);
    color: var(--petrol);
}

.ssot-lede {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 var(--space-xl);
}

/* Quick Summary Grid */
.ssot-quick-summary {
    margin: var(--space-xl) 0;
}

.ssot-quick-summary__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.ssot-quick-summary__item {
    display: block;
    padding: var(--space-md);
    background: var(--card);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: var(--touch-target-min);
}

.ssot-quick-summary__item:hover,
.ssot-quick-summary__item:focus-visible {
    box-shadow: var(--shadow-md);
    border-color: var(--petrol);
    outline: none;
}

.ssot-quick-summary__label {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.ssot-quick-summary__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--petrol);
    margin-bottom: var(--space-sm);
}

.ssot-quick-summary__hint {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* Jump Links */
.ssot-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.ssot-jump-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--petrol);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: background 0.2s, border-color 0.2s;
    min-height: var(--touch-target-min);
}

.ssot-jump-link:hover,
.ssot-jump-link:focus-visible {
    background: var(--card);
    border-color: var(--petrol);
    outline: none;
}

.ssot-jump-link__icon {
    font-size: 18px;
}

/* Hero CTA */
.ssot-cta {
    background: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.ssot-cta-inner {
    text-align: center;
}

.ssot-btn {
    display: inline-block;
    background: var(--copper);
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: var(--space-md) var(--space-xl);
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    min-height: var(--touch-target-min);
    font-family: "Heebo", "Noto Sans Hebrew", "David", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.ssot-btn:hover {
    background: #B85D40;
    transform: translateY(-1px);
}

.ssot-btn:focus-visible {
    outline: 3px solid rgba(11, 59, 90, 0.65);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(208, 118, 85, 0.25);
}

.ssot-subnote {
    font-size: 14px;
    color: var(--muted);
    margin-top: var(--space-md);
}

/* Main Grid */
.ssot-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

/* Cards */
.ssot-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ssot-card--boxed {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.ssot-card-head {
    background: var(--card);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--line);
}

.ssot-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--petrol);
    margin: 0;
}

.ssot-card-body {
    padding: var(--space-lg);
}

/* SSOT List */
.ssot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ssot-li {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    align-items: flex-start;
}

.ssot-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    font-weight: 700;
}

/* Two-Boxes Layout */
.ssot-two-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

/* Testimonials Carousel */
.ssot-testimonials {
    padding: 0;
}

.ssot-testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ssot-carousel-viewport {
    flex: 1;
    overflow: hidden;
}

.ssot-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.ssot-carousel-slide {
    flex: 0 0 100%;
    padding: var(--space-md);
}

.ssot-carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssot-carousel-arrow:hover,
.ssot-carousel-arrow:focus-visible {
    background: var(--card);
    border-color: var(--petrol);
    outline: none;
}

.ssot-testimonial {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.ssot-testimonial-head {
    margin-bottom: var(--space-md);
}

.ssot-testimonial-person {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ssot-testimonial-person img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.ssot-testimonial-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.ssot-testimonial-role {
    font-size: 14px;
    color: var(--muted);
}

.ssot-testimonial-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.ssot-testimonial-quote.ssot-is-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssot-testimonial-expand-btn {
    background: none;
    border: none;
    color: var(--petrol);
    font-weight: 600;
    cursor: pointer;
    padding: var(--space-sm) 0;
    font-size: 14px;
}

.ssot-testimonial-expand-btn:hover,
.ssot-testimonial-expand-btn:focus-visible {
    text-decoration: underline;
    outline: none;
}

/* Video Card */
.ssot-video-card .video-container {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ssot-video-card .video-frame {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f5f1ee, #f1e4dd);
    border: 1px solid rgba(214, 211, 209, 0.9);
}

.ssot-video-card .video-play {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.ssot-video-card .video-play__ring {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(11, 59, 90, 0.85);
    display: grid;
    place-items: center;
}

.ssot-video-card .video-play__triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid rgba(11, 59, 90, 0.9);
    margin-left: 4px;
}

.ssot-video-card .video-play:focus-visible {
    outline: 3px solid rgba(11, 59, 90, 0.65);
    outline-offset: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .ssot-topbar {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .ssot-quick-summary__grid {
        grid-template-columns: 1fr;
    }

    .ssot-two-boxes {
        grid-template-columns: 1fr;
    }

    .ssot-jump-links {
        flex-direction: column;
    }

    .ssot-carousel-arrow {
        display: none;
    }

    .ssot-carousel-slide {
        padding: var(--space-sm);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ssot-carousel-track {
        transition: none;
    }

    .ssot-btn,
    .ssot-quick-summary__item,
    .ssot-jump-link,
    .ssot-carousel-arrow {
        transition: none;
    }
}
