:root {
    --primary-background: #F8FAFC;
    --secondary-background: #1E3A8A;
    --accent-color: #F97316;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-on-dark: #F1F5F9;
    --border-radius: 8px;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-background);
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--secondary-background);
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    h4,
    h5,
    h6 {
        font-size: 1.1rem;
    }

    body {
        font-size: 15px;
    }

    .mobile-break {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* ===== header ===== */
header {
    width: 100%;
    font-family: var(--font-family);
}

.js-mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

.js-mobile-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-center: center;
}

/* ===== hero ===== */
#hero {
    font-family: var(--font-family);
}

.hero-overlay-gradient {
    background: linear-gradient(90deg, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.95) 40%, rgba(248, 250, 252, 0.3) 100%);
}

@media (max-width: 768px) {
    .hero-overlay-gradient {
        background: rgba(248, 250, 252, 0.88);
    }
}

/* ===== intro ===== */
#intro {
    width: 100%;
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* ===== main-article ===== */
.section-content {
    width: 100%;
}

.prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

/* ===== checklist ===== */
#checklist {
    width: 100%;
    background-color: var(--primary-background);
    font-family: var(--font-family);
}

.checklist-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checklist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== savings ===== */
#savings {
    background-color: var(--primary-background);
    font-family: var(--font-family);
    width: 100%;
}

.js-savings-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.js-savings-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== trust ===== */
#trust {
    width: 100%;
}

.js-trust-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color) !important;
}

/* ===== blog ===== */
#blog {
    font-family: var(--font-family);
}

#blog .blog-card {
    transition: all 0.3s ease;
}

#blog .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#blog .w-full {
    width: 100%;
}

/* ===== editorial ===== */
#editorial {
    font-family: var(--font-family);
}

.js-expert-card {
    transition: all 0.3s ease;
}

/* ===== feedback ===== */
#feedback {
    font-family: var(--font-family);
}

.js-feedback-form input:focus,
.js-feedback-form textarea:focus {
    border-color: var(--accent-color);
}

.js-feedback-form .checkbox:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* ===== footer ===== */
#footer {
    width: 100%;
    font-family: var(--font-family);
    background-color: var(--secondary-background);
    color: var(--text-on-dark);
}

.js-back-to-top:hover {
    transform: translateY(-2px);
}