:root {
    --bg: #05070d;
    --bg-soft: #0d1222;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.14);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.68);
    --cyan: #00e5ff;
    --pink: #ff2f7d;
    --purple: #8b5cf6;
    --green: #45ff82;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 47, 125, 0.2), transparent 30rem),
        radial-gradient(circle at 90% 12%, rgba(0, 229, 255, 0.18), transparent 28rem),
        linear-gradient(135deg, var(--bg), #0a1020 56%, var(--bg));
    color: var(--text);
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.84), transparent 78%);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 13, 0.78);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1120px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #07101f;
    box-shadow: 0 0 34px rgba(255, 47, 125, 0.35);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-links a {
    border-radius: 8px;
    padding: 9px 12px;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--panel);
    color: var(--text);
}

main,
.footer {
    position: relative;
    z-index: 2;
}

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

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 32px;
    padding: 68px 0 42px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-kicker .eyebrow {
    margin: 0;
}

.hero-logo {
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 229, 255, 0.34);
    border-radius: 18px;
    overflow: hidden;
    background: #07101f;
    box-shadow:
        0 0 26px rgba(0, 229, 255, 0.18),
        0 0 36px rgba(255, 47, 125, 0.12);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 7.4rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 690px;
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-link,
.secondary-link,
.copy-card button {
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.primary-link {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 18px 46px rgba(255, 47, 125, 0.24);
}

.secondary-link,
.copy-card button {
    background: var(--panel);
}

.summary-card,
.card,
.table-card,
.notice {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.summary-card {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.summary-card div {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.052);
    padding: 14px;
}

.summary-card span,
.safety-row span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.summary-card strong,
.safety-row strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
}

.notice {
    margin-top: -24px;
    margin-bottom: 88px;
    padding: 18px 20px;
    color: var(--muted);
}

.notice strong {
    color: var(--green);
}

.section {
    padding: 0 0 88px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
}

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

.card {
    padding: 22px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card p + p {
    margin-top: 12px;
}

.table-card {
    overflow: hidden;
}

.safety-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
    gap: 18px;
    padding: 18px 22px;
}

.safety-row + .safety-row {
    border-top: 1px solid var(--line);
}

.wide {
    grid-column: 1 / -1;
}

.copy-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.copy-heading h3 {
    margin: 0;
}

.copy-card button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
}

.footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.footer p {
    margin: 0;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(7, 10, 19, 0.94);
    color: var(--text);
    padding: 12px 14px;
    box-shadow: var(--shadow);
    transform: translateY(16px);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 860px) {
    .nav {
        min-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 54px;
    }

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

    .notice {
        margin-top: 0;
        margin-bottom: 58px;
    }

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

    .safety-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero,
    .section,
    .notice,
    .footer,
    .nav {
        width: min(100% - 22px, 1120px);
    }

    .hero-copy h1 {
        font-size: 3.35rem;
    }

    .hero-kicker {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions {
        display: grid;
    }

    .summary-card {
        grid-template-columns: 1fr;
    }

    .card,
    .summary-card,
    .notice {
        border-radius: 10px;
    }
}

@media print {
    body {
        background: #ffffff;
        color: #111111;
    }

    body::before,
    .site-header,
    .hero-logo,
    .hero-actions,
    .copy-card button {
        display: none;
    }

    .hero,
    .section,
    .notice,
    .footer {
        width: 100%;
        padding: 0;
        margin: 0 0 24px;
    }

    .card,
    .summary-card,
    .notice,
    .table-card {
        background: #ffffff;
        color: #111111;
        box-shadow: none;
        border-color: #dddddd;
    }

    .card p,
    .section-heading p,
    .notice,
    .footer {
        color: #333333;
    }
}
