.document-page { max-width: 1160px; padding-block: 52px 96px; }
.document-hero { position: relative; z-index: 1; isolation: isolate; display: grid; place-items: center; min-height: clamp(320px, 42vw, 560px); overflow: hidden; background: #f0f6fc; }
.document-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(5px); transform: scale(1.025); pointer-events: none; user-select: none; }
.document-hero::after { content: ''; position: absolute; inset: 0; background: rgba(240, 246, 252, 0.56); pointer-events: none; }
.document-hero-logo { position: relative; z-index: 1; width: clamp(220px, 30vw, 400px); height: auto; object-fit: contain; filter: none; opacity: 1; }
.document-back { margin-bottom: 40px; color: var(--muted); font-size: 12px; }
.document-back .icon { width: 17px; height: 17px; }
.document-back:hover .icon { transform: translateX(-3px); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-sidebar { position: sticky; top: 120px; min-width: 0; }
.legal-sidebar > .section-label { margin-bottom: 24px; }
.document-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; cursor: pointer; color: var(--text); font-size: 13px; font-weight: 600; list-style: none; }
.document-toc summary::-webkit-details-marker { display: none; }
.document-toc summary .icon { width: 16px; height: 16px; transition: transform 180ms ease; }
.document-toc[open] summary .icon { transform: rotate(180deg); }
.document-toc summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.toc-links { display: grid; gap: 3px; max-height: calc(100svh - 330px); margin-top: 12px; padding-right: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc-links a { display: flex; align-items: center; min-height: 36px; padding: 6px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.toc-links a:hover { color: var(--blue); }
.document-help { display: grid; gap: 4px; margin-top: 28px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.document-help a { display: inline-flex; align-items: center; min-height: 36px; color: var(--blue); overflow-wrap: anywhere; }
.document-help .icon { width: 15px; height: 15px; margin-left: 8px; }
.primary-nav a[aria-current="page"], .footer-bottom nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.legal-content { min-width: 0; max-width: 760px; overflow-wrap: anywhere; }
.legal-content h1 { max-width: 740px; margin: 0 0 24px; font-size: clamp(38px, 4.8vw, 62px); font-weight: 500; letter-spacing: -0.06em; line-height: 1.12; text-wrap: balance; scroll-margin-top: 120px; }
.legal-content h2 { margin: 48px 0 16px; font-size: 24px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.35; scroll-margin-top: 120px; }
.legal-content h3 { margin: 28px 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.45; scroll-margin-top: 120px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.9; }
.legal-content p { margin: 0 0 18px; }
.legal-content .legal-updated { margin-bottom: 32px; color: var(--blue); font-size: 11px; font-weight: 500; }
.legal-content .legal-emphasis { font-size: 12px; line-height: 1.95; }
.legal-content ul { margin: 0 0 22px; padding-left: 20px; }
.legal-content li { padding-left: 4px; margin-bottom: 9px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.support-page { max-width: 1080px; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: clamp(48px, 7vw, 112px); }
.support-content { min-width: 0; max-width: 570px; }
.support-intro { margin-bottom: 30px; }
.support-intro h1 { margin: 18px 0 0; max-width: 560px; font-size: clamp(40px, 4.7vw, 62px); font-weight: 500; line-height: 1.12; letter-spacing: -0.06em; text-wrap: balance; }
.support-cards { display: grid; gap: 12px; }
.support-card { min-width: 0; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.4); }
.card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.card-icon { display: grid; place-items: center; flex: 0 0 20px; height: 20px; color: var(--blue); }
.card-icon .icon { width: 19px; height: 19px; }
.support-card h2 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.support-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 5px; color: var(--blue); font-size: 12px; font-weight: 500; }
.contact-link span { overflow-wrap: anywhere; }
.contact-link .icon { width: 16px; height: 16px; }
.support-media { width: 100%; max-width: 260px; margin: 0; justify-self: center; }
.support-media img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 20px 48px -30px rgba(20, 61, 99, 0.35); }

@media (max-width: 960px), (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .document-page { padding-top: 32px; }
    .document-back { margin-bottom: 28px; }
    .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; margin-inline: auto; }
    .legal-sidebar { position: static; }
    .legal-sidebar > .section-label { margin-bottom: 12px; }
    .document-toc { padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.4); }
    .toc-links { gap: 2px; max-height: none; padding-bottom: 8px; overflow: visible; }
    .toc-links a { min-height: 44px; font-size: 12px; }
    .document-help { display: none; }
    .support-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); }
    .support-card { padding: 18px; }
}

@media (max-width: 760px), (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .document-page { padding-block: 22px 60px; }
    .document-back { margin-bottom: 24px; }
    .legal-layout { gap: 30px; }
    .legal-content h1 { margin-bottom: 20px; font-size: clamp(34px, 9.5vw, 48px); scroll-margin-top: 94px; }
    .legal-content h2 { margin-top: 38px; font-size: 21px; scroll-margin-top: 94px; }
    .legal-content h3 { font-size: 16px; scroll-margin-top: 94px; }
    .legal-content p, .legal-content li { font-size: 13px; line-height: 1.85; }
    .legal-content .legal-updated { margin-bottom: 26px; font-size: 10px; }
    .legal-content .legal-emphasis { font-size: 11px; }
    .support-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .support-content { max-width: 560px; margin-inline: auto; width: 100%; }
    .support-intro { margin-bottom: 24px; }
    .support-intro h1 { font-size: clamp(36px, 10vw, 48px); }
    .support-card { padding: 18px; border-radius: 16px; }
    .support-card h2 { font-size: 14px; }
    .support-card p { font-size: 12px; }
    .support-media { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .document-toc summary .icon { transition: none; }
    .document-back:hover .icon { transform: none; }
}
.company-body { max-width: 1080px; }
.company-content { max-width: 620px; margin: 16px auto 40px; }
.company-content h1 { margin: 20px 0 24px; font-size: clamp(38px, 5.5vw, 64px); font-weight: 500; letter-spacing: -0.06em; line-height: 1.1; }
.company-intro { color: var(--muted); font-size: 17px; line-height: 1.8; }
.company-detail { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(20, 61, 99, 0.12); }
.company-detail h2 { margin: 0 0 12px; font-size: 17px; font-weight: 500; letter-spacing: -0.025em; }
.company-detail p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 12px; }
.company-contact { overflow-wrap: anywhere; }

@media (max-width: 760px), (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .company-intro { text-align: center; }
}
