.legal-page {
  --paper: #f8f7ef;
  --ink: #173d35;
  --muted: #61766c;
  --accent: #275b48;
  --line: rgba(23, 61, 53, .14);
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: border-box; }
.legal-page a { color: inherit; }
.legal-page .site-header { gap: 16px; }
.legal-page .site-nav > a { display: inline-flex; }
.legal-page .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.legal-page .footer-inner > p { display: block; color: var(--muted); font-size: 12px; }
.legal-page .footer-links { display: flex; gap: 25px; }
.legal-page a:focus-visible, .legal-page summary:focus-visible { outline: 3px solid #5e947f; outline-offset: 5px; border-radius: 3px; }
.legal-page .site-nav [aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.legal-page .skip-link { position: absolute; top: 10px; left: 20px; padding: 12px 18px; background: var(--ink); color: white; z-index: 100; transform: translateY(-180%); }
.legal-page .skip-link:focus { transform: translateY(0); }
.legal-hero { width: min(1120px, calc(100% - 96px)); margin: 0 auto; padding: 91px 0 64px; border-bottom: 1px solid var(--line); }
.legal-eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.legal-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.3vw, 72px); line-height: 1.05; font-weight: 400; letter-spacing: -.045em; }
.legal-intro { max-width: 570px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.legal-date { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 33px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.legal-layout { display: grid; grid-template-columns: 215px minmax(0, 710px); gap: 80px; width: min(1120px, calc(100% - 96px)); margin: 0 auto; padding: 63px 0 110px; align-items: start; }
.legal-aside { position: sticky; top: 108px; }
.legal-toc { display: grid; gap: 0; }
.legal-toc > p { margin: 0 0 17px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.legal-toc a { padding: 8px 0; font-size: 13px; line-height: 1.45; text-decoration: none; color: var(--muted); transition: color .15s; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.legal-contact-link { display: inline-flex; gap: 16px; margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--line); font-size: 13px; text-underline-offset: 4px; }
.legal-article { min-width: 0; font-size: 15px; line-height: 1.85; overflow-wrap: break-word; }
.legal-article > p:first-child { margin-top: 0; font-size: 17px; line-height: 1.8; }
.legal-article h2 { margin: 48px 0 18px; padding-top: 2px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 110px; text-wrap: pretty; }
.legal-article h3 { margin: 29px 0 9px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.legal-article p { margin: 0 0 17px; }
.legal-article a, .faq-answer a { color: var(--accent); text-decoration-line: underline; text-decoration-color: #87a495; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-article a:hover, .faq-answer a:hover { text-decoration-color: var(--ink); }
.legal-article ul { margin: 18px 0 23px; padding-left: 22px; }
.legal-article li { margin-bottom: 13px; padding-left: 4px; }
.legal-article strong { font-weight: 600; }

.support-hero { border: 0; padding-bottom: 60px; }
.support-hero .legal-intro { max-width: 460px; }
.support-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 92px; width: min(1120px, calc(100% - 96px)); margin: 0 auto; padding-bottom: 110px; align-items: start; }
.support-contact { position: sticky; top: 108px; padding: 29px; border: 1px solid #d6e3d6; border-radius: 20px; background: #e8eee0; }
.contact-mark { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 27px; border-radius: 50%; background: #d6e1cc; color: var(--ink); font-size: 25px; font-family: Georgia, serif; }
.support-contact .legal-eyebrow { font-size: 10px; margin-bottom: 11px; }
.support-contact h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; line-height: 1.1; letter-spacing: -.03em; font-weight: 400; }
.support-contact > p:not(.legal-eyebrow) { font-size: 13px; line-height: 1.8; }
.support-contact .support-email { display: inline; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; line-height: 1.8; text-decoration: underline; text-underline-offset: 5px; }
.support-contact .support-note { color: var(--muted); margin-top: 24px; }
.support-contact .support-publisher { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.support-answers { min-width: 0; }
.faq-group { margin-bottom: 58px; }
.faq-group > .legal-eyebrow { margin: 0 0 12px; }
.faq-group > h2 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 33px; line-height: 1.25; letter-spacing: -.025em; scroll-margin-top: 110px; }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
.faq-group summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 15px; line-height: 1.5; font-weight: 500; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; flex: 0 0 auto; color: var(--muted); font-weight: 400; font-size: 23px; line-height: 1; }
.faq-group details[open] summary::after { content: "−"; }
.faq-group summary:hover { color: var(--accent); }
.faq-answer { padding: 0 28px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-answer p { margin: 0 0 14px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--ink); font-weight: 500; }
.faq-answer ol { margin: 0 0 17px; padding-left: 22px; }
.faq-answer li { margin-bottom: 7px; padding-left: 3px; }
.support-bottom { padding: 27px 0 0; }
.support-bottom h2 { font-family: Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1.25; font-weight: 400; letter-spacing: -.025em; margin: 0 0 12px; }
.support-bottom p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.support-policy-links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 22px; }
.support-policy-links a { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.support-policy-links a span { padding-left: 12px; }

@media (max-width: 1000px) {
  .legal-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 42px; }
  .support-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 45px; }
  .support-contact { padding: 25px; }
}

@media (max-width: 760px) {
  .legal-page .site-nav { gap: 15px; font-size: 12px; }
  .legal-hero, .legal-layout, .support-layout { width: calc(100% - 40px); }
  .legal-hero { padding: 58px 0 40px; }
  .legal-hero h1 { font-size: clamp(43px, 9.5vw, 62px); }
  .legal-eyebrow { margin-bottom: 17px; font-size: 10px; }
  .legal-intro { margin-top: 22px; font-size: 16px; }
  .legal-date { margin-top: 26px; max-width: 300px; gap: 4px 6px; font-size: 11px; }
  .legal-layout { display: block; padding: 27px 0 70px; }
  .legal-aside { position: static; margin-bottom: 36px; }
  .legal-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .legal-toc > p { grid-column: 1 / -1; margin-bottom: 9px; }
  .legal-toc a { font-size: 12px; padding: 7px 0; }
  .legal-contact-link { display: none; }
  .legal-article { font-size: 14px; line-height: 1.85; }
  .legal-article > p:first-child { font-size: 16px; }
  .legal-article h2 { font-size: 27px; margin-top: 38px; scroll-margin-top: 95px; }
  .legal-article h3 { font-size: 15px; }
  .support-layout { display: flex; flex-direction: column; gap: 42px; padding-bottom: 70px; }
  .support-contact { position: static; width: 100%; padding: 27px; }
  .contact-mark { margin-bottom: 22px; }
  .support-contact h2 { font-size: 30px; }
  .support-contact .support-email { font-size: 14px; }
  .support-contact .support-publisher { margin-bottom: 0; }
  .support-answers { width: 100%; }
  .faq-group { margin-bottom: 42px; }
  .faq-group > h2 { font-size: 29px; margin-bottom: 22px; }
  .faq-group summary { font-size: 14px; padding: 20px 0; }
  .faq-answer { padding-right: 12px; }
  .support-bottom { padding-top: 8px; }
}

@media print {
  .legal-page { background: white; color: black; }
  .legal-page .site-header, .legal-page .site-footer, .legal-aside, .skip-link { display: none; }
  .legal-hero, .legal-layout { width: 100%; padding: 20px 0; }
  .legal-layout { display: block; }
  .legal-hero h1 { font-size: 40px; }
  .legal-article { font-size: 11pt; }
  .legal-article h2 { break-after: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page *, .legal-page *::before, .legal-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
