:root {
    --tc-gradient-top: #E9FFF9;
    --tc-gradient-middle-light: #94D2BD;
    --tc-gradient-middle-dark: #0A9396;
    --tc-gradient-bottom: #005F73;
    --tc-gradient-deep: #003E52;
    --tc-ink: #05292E;
    --tc-ink-muted: rgba(5, 41, 46, 0.74);
    --tc-light-mint: #D8FFF2;
    --tc-link: #006D9E;
    --tc-white-soft: rgba(255, 255, 255, 0.28);
    --tc-white-line: rgba(255, 255, 255, 0.38);
    --tc-header-height: 78px;
    --tc-footer-height: 74px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--tc-gradient-bottom);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--tc-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        linear-gradient(
            180deg,
            #F2FFFC 0%,
            #D9F7EF 14%,
            #AFE3D6 29%,
            #6BC6BE 44%,
            #2EA5A8 59%,
            #0A7C87 74%,
            var(--tc-gradient-bottom) 88%,
            var(--tc-gradient-deep) 100%
        );
    letter-spacing: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.ocean-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 3;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px 12px;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(233, 255, 249, 0.94), rgba(233, 255, 249, 0.48) 62%, rgba(233, 255, 249, 0));
    pointer-events: none;
}

.site-nav {
    position: relative;
    display: flex;
    gap: 8px;
    justify-content: center;
    width: min(980px, 100%);
    margin: 0 auto;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    max-width: 178px;
    padding: 8px 13px;
    border: 1px solid rgba(5, 41, 46, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.26);
    color: var(--tc-ink);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
    box-shadow: 0 10px 26px rgba(0, 79, 99, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-nav__link:focus-visible {
    outline: 3px solid rgba(216, 255, 242, 0.84);
    outline-offset: 2px;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: rgba(216, 255, 242, 0.82);
    color: var(--tc-gradient-deep);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100svh;
    padding: calc(var(--tc-header-height) + env(safe-area-inset-top, 0px) + 34px) 22px calc(var(--tc-footer-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

.page-section {
    width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
}

.page-section--center {
    display: grid;
    min-height: calc(100svh - var(--tc-header-height) - 94px);
    align-content: center;
    justify-items: center;
}

.page-section--readable {
    width: min(780px, 100%);
    text-align: start;
}

.page-kicker {
    margin: 0 0 12px;
    color: var(--tc-ink-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.page-title {
    max-width: 840px;
    margin: 0 auto 24px;
    color: var(--tc-ink);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.08;
    text-align: center;
    text-shadow: 0 1px 18px rgba(255, 255, 255, 0.42);
}

.page-copy {
    width: min(720px, 100%);
    margin: 0 auto;
    color: var(--tc-ink);
    font-size: 18px;
    line-height: 1.56;
    text-align: start;
    text-shadow: 0 1px 13px rgba(255, 255, 255, 0.35);
}

.page-copy--intro,
.page-copy--centered {
    text-align: center;
}

.page-copy p {
    margin: 0 0 16px;
}

.page-copy p:last-child {
    margin-bottom: 0;
}

.section-title {
    margin: 28px auto 16px;
    color: var(--tc-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    width: 100%;
}

.safety-tile {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px;
    border: 1px solid var(--tc-white-line);
    border-radius: 8px;
    background: var(--tc-white-soft);
    color: var(--tc-ink);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(0, 63, 82, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.safety-tile:hover,
.safety-tile:focus-visible {
    background: rgba(216, 255, 242, 0.68);
}

.safety-tile:focus-visible {
    outline: 3px solid rgba(216, 255, 242, 0.84);
    outline-offset: 2px;
}

.safety-tile__name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.safety-tile__title {
    color: var(--tc-ink-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.content-rich {
    width: 100%;
    color: var(--tc-ink);
    font-size: 18px;
    line-height: 1.62;
    white-space: pre-line;
    text-shadow: 0 1px 13px rgba(255, 255, 255, 0.30);
}

.content-rich :where(p, ul, ol, blockquote, table) {
    margin-block-start: 0;
    margin-block-end: 18px;
    white-space: normal;
}

.content-rich :where(h2, h3) {
    margin-block-start: 28px;
    margin-block-end: 12px;
    line-height: 1.2;
}

.content-rich a {
    color: var(--tc-link);
    font-weight: 700;
}

.translation-key {
    display: inline-block;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(216, 255, 242, 0.56);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.24);
    color: var(--tc-gradient-deep);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.site-footer {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding: 12px 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -28px 0 0;
    background:
        linear-gradient(0deg, rgba(0, 63, 82, 0.74), rgba(0, 95, 115, 0.24) 58%, rgba(0, 95, 115, 0));
    pointer-events: none;
}

.language-switcher {
    position: relative;
    display: flex;
    width: min(360px, 100%);
    gap: 8px;
}

.language-switcher__select,
.language-switcher__button {
    min-height: 40px;
    border: 1px solid rgba(216, 255, 242, 0.42);
    border-radius: 8px;
    background: rgba(216, 255, 242, 0.82);
    color: var(--tc-gradient-deep);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 12px 28px rgba(0, 46, 66, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.language-switcher__select {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 12px;
}

.language-switcher__button {
    flex: 0 0 auto;
    padding: 0 14px;
    cursor: pointer;
}

.language-switcher__select:focus-visible,
.language-switcher__button:focus-visible {
    outline: 3px solid rgba(216, 255, 242, 0.84);
    outline-offset: 2px;
}

@media (max-width: 720px) {
    :root {
        --tc-header-height: 96px;
        --tc-footer-height: 80px;
    }

    .site-header {
        padding-inline: 10px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav__link {
        max-width: 150px;
        min-height: 36px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .page-shell {
        padding-inline: 18px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-copy,
    .content-rich {
        font-size: 17px;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .page-title {
        font-size: 28px;
    }

    .site-nav__link {
        max-width: 132px;
        font-size: 12px;
    }
}
