:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #292824; background: #fbfaf7; }
* { box-sizing: border-box; }
body { min-width: 280px; min-height: 100vh; min-height: 100dvh; margin: 0; display: flex; flex-direction: column; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #914224; outline-offset: 5px; border-radius: 2px; }
.legal-header { border-bottom: 1px solid #e6ded0; background: #fffefa; }
.legal-header-inner { max-width: 1144px; min-height: 88px; margin: 0 auto; padding: 12px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.legal-logo { display: inline-flex; }
.legal-logo img { display: block; width: 210px; height: 70px; object-fit: contain; }
.legal-home { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border: 1px solid #e4d4ba; border-radius: 5px; color: #80401f; font-size: 14px; text-decoration: none; background: #f8f0e1; }
.legal-home:hover { background: #f1e4ce; }
.legal-main { flex: 1; width: 100%; max-width: 1144px; margin: 0 auto; padding: 58px 32px 0; }
.legal-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: #8c8275; font-size: 13px; line-height: 1.6; }
.legal-breadcrumb a { color: #81684c; text-decoration: none; }
.legal-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-main h1 { margin: 0; max-width: 850px; color: #29241f; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.legal-rule { width: 46px; height: 3px; margin: 23px 0 0; border: 0; background: #d5ac60; }
.legal-copy { min-height: 150px; max-width: 800px; margin-top: 32px; font-size: 17px; line-height: 1.8; }
.legal-footer-wrap { width: 100%; max-width: 1144px; margin: 0 auto; padding: 0 32px; }
.legal-footer-wrap .site-footer { margin-top: 45px; }
@media (max-width: 600px) {
  .legal-header-inner { min-height: 76px; gap: 14px; padding: 10px 23px; }
  .legal-logo img { width: 155px; height: 52px; }
  .legal-home { padding: 9px 12px; font-size: 13px; }
  .legal-main { padding: 36px 23px 0; }
  .legal-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .legal-copy { min-height: 125px; }
  .legal-footer-wrap { padding: 0 23px; }
}

/* Legal content: same typography and ivory/gold branding as the homepage guide. */
.legal-copy { margin-top: 22px; padding-bottom: 6px; }
.legal-copy p { margin: 0 0 19px; }
.legal-copy a { color: #914224; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal-copy a:hover { color: #6c2c16; }
.legal-copy .legal-updated { margin: 0 0 21px; color: #84796b; font-size: 13px; }
.legal-copy .legal-intro { margin-bottom: 29px; color: #665a4c; font-size: 19px; line-height: 1.75; }
.legal-copy section { margin-top: 37px; }
.legal-copy h2 { margin: 0 0 18px; color: #3d3023; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; line-height: 1.3; scroll-margin-top: 24px; }
.legal-copy li { margin: 10px 0; padding-left: 3px; }
.legal-copy ul { padding-left: 24px; }
.legal-owner { margin: 23px 0; padding: 22px 25px; border: 1px solid #e8dcc6; border-radius: 8px; background: #fffdf7; }
.legal-owner > div { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 10px 20px; padding: 13px 0; border-bottom: 1px solid #eee6d8; }
.legal-owner > div:first-child { padding-top: 0; }
.legal-owner > div:last-child { padding-bottom: 0; border: 0; }
.legal-owner dt { color: #81715e; font-size: 14px; }
.legal-owner dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.legal-owner address { font-style: normal; }
.legal-toc { margin: 30px 0 37px; padding: 20px 25px; border-left: 3px solid #d5ac60; background: #f5f0e7; border-radius: 0 6px 6px 0; }
.legal-toc > p { margin: 0 0 10px; color: #77624c; font-size: 14px; font-weight: 600; }
.legal-toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 25px; margin: 0; padding: 0; list-style: none; }
.legal-toc li { margin: 0; padding: 0; font-size: 14px; line-height: 1.6; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-table-scroll { max-width: 100%; overflow-x: auto; margin: 23px 0; border: 1px solid #e5d8c3; border-radius: 6px; }
.legal-copy table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.legal-copy caption { padding: 14px 17px; background: #fffdf7; color: #76634b; font-size: 13px; text-align: left; }
.legal-copy th, .legal-copy td { min-width: 165px; padding: 16px; text-align: left; vertical-align: top; border-top: 1px solid #e5d8c3; }
.legal-copy th { background: #f5ecdc; color: #634a2f; font-weight: 600; }
.legal-copy code { font-size: .85em; overflow-wrap: anywhere; }
.legal-contact-card { padding: 24px 27px; border: 1px solid #e4d3b4; border-radius: 8px; background: #f5eddd; }
.legal-contact-card .legal-contact-label { margin: 0 0 9px; color: #8a6b47; font-size: 13px; }
.legal-contact-card .legal-contact-email { display: inline-block; margin-bottom: 16px; color: #914224; font-size: clamp(18px, 3vw, 25px); font-weight: 600; text-decoration: none; }
.legal-contact-card p:last-child { margin: 0; color: #796d5d; font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) {
  .legal-copy { font-size: 16px; }
  .legal-copy .legal-intro { font-size: 18px; }
  .legal-copy h2 { font-size: 24px; }
  .legal-owner { padding: 18px; }
  .legal-owner > div { grid-template-columns: 1fr; gap: 3px; }
  .legal-toc { padding: 18px 20px; }
  .legal-toc ul { grid-template-columns: 1fr; }
  .legal-contact-card { padding: 21px; }
}

.author-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.author-initials { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 82px; border: 1px solid #d8bd88; border-radius: 8px; background: #f7edda; color: #914224; font-family: Georgia, serif; font-size: 25px; }
.author-heading .author-role { margin: 0 0 7px; color: #8b7151; font-size: 13px; letter-spacing: .035em; }
.author-copy { max-width: 740px; }
.legal-main h1, .legal-copy h2 { overflow-wrap: anywhere; hyphens: auto; }
.author-guide-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 19px; border: 1px solid #d9c4a0; border-radius: 5px; background: #f7eedf; color: #914224; font-size: 15px; text-decoration: none; }
@media (max-width: 600px) { .author-heading { gap: 16px; } .author-heading h1 { font-size: 32px; } .author-initials { width: 56px; height: 65px; font-size: 21px; } }
