:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #1c211e;
  background: #f5f6f5;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.eyebrow { margin: 0; color: #a13d33; font-size: 12px; font-weight: 800; letter-spacing: 0; }

.semantic-body { min-height: 100vh; background: #0a0a0a; color: #f4f6f5; }
.semantic-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1040px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; border-bottom: 1px solid #292d2b; }
.semantic-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.semantic-brand img { width: 36px; height: 36px; padding: 3px; border: 1px solid rgba(249, 251, 252, 0.2); border-radius: 6px; background: #f4f6f5; object-fit: contain; }
.semantic-brand span { display: grid; gap: 2px; }
.semantic-brand small, .semantic-footer { color: #aeb6b1; font-size: 11px; }
.semantic-header nav, .semantic-machine-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.semantic-header nav a, .semantic-main a, .semantic-machine-links a { color: #8fd6ff; text-decoration: none; }
.semantic-header nav a:hover, .semantic-header nav a:focus-visible, .semantic-main a:hover, .semantic-main a:focus-visible { text-decoration: underline; }
.semantic-main { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 32px; }
.semantic-main article > h1 { margin: 8px 0 16px; font-size: 48px; line-height: 1.12; letter-spacing: 0; }
.semantic-lead { max-width: 760px; margin: 0; color: #d7d7d7; font-size: 18px; line-height: 1.8; }
.semantic-main section { padding: 34px 0; border-bottom: 1px solid #292d2b; }
.semantic-main section h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: 0; }
.semantic-main section p, .semantic-main section li { color: #c8c8c8; line-height: 1.8; }
.semantic-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.semantic-main details { padding: 14px 0; border-top: 1px solid #292d2b; }
.semantic-main summary { cursor: pointer; font-weight: 700; }
.semantic-main details p { margin-bottom: 0; }
.semantic-machine-links h2 { flex: 1 0 100%; }
.semantic-footer { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 30px; text-align: center; }
.site-footer-filings { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.site-footer-filings a { color: inherit; text-decoration: none; }
.site-footer-filings a:hover, .site-footer-filings a:focus-visible { color: #f4f6f5; text-decoration: underline; }

.legal-page { min-height: 100vh; background: #f5f6f5; color: #1c211e; }
.legal-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid #d7dbd8; background: rgba(255, 255, 255, 0.96); }
.legal-brand { display: flex; align-items: center; gap: 9px; color: #171b19; text-decoration: none; }
.legal-brand img { width: 34px; height: 34px; object-fit: contain; }
.legal-header nav { display: flex; gap: 4px; overflow-x: auto; }
.legal-header nav a { flex: 0 0 auto; padding: 8px 10px; color: #59615c; font-size: 12px; text-decoration: none; }
.legal-header nav a[aria-current="page"] { color: #a13d33; font-weight: 800; }
.legal-main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 70px; }
.legal-review-notice { margin: 0 0 20px; padding: 13px 15px; border-left: 3px solid #b24d40; background: #fff3ee; color: #6b3931; font-size: 13px; line-height: 1.6; }
.legal-main > article { padding: 38px 52px 46px; border: 1px solid #d9ddda; border-radius: 6px; background: #fff; }
.legal-main article > header { padding-bottom: 24px; border-bottom: 1px solid #e1e4e2; }
.legal-main h1 { margin: 8px 0 12px; font-size: 34px; line-height: 1.2; }
.legal-main article > header > p:last-child, .legal-main section p { color: #535c56; line-height: 1.9; }
.legal-main section { padding-top: 22px; }
.legal-main section h2 { margin: 0 0 8px; font-size: 18px; }
.legal-main article > footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e1e4e2; color: #68716b; font-size: 12px; line-height: 1.7; }
.legal-main article > footer p { margin: 4px 0; }
.legal-main article > footer a { color: inherit; text-underline-offset: 2px; }

@media (max-width: 720px) {
  .semantic-header { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .semantic-main { padding-top: 38px; }
  .semantic-main article > h1 { font-size: 36px; }
  .semantic-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .legal-header { align-items: flex-start; flex-direction: column; gap: 5px; padding: 10px 12px 8px; }
  .legal-header nav { width: 100%; }
  .legal-main { width: calc(100% - 24px); padding: 20px 0 40px; }
  .legal-main > article { padding: 25px 18px 32px; }
  .legal-main h1 { font-size: 27px; }
}
