/* ========================================
   Homepage — Base (reset, tokens, shared)
   ======================================== */

:root {
    /* Colors */
    --hp-text: #171717;
    --hp-text-secondary: #6b6b6b;
    --hp-text-muted: #767676;
    --hp-text-badge: #7d7d7d;
    --hp-dark: #292929;
    --hp-green: #82ff9e;
    --hp-green-border: #65d985;
    --hp-border: #e8e3dd;
    --hp-outline-border: rgba(144, 143, 141, 0.48);
    --hp-header-bg: rgba(255, 255, 255, 0.72);
    --hp-highlight-from: #ffd9a8;
    --hp-highlight-to: #f0b100;
    --hp-highlight-text: #664b00;
    --hp-hero-gradient-from: rgba(255, 255, 255, 0.4);
    --hp-hero-gradient-to: rgba(255, 217, 165, 0.52);
    --hp-hero-gradient-to-desktop: rgba(255, 217, 165, 0.85);
    --hp-copyright: #a6a09b;
    --hp-white: #ffffff;

    /* Spacing & Radii */
    --hp-radius-section: 24px;
    --hp-radius-header: 190px;
    --hp-radius-badge: 6.8px;
    --hp-radius-highlight: 16px;
    --hp-radius-pill: 9999px;
    --hp-radius-hamburger: 14px;
    --hp-max-width: 1440px;
}

/* Fb Metali fallback — use Almoni (available locally) as Hebrew display font */
@font-face {
    font-family: 'FbMetali';
    src: url('/fonts/almoni-tzar-aaa-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FbMetali';
    src: url('/fonts/almoni-dl-aaa-400.woff2') format('woff2'),
         url('/fonts/almoni-dl-aaa-400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FbMetali';
    src: url('/fonts/almoni-dl-aaa-700.woff2') format('woff2'),
         url('/fonts/almoni-dl-aaa-700.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--hp-text);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.hp-container {
    max-width: var(--hp-max-width);
    margin: 0 auto;
    padding: 0 12px;
}

@media (min-width: 800px) {
    .hp-container {
        padding: 0 24px;
    }
}

@media (min-width: 1300px) {
    .hp-container {
        padding: 0 38px;
    }
}

/* Shared button styles */
.hp-btn {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    cursor: pointer;
    border-radius: var(--hp-radius-pill);
    gap: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s;
}

.hp-btn:hover {
    opacity: 0.85;
}

.hp-btn--primary {
    background: var(--hp-green);
    border: 1px solid var(--hp-green-border);
    color: var(--hp-text);
}

.hp-btn--outline {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    border: 1px solid var(--hp-outline-border);
    color: var(--hp-text);
}

.hp-btn--all-stories {
    background: transparent;
    border: 1px solid var(--hp-outline-border);
    color: var(--hp-text);
}
