/* Danay legal documents, scoped to protect other routes. */
.legal-page { --blue: #0D47A1; --blue-dark: #083576; --blue-light: #eaf1fb; --orange: #ff7a00; --orange-light: #fff3e8; --black: #101318; --dark: #171b22; --text: #4c5563; --muted: #7c8490; --border: #e5e8ed; --background: #ffffff; --soft-bg: #f7f8fa; --container: 1240px; --font-body: "DM Sans", sans-serif; --font-heading: "Space Grotesk", sans-serif; }
.legal-page * { margin: 0; padding: 0; box-sizing: border-box; }
.legal-page { font-family: var(--font-body); background: var(--background); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.legal-page a { color: inherit; text-decoration: none; }
.legal-page button { font-family: inherit; }
.legal-page .container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.legal-page .logo-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--blue); color: white; font-family: var(--font-heading); font-weight: 700; font-size: 17px; border-radius: 7px; box-shadow: 0 5px 15px rgba(13, 71, 161, .18); }
.legal-page .breadcrumb-section { border-bottom: 1px solid var(--border); background: #fff; }
.legal-page .breadcrumb { min-height: 52px; display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--muted); }
.legal-page .breadcrumb a { color: var(--blue); font-weight: 600; }
.legal-page .breadcrumb span:first-of-type { color: #c7cbd1; }
.legal-page .legal-hero { background: linear-gradient( 115deg, #f5f8fc 0%, #ffffff 52%, #f7f9fc 100% ); border-bottom: 1px solid var(--border); padding: 90px 0 82px; position: relative; overflow: hidden; }
.legal-page .legal-hero::before { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(13, 71, 161, .07); border-radius: 50%; right: -190px; top: -230px; }
.legal-page .legal-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(13, 71, 161, .06); border-radius: 50%; right: -80px; top: -130px; }
.legal-page .hero-label { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--blue); margin-bottom: 22px; }
.legal-page .label-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.legal-page .legal-hero h1 { font-family: var(--font-heading); font-size: clamp(58px, 8vw, 105px); line-height: .9; letter-spacing: -.065em; color: var(--black); margin-bottom: 55px; }
.legal-page .legal-hero h1 span { color: var(--blue); }
.legal-page .hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; max-width: 1000px; }
.legal-page .hero-description { max-width: 600px; font-size: 16px; line-height: 1.8; color: #606975; }
.legal-page .updated-info { min-width: 190px; padding-left: 25px; border-left: 1px solid #d9dde4; display: flex; flex-direction: column; gap: 5px; }
.legal-page .updated-label { font-size: 9px; font-weight: 700; letter-spacing: .13em; color: #939aa5; }
.legal-page .updated-info strong { font-size: 13px; color: var(--black); }
.legal-page .legal-main { padding: 90px 0 120px; }
.legal-page .legal-layout { display: grid; grid-template-columns: 270px minmax(0, 760px); gap: 105px; align-items: start; }
.legal-page .legal-sidebar { position: sticky; top: 105px; }
.legal-page .sidebar-title { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #9aa1ab; margin-bottom: 22px; }
.legal-page .toc { border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.legal-page .toc a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 9px 0 9px 17px; font-size: 12px; color: #747c87; border-left: 2px solid transparent; margin-left: -1px; transition: .2s ease; }
.legal-page .toc a span { font-family: var(--font-heading); font-size: 10px; color: #aab0b9; }
.legal-page .toc a:hover { color: var(--blue); }
.legal-page .toc a.active { color: var(--blue); border-left-color: var(--blue); background: linear-gradient( 90deg, rgba(13, 71, 161, .07), transparent ); font-weight: 600; }
.legal-page .sidebar-contact { margin-top: 45px; padding: 19px; border: 1px solid var(--border); background: #fafbfc; display: flex; gap: 12px; border-radius: 7px; }
.legal-page .contact-icon { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; background: var(--blue); color: white; border-radius: 50%; font-family: var(--font-heading); font-size: 12px; }
.legal-page .sidebar-contact strong { display: block; color: var(--black); font-size: 12px; margin-bottom: 2px; }
.legal-page .sidebar-contact p { font-size: 11px; color: #858d98; margin-bottom: 4px; }
.legal-page .sidebar-contact a { font-size: 11px; color: var(--blue); font-weight: 600; }
.legal-page .legal-content { min-width: 0; }
.legal-page .legal-section { margin-bottom: 82px; scroll-margin-top: 110px; }
.legal-page .section-number { display: inline-block; margin-bottom: 13px; font-family: var(--font-heading); font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.legal-page .legal-section h2 { font-family: var(--font-heading); font-size: 30px; line-height: 1.25; letter-spacing: -.035em; color: var(--black); margin-bottom: 25px; }
.legal-page .legal-section h3 { font-family: var(--font-heading); color: var(--black); font-size: 17px; margin-top: 32px; margin-bottom: 12px; }
.legal-page .legal-section p { font-size: 15px; line-height: 1.85; color: #59626f; margin-bottom: 18px; }
.legal-page .legal-section ul { margin: 15px 0 25px; padding-left: 21px; }
.legal-page .legal-section li { font-size: 14px; line-height: 1.8; color: #59626f; margin-bottom: 8px; padding-left: 5px; }
.legal-page .legal-section li::marker { color: var(--blue); }
.legal-page .info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.legal-page .info-card { padding: 25px; border: 1px solid var(--border); background: #fff; transition: .25s ease; }
.legal-page .info-card:hover { border-color: #c9d5e8; box-shadow: 0 12px 35px rgba(20, 45, 80, .06); transform: translateY(-2px); }
.legal-page .info-card > span { font-family: var(--font-heading); font-size: 10px; color: var(--orange); font-weight: 700; }
.legal-page .info-card h3 { font-family: var(--font-heading); font-size: 15px; color: var(--black); margin: 12px 0 7px; }
.legal-page .info-card p { font-size: 12px; line-height: 1.65; margin: 0; }
.legal-page .notice { display: flex; gap: 15px; margin: 30px 0; padding: 22px 24px; background: var(--blue-light); border-left: 3px solid var(--blue); border-radius: 2px; }
.legal-page .notice-icon { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 12px; font-weight: 700; }
.legal-page .notice strong { display: block; color: var(--blue-dark); font-size: 13px; margin-bottom: 4px; }
.legal-page .notice p { font-size: 12px; line-height: 1.7; margin: 0; color: #536983; }
.legal-page .terms-box { margin: 30px 0; padding: 25px; border: 1px solid var(--border); background: linear-gradient( 135deg, #f8fafd, #ffffff ); }
.legal-page .terms-box-label { display: block; font-family: var(--font-heading); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 10px; }
.legal-page .terms-box strong { display: block; font-family: var(--font-heading); font-size: 16px; color: var(--black); margin-bottom: 8px; }
.legal-page .terms-box p { font-size: 13px; line-height: 1.75; margin: 0; }
.legal-page .contact-section { padding-bottom: 15px; }
.legal-page .contact-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px; padding: 27px; border: 1px solid var(--border); background: linear-gradient( 135deg, #f8fafd, #fff ); }
.legal-page .contact-brand { display: flex; align-items: center; gap: 12px; }
.legal-page .contact-brand strong { display: block; font-family: var(--font-heading); font-size: 15px; color: var(--black); }
.legal-page .contact-brand > div > span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.legal-page .contact-details { display: flex; gap: 35px; }
.legal-page .contact-details > div { display: flex; flex-direction: column; }
.legal-page .contact-details span { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #9aa1ab; font-weight: 700; }
.legal-page .contact-details a { color: var(--blue); font-size: 12px; font-weight: 600; margin-top: 2px; }
.legal-page .policy-end { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.legal-page .policy-end span { height: 1px; flex: 1; background: var(--border); }
.legal-page .policy-end p { margin: 0; white-space: nowrap; font-family: var(--font-heading); font-size: 11px; color: #969da7; }
@media (max-width: 1000px) {.legal-page .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 55px; }
}
@media (max-width: 760px) {.legal-page .container { width: min(calc(100% - 32px), var(--container)); }
.legal-page .breadcrumb { min-height: 47px; }
.legal-page .legal-hero { padding: 65px 0 55px; }
.legal-page .legal-hero h1 { font-size: clamp(58px, 18vw, 85px); margin-bottom: 40px; }
.legal-page .hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.legal-page .hero-description { font-size: 14px; }
.legal-page .updated-info { border-left: 0; border-top: 1px solid #d9dde4; padding-left: 0; padding-top: 16px; width: 100%; }
.legal-page .legal-main { padding: 55px 0 75px; }
.legal-page .legal-layout { display: block; }
.legal-page .legal-sidebar { position: relative; top: auto; margin-bottom: 55px; }
.legal-page .toc { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); background: #fafbfc; padding: 8px; }
.legal-page .toc a { padding: 9px; border-left: 0; border-bottom: 1px solid transparent; margin: 0; }
.legal-page .toc a.active { background: white; border-left: 0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.legal-page .sidebar-contact { display: none; }
.legal-page .legal-section { margin-bottom: 60px; }
.legal-page .legal-section h2 { font-size: 26px; }
.legal-page .legal-section p { font-size: 14px; }
.legal-page .legal-section li { font-size: 13px; }
.legal-page .info-grid { grid-template-columns: 1fr; }
.legal-page .terms-box { padding: 20px; }
.legal-page .contact-box { align-items: flex-start; flex-direction: column; }
.legal-page .contact-details { width: 100%; flex-direction: column; gap: 16px; }
}
@media (max-width: 430px) {.legal-page .legal-hero { padding-top: 50px; }
.legal-page .legal-hero h1 { font-size: 57px; }
.legal-page .hero-description { font-size: 13px; }
.legal-page .toc { grid-template-columns: 1fr; }
.legal-page .toc a { border-bottom: 1px solid var(--border); }
.legal-page .toc a:last-child { border-bottom: 0; }
.legal-page .legal-section h2 { font-size: 24px; }
.legal-page .notice { padding: 18px; }
.legal-page .terms-box { padding: 18px; }
.legal-page .policy-end p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {.legal-page *, .legal-page *::before, .legal-page *::after { transition: none !important; animation: none !important; }
}.legal-page .toc a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 9px 0 9px 17px; font-size: 12px; color: #747c87; border-left: 2px solid transparent; margin-left: -1px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.legal-page .toc a span { font-family: var(--font-heading); font-size: 10px; color: #aab0b9; transition: color .2s ease; }
.legal-page .toc a:hover { color: var(--blue); }
.legal-page .toc a.active { color: var(--blue); border-left-color: var(--blue); background: linear-gradient( 90deg, rgba(13, 71, 161, .07), transparent ); font-weight: 600; }
.legal-page .toc a.active span { color: var(--blue); }
/* Integration and accessible navigation. The document has no global navbar/footer. */
.legal-page { min-height: 100vh; text-align: left; }
.legal-page .legal-hero h1 { font-weight: 700; }
.legal-page h2, .legal-page h3, .legal-page strong { font-weight: 700; }
.legal-page .legal-section ul { list-style: disc; }
.legal-page .legal-sidebar { top: 24px; }
.legal-page .toc { max-height: calc(100dvh - 230px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.legal-page .sidebar-contact { margin-top: 22px; }
.legal-page .info-card h3 { margin-top: 12px; }
.legal-page .legal-inline-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-related { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 32px; font-size: 13px; color: var(--blue); }
.legal-page .legal-related a:hover, .legal-page .contact-details a:hover { text-decoration: underline; }
.legal-page .legal-section { overflow-wrap: anywhere; }
.legal-page :focus-visible { outline: 3px solid #ff7a00; outline-offset: 4px; }
.legal-page .legal-section:focus, .legal-page .legal-content:focus { outline: none; }
.legal-page .legal-skip { position: absolute; top: 8px; left: 16px; z-index: 200; padding: 12px 18px; background: white; color: var(--blue); transform: translateY(-150%); }
.legal-page .legal-skip:focus { transform: none; }
html:has(.legal-page) { scroll-behavior: smooth; }
@media (max-width: 760px) {
 .legal-page .legal-sidebar { top: auto; }
 .legal-page .toc { max-height: none; overflow: visible; }
 .legal-page .toc a { padding: 10px; margin: 0; border-left: 0; }
 .legal-page .toc a.active { border-left: 0; background: white; }
 .legal-page .legal-hero h1 { overflow-wrap: normal; }
}
@media (max-width: 430px) {
 .legal-page .legal-hero h1 { font-size: clamp(44px, 15vw, 57px); }
 .legal-page .policy-end p { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
 html:has(.legal-page) { scroll-behavior: auto; }
}
@media print {
 .legal-page .legal-sidebar, .legal-page .legal-related, .legal-page .legal-skip { display: none; }
 .legal-page .legal-layout { display: block; }
 .legal-page .container { width: 100%; }
 .legal-page .legal-hero { padding: 20px 0; background: white; }
 .legal-page .legal-hero h1 { font-size: 40px; margin-bottom: 20px; }
 .legal-page .legal-main { padding: 30px 0; }
 .legal-page .legal-section { margin-bottom: 30px; }
 .legal-page h2, .legal-page h3 { break-after: avoid; }
 .legal-page .info-card, .legal-page .notice, .legal-page .terms-box { break-inside: avoid; }
}

.legal-page .contact-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--blue); color: white; font: 700 13px var(--font-heading); }
