.kc-walk-weather {
    --kc-ww-ink: #27302c;
    --kc-ww-muted: #66716b;
    --kc-ww-border: rgba(39, 48, 44, 0.12);
    --kc-ww-peach: #fff1e8;
    --kc-ww-mint: #edf8ef;
    --kc-ww-sky: #edf6ff;
    --kc-ww-rose: #fff0f3;
    --kc-ww-cream: #fff9e9;
    color: var(--kc-ww-ink);
    background: #fffdf9;
}

.kc-walk-weather * {
    box-sizing: border-box;
}

.kc-walk-weather__shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.kc-walk-weather__hero {
    padding: 64px 0 54px;
    background:
        radial-gradient(circle at 82% 18%, rgba(176, 226, 193, 0.42), transparent 28%),
        radial-gradient(circle at 12% 2%, rgba(255, 195, 164, 0.34), transparent 32%),
        linear-gradient(180deg, #fffaf5 0%, #fffdf9 100%);
}

.kc-walk-weather__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: center;
}

.kc-walk-weather__eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #6d776f;
}

.kc-walk-weather h1,
.kc-walk-weather h2,
.kc-walk-weather p {
    max-width: none;
}

.kc-walk-weather h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.45rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.kc-walk-weather__lead {
    max-width: 760px !important;
    margin: 24px 0 0;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    color: var(--kc-ww-muted);
}

.kc-walk-weather__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.kc-walk-weather__trust span {
    padding: 10px 14px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    font-weight: 700;
}

.kc-walk-weather__hero-note {
    padding: 28px;
    border: 1px solid rgba(39, 48, 44, 0.1);
    border-radius: 30px;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 20px 70px rgba(79, 70, 58, 0.09);
}

.kc-walk-weather__hero-note > span {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: var(--kc-ww-peach);
    font-size: 1.7rem;
}

.kc-walk-weather__hero-note h2 {
    margin: 18px 0 10px;
    font-size: 1.35rem;
}

.kc-walk-weather__hero-note p {
    margin: 0;
    color: var(--kc-ww-muted);
    line-height: 1.65;
}

.kc-walk-weather__section {
    padding: 66px 0;
}

.kc-walk-weather__section--soft {
    background: #f7fbf8;
}

.kc-walk-weather__section--sources {
    background: #f7f4ff;
}

.kc-walk-weather__heading,
.kc-walk-weather__timeline-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.kc-walk-weather__heading h2,
.kc-walk-weather__timeline-head h2,
.kc-walk-weather__sources h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    letter-spacing: -0.035em;
}

.kc-walk-weather__heading > p,
.kc-walk-weather__timeline-head > p {
    max-width: 480px;
    margin: 0;
    color: var(--kc-ww-muted);
    line-height: 1.6;
}

.kc-walk-weather__location-card {
    padding: 30px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 30px;
    background: linear-gradient(135deg, var(--kc-ww-cream), #fff);
    box-shadow: 0 18px 60px rgba(79, 70, 58, 0.07);
}

.kc-walk-weather__field {
    display: grid;
    gap: 8px;
}

.kc-walk-weather__field > span {
    font-weight: 800;
}

.kc-walk-weather__field select {
    width: min(100%, 560px);
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(39, 48, 44, 0.18);
    border-radius: 16px;
    background: #fff;
    color: var(--kc-ww-ink);
    font: inherit;
}

.kc-walk-weather__location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.kc-walk-weather__button {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 15px;
    background: #303b35;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.kc-walk-weather__button--secondary {
    border: 1px solid rgba(39, 48, 44, 0.15);
    background: #fff;
    color: var(--kc-ww-ink);
}

.kc-walk-weather__button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(39, 48, 44, 0.12);
}

.kc-walk-weather__button:disabled {
    opacity: 0.58;
    cursor: wait;
}

.kc-walk-weather__button:focus-visible,
.kc-walk-weather select:focus-visible,
.kc-walk-weather a:focus-visible {
    outline: 3px solid rgba(77, 126, 245, 0.45);
    outline-offset: 3px;
}

.kc-walk-weather__privacy,
.kc-walk-weather__status {
    margin: 18px 0 0;
    color: var(--kc-ww-muted);
    line-height: 1.65;
}

.kc-walk-weather__privacy {
    max-width: 960px !important;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    font-size: 0.93rem;
}

.kc-walk-weather__status {
    font-weight: 700;
}

.kc-walk-weather__status.is-error {
    color: #9b343d;
}

.kc-walk-weather__current {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 28px;
    align-items: center;
}

.kc-walk-weather__current h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.kc-walk-weather__current p {
    margin: 8px 0 0;
    color: var(--kc-ww-muted);
}

.kc-walk-weather__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kc-walk-weather__metrics > div {
    display: grid;
    gap: 3px;
    min-height: 128px;
    align-content: center;
    justify-items: center;
    padding: 18px 12px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.kc-walk-weather__metrics span {
    font-size: 1.4rem;
}

.kc-walk-weather__metrics strong {
    font-size: 1.35rem;
}

.kc-walk-weather__metrics small {
    color: var(--kc-ww-muted);
}

.kc-walk-weather__advice {
    margin: 28px 0 44px;
    padding: 26px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 28px;
}

.kc-walk-weather__advice.is-heat {
    background: var(--kc-ww-peach);
}

.kc-walk-weather__advice.is-caution {
    background: var(--kc-ww-cream);
}

.kc-walk-weather__advice.is-calm {
    background: var(--kc-ww-mint);
}

.kc-walk-weather__advice-head {
    display: grid;
    gap: 7px;
}

.kc-walk-weather__advice-head > span {
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.kc-walk-weather__advice-head > strong {
    font-size: 1.35rem;
}

.kc-walk-weather__advice-head p,
.kc-walk-weather__caution p {
    margin: 0;
    color: var(--kc-ww-muted);
    line-height: 1.6;
}

.kc-walk-weather__cautions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.kc-walk-weather__caution {
    padding: 17px;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
}

.kc-walk-weather__caution strong {
    display: block;
    margin-bottom: 5px;
}

.kc-walk-weather__timeline {
    display: grid;
    grid-template-columns: repeat(9, minmax(122px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.kc-walk-weather__hour {
    display: grid;
    gap: 7px;
    min-width: 122px;
    padding: 18px 14px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 20px;
    background: #fff;
}

.kc-walk-weather__hour.is-heat {
    background: var(--kc-ww-peach);
}

.kc-walk-weather__hour.is-caution {
    background: var(--kc-ww-cream);
}

.kc-walk-weather__hour > span {
    font-size: 1.5rem;
}

.kc-walk-weather__hour b {
    font-size: 1.15rem;
}

.kc-walk-weather__hour small {
    color: var(--kc-ww-muted);
    line-height: 1.45;
}

.kc-walk-weather__safety-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kc-walk-weather__safety-card {
    padding: 26px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 26px;
    background: #fff;
}

.kc-walk-weather__safety-card:nth-child(1) {
    background: var(--kc-ww-cream);
}

.kc-walk-weather__safety-card:nth-child(2) {
    background: var(--kc-ww-mint);
}

.kc-walk-weather__safety-card--urgent {
    background: var(--kc-ww-rose) !important;
}

.kc-walk-weather__safety-card > span {
    font-size: 2rem;
}

.kc-walk-weather__safety-card h2 {
    margin: 16px 0 9px;
    font-size: 1.3rem;
}

.kc-walk-weather__safety-card p {
    margin: 0;
    color: var(--kc-ww-muted);
    line-height: 1.65;
}

.kc-walk-weather__sources {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.kc-walk-weather__sources p {
    color: var(--kc-ww-muted);
    line-height: 1.65;
}

.kc-walk-weather__sources ul {
    margin: 0;
    padding: 22px 24px 22px 42px;
    border: 1px solid var(--kc-ww-border);
    border-radius: 24px;
    background: #fff;
}

.kc-walk-weather__sources li + li {
    margin-top: 11px;
}

.kc-walk-weather__sources a {
    color: #315c55;
    font-weight: 800;
}

@media (max-width: 900px) {
    .kc-walk-weather__hero-grid,
    .kc-walk-weather__current,
    .kc-walk-weather__sources {
        grid-template-columns: 1fr;
    }

    .kc-walk-weather__safety-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kc-walk-weather__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .kc-walk-weather__shell {
        width: min(100% - 24px, 1180px);
    }

    .kc-walk-weather__hero,
    .kc-walk-weather__section {
        padding: 44px 0;
    }

    .kc-walk-weather__heading,
    .kc-walk-weather__timeline-head {
        display: grid;
        align-items: start;
    }

    .kc-walk-weather__location-card,
    .kc-walk-weather__hero-note,
    .kc-walk-weather__advice,
    .kc-walk-weather__safety-card {
        border-radius: 22px;
    }

    .kc-walk-weather__location-actions,
    .kc-walk-weather__button {
        width: 100%;
    }

    .kc-walk-weather__button {
        justify-content: center;
    }

    .kc-walk-weather__safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .kc-walk-weather h1 {
        font-size: 2.45rem;
    }

    .kc-walk-weather__metrics {
        grid-template-columns: 1fr 1fr;
    }

    .kc-walk-weather__metrics > div {
        min-height: 108px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-walk-weather *,
    .kc-walk-weather *::before,
    .kc-walk-weather *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
