
:root {
    --navy: #10253c;
    --orange: #fa6a36;
    --cream: #fffaf4;
    --muted: #657384;
    --line: #e9e6e1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font-family: 'DM Sans', Arial, sans-serif;
}

h1, h2, h3, .logo {
    font-family: Outfit, Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.wrap {
    max-width: 1120px;
    margin: auto;
    padding: 0 24px;
}

header {
    background: #fffdf9;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--orange);
}

nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

nav a:hover {
    color: var(--orange);
}

.nav-cta, .btn {
    border: 0;
    border-radius: 14px;
    background: var(--orange);
    color: white;
    padding: 14px 22px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 8px 22px #fa6a362b;
}

.btn.secondary {
    background: white;
    color: var(--navy);
    box-shadow: none;
    border: 1px solid #e9e3db;
}

.hero {
    background: var(--navy);
    color: white;
    overflow: hidden;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    background: #fa6a3622;
    border-radius: 50%;
    right: -150px;
    top: -200px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 50px;
    min-height: 535px;
    padding-top: 75px;
    padding-bottom: 80px;
    position: relative;
}

.eyebrow {
    color: #ffc4a5;
    font-size: 12px;
    letter-spacing: 2.3px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    letter-spacing: -3px;
    line-height: 1.03;
    margin: 18px 0;
}

.hero h1 em {
    font-style: normal;
    color: #ff9b69;
}

.hero p {
    color: #cad7e4;
    font-size: 17px;
    line-height: 1.8;
    max-width: 530px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.sun-art {
    aspect-ratio: 1;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 50% 50%,
            #fa6a362e 0 33%,
            transparent 34%
        ),
        radial-gradient(
            circle,
            #ffffff09 0 65%,
            transparent 66%
        );
    position: relative;
}

.sun {
    font-size: clamp(120px, 19vw, 230px);
    filter: drop-shadow(0 15px 40px #fa6a3677);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}


.section {
    padding: 85px 0;
}

.section-head {
    margin-bottom: 30px;
}

.kicker {
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.section h2 {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1.5px;
    margin: 10px 0;
}

.intro {
    color: var(--muted);
    line-height: 1.7;
    max-width: 650px;
}

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

.feature, .panel, .resource, .tip {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 40px #1a2c4010;
}

.feature .symbol {
    font-size: 32px;
    background: #fff0e7;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
}

.feature h3 {
    font-size: 21px;
}

.feature p, .resource p, .tip p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.soft {
    background: #f5f1eb;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.panel h3 {
    font-size: 24px;
    margin-top: 0;
}

.field {
    margin: 24px 0;
}

.field label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 12px;
}

input[type=range] {
    width: 100%;
    accent-color: var(--orange);
    cursor: pointer;
}

.value {
    color: var(--orange);
}

.result {
    background: var(--navy);
    color: white;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result small {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b7c7d6;
    font-weight: 800;
}

.big {
    font-family: Outfit, sans-serif;
    font-size: clamp(65px, 8vw, 105px);
    font-weight: 800;
    letter-spacing: -4px;
    margin: 8px 0;
}

.risk {
    display: inline-block;
    align-self: flex-start;
    padding: 9px 15px;
    border-radius: 50px;
    font-weight: 800;
    background: #ffe3bd;
    color: #763b05;
}

.result p {
    line-height: 1.7;
    color: #d2deea;
}

.notice {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 18px;
}

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

.resource .icon {
    font-size: 29px;
}

.resource h3 {
    margin-bottom: 5px;
}

.resource a {
    font-weight: 800;
    color: #e45a2b;
}

.disclaimer {
    background: #fff2df;
    padding: 18px 22px;
    border-radius: 16px;
    color: #77501d;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 20px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip {
    display: flex;
    gap: 18px;
}

.tip .emoji {
    font-size: 30px;
}

.tip h3 {
    margin: 0 0 8px;
}

.tip p {
    margin: 0;
}

.emergency {
    background: #fff0ed;
    border-left: 5px solid #dd4638;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    line-height: 1.7;
}

.footer {
    background: var(--navy);
    color: #fff;
    padding: 50px 0;
}

.footer p {
    color: #c6d3df;
    line-height: 1.7;
    font-size: 14px;
}

.foot-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

@media (max-width: 760px) {

    .nav {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        font-size: 12px;
    }

    .nav-cta {
        padding: 10px 14px;
        font-size: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .sun-art {
        max-width: 300px;
        margin: auto;
        width: 100%;
    }

    .orbit {
        left: 0;
    }

    .three,
    .resource-grid,
    .calc-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }

    .foot-flex {
        display: block;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

}