:root {
    --ink: #1a1a2e;
    --ink-soft: #56566b;
    --muted: #77778b;
    --paper: #fffdfd;
    --canvas: #fff7fb;
    --pink: #ff69b4;
    --pink-deep: #d93f91;
    --purple: #7c6ef0;
    --purple-deep: #5c4fd1;
    --mint: #34d399;
    --gold: #f4b933;
    --line: rgba(26, 26, 46, 0.1);
    --shadow: 0 24px 70px rgba(78, 54, 111, 0.12);
    --radius: 28px;
    --radius-small: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(255, 105, 180, 0.13), transparent 25rem),
        radial-gradient(circle at 92% 12%, rgba(124, 110, 240, 0.13), transparent 27rem),
        var(--canvas);
    font-family: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--purple-deep);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--pink-deep);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(124, 110, 240, 0.45);
    outline-offset: 4px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: white;
    background: var(--ink);
    border-radius: 999px;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(26, 26, 46, 0.07);
    background: rgba(255, 247, 251, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, var(--pink), var(--purple));
    border-radius: 12px 12px 16px 12px;
    box-shadow: 0 8px 20px rgba(124, 110, 240, 0.24);
    transform: rotate(-4deg);
}

.brand-mark svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 8px 12px;
    color: var(--ink-soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: white;
    box-shadow: 0 5px 18px rgba(78, 54, 111, 0.08);
}

.page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 90px;
}

.page-hero {
    position: relative;
    min-height: 320px;
    padding: clamp(34px, 7vw, 76px);
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.18), transparent 18rem),
        linear-gradient(135deg, #f65aab 0%, #8d6bea 58%, #5145b8 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.page-hero::before {
    width: 250px;
    height: 250px;
    right: -76px;
    top: -104px;
}

.page-hero::after {
    width: 130px;
    height: 130px;
    right: 142px;
    bottom: -64px;
}

.eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 11px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0;
    font-size: clamp(43px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.page-hero .lede {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.5;
}

.effective-date {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
    margin-top: 42px;
}

.toc {
    position: sticky;
    top: 104px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    box-shadow: 0 14px 45px rgba(78, 54, 111, 0.07);
}

.toc strong {
    display: block;
    margin-bottom: 11px;
    font-size: 13px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.toc ol,
.toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc li + li {
    margin-top: 3px;
}

.toc a {
    display: block;
    padding: 6px 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.toc a:hover {
    color: var(--pink-deep);
    transform: translateX(2px);
}

.legal-card {
    padding: clamp(28px, 5vw, 64px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-card section + section {
    margin-top: 54px;
    padding-top: 8px;
}

.legal-card h2 {
    margin: 0 0 18px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.legal-card h3 {
    margin: 30px 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.legal-card p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.legal-card ul,
.legal-card ol {
    margin: 16px 0 20px;
    padding-left: 1.35em;
    color: var(--ink-soft);
}

.legal-card li {
    margin: 8px 0;
    padding-left: 0.2em;
}

.callout {
    margin: 26px 0;
    padding: 21px 22px;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(124, 110, 240, 0.1));
    border-left: 5px solid var(--pink);
    border-radius: 8px var(--radius-small) var(--radius-small) 8px;
}

.callout strong {
    display: block;
    margin-bottom: 4px;
}

.support-intro {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    margin-top: 42px;
}

.support-panel {
    padding: clamp(26px, 4vw, 42px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.support-panel.accent {
    color: white;
    background: var(--ink);
}

.support-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.support-panel p {
    margin: 0 0 20px;
    color: var(--ink-soft);
}

.support-panel.accent p {
    color: rgba(255, 255, 255, 0.72);
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(124, 110, 240, 0.24);
}

.primary-link:hover {
    color: white;
    transform: translateY(-1px);
}

.support-panel.accent .primary-link {
    color: var(--ink);
    background: white;
    box-shadow: none;
}

.detail-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

.detail-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.detail-list li::before {
    content: "✓";
    color: var(--mint);
    font-weight: 900;
}

.detail-list.on-light {
    color: var(--ink-soft);
}

.support-section-title {
    margin: 50px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.045em;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.help-card {
    padding: 27px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    box-shadow: 0 14px 38px rgba(78, 54, 111, 0.07);
}

.help-card .number {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    place-items: center;
    color: white;
    background: var(--ink);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
}

.help-card:nth-child(2) .number {
    background: var(--pink-deep);
}

.help-card:nth-child(3) .number {
    background: var(--purple-deep);
}

.help-card:nth-child(4) .number {
    color: var(--ink);
    background: var(--gold);
}

.help-card h2 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.help-card p,
.help-card ol,
.help-card ul {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.help-card ol,
.help-card ul {
    margin-top: 11px;
    padding-left: 1.25em;
}

.help-card li + li {
    margin-top: 6px;
}

.help-card .after-list {
    margin-top: 12px;
}

.safety-note {
    margin-top: 22px;
    padding: 25px 27px;
    color: var(--ink);
    background: #fff6db;
    border: 1px solid rgba(244, 185, 51, 0.35);
    border-radius: var(--radius-small);
}

.safety-note strong {
    display: block;
    margin-bottom: 4px;
}

.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.footer-links a {
    color: var(--ink-soft);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 860px) {
    .site-nav a:first-child {
        display: none;
    }

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

    .toc {
        position: static;
    }

    .toc ol,
    .toc ul {
        columns: 2;
        column-gap: 24px;
    }

    .support-intro {
        grid-template-columns: 1fr;
    }
}

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

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

    .header-inner {
        min-height: 66px;
    }

    .site-nav {
        gap: 0;
    }

    .site-nav a {
        padding: 7px 8px;
        font-size: 13px;
    }

    .page {
        padding-top: 20px;
        padding-bottom: 58px;
    }

    .page-hero {
        min-height: 0;
        padding: 34px 24px 38px;
        border-radius: 22px;
    }

    .page-hero h1 {
        font-size: clamp(40px, 14vw, 58px);
    }

    .content-grid {
        gap: 20px;
        margin-top: 20px;
    }

    .toc {
        padding: 18px;
    }

    .toc ol,
    .toc ul {
        columns: 1;
    }

    .legal-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .legal-card section + section {
        margin-top: 42px;
    }

    .support-intro,
    .help-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .support-section-title {
        margin-top: 38px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body {
        color: #000;
        background: white;
        font-size: 11pt;
    }

    .site-header,
    .toc,
    .site-footer {
        display: none;
    }

    .page {
        width: 100%;
        padding: 0;
    }

    .page-hero {
        min-height: 0;
        padding: 0 0 24px;
        color: #000;
        background: white;
        box-shadow: none;
    }

    .page-hero .lede,
    .effective-date {
        color: #333;
    }

    .eyebrow {
        padding: 0;
        color: #000;
        border: 0;
        background: transparent;
    }

    .legal-card {
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .legal-card section {
        break-inside: avoid;
    }
}
