img {
    max-width: 100%;
}

:root {
    --brand: #FFB703;
    --brand-2: #2A9D8F;
    --ink: #0F172A;
    --muted: #64748B;
    --soft: #F6F8FB;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(2, 8, 23, .10);
    --shadow-sm: 0 10px 25px rgba(2, 8, 23, .08);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.container-narrow {
    max-width: 900px;
}

.nav-blur {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .75);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, #fff 0, #fff 25%, rgba(255, 255, 255, .0) 26%),
    linear-gradient(135deg, rgba(255, 183, 3, .95), rgba(42, 157, 143, .95));
    box-shadow: 0 10px 25px rgba(255, 183, 3, .22);
    display: grid;
    place-items: center;
    color: #fff;
}

.brand-badge i {
    font-size: 20px;
}

.btn-brand {
    background: var(--brand);
    border: 0;
    color: #111827;
    font-weight: 700;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    box-shadow: 0 12px 30px rgba(255, 183, 3, .28);
}

.btn-brand:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

.btn-outline-soft {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .14);
    color: var(--ink);
    background: rgba(255, 255, 255, .6);
}

.btn-outline-soft:hover {
    background: rgba(255, 255, 255, .9);
}

.ad-label {
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    background: rgba(15, 23, 42, .03);
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ad-label i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 183, 3, .18);
    border: 1px solid rgba(255, 183, 3, .22);
    color: #6B4F00;
    flex: 0 0 auto;
}

.ad-label b {
    display: block;
}

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 18% 20%, rgba(255, 183, 3, .28), rgba(255, 183, 3, 0) 60%),
    radial-gradient(900px 520px at 85% 35%, rgba(42, 157, 143, .18), rgba(42, 157, 143, 0) 62%),
    linear-gradient(180deg, #fff, #fff);
}

.hero::after {
    content: "";
    position: absolute;
    inset: -30% -20% auto auto;
    width: 780px;
    height: 780px;
    background: radial-gradient(circle at 30% 35%, rgba(255, 183, 3, .22), rgba(255, 183, 3, 0) 60%),
    radial-gradient(circle at 70% 60%, rgba(42, 157, 143, .18), rgba(42, 157, 143, 0) 58%);
    transform: rotate(18deg);
    pointer-events: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(255, 183, 3, .16);
    color: #6B4F00;
    border: 1px solid rgba(255, 183, 3, .25);
    font-weight: 700;
    letter-spacing: .2px;
    font-size: .85rem;
}

.hero h1 {
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.lead-soft {
    color: var(--muted);
    font-size: 1.075rem;
    line-height: 1.65;
}

.checklist li {
    margin: .35rem 0;
    color: #0B1220;
}

.checklist i {
    color: var(--brand-2);
}

.illus-wrap {
    position: relative;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 183, 3, .16), rgba(42, 157, 143, .10));
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.illus-glow {
    position: absolute;
    inset: auto -35% -45% auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 3, .35), rgba(255, 183, 3, 0) 60%);
    filter: blur(2px);
    pointer-events: none;
}

section {
    padding: 64px 0;
}

.section-soft {
    background: var(--soft);
}

.section-title {
    font-weight: 850;
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-sub {
    color: var(--muted);
}

.card-soft {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--radius);
    box-shadow: 0 14px 35px rgba(2, 8, 23, .06);
}

.mini-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

.icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 183, 3, .18);
    border: 1px solid rgba(255, 183, 3, .22);
    color: #6B4F00;
    flex: 0 0 auto;
    line-height: 1;
    margin-top: 2px;
}

.icon-bubble i {
    font-size: 18px;
}

.icon-bubble.teal {
    background: rgba(42, 157, 143, .14);
    border-color: rgba(42, 157, 143, .22);
    color: #0F5132;
}

.mini-card h5 {
    margin-bottom: .25rem;
}

.step {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 28px rgba(2, 8, 23, .06);
    padding: 18px;
    min-width: 0;
    max-width: 100%;
}

.step .num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 183, 3, .2);
    border: 1px solid rgba(255, 183, 3, .25);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #6B4F00;
    flex: 0 0 auto;
    line-height: 1;
}

.table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 40px rgba(2, 8, 23, .08);
    background: #fff;
}

.table thead th {
    background: #0B1220;
    color: #fff;
    border: 0;
    padding: 14px 14px;
    font-weight: 800;
}

.table td {
    vertical-align: middle;
}

.badge-save {
    background: rgba(42, 157, 143, .14);
    border: 1px solid rgba(42, 157, 143, .22);
    color: #0F5132;
    font-weight: 800;
    padding: .45rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.footnote {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
}

.cta {
    border-radius: calc(var(--radius) + 6px);
    background: radial-gradient(900px 500px at 20% 20%, rgba(255, 183, 3, .25), rgba(255, 183, 3, 0) 60%),
    radial-gradient(900px 520px at 85% 65%, rgba(42, 157, 143, .20), rgba(42, 157, 143, 0) 62%),
    linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .86));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.cta p {
    color: rgba(255, 255, 255, .82);
}

.cta .cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    font-weight: 750;
}

.accordion-button {
    border-radius: 14px !important;
    font-weight: 750;
}

.accordion-item {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(2, 8, 23, .05);
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 183, 3, .16);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(255, 183, 3, .20);
}

footer {
    background: #0B1220;
    color: rgba(255, 255, 255, .86);
}

footer a {
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.divider {
    width: 64px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), rgba(42, 157, 143, .75));
    opacity: .95;
}

.option-tile {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    background: #fff;
}

.option-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

input[type="radio"]:checked + .option-tile,
.option-tile.selected {
    border-color: rgba(25, 135, 84, .45) !important;
    box-shadow: 0 10px 30px rgba(25, 135, 84, .10);
    background: linear-gradient(180deg, rgba(25, 135, 84, .06), rgba(255, 255, 255, 1));
}

.shake {
    animation: shake .22s linear;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 360px;
    max-width: calc(100% - 40px);
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.6s ease;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
}

.cookie-popup .cookie-icon {
    font-size: 26px;
    background: #fff4d6;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.legal-page main {
    padding: 48px 0 64px;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    word-break: break-word;
}

.legal-content .wrapper {
    max-width: none;
}

.legal-content h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: .65rem;
}

.legal-content h3,
.legal-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.6;
    color: var(--muted);
}

.legal-content ul {
    padding-left: 1.2rem;
}

.footer-link {
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.footer-legal-links .btn-link:hover {
    color: #fff !important;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.legal-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.65;
}

.navbar-nav {
    flex-wrap: wrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem 1rem;
    margin-left: auto;
}

.site-nav .nav-link {
    padding: .35rem .5rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.site-nav .nav-link:hover {
    color: var(--brand-2);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
    max-width: 100%;
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-logo-name {
    font-weight: 850;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-logo-accent {
    color: var(--brand-2);
}

.brand-logo--light {
    color: #fff;
}

.brand-logo--light .brand-logo-accent {
    color: var(--brand);
}

#pvQuizForm input,
#pvQuizForm select,
#pvQuizForm button {
    max-width: 100%;
}

.row > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 700px) {
    .table-wrap {
        overflow-x: visible;
    }

    .table-wrap .table tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        padding: 12px 0;
    }

    .table-wrap .table thead {
        display: none;
    }

    .table-wrap .table td {
        border: 0;
        padding: 2px 14px;
    }
}

@media (max-width: 640px) {
    .navbar .container-narrow {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .site-nav .nav-link {
        display: none;
    }

    .site-nav {
        margin-left: auto;
        flex: 0 0 auto;
        gap: 0;
    }

    .navbar .btn-brand {
        width: auto;
        max-width: 100%;
        padding: .65rem 1rem;
        font-size: .875rem;
        white-space: nowrap;
    }

    .navbar .brand-logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-logo-name {
        word-break: break-all;
    }

    .footer-col {
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }

    .container,
    .container-narrow {
        padding-left: 14px;
        padding-right: 14px;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .btn-brand,
    .btn-outline-soft {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .navbar .btn-brand {
        width: auto;
    }
}
