/* Shared design settings. Edit here to update all three Bright pages. */
:root {
    /* Brand palette and intentional interactive/surface variants. */
    --color-blue: #03538a;
    --color-red: #e32241;
    --color-accent: #fba404;
    --color-blue-hover: #004aad;
    --color-blue-strong: #002b4a;
    --color-accent-hover: #e79b00;
    --color-text: #202124;
    --color-muted: #929292;
    --color-page: #f7f8fa;
    --color-white: #fff;
    --color-black: #000;
    --color-map: #e9e9dc;
    --color-surface-hover: #e9f3fa;
    --color-hero-fallback: #163d59;
    --color-card-fallback: #244556;
    --color-blog-muted: #596774;
    --color-blog-border: #cbd4dc;
    --content-width-reading: 760px;
    --heading-article-size: clamp(32px, 4vw, 56px);
    --heading-blog-size: clamp(44px, 6vw, 80px);
    --overlay-card: rgb(13 40 57 / 62%);
    --overlay-dark: rgb(0 0 0 / 75%);
    --overlay-panel: rgb(0 0 0 / 40%);
    --overlay-control: rgb(0 0 0 / 50%);
    --overlay-backdrop: rgb(0 0 0 / 45%);
    --overlay-hover: rgb(255 255 255 / 15%);
    --overlay-hover-strong: rgb(255 255 255 / 30%);
    --shadow-step: 0 -12px 40px rgb(0 0 0 / 7%);

    /* Typography: roles, scale and rhythm shared by every page and language. */
    --font-ui: 'Bright Noto Sans', Arial, sans-serif;
    --font-body: 'Bright Noto Sans', Arial, sans-serif;
    --font-control: 'Bright Noto Sans', Arial, sans-serif;
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-md: 18px;
    --text-lg: 20px;
    --text-xl: 24px;
    --text-2xl: 28px;
    --text-3xl: 32px;
    --text-body-size: var(--text-md);
    --text-lead-size: clamp(20px, 2vw, 24px);
    --text-card-size: var(--text-base);
    --text-button-size: var(--text-base);
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --heading-weight: 800;
    --line-body: 1.55;
    --line-lead: 1.4;
    --line-heading: 1.12;
    --line-label: 1.3;
    --line-solid: 1;
    --line-value-heading: 1.05;
    --line-value-body: 1.15;
    --tracking-body: normal;
    --tracking-heading: -0.02em;
    --heading-case: uppercase;
    --card-heading-case: none;
    --button-case: uppercase;
    --heading-line-height: var(--line-heading);
    --heading-page-size: clamp(32px, 8vw, 112px);
    --heading-section-size: clamp(28px, 4vw, 56px);
    --heading-card-size: clamp(22px, 2vw, 28px);
    --heading-school-size: var(--heading-card-size);
    --heading-compact-size: var(--text-lg);
    --heading-fee-size: var(--heading-card-size);
    --heading-value-size: var(--text-base);
    --heading-subtitle-size: var(--heading-card-size);
    --heading-form-size: clamp(26px, 3vw, 44px);
    --heading-enquiry-size: var(--heading-form-size);
    --heading-footer-size: clamp(32px, 5vw, 72px);
    --heading-faq-size: clamp(18px, 1.6vw, 22px);
    --faq-answer-size: var(--text-body-size);
    --faq-question-weight: var(--weight-bold);
    --faq-question-line: var(--line-label);
    --faq-answer-line: var(--line-body);
    --faq-case: none;
    --paragraph-gap: var(--space-4);
    --heading-copy-gap: var(--space-3);
    --value-title-gap: 5px;
    --step-number-size: clamp(60px, 6vw, 88px);
    --benefit-number-size: 40px;
    --icon-size: 28px;
    --icon-large-size: 40px;

    /* Spacing scale: layout dimensions (images, ribbons) remain component-specific. */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-14: 56px;
    --space-16: 64px;
    --space-18: 72px;
    --space-20: 80px;
    --section-space: var(--space-12);
    --section-space-large: var(--space-18);
    --section-space-compact: var(--space-6);
    --section-title-gap: var(--space-10);
    --content-width: 1200px;
    --content-width-wide: 1540px;
    --content-width-about: 1280px;
    --page-gutter: var(--space-4);
    --radius-card: 20px;
    --radius-input: 10px;
    --radius-panel: 50px;
    --radius-pill: 999px;

    /* Durations are also consumed by motion.js and mobile-menu.js. */
    --motion-fast: 200ms;
    --motion-menu: 250ms;
    --motion-accordion: 300ms;
    --motion-reveal: 1000ms;
    --motion-stagger: 100ms;
    --motion-float: 4s;
    --motion-spin: 8s;
    --motion-ease: cubic-bezier(.22, .61, .36, 1);
    --motion-reveal-distance: 100px;
    --motion-float-distance: 5px;
    --transition-fast: var(--motion-fast) ease;
}

@media (max-width: 700px) {
    :root {
        --text-body-size: var(--text-base);
        --heading-value-size: 15px;
        --section-space: var(--space-8);
        --section-space-large: var(--space-12);
        --section-title-gap: var(--space-7);
        --radius-panel: 28px;
        --motion-reveal-distance: 36px;
    }
}
