/* Terms V29 — restrained brand accents and a generous reading measure. */
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body.terms-v29 { margin: 0; background: #fcfbfe; color: #242333; }
.terms-v29 *, .terms-v29 *::before, .terms-v29 *::after { box-sizing: border-box; }
.terms-v29 .site-header { width: min(1320px, calc(100% - 64px)); border-bottom: 1px solid #e8e5ef; }
.terms-v29 a:focus-visible, .terms-v29 button:focus-visible, .terms-v29 summary:focus-visible { outline: 3px solid #6950cf; outline-offset: 5px; }
.t29-skip { position: absolute; left: 24px; top: -100px; z-index: 100; padding: 12px 20px; background: #fff; color: #453099; border: 1px solid #453099; border-radius: 10px; }
.t29-skip:focus { top: 16px; }
.t29-wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.t29-hero { display: grid; grid-template-columns: minmax(0, 1fr) 292px; align-items: center; gap: 80px; padding-block: 72px 48px; }
.t29-kicker { margin: 0 0 22px; font-size: 12px; font-weight: 750; letter-spacing: .15em; color: #6149ad; }
.t29-hero h1 { max-width: 800px; margin: 0; color: #211d34; font-size: clamp(36px, 4vw, 56px); line-height: 1.13; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.t29-lead { margin: 24px 0 12px; color: #5d439f; font-size: 20px; font-weight: 550; line-height: 1.5; letter-spacing: -.025em; }
.t29-intro { max-width: 560px; margin: 0; color: #555362; font-size: 16px; line-height: 1.8; }
.t29-meta { border-left: 1px solid #ddd5ed; padding: 4px 0 4px 32px; }
.t29-meta-label { display: block; color: #625c70; font-size: 13px; line-height: 1.6; }
.t29-date { display: block; margin: 6px 0 24px; font-size: 30px; letter-spacing: -.04em; line-height: 1.25; color: #2b2241; font-variant-numeric: tabular-nums; }
.t29-company { margin: 0 0 22px; color: #51485f; font-size: 12px; font-weight: 650; letter-spacing: .025em; line-height: 1.8; }
.t29-support { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 17px; border-radius: 11px; color: #fff; background: #6242cb; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; }
.t29-support:hover { background: #4d30ae; }
.t29-reading { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 64px; align-items: start; padding: 42px 0 88px; border-top: 1px solid #e2ddeb; }
.t29-sidebar { position: sticky; top: 24px; }
.t29-index-title { margin: 0 0 18px 13px; color: #7a7188; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.t29-index { max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d8d1e4 transparent; padding-right: 8px; }
.t29-index a { display: grid; grid-template-columns: 23px 1fr; gap: 7px; padding: 9px 12px; border-radius: 8px; color: #5a5367; font-size: 13px; line-height: 1.5; text-decoration: none; border: 1px solid transparent; }
.t29-index a span:first-child { font-size: 11px; padding-top: 1px; color: #81758f; font-variant-numeric: tabular-nums; }
.t29-index a:hover { background: #f2eef9; color: #51399b; }
.t29-index a[aria-current='location'] { border-color: #e0d6f3; background: #eee7fb; color: #4e318f; font-weight: 700; }
.t29-index a[aria-current='location'] span:first-child { color: #6841b4; }
.t29-mobile-index { display: none; }
.t29-document { min-width: 0; max-width: 780px; }
.t29-document-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 0 0 28px; color: #74687f; font-size: 12px; line-height: 1.5; }
.t29-document-tools > span { letter-spacing: .06em; text-transform: uppercase; }
.t29-print { min-height: 42px; padding: 8px 14px; border: 1px solid #e1dbe9; border-radius: 9px; background: #fff; color: #59416f; font: inherit; font-weight: 600; cursor: pointer; }
.t29-print:hover { border-color: #a28ebc; }
.t29-section { padding: 0 0 36px; margin: 0 0 38px; border-bottom: 1px solid #e5e0ed; scroll-margin-top: 30px; }
.t29-section:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.t29-section h2 { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; gap: 12px; margin: 0 0 23px; color: #272033; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.t29-section-number { color: #8d78a6; font-size: 15px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t29-section h3 { margin: 30px 0 12px; color: #372644; font-size: 18px; line-height: 1.5; font-weight: 650; letter-spacing: -.015em; }
.t29-section p, .t29-section li { color: #383441; font-size: 16px; line-height: 1.85; letter-spacing: 0; overflow-wrap: break-word; }
.t29-section p { margin: 0 0 18px; }
.t29-section p:last-child { margin-bottom: 0; }
.t29-section ul { margin: 0 0 24px; padding-left: 24px; }
.t29-section li { padding-left: 6px; margin: 0 0 14px; }
.t29-section li::marker { color: #8262b9; }
.t29-section strong { color: #2c2435; font-weight: 700; }
.t29-section a { color: #593aaf; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bcb0d6; }
.t29-section a:hover { text-decoration-color: currentColor; }
.t29-anchor-alias { display: block; height: 0; scroll-margin-top: 30px; }
.t29-closing { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 64px; padding: 36px 40px; background: #f1ecf9; border: 1px solid #e3d9f0; border-radius: 20px; }
.t29-closing h2 { margin: 0 0 10px; color: #362344; font-size: 22px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
.t29-closing p { max-width: 630px; margin: 0; color: #554a62; font-size: 16px; line-height: 1.8; }
.t29-closing-actions { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 13px; }
.t29-top { color: #5e4b7c; font-size: 12px; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
:lang(ja) .t29-section p, :lang(zh-Hant-TW) .t29-section p { line-height: 2.05; }
:lang(ko) .t29-section, :lang(ko) .t29-hero { word-break: keep-all; overflow-wrap: break-word; }
@media (max-width: 1100px) {
  .t29-hero { gap: 40px; }
  .t29-reading { grid-template-columns: 228px minmax(0, 1fr); gap: 36px; }
  .t29-index a { padding: 9px 8px; font-size: 12px; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 0; }
  .terms-v29 .site-header { width: calc(100% - 40px); }
  .t29-wrap { width: calc(100% - 48px); }
  .t29-hero { grid-template-columns: minmax(0, 1fr) 224px; gap: 30px; padding-top: 44px; }
  .t29-hero h1 { font-size: 38px; }
  .t29-meta { padding-left: 22px; }
  .t29-reading { display: block; padding-top: 28px; padding-bottom: 50px; }
  .t29-sidebar { display: none; }
  .t29-mobile-index { display: block; position: sticky; top: 0; z-index: 15; margin-bottom: 28px; border: 1px solid #dcd4e8; background: #fcfbfe; border-radius: 12px; box-shadow: 0 6px 18px #2e154009; }
  .t29-mobile-index summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 14px 20px; color: #4e347b; font-size: 15px; font-weight: 650; list-style: none; cursor: pointer; }
  .t29-mobile-index summary::-webkit-details-marker { display: none; }
  .t29-mobile-index summary::after { content: '+'; font-size: 23px; font-weight: 400; }
  .t29-mobile-index[open] summary::after { content: '−'; }
  .t29-mobile-index .t29-index { max-height: 55vh; padding: 0 10px 12px; border-top: 1px solid #e5dfed; }
  .t29-mobile-index .t29-index a { padding: 10px; font-size: 14px; }
  .t29-section, .t29-anchor-alias { scroll-margin-top: 85px; }
  .t29-document { max-width: 100%; }
  .t29-section h2 { font-size: 22px; }
  .t29-closing { padding: 28px; }
}
@media (max-width: 580px) {
  .t29-wrap { width: calc(100% - 40px); }
  .t29-hero { grid-template-columns: 1fr; padding-block: 38px 26px; gap: 28px; }
  .t29-kicker { font-size: 11px; margin-bottom: 16px; }
  .t29-hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .t29-lead { font-size: 19px; margin-top: 20px; }
  .t29-intro { font-size: 16px; line-height: 1.8; }
  .t29-meta { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 4px 20px; border-left: 0; border-top: 1px solid #e3dbed; padding: 24px 0 0; }
  .t29-meta-label { font-size: 12px; }
  .t29-date { grid-column: 1; font-size: 26px; margin: 0; }
  .t29-company { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 10px; }
  .t29-meta .t29-support { grid-column: 1 / -1; margin-top: 12px; }
  .t29-document-tools { padding-bottom: 24px; font-size: 10px; gap: 12px; }
  .t29-print { font-size: 11px; }
  .t29-section h2 { grid-template-columns: 28px minmax(0, 1fr); font-size: 21px; gap: 9px; margin-bottom: 21px; }
  .t29-section-number { font-size: 13px; }
  .t29-section p, .t29-section li { font-size: 16px; line-height: 1.85; }
  .t29-section h3 { font-size: 18px; }
  .t29-section { padding-bottom: 26px; margin-bottom: 30px; }
  .t29-closing { flex-direction: column; align-items: stretch; padding: 26px 23px; margin-bottom: 38px; gap: 22px; }
  .t29-closing h2 { font-size: 21px; }
  .t29-closing p { font-size: 15px; }
  .t29-closing-actions { align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body.terms-v29 { background: #fff; color: #111; }
  .terms-v29 .site-header, .terms-v29 .site-footer, .t29-skip, .t29-sidebar, .t29-mobile-index, .t29-document-tools, .t29-closing, .t29-meta .t29-support { display: none !important; }
  .t29-wrap { width: 100%; }
  .t29-hero { display: block; padding: 0 0 24px; }
  .t29-hero h1 { font-size: 28pt; }
  .t29-lead { font-size: 14pt; margin: 12px 0; }
  .t29-intro { display: none; }
  .t29-meta { border: 0; padding: 12px 0 0; }
  .t29-meta-label, .t29-date, .t29-company { display: inline; font-size: 10pt; margin-right: 12px; }
  .t29-reading { display: block; padding: 20px 0 0; }
  .t29-document { max-width: none; }
  .t29-section h2 { font-size: 16pt; break-after: avoid; }
  .t29-section h3 { font-size: 12pt; break-after: avoid; }
  .t29-section p, .t29-section li { font-size: 11pt; line-height: 1.65; widows: 3; orphans: 3; }
  .t29-section { margin-bottom: 24px; padding-bottom: 20px; }
  @page { size: A4; margin: 18mm; }
}

/* Scoped additions only; other menus retain the approved V28 styles. */
.terms-v29 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.t29-date { font-size: 25px; letter-spacing: -.025em; }
.t29-meta { border-left: 0; border-inline-start: 1px solid #ddd5ed; padding: 4px 0; padding-inline-start: 32px; }
.t29-section ul { padding-left: 0; padding-inline-start: 24px; }
.t29-section li { padding-left: 0; padding-inline-start: 6px; }
.t29-index { padding-right: 0; padding-inline-end: 8px; }
.t29-index-title { margin: 0 0 18px; margin-inline-start: 13px; }
.terms-v29 .my-locale-menu a[aria-current='page'] { background: #f1efff; color: #3c2ed7; font-weight: 750; }
.terms-v29 .my-locale-menu a { text-align: start; }
.terms-v29 .my-locale-menu { max-height: min(560px, calc(100svh - 180px)); }
.terms-v29 .my-locale-menu a[lang='ar'] { font-family: Tahoma, Arial, sans-serif; }
html[dir='rtl'] .terms-v29 { font-family: Tahoma, Arial, sans-serif; }
html[dir='rtl'] .t29-hero h1, html[dir='rtl'] .t29-lead, html[dir='rtl'] .t29-section h2,
html[dir='rtl'] .t29-section h3, html[dir='rtl'] .t29-closing h2,
html[dir='rtl'] .t29-kicker, html[dir='rtl'] .t29-index-title { letter-spacing: 0; }
html[dir='rtl'] .t29-section p, html[dir='rtl'] .t29-section li { line-height: 2; }
html[dir='rtl'] .t29-company { text-align: right; }
html[dir='rtl'] .terms-v29 a[href^='mailto:'] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir='rtl'] .terms-v29 .copyright { direction: ltr; }
.t29-section-number, .my-locale-code { unicode-bidi: isolate; }
@media (max-width: 850px) { .t29-meta { padding-inline-start: 22px; } }
@media (max-width: 580px) {
  .t29-meta { border-inline-start: 0; padding: 24px 0 0; }
  .t29-date { font-size: 22px; }
  .t29-company { font-size: 11px; }
}
@media print { .t29-meta { border: 0; padding: 8px 0; } .t29-date { font-size: 10pt; } }
