* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --coral: #ff6b6b;
    --coral-light: #ffa8a8;
    --orange: #ff922b;
    --orange-light: #ffd8a8;
    --yellow: #fcc419;
    --yellow-light: #fff3bf;
    --green: #51cf66;
    --green-light: #d3f9d8;
    --teal: #22b8cf;
    --teal-light: #c3fae8;
    --pink: #f06595;
    --purple: #cc5de8;
    --ink: #2b2d42;
    --ink-light: #4a4e69;
    --muted: #6c757d;
    --line: #f1e8df;
    --cream: #fffbf5;
    --soft: #fff9f2;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --shadow: 0 8px 32px rgba(255, 107, 107, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 48px rgba(255, 107, 107, 0.14), 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 20px rgba(43, 45, 66, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: "Nunito", "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
}

/* ── Navbar ────────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 251, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-container,
.section-container,
.footer-container {
    margin: 0 auto;
    max-width: 1140px;
}

.nav-container {
    align-items: center;
    display: flex;
    min-height: 72px;
    justify-content: space-between;
    padding: 0 24px;
}

.brand {
    align-items: center;
    color: var(--coral);
    display: inline-flex;
    font-size: 20px;
    font-weight: 800;
    gap: 12px;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-logo {
    height: 44px;
    width: auto;
}

.nav-phone {
    background: var(--yellow-light);
    border: 2px solid var(--yellow);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-phone:hover {
    box-shadow: 0 4px 14px rgba(252, 196, 25, 0.35);
    transform: translateY(-2px) scale(1.02);
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
    background:
        radial-gradient(ellipse at 15% 85%, rgba(252, 196, 25, 0.4), transparent 40%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 107, 107, 0.3), transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(81, 207, 102, 0.15), transparent 50%),
        linear-gradient(155deg, #ff922b 0%, #ff6b6b 35%, #f06595 65%, #cc5de8 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 3px, transparent 3px);
    background-size: 60px 60px, 90px 90px;
    background-position: 0 0, 30px 40px;
    content: "";
    inset: 0;
    position: absolute;
    opacity: 0.6;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-content {
    padding: 100px 24px 90px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-kicker,
.section-kicker {
    color: var(--coral);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-kicker {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: var(--white);
    display: inline-block;
    font-size: 13px;
    padding: 6px 18px;
}

.hero h1 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 auto;
    max-width: 800px;
    overflow-wrap: break-word;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    font-weight: 500;
    margin: 20px auto 0;
    max-width: 640px;
}

.hero-actions {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.cta-button,
.submit-button {
    background: var(--yellow);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(252, 196, 25, 0.4);
    color: var(--ink);
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    padding: 16px 34px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.submit-button:hover:not(:disabled) {
    box-shadow: 0 10px 32px rgba(252, 196, 25, 0.55);
    transform: translateY(-3px) scale(1.03);
}

.secondary-link {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-link:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.trust-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 44px auto 0;
    max-width: 700px;
    flex-wrap: wrap;
}

.trust-bar div {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 16px 24px;
    flex: 1;
    min-width: 150px;
}

.trust-bar strong,
.trust-bar span {
    display: block;
}

.trust-bar strong {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.trust-bar span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

/* ── Content sections ─────────────────────────────────────── */

.how-it-works,
.why-choose-us,
.contact-form-section {
    padding: 80px 24px;
}

.why-choose-us {
    background: linear-gradient(180deg, var(--cream) 0%, #fff0e6 50%, var(--cream) 100%);
    position: relative;
}

.why-choose-us::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 60px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--yellow-light);
    opacity: 0.6;
}

.why-choose-us::after {
    content: "";
    position: absolute;
    bottom: 80px;
    left: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green-light);
    opacity: 0.7;
}

.how-it-works h2,
.why-choose-us h2,
.contact-form-section h2 {
    color: var(--ink);
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.16;
    margin-bottom: 40px;
    text-align: center;
}

.section-kicker {
    text-align: center;
}

/* ── Step cards ───────────────────────────────────────────── */

.steps-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.step-card,
.benefit-card {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.step-card:nth-child(1)::before { background: var(--orange); }
.step-card:nth-child(2)::before { background: var(--teal); }
.step-card:nth-child(3)::before { background: var(--green); }

.step-card {
    text-align: left;
}

.step-card:hover,
.benefit-card:hover {
    border-color: var(--orange-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.step-icon,
.benefit-icon {
    align-items: center;
    border-radius: var(--radius-sm);
    color: var(--white);
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 18px;
    width: 54px;
    font-weight: 800;
}

.step-card:nth-child(1) .step-icon {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
}
.step-card:nth-child(2) .step-icon {
    background: linear-gradient(135deg, var(--teal), var(--green));
}
.step-card:nth-child(3) .step-icon {
    background: linear-gradient(135deg, var(--coral), var(--pink));
}

.step-icon svg {
    height: 26px;
    width: 26px;
}

.step-icon path,
.step-icon circle,
.step-icon polygon {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.step-card h3,
.benefit-card h3 {
    color: var(--ink);
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p,
.benefit-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ── Benefit cards ────────────────────────────────────────── */

.benefits-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: 940px;
    position: relative;
    z-index: 1;
}

.benefit-card:nth-child(1) .benefit-icon {
    background: linear-gradient(135deg, #fff3bf, #ffe066);
    color: #e67700;
}
.benefit-card:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #d3f9d8, #8ce99a);
    color: #2b8a3e;
}
.benefit-card:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #ffc9c9, #ffa8a8);
    color: #c92a2a;
}
.benefit-card:nth-child(4) .benefit-icon {
    background: linear-gradient(135deg, #c3fae8, #96f2d7);
    color: #087f5b;
}

.benefit-icon {
    border-radius: var(--radius-sm);
    font-size: 20px;
    height: 52px;
    width: 52px;
}

/* ── Signup form ──────────────────────────────────────────── */

.contact-form-section {
    background: linear-gradient(180deg, var(--cream) 0%, #fef3e2 100%);
}

.form-layout {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.form-copy {
    padding-top: 26px;
}

.form-copy .section-kicker,
.form-copy h2 {
    text-align: left;
}

.form-copy h2 {
    margin-bottom: 18px;
}

.form-subtext {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 26px;
    max-width: 600px;
}

.assurance-list {
    color: var(--ink);
    display: grid;
    gap: 14px;
    list-style: none;
}

.assurance-list li {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 12px;
}

.assurance-list li::before {
    align-items: center;
    background: var(--green-light);
    border-radius: 50%;
    color: var(--green);
    content: "\2713";
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.form-panel {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
}

.form-panel > .form-subtext {
    border-bottom: 2px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.quote-form {
    display: grid;
    gap: 16px;
}

.field-group {
    position: relative;
}

.field-group label {
    color: var(--ink-light);
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.field-group input {
    background: var(--soft);
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    display: block;
    font: inherit;
    font-size: 16px;
    padding: 14px 16px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.field-group input:focus {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 146, 43, 0.12);
    outline: none;
}

.field-group input::placeholder {
    color: #adb5bd;
}

.consent-row {
    align-items: flex-start;
    color: var(--muted);
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1.5;
}

.consent-row input {
    accent-color: var(--orange);
    flex: 0 0 auto;
    margin-top: 3px;
    min-height: 18px;
    min-width: 18px;
}

.consent-row a {
    color: var(--coral);
    font-weight: 700;
}

.submit-button {
    background: linear-gradient(135deg, var(--orange), var(--coral));
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(255, 107, 107, 0.3);
    color: var(--white);
    margin-top: 6px;
    padding: 16px;
    width: 100%;
}

.submit-button:hover:not(:disabled) {
    box-shadow: 0 12px 36px rgba(255, 107, 107, 0.45);
    transform: translateY(-2px);
}

.submit-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.3);
    opacity: 0.5;
}

.form-message {
    color: var(--muted);
    font-size: 14px;
    min-height: 22px;
    text-align: center;
}

.form-message.success {
    color: #2b8a3e;
    font-weight: 800;
}

/* ── Legal pages ──────────────────────────────────────────── */

.legal-hero {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(252, 196, 25, 0.2), transparent 40%),
        linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
    color: var(--white);
    padding: 78px 24px 64px;
}

.legal-hero .section-container {
    max-width: 920px;
}

.legal-hero h1 {
    font-family: "Fredoka", "Nunito", "Inter", sans-serif;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: 16px;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.legal-section {
    background: var(--cream);
    padding: 56px 24px 78px;
}

.legal-document {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 920px;
    padding: 56px;
}

.legal-document h2 {
    color: var(--ink);
    font-family: "Fredoka", "Nunito", "Inter", sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.24;
    margin: 44px 0 16px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    color: var(--coral);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 24px 0 8px;
}

.legal-document p,
.legal-document li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.legal-document p {
    max-width: 72ch;
}

.legal-document p + p,
.legal-document ul + p,
.legal-document ol + p {
    margin-top: 18px;
}

.legal-document ul,
.legal-document ol {
    margin: 12px 0 18px 22px;
}

.legal-document a {
    color: var(--coral);
    font-weight: 700;
}

.effective-date {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

/* ── Footer ───────────────────────────────────────────────── */

.footer {
    background: var(--white);
    border-top: 2px solid var(--line);
    color: var(--ink-light);
    padding: 30px 24px;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
}

.footer-sep {
    color: var(--line);
}

.footer a {
    color: var(--ink-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--coral);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    padding-top: 16px;
    text-align: center;
    width: 100%;
}

/* ── Scroll reveal ────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.is-visible {
    animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 860px) {
    .hero h1 {
        font-size: 40px;
    }

    .steps-grid,
    .benefits-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .form-layout {
        gap: 28px;
    }

    .form-copy {
        padding-top: 0;
    }

    .form-copy .section-kicker,
    .form-copy h2 {
        text-align: center;
    }

    .form-subtext,
    .assurance-list {
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }

    .why-choose-us::before,
    .why-choose-us::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-container {
        min-height: auto;
        padding: 12px 18px;
    }

    .brand {
        font-size: 17px;
        gap: 10px;
    }

    .brand-logo {
        height: 38px;
    }

    .nav-phone {
        display: none;
    }

    .hero-content {
        padding: 70px 18px 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p,
    .legal-hero p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-bar {
        flex-direction: column;
        gap: 10px;
    }

    .trust-bar div {
        min-width: 0;
    }

    .how-it-works,
    .why-choose-us,
    .contact-form-section {
        padding: 54px 18px;
    }

    .how-it-works h2,
    .why-choose-us h2,
    .contact-form-section h2 {
        font-size: 28px;
    }

    .step-card,
    .benefit-card,
    .form-panel,
    .legal-document {
        padding: 24px;
    }

    .legal-hero {
        padding: 56px 18px 46px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-section {
        padding: 34px 18px 58px;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .legal-hero h1 {
        font-size: 28px;
    }

    .cta-button,
    .submit-button {
        font-size: 16px;
        padding: 14px 20px;
        width: 100%;
    }

    .step-card,
    .benefit-card,
    .form-panel,
    .legal-document {
        padding: 20px;
    }
}

/* ── Blog section (homepage) ─────────────────────────────── */

.blog-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--cream) 0%, #fff0e6 50%, var(--cream) 100%);
}

.blog-section h2 {
    color: var(--ink);
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.blog-section > .section-kicker {
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow));
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--coral-light);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--coral);
    margin-bottom: 10px;
    background: rgba(255, 107, 107, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-block;
}

.blog-card h3 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--ink);
}

.blog-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.blog-card-body::after {
    content: "Read more →";
    color: var(--coral);
    font-weight: 700;
    font-size: 13px;
    margin-top: auto;
    padding-top: 14px;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-body::after {
    color: var(--orange);
}

.blog-view-all {
    text-align: center;
    margin-top: 40px;
}

.blog-view-all a {
    background: var(--yellow);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    padding: 14px 30px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-view-all a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 196, 25, 0.4);
}

/* ── Blog listing hero ───────────────────────────────────── */

.blog-listing-hero {
    background:
        radial-gradient(ellipse at 15% 85%, rgba(252, 196, 25, 0.4), transparent 40%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 107, 107, 0.3), transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(81, 207, 102, 0.15), transparent 50%),
        linear-gradient(155deg, #ff922b 0%, #ff6b6b 35%, #f06595 65%, #cc5de8 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding: 86px 24px 72px;
    text-align: center;
}

.blog-listing-hero::before {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 3px, transparent 3px);
    background-size: 60px 60px, 90px 90px;
    background-position: 0 0, 30px 40px;
    content: "";
    inset: 0;
    position: absolute;
    opacity: 0.6;
}

.blog-listing-hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.blog-listing-hero .section-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.blog-listing-hero .hero-kicker {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: var(--white);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    margin-bottom: 12px;
}

.blog-listing-hero h1 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.blog-listing-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Blog back navigation ───────────────────────────────── */

.blog-back-nav {
    background: var(--soft);
    border-bottom: 2px solid var(--line);
    padding: 12px 0;
}

.blog-back-nav .section-container {
    max-width: 800px;
    padding: 0 24px;
}

.blog-back-nav a {
    color: var(--coral);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-back-nav a:hover {
    color: var(--orange);
    gap: 10px;
}

/* ── Blog article page ───────────────────────────────────── */

.article-header {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(252, 196, 25, 0.18), transparent 45%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 107, 0.14), transparent 45%),
        linear-gradient(155deg, var(--soft) 0%, #fff0e6 40%, #ffe8d6 70%, #ffeef0 100%);
    color: var(--ink);
    padding: 48px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    background-image:
        radial-gradient(circle, rgba(255, 107, 107, 0.1) 2px, transparent 2px),
        radial-gradient(circle, rgba(252, 196, 25, 0.08) 3px, transparent 3px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 35px;
    content: "";
    inset: 0;
    position: absolute;
    opacity: 0.8;
}

.article-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.article-header .section-container {
    position: relative;
    z-index: 1;
}

.article-category {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(252, 196, 25, 0.3);
}

.article-header h1 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 16px;
    color: var(--ink);
}

.article-meta {
    color: var(--ink-light);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.75;
}

.meta-sep {
    margin: 0 8px;
    opacity: 0.4;
}

/* ── Article body ────────────────────────────────────────── */

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

.article-hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
    box-shadow: var(--shadow);
}

.article-body h2 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    margin: 52px 0 12px;
    line-height: 1.2;
    padding-bottom: 14px;
    position: relative;
}

.article-body h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--orange));
    border-radius: 999px;
}

.article-body h3 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 36px 0 12px;
}

.article-body p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink-light);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 24px 8px;
    color: var(--ink-light);
    font-size: 17px;
    line-height: 1.85;
    padding-left: 20px;
}

.article-body ul {
    list-style: none;
}

.article-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.article-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), var(--orange));
}

.article-body ol li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.article-body ol li::marker {
    color: var(--coral);
    font-weight: 800;
}

.article-body strong {
    color: var(--ink);
    font-weight: 800;
}

.article-body a {
    color: var(--coral);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 107, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.article-body a:hover {
    text-decoration-color: var(--coral);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius);
    margin: 28px 0;
    box-shadow: var(--shadow-card);
}

.article-body blockquote {
    border-left: 4px solid var(--orange);
    background: var(--soft);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--ink-light);
    font-size: 17px;
    line-height: 1.8;
}

/* ── Article end flourish ────────────────────────────────── */

.article-body::after {
    content: "✦  ✦  ✦";
    display: block;
    text-align: center;
    color: var(--coral-light);
    font-size: 14px;
    letter-spacing: 14px;
    padding-top: 40px;
    margin-top: 16px;
    border-top: 2px solid var(--line);
}

/* ── Disclosure banner ───────────────────────────────────── */

.disclosure-banner {
    background: linear-gradient(135deg, #fffde8 0%, var(--yellow-light) 100%);
    border: 2px solid var(--yellow);
    border-left: 5px solid var(--yellow);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-light);
    margin-bottom: 36px;
}

.disclosure-banner strong {
    color: var(--ink);
}

.disclosure-banner a {
    color: var(--coral);
    font-weight: 700;
}

/* ── Blog responsive ─────────────────────────────────────── */

@media (max-width: 860px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-listing-hero {
        padding: 64px 18px 56px;
    }

    .blog-listing-hero h1 {
        font-size: 34px;
    }

    .article-header {
        padding: 36px 18px 50px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-body {
        padding: 28px 18px 48px;
    }

    .article-body h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .blog-back-nav {
        padding: 10px 0;
    }
}
