:root {
    --sand: #fbf3e4;
    --sand-deep: #efd9b7;
    --foam: #fffaf0;
    --ocean: #176b87;
    --ocean-dark: #0c3f52;
    --sky: #dff5fb;
    --coral: #e8775f;
    --ink: #1e2b32;
    --muted: #5e727c;
    --card: #ffffff;
    --line: rgba(30, 43, 50, 0.14);
    --shadow: 0 16px 45px rgba(12, 63, 82, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--foam);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.68;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: var(--ocean);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover,
a:focus {
    color: var(--ocean-dark);
}

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

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 1000;
    background: #ffffff;
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 250, 240, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--sand-deep));
    color: var(--ocean-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.site-brand strong,
.site-brand em {
    display: block;
}

.site-brand strong {
    font-size: 1.2rem;
    line-height: 1.1;
}

.site-brand em {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    margin-top: 2px;
}

.menu-toggle,
.site-menu__close {
    cursor: pointer;
    border: 0;
    font: inherit;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--ocean);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(23, 107, 135, 0.2);
}

.menu-toggle__lines {
    width: 22px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle__lines span {
    display: block;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    visibility: hidden;
    opacity: 0;
    background: rgba(12, 63, 82, 0.56);
    transition: opacity 180ms ease, visibility 180ms ease;
}

.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: min(440px, 92vw);
    height: 100vh;
    overflow-y: auto;
    background: #ffffff;
    color: var(--ink);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
    transform: translateX(104%);
    transition: transform 220ms ease;
    padding: 22px;
}

.nav-open .menu-overlay {
    visibility: visible;
    opacity: 1;
}

.nav-open .site-menu {
    transform: translateX(0);
}

.site-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 12px;
}

.site-menu__top strong {
    font-size: 1.25rem;
}

.site-menu__close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
}

.site-menu__group {
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--line);
}

.site-menu__group h2 {
    margin: 0 0 8px;
    color: var(--ocean-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-menu__group ul,
.footer-links ul,
.source-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu__group a {
    display: block;
    padding: 7px 0;
    color: var(--ink);
    text-decoration: none;
}

.site-menu__group a:hover,
.site-menu__group a:focus {
    color: var(--ocean);
    text-decoration: underline;
}

.breadcrumbs {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 0;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li:after {
    content: '/';
    margin-left: 7px;
    color: var(--muted);
}

.breadcrumbs li:last-child:after {
    content: '';
    margin-left: 0;
}

.article-shell {
    width: min(980px, calc(100% - 32px));
    margin: 28px auto 68px;
}

.hero-media {
    margin: 0 0 28px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--sand);
}

.hero-media img {
    display: block;
    width: 100%;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 52px);
}

.kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--ocean-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--ocean-dark);
    line-height: 1.15;
}

h1 {
    margin: 0;
    font-size: clamp(2.1rem, 7vw, 4.4rem);
    letter-spacing: -0.04em;
}

h2 {
    margin-top: 2.1em;
    font-size: clamp(1.55rem, 4vw, 2.15rem);
}

h3 {
    margin-top: 1.6em;
    font-size: 1.25rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 18px 0 24px;
    color: var(--muted);
    font-size: 0.94rem;
}

.lede {
    font-size: 1.15rem;
}

.local-advice,
.local-tip,
.safety-note,
.source-box {
    margin: 28px 0;
    padding: 22px;
    border-radius: 22px;
}

.local-advice {
    background: linear-gradient(135deg, var(--sky), #ffffff);
    border: 1px solid rgba(23, 107, 135, 0.2);
}

.local-tip {
    background: var(--sand);
    border-left: 6px solid var(--coral);
}

.safety-note {
    background: #f8fbfc;
    border: 1px solid rgba(23, 107, 135, 0.18);
}

.local-advice h2,
.local-tip h2,
.safety-note h2,
.source-box h2 {
    margin-top: 0;
}

.toc {
    margin: 30px 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fffdf8;
}

.toc h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

.toc li {
    break-inside: avoid;
    margin: 4px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.info-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fffdf8;
}

.info-card strong {
    display: block;
    color: var(--ocean-dark);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.faq-item {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.faq-item h3 {
    margin: 0 0 8px;
}

.related-pages {
    background: linear-gradient(180deg, var(--foam), var(--sand));
    padding: 56px 0;
}

.related-pages h2 {
    margin-top: 0;
}

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

.related-card {
    display: block;
    min-height: 190px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(12, 63, 82, 0.1);
}

.related-card span,
.related-card strong,
.related-card em {
    display: block;
}

.related-card span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.related-card strong {
    margin: 8px 0;
    color: var(--ocean-dark);
    font-size: 1.18rem;
    line-height: 1.2;
}

.related-card em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.95rem;
}

.site-footer {
    background: var(--ocean-dark);
    color: #eaf8fb;
    padding: 54px 0 28px;
}

.site-footer a {
    color: #ffffff;
}

.site-footer__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.site-footer h2,
.site-footer h3 {
    color: #ffffff;
    margin-top: 0;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--coral);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-links h3 {
    font-size: 1rem;
}

.footer-links li {
    margin: 8px 0;
    font-size: 0.94rem;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #c6e6ee;
    font-size: 0.9rem;
}

@media (max-width: 920px) {
    .toc ol {
        columns: 1;
    }

    .info-grid,
    .related-grid,
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__intro {
        display: block;
    }

    .footer-cta {
        margin-top: 12px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .site-brand__mark {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .site-brand em {
        display: none;
    }

    .menu-toggle__label {
        display: none;
    }

    .article-card {
        border-radius: 22px;
    }

    .info-grid,
    .related-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.don-note {
    margin: 26px 0;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fffdf8, var(--sand));
    border: 1px solid rgba(232, 119, 95, 0.28);
}

.don-note strong {
    display: block;
    color: var(--ocean-dark);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.don-note p {
    margin: 0;
}

.hero-media figcaption,
.content-image figcaption,
.image-grid figcaption {
    padding: 10px 14px;
    color: var(--muted);
    font-size: 0.9rem;
    background: #fffdf8;
}

.hero-media picture,
.content-image picture,
.image-grid picture {
    display: block;
}

.hero-media__image,
.content-image__image,
.image-grid__image {
    display: block;
    width: 100%;
}

.content-image {
    margin: 30px 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ffffff;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.image-grid figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
}

.ad-break {
    margin: 34px 0;
    min-height: 110px;
    border: 1px dashed rgba(23, 107, 135, 0.35);
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: #f8fbfc;
    text-align: center;
}

.ad-break span,
.ad-break em {
    display: block;
}

.ad-break span {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-break em {
    font-style: normal;
    font-size: 0.9rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 8vw, 92px) 0;
    background: radial-gradient(circle at top left, var(--sky), transparent 35%), linear-gradient(135deg, var(--foam), var(--sand));
    border-bottom: 1px solid var(--line);
}

.home-hero:after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(23, 107, 135, 0.1);
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 34px;
    align-items: center;
}

.home-hero h1 {
    max-width: 780px;
}

.home-hero p {
    max-width: 720px;
    font-size: 1.12rem;
}

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

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--ocean);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.button-link--light {
    background: #ffffff;
    color: var(--ocean-dark);
    border: 1px solid var(--line);
}

.home-note-card {
    padding: 26px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.home-note-card strong {
    display: block;
    color: var(--ocean-dark);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.home-section {
    padding: 58px 0;
}

.home-section:nth-of-type(even) {
    background: #fffdf8;
}

.home-section__head {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 22px;
}

.home-section__head h2 {
    margin-top: 0;
}

.feature-grid,
.planner-grid {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.planner-card {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(12, 63, 82, 0.08);
}

.feature-card strong,
.planner-card strong {
    display: block;
    color: var(--ocean-dark);
    font-size: 1.14rem;
    line-height: 1.2;
    margin-bottom: 6px;
}

.feature-card span,
.planner-card span {
    display: block;
    color: var(--muted);
    font-size: 0.96rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--line);
}

.comparison-table th,
.comparison-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    background: var(--sand);
    color: var(--ocean-dark);
}

.comparison-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 920px) {
    .home-hero__inner {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .planner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .image-grid,
    .feature-grid,
    .planner-grid {
        grid-template-columns: 1fr;
    }
}
