/* ===========================================
   DESIGN SYSTEM - Annual Reports Client Portal
   Single source of truth for all visual tokens
   =========================================== */

/* ==================== FONTS ==================== */
@import url('../fonts/fonts.css');

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Brand — Indigo (warm-shifted) */
    --brand-50:  #EEF2FF;
    --brand-100: #E0E7FF;
    --brand-200: #C7D2FE;
    --brand-400: #818CF8;
    --brand-500: #6366F1;
    --brand-600: #4F46E5;
    --brand-700: #4338CA;

    /* Neutral — Warm Gray (stone scale) */
    --gray-50:  #FAFAF9;
    --gray-100: #F5F5F4;
    --gray-200: #E7E5E4;
    --gray-300: #D6D3D1;
    --gray-400: #A8A29E;
    --gray-500: #6B6764;
    --gray-600: #57534E;
    --gray-700: #44403C;
    --gray-800: #292524;
    --gray-900: #1C1917;

    /* Semantic — Success */
    --success-50:  #F0FDF4;
    --success-100: #DCFCE7;
    --success-500: #22C55E;
    --success-700: #15803D;

    /* Semantic — Warning */
    --warning-50:  #FFFBEB;
    --warning-100: #FEF3C7;
    --warning-500: #F59E0B;
    --warning-700: #92400E;

    /* Semantic — Danger */
    --danger-50:  #FEF2F2;
    --danger-100: #FEE2E2;
    --danger-500: #EF4444;
    --danger-700: #B91C1C;

    /* Semantic — Info */
    --info-50:  #EFF6FF;
    --info-100: #DBEAFE;
    --info-500: #3B82F6;
    --info-700: #1D4ED8;

    /* Typography */
    --font-he: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs:  0.75rem;   /* 12px */
    --text-sm:  0.875rem;  /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg:  1.125rem;  /* 18px */
    --text-xl:  1.25rem;   /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --leading-he: 1.6;
    --leading-en: 1.5;

    /* Spacing (8px base grid) */
    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  20px;
    --sp-6:  24px;
    --sp-8:  32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    /* Border Radius */
    --radius-sm:   6px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== BASE TYPOGRAPHY ==================== */
body {
    font-family: var(--font-he);
    color: var(--gray-800);
    line-height: var(--leading-he);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[lang="en"] body,
.en-text {
    font-family: var(--font-en);
    line-height: var(--leading-en);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-700);
}

/* ==================== ACCESSIBILITY ==================== */
:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

/* Screen reader only */
.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;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-5);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--brand-600);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--brand-700);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-danger {
    background: var(--danger-500);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger-700);
}

.btn-success {
    background: var(--success-500);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: var(--success-700);
}

.btn-outline-danger {
    background: white;
    border-color: var(--danger-100);
    color: var(--danger-500);
}

.btn-outline-danger:hover:not(:disabled) {
    background: var(--danger-50);
    border-color: var(--danger-500);
}

.btn-lg {
    padding: var(--sp-4) var(--sp-6);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 2px var(--sp-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.badge-success {
    background: var(--success-100);
    color: var(--success-700);
}

.badge-danger {
    background: var(--danger-100);
    color: var(--danger-700);
}

.badge-warning {
    background: var(--warning-100);
    color: var(--warning-700);
}

.badge-info {
    background: var(--info-100);
    color: var(--info-700);
}

.badge-neutral {
    background: var(--gray-100);
    color: var(--gray-600);
}

.badge-brand {
    background: var(--brand-100);
    color: var(--brand-700);
}

/* ==================== CARDS ==================== */
.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: var(--text-lg);
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.card-body {
    padding: var(--sp-6);
}

/* ==================== FORMS ==================== */
.input,
.select,
.textarea,
select,
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--gray-800);
    background: white;
    transition: all var(--transition-fast);
    line-height: 1.5;
}

.input:hover,
.select:hover,
.textarea:hover,
select:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
textarea:hover {
    border-color: var(--gray-300);
}

.input:focus,
.select:focus,
.textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--sp-1);
}

.form-help {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-top: var(--sp-1);
}

/* ==================== MODAL ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-overlay.show {
    display: flex;
}

.modal-panel {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 200ms ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-panel-header {
    padding: var(--sp-6) var(--sp-6) 0;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-800);
}

.modal-panel-body {
    padding: var(--sp-5) var(--sp-6);
    color: var(--gray-600);
    line-height: 1.7;
}

.modal-panel-footer {
    padding: 0 var(--sp-6) var(--sp-6);
    display: flex;
    gap: var(--sp-3);
    justify-content: flex-end;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    top: var(--sp-5);
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: var(--gray-800);
    color: white;
    padding: var(--sp-3) var(--sp-5);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: transform var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-success { background: var(--success-700); }
.toast-danger  { background: var(--danger-700); }
.toast-warning { background: var(--warning-700); }

/* ==================== SKELETON LOADING ==================== */
.skeleton-loader {
    padding: var(--sp-4) 0;
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: var(--sp-2);
}

.skeleton-text-lg {
    height: 20px;
    margin-bottom: var(--sp-3);
}

.skeleton-block {
    height: 80px;
}

.skeleton-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--gray-100);
}
.skeleton-row .skeleton { flex-shrink: 0; }

.skeleton-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.skeleton-progress {
    height: 8px;
    border-radius: var(--radius-full);
    margin: var(--sp-3) 0;
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    background: var(--gray-200);
    border-radius: var(--radius-full);
    height: 8px;
    overflow: hidden;
    width: 100%;
}

.progress-bar-lg {
    height: 12px;
}

.progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    background: var(--success-500);
}

.progress-fill-danger {
    background: var(--danger-500);
}

.progress-fill-warning {
    background: var(--warning-500);
}

.progress-fill-brand {
    background: var(--brand-500);
}

/* ==================== SPINNER ==================== */
.spinner {
    border: 3px solid var(--gray-200);
    border-top-color: var(--brand-500);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.7s linear infinite;
}

.spinner-lg {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

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

/* ==================== ICON SIZING ==================== */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

.icon-2xl {
    width: 48px;
    height: 48px;
}

/* ==================== SITE LOGO ==================== */
.site-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

/* Hero: centered landing page */
.site-logo-lg {
    height: 80px;
    margin-block-end: var(--sp-4);
    margin-inline: auto;
}

/* Inner pages: inline with titles */
.site-logo-md {
    height: 52px;
}

/* Navbar: compact */
.site-logo-sm {
    height: 34px;
}

/* ==================== ALERTS ==================== */
.alert {
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.alert-success {
    background: var(--success-50);
    border: 1px solid var(--success-100);
    color: var(--success-700);
}

.alert-danger {
    background: var(--danger-50);
    border: 1px solid var(--danger-100);
    color: var(--danger-700);
}

.alert-warning {
    background: var(--warning-50);
    border: 1px solid var(--warning-100);
    color: var(--warning-700);
}

.alert-info {
    background: var(--info-50);
    border: 1px solid var(--info-100);
    color: var(--info-700);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
    color: var(--gray-500);
}

.empty-state .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--sp-4);
    color: var(--gray-300);
}

.empty-state p {
    font-size: var(--text-base);
}

/* ==================== SWITCH TOGGLE ==================== */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.switch-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    inset-inline-start: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.switch input:checked + .switch-slider {
    background: var(--brand-500);
}

.switch input:checked + .switch-slider::before {
    inset-inline-start: calc(100% - 21px);
}

/* ==================== CHIP / TAG ==================== */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--gray-200);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 12px;
    transition: all var(--transition-fast);
    padding: 0;
}

.chip-remove:hover {
    background: var(--danger-100);
    color: var(--danger-700);
}

/* ==================== TABLE ==================== */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--sp-3) var(--sp-4);
    text-align: start;
    border-bottom: 1px solid var(--gray-200);
    font-size: var(--text-sm);
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    position: sticky;
    top: 0;
    z-index: 1;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

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

/* ==================== TABS ==================== */
.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 var(--sp-5);
    gap: 0;
    background: white;
}

.tab-item {
    padding: var(--sp-4) var(--sp-5);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
}

.tab-item:hover {
    color: var(--gray-700);
}

.tab-item.active {
    color: var(--brand-600);
    border-bottom-color: var(--brand-600);
}

/* ==================== COLLAPSIBLE ==================== */
.collapsible-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--sp-4) var(--sp-5);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.collapsible-trigger:hover {
    background: var(--gray-50);
}

.collapsible-trigger .icon,
.collapsible-trigger .icon-sm {
    transition: transform var(--transition-base);
}

.collapsible-trigger[aria-expanded="true"] .icon,
.collapsible-trigger[aria-expanded="true"] .icon-sm {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.collapsible-content.open {
    max-height: 2000px;
}

/* ==================== RTL LOGICAL PROPERTIES UTILITIES ==================== */
.ms-1 { margin-inline-start: var(--sp-1); }
.ms-2 { margin-inline-start: var(--sp-2); }
.ms-3 { margin-inline-start: var(--sp-3); }
.me-1 { margin-inline-end: var(--sp-1); }
.me-2 { margin-inline-end: var(--sp-2); }
.me-3 { margin-inline-end: var(--sp-3); }
.ps-3 { padding-inline-start: var(--sp-3); }
.ps-4 { padding-inline-start: var(--sp-4); }
.pe-3 { padding-inline-end: var(--sp-3); }
.pe-4 { padding-inline-end: var(--sp-4); }
.border-s { border-inline-start: 3px solid var(--brand-500); }
.border-s-success { border-inline-start: 3px solid var(--success-500); }
.border-s-danger  { border-inline-start: 3px solid var(--danger-500); }
.border-s-warning { border-inline-start: 3px solid var(--warning-500); }
.border-s-info    { border-inline-start: 3px solid var(--info-500); }

/* ==================== UTILITY CLASSES ==================== */
.text-xs    { font-size: var(--text-xs); }
.text-sm    { font-size: var(--text-sm); }
.text-base  { font-size: var(--text-base); }
.text-lg    { font-size: var(--text-lg); }
.text-xl    { font-size: var(--text-xl); }
.text-2xl   { font-size: var(--text-2xl); }
.text-3xl   { font-size: var(--text-3xl); }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-muted   { color: var(--gray-500); }
.text-body    { color: var(--gray-600); }
.text-heading { color: var(--gray-800); }
.text-brand   { color: var(--brand-600); }
.text-success { color: var(--success-700); }
.text-danger  { color: var(--danger-700); }
.text-warning { color: var(--warning-700); }

.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }

.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

.w-full { width: 100%; }
.hidden { display: none; }

/* ==================== BILINGUAL SUPPORT ==================== */
.bilingual {
    direction: rtl;
}

.bilingual .en {
    display: block;
    direction: ltr;
    font-size: 0.85em;
    opacity: 0.8;
    font-weight: 400;
    margin-top: var(--sp-1);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn { animation: fadeIn 300ms ease-out; }
.animate-slideUp { animation: slideUp 300ms ease-out; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    :root {
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }

    /* Prevent iOS auto-zoom on input focus */
    .input,
    .select,
    .textarea,
    select,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-xl: 1.125rem;
        --text-lg: 1rem;
    }

    .card-header {
        padding: var(--sp-4) var(--sp-4);
    }

    .card-body {
        padding: var(--sp-4);
    }

    .modal-panel {
        width: 95%;
    }

    .modal-panel-header {
        padding: var(--sp-5) var(--sp-5) 0;
    }

    .modal-panel-body {
        padding: var(--sp-4) var(--sp-5);
    }

    .modal-panel-footer {
        padding: 0 var(--sp-5) var(--sp-5);
        flex-direction: column;
    }

    .modal-panel-footer .btn {
        width: 100%;
    }

    .toast {
        max-width: calc(100vw - 32px);
    }
}

@media (max-width: 375px) {
    :root {
        --text-xl: 1rem;
        --text-lg: 0.9375rem;
        --sp-6: 20px;
        --sp-8: 28px;
    }

    .btn {
        padding: var(--sp-2) var(--sp-4);
    }

    .btn-lg {
        padding: var(--sp-3) var(--sp-5);
    }
}
