.legal-page {
  --ink: #333;
  --muted: #666;
  --blue: #333;
  --line: #ddd;
  --soft: #f5f5f5;
  background: #fff;
}
.legal-page .brand-wordmark {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.legal-page .brand-wordmark > span { color: var(--blue); }
.legal-page .legal-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
}
.legal-header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal-wrap { width: min(960px, calc(100% - 64px)); margin-inline: auto; }
.legal-hero { padding-block: 26px 30px; background: #fff; }
.legal-breadcrumbs { margin-bottom: 32px; color: var(--muted); font-size: 13px; }
.legal-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
.legal-breadcrumbs li + li::before { content: "/"; margin-right: 12px; color: var(--muted); }
.legal-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.legal-title { font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.5; letter-spacing: .015em; }
.legal-title span { display: inline-block; }
.legal-intro { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-content { padding-block: 12px 64px; }
.legal-section + .legal-section { margin-top: 40px; }
.legal-section h2 { margin-bottom: 16px; font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: .02em; }
.legal-details { margin: 0; border: 1px solid var(--line); }
.legal-details > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.legal-details > div + div { border-top: 1px solid var(--line); }
.legal-details dt, .legal-details dd { margin: 0; padding: 22px 26px; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.legal-details dt { background: #f5f5f5; font-weight: 400; }
.legal-details dd { background: #fff; }
.legal-details a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.legal-details a:hover { text-decoration-thickness: 2px; }
.legal-return { margin-top: 40px; text-align: center; }
.legal-return a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 400; }
.legal-return a:hover { background: var(--soft); }
.pricing .legal-pricing-link { margin-top: 24px; text-align: center; font-size: 13px; }
.legal-pricing-link a { display: inline-block; min-height: 44px; padding-block: 8px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .legal-wrap { width: calc(100% - 40px); }
  .legal-details > div { grid-template-columns: 180px minmax(0, 1fr); }
  .legal-details dt, .legal-details dd { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .legal-page .site-header { height: 72px; gap: 12px; }
  .legal-page .brand-wordmark { font-size: 20px; }
  .legal-page .legal-header-link { gap: 6px; font-size: 12px; }
  .legal-hero { padding-block: 20px 24px; }
  .legal-breadcrumbs { margin-bottom: 28px; font-size: 11px; }
  .legal-breadcrumbs ol { gap: 6px 8px; }
  .legal-breadcrumbs li + li::before { margin-right: 8px; }
  .legal-intro { font-size: 14px; }
  .legal-content { padding-block: 8px 40px; }
  .legal-section + .legal-section { margin-top: 32px; }
  .legal-section h2 { font-size: 18px; margin-bottom: 14px; }
  .legal-details > div { grid-template-columns: minmax(0, 1fr); }
  .legal-details dt { padding: 12px 16px; font-size: 14px; }
  .legal-details dd { padding: 16px; }
  .legal-return { margin-top: 28px; }
}
@media print {
  .legal-page .site-header, .legal-breadcrumbs, .legal-return, .legal-page .simple-company-footer { display: none; }
  .legal-wrap { width: 100%; }
  .legal-hero { padding-block: 0 18px; background: #fff; }
  .legal-content { padding-block: 20px 0; }
  .legal-section { break-inside: avoid; }
  .legal-details > div { grid-template-columns: 180px minmax(0, 1fr); break-inside: avoid; }
  .legal-details dt, .legal-details dd { padding: 10px 14px; font-size: 11px; }
}
