:root {
  color-scheme: dark;
  --background: #09120f;
  --foreground: #f3f1e8;
  --mint: #a1c6b5;
  --muted: #b0bcb5;
  --subtle: #81948a;
  --line: rgb(165 199 181 / 15%);
  --body-font: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  --display-font: "Noto Serif TC", "PMingLiU", serif;
  --header-height: 90px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 28px); }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 16px/1.9 var(--body-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--mint); color: var(--background); }
:focus-visible { outline: 2px solid #bde9d4; outline-offset: 5px; }
.page-inner { width: min(1248px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 200; padding: 10px 18px; background: var(--foreground); color: var(--background); }
.skip-link:focus { top: 12px; }

/* Shared menu behavior, with the official homepage's visual treatment. */
.privacy-page .public-site-header { background: rgb(9 18 15 / 94%); border-color: var(--line); box-shadow: none; backdrop-filter: blur(16px); }
.privacy-page .public-header-inner { width: min(1248px, calc(100% - 112px)); min-height: var(--header-height); gap: 26px; }
.privacy-page .public-brand { gap: 17px; color: var(--foreground); }
.privacy-page .public-brand > span:last-child { font: 500 20px/1 "Bahnschrift", Arial, sans-serif; letter-spacing: .3em; padding-top: 2px; }
.privacy-page .public-brand-mark { width: 64px; height: 43px; }
.privacy-page .public-brand img { width: 64px; height: 43px; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.02); }
.privacy-page .public-nav { gap: 24px; }
.privacy-page .public-nav-link { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #c5cec8; font: 400 14px/1.5 var(--body-font); letter-spacing: .05em; }
.privacy-page .public-nav-link:hover { background: transparent; color: #fff; }
.privacy-page .public-login-link { min-width: 88px; padding: 6px 18px; border: 1px solid rgb(207 228 216 / 32%); border-radius: 3px; }
.privacy-page .public-login-link:hover { border-color: var(--mint); background: rgb(168 208 186 / 7%); }
.privacy-page .public-header-actions { gap: 10px; margin-left: 0; }
.privacy-page .public-language-toggle { min-width: 44px; min-height: 44px; background: rgb(6 18 11 / 30%); border: 1px solid rgb(188 215 201 / 28%); border-radius: 3px; color: #e6f0e9; }
.privacy-page .public-nav-link:focus-visible, .privacy-page .public-brand:focus-visible, .privacy-page .public-menu-toggle:focus-visible { outline: 2px solid #bde9d4; outline-offset: 5px; }

.privacy-intro { position: relative; isolation: isolate; overflow: hidden; padding-block: 76px 66px; border-bottom: 1px solid var(--line); }
.privacy-intro::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('/assets/brainoff-architecture-20260910.png') center 43% / cover; opacity: .64; }
.privacy-intro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #09120f 0%, rgb(9 18 15 / 97%) 27%, rgb(9 18 15 / 77%) 52%, rgb(9 18 15 / 10%) 100%), linear-gradient(0deg, rgb(9 18 15 / 50%), transparent 65%); }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; color: #b6aa7e; font: 500 12px/1.5 "Bahnschrift", Arial, sans-serif; letter-spacing: .25em; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.privacy-intro h1 { margin: 24px 0 22px; color: var(--foreground); font: 500 clamp(40px, 4.2vw, 58px)/1.4 var(--display-font); letter-spacing: .04em; }
.privacy-intro p { max-width: 660px; margin: 0; color: #c2ccc5; font-size: 16px; line-height: 2; }
.privacy-intro small { display: block; margin-top: 28px; color: #a1aea5; font-size: 13px; letter-spacing: .06em; }

.privacy-layout { display: grid; grid-template-columns: 230px minmax(0, 780px); justify-content: space-between; align-items: start; gap: 60px; padding-block: 68px 88px; }
.privacy-index { position: sticky; top: calc(var(--header-height) + 32px); display: flex; flex-direction: column; align-items: stretch; }
.privacy-index > p { margin: 0 0 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 13px; letter-spacing: .12em; }
.privacy-index a { display: flex; align-items: baseline; gap: 16px; padding-block: 10px; color: #b0beb5; font-size: 14px; line-height: 1.65; transition: color .2s; }
.privacy-index a:hover { color: var(--foreground); }
.privacy-index a > span { flex: 0 0 18px; color: #8d886d; font: 400 11px/1.5 "Bahnschrift", Arial, sans-serif; letter-spacing: .1em; }
.policy-sections { min-width: 0; }
.policy-sections section { padding-block: 40px; border-bottom: 1px solid var(--line); }
.policy-sections section:first-child { padding-top: 0; }
.policy-sections section:last-child { border-bottom: 0; padding-bottom: 0; }
.policy-sections h2 { margin: 0 0 22px; color: #eeeede; font: 500 26px/1.6 var(--display-font); letter-spacing: .025em; }
.policy-sections p, .policy-sections li { color: var(--muted); font-size: 16px; line-height: 2; overflow-wrap: break-word; }
.policy-sections p { margin: 16px 0 0; }
.policy-sections ul { margin: 0; padding-left: 22px; }
.policy-sections li { padding-left: 5px; margin-block: 8px; }
.policy-sections li::marker { color: #98b5a3; font-size: .75em; }
.line-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 100%; min-height: 48px; padding: 10px 19px; margin-top: 24px; background: #eeedde; border: 1px solid #eeedde; border-radius: 3px; color: #17251c; font-size: 14px; line-height: 1.7; transition: background .2s; }
.line-link:hover { background: #dbe7d8; }
.external-arrow { flex: 0 0 auto; width: 16px; height: 16px; overflow: visible; }
.policy-sections .security-note { margin-top: 20px; color: #b5aa84; font-size: 13px; line-height: 1.8; }

.privacy-footer { padding-block: 48px 25px; background: #08100c; border-top: 1px solid var(--line); }
.privacy-footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 52px; padding-bottom: 38px; }
.privacy-footer-identity { mix-blend-mode: screen; }
.privacy-footer-identity .public-brand-mark, .privacy-footer-identity .public-brand img { width: 57px; height: 38px; }
.privacy-footer-identity .public-brand > span:last-child { font-size: 19px; }
.privacy-footer-identity p { margin: 20px 0 0; color: var(--subtle); font-size: 14px; letter-spacing: .05em; }
.privacy-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding-top: 5px; }
.privacy-footer-nav a, .privacy-footer-contact a { color: #b4bfb7; font-size: 14px; transition: color .2s; }
.privacy-footer-nav a:hover, .privacy-footer-contact a:hover { color: #f3f1e8; }
.privacy-footer-contact > p { margin: 4px 0 16px; color: var(--subtle); font-size: 13px; letter-spacing: .08em; }
.privacy-footer-contact > a { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 13px; line-height: 1.8; }
.privacy-footer-contact a > .external-arrow { color: #b6aa7e; }
.privacy-footer-contact .privacy-email { font-family: "Bahnschrift", Arial, sans-serif; font-size: 15px; letter-spacing: .025em; }
.privacy-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.privacy-footer-bottom a { display: inline-flex; gap: 14px; }

html[lang='en'] .privacy-intro h1 { letter-spacing: -.02em; }
html[lang='en'] .policy-sections h2 { letter-spacing: 0; line-height: 1.45; }
html[lang='en'] .privacy-index a { letter-spacing: 0; }

@media (max-width: 1100px) {
  .page-inner, .privacy-page .public-header-inner { width: calc(100% - 72px); }
  .privacy-page .public-header-inner { gap: 20px; }
  .privacy-page .public-nav { gap: 16px; }
  .privacy-page .public-nav-link { font-size: 13px; letter-spacing: 0; }
  .privacy-page .public-brand { gap: 13px; }
  .privacy-page .public-brand > span:last-child { font-size: 18px; letter-spacing: .25em; }
  .privacy-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 42px; }
  .privacy-footer-main { gap: 30px; }
}
@media (max-width: 900px) {
  .privacy-page .public-header-inner { gap: 16px; width: calc(100% - 48px); }
  .privacy-page .public-nav { gap: 12px; }
  .privacy-page .public-brand-mark, .privacy-page .public-brand img { width: 52px; height: 35px; }
  .privacy-page .public-brand > span:last-child { font-size: 16px; letter-spacing: .2em; }
  .privacy-page .public-login-link { min-width: 72px; padding-inline: 12px; }
  .privacy-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 32px; }
  .privacy-index a { gap: 12px; font-size: 13px; }
  .policy-sections h2 { font-size: 23px; }
  .privacy-footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .privacy-footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; }
  .page-inner { width: calc(100% - 48px); }
  .privacy-page .public-header-inner { width: calc(100% - 40px); gap: 12px; }
  .privacy-page .public-header-actions { margin-left: auto; gap: 8px; }
  .privacy-page .public-menu-toggle { width: 44px; height: 44px; flex-basis: 44px; border-radius: 3px; border-color: rgb(188 215 201 / 28%); background: transparent; }
  .privacy-page .public-site-header::after { top: var(--header-height); }
  .privacy-page .public-nav { top: 100%; left: -20px; right: -20px; gap: 0; margin: 0; padding: 14px 24px 23px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #0c1b13; }
  .privacy-page .public-nav-link { min-height: 48px; padding: 12px 0; justify-content: center; font-size: 14px; text-align: center; line-height: 1.8; }
  .privacy-page .public-login-link { width: fit-content; min-width: 105px; padding-inline: 20px; margin: 10px auto 0; }
  .privacy-intro { padding-block: 48px 42px; }
  .privacy-intro::before { background-position: 65% center; opacity: .33; }
  .privacy-intro::after { background: linear-gradient(90deg, rgb(9 18 15 / 96%), rgb(9 18 15 / 55%)); }
  .privacy-intro h1 { font-size: 40px; margin-block: 20px; }
  .privacy-intro p { font-size: 16px; line-height: 1.9; }
  .privacy-intro small { margin-top: 24px; font-size: 12px; }
  .privacy-layout { display: block; padding-block: 32px 54px; }
  .privacy-index { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin-bottom: 36px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
  .privacy-index > p { grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 5px; border: 0; }
  .privacy-index a { font-size: 13px; gap: 9px; }
  .policy-sections section { padding-block: 30px; }
  .policy-sections h2 { margin-bottom: 16px; font-size: 23px; }
  .line-link { gap: 20px; }
  .privacy-footer { padding-top: 34px; }
  .privacy-footer-main { padding-bottom: 30px; }
}
@media (max-width: 420px) {
  .page-inner { width: calc(100% - 40px); }
  .privacy-page .public-header-inner { width: calc(100% - 32px); gap: 8px; }
  .privacy-page .public-brand { gap: 9px; }
  .privacy-page .public-brand-mark, .privacy-page .public-brand img { width: 44px; height: 30px; }
  .privacy-page .public-brand > span:last-child { font-size: 14px; letter-spacing: .21em; }
  .privacy-page .public-header-actions { gap: 6px; }
  .privacy-page .public-nav { left: -16px; right: -16px; padding-inline: 20px; }
  .privacy-intro h1 { font-size: 36px; }
  .privacy-index { column-gap: 14px; }
  .privacy-index a { gap: 7px; }
  .privacy-index a > span { flex-basis: 15px; font-size: 10px; }
  .policy-sections h2 { font-size: 22px; }
  .privacy-footer-main { grid-template-columns: 1fr; gap: 25px; }
  .privacy-footer-nav { flex-direction: row; gap: 28px; padding: 0; }
  .privacy-footer-identity .public-brand-mark, .privacy-footer-identity .public-brand img { width: 57px; height: 38px; }
  .privacy-footer-identity .public-brand > span:last-child { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
  .privacy-intro .intro-inner { animation: privacy-intro-arrive .7s ease-out both; }
  @keyframes privacy-intro-arrive { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
