:root {
    --ink: #17263a;
    --ink-soft: #52647a;
    --navy: #0c2d50;
    --blue: #146bc2;
    --blue-soft: #e8f3ff;
    --line: #dbe5ef;
    --paper: #ffffff;
    --surface: #f5f8fc;
    --surface-warm: #fbfcfe;
    --success: #167454;
    --shadow: 0 24px 70px rgba(20, 49, 78, 0.09);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-width: 280px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 4%, rgba(39, 128, 214, 0.09), transparent 28rem),
        linear-gradient(180deg, #fbfdff 0, var(--surface) 34rem, #f8fafc 100%);
    font-family: "Aptos", "Trebuchet MS", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(20, 107, 194, 0.32);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 9px;
    color: #fff;
    background: var(--navy);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(12, 45, 80, 0.11);
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 46px;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.brand-mark svg path:first-child {
    fill: var(--blue-soft);
    stroke: var(--blue);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.header-link {
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 26px;
    text-decoration: none;
}

.header-link:hover {
    border-color: #a9c6e4;
    background: #fff;
}

main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.policy-hero {
    position: relative;
    overflow: hidden;
    margin: 44px 0 34px;
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid #d7e4f1;
    border-radius: 28px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.97), rgba(241, 248, 255, 0.95)),
        var(--paper);
    box-shadow: var(--shadow);
}

.policy-hero::after {
    content: "";
    position: absolute;
    top: -110px;
    right: -85px;
    width: 330px;
    height: 330px;
    border: 58px solid rgba(20, 107, 194, 0.055);
    border-radius: 50%;
}

.hero-eyebrow {
    position: relative;
    z-index: 1;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
.policy-section h2 {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 12px 0 14px;
    color: var(--navy);
    font-size: clamp(2.55rem, 7vw, 5.4rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero-summary {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.55;
}

.effective-date {
    position: relative;
    z-index: 1;
    display: inline-grid;
    gap: 1px;
    margin-top: 28px;
    padding: 10px 14px;
    border-left: 3px solid var(--blue);
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.68);
}

.effective-date span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.effective-date strong {
    color: var(--navy);
    font-size: 0.92rem;
}

.policy-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(24px, 5vw, 62px);
    align-items: start;
    margin-bottom: 64px;
}

.policy-layout > *,
.policy-navigation,
.navigation-card,
.navigation-card nav {
    min-width: 0;
    max-width: 100%;
}

.policy-navigation {
    position: sticky;
    top: 24px;
}

.navigation-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 32px rgba(20, 49, 78, 0.05);
    backdrop-filter: blur(12px);
}

.navigation-card > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navigation-card nav {
    display: grid;
    gap: 1px;
}

.navigation-card a {
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 0.79rem;
    line-height: 1.3;
    text-decoration: none;
}

.navigation-card a:hover,
.navigation-card a:focus-visible {
    color: var(--blue);
    background: var(--blue-soft);
}

.policy-document {
    min-width: 0;
    padding: clamp(24px, 5vw, 60px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.policy-section {
    position: relative;
    padding: 50px 0 6px;
    border-top: 1px solid var(--line);
}

.policy-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.policy-section + .policy-section {
    margin-top: 48px;
}

.policy-section h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.policy-section h3 {
    margin: 30px 0 8px;
    color: #203d5c;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.policy-section p {
    margin: 0 0 17px;
    color: #40546b;
}

.policy-section ul {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding-left: 22px;
    color: #40546b;
}

.policy-section li::marker {
    color: var(--blue);
}

.section-number {
    position: absolute;
    top: 54px;
    right: 0;
    color: #c6d8e9;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.summary-card,
.not-used-card {
    margin-top: 30px;
    padding: clamp(20px, 4vw, 30px);
    border-radius: 18px;
}

.summary-card {
    border: 1px solid #cfe1f2;
    background: linear-gradient(145deg, #f5faff, #edf6ff);
}

.summary-card h2 {
    margin-bottom: 16px;
    font-size: 1.45rem;
}

.check-list {
    padding: 0 !important;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 29px;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 1px;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid var(--success);
    border-left: 2px solid var(--success);
    transform: rotate(-45deg);
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.permission-grid > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-warm);
}

.permission-grid h3 {
    margin-top: 0;
}

.permission-grid p {
    margin-bottom: 0;
    font-size: 0.91rem;
}

.not-used-card {
    border-left: 4px solid #7891ac;
    background: #f3f6f9;
}

.not-used-card h3 {
    margin-top: 0;
    color: var(--navy);
}

.contact-section address {
    display: grid;
    gap: 7px;
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #cfe1f2;
    border-radius: 16px;
    background: var(--blue-soft);
    font-style: normal;
}

.contact-section address strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.contact-section address a {
    width: fit-content;
    text-underline-offset: 3px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.site-footer a {
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 820px) {
    html {
        scroll-padding-top: 18px;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .policy-navigation {
        position: static;
    }

    .navigation-card {
        padding: 14px;
    }

    .navigation-card nav {
        display: flex;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .navigation-card a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 10px 12px;
        border: 1px solid var(--line);
        background: #fff;
        line-height: 18px;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15.5px;
    }

    .site-header,
    main,
    .site-footer {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        min-height: 72px;
    }

    .brand-mark {
        width: 36px;
        height: 40px;
    }

    .brand-copy strong {
        font-size: 1.18rem;
    }

    .brand-copy small {
        font-size: 0.59rem;
    }

    .header-link {
        padding-inline: 12px;
        font-size: 0.78rem;
    }

    .policy-hero {
        margin: 22px 0 16px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .policy-hero::after {
        top: -95px;
        right: -110px;
        width: 250px;
        height: 250px;
        border-width: 42px;
    }

    h1 {
        font-size: clamp(2.45rem, 15vw, 3.8rem);
    }

    .policy-document {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .policy-section {
        padding-top: 40px;
    }

    .policy-section + .policy-section {
        margin-top: 38px;
    }

    .section-number {
        top: 44px;
    }

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

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 22px 0;
    }

    .site-footer p {
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    :root {
        --ink: #000;
        --ink-soft: #333;
        --navy: #000;
        --blue: #000;
        --line: #c8c8c8;
    }

    body {
        background: #fff;
        font-size: 10.5pt;
    }

    .site-header,
    .policy-navigation,
    .site-footer,
    .policy-hero::after {
        display: none;
    }

    main {
        width: 100%;
    }

    .policy-hero,
    .policy-document {
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .policy-hero {
        margin-bottom: 28px;
    }

    h1 {
        font-size: 34pt;
    }

    .policy-layout {
        display: block;
    }

    .policy-section,
    .summary-card,
    .not-used-card,
    .permission-grid > div,
    .contact-section address {
        break-inside: avoid;
    }

    .summary-card,
    .not-used-card,
    .permission-grid > div,
    .contact-section address {
        background: #fff;
    }
}
