:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #172238; background: #f4f1e9; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
.legal-header { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d9d4c8; padding: 15px max(24px, calc((100vw - 1200px) / 2)); background: #fcfbf7; }
.legal-logo { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 20px; letter-spacing: .06em; }
.legal-logo img { width: 42px; height: 42px; object-fit: contain; filter: saturate(.7); }
.legal-logo span { display: grid; }
.legal-logo small { color: #777a73; font-family: Inter, sans-serif; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.legal-header nav { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.legal-header button { min-width: 42px; min-height: 32px; border: 1px solid #bdb6a8; background: transparent; color: #172238; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); gap: 70px; width: min(calc(100% - 48px), 1200px); min-height: 70vh; margin: 0 auto; padding: 66px 0 100px; }
aside { position: sticky; top: 30px; display: grid; align-self: start; gap: 4px; }
aside p { margin: 0 0 14px; color: #8b7650; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
aside a { border-left: 1px solid #cec8bb; padding: 9px 14px; color: #626963; font-size: 13px; }
aside a.active { border-color: #172238; color: #172238; font-weight: 800; }
article .eyebrow { margin: 0 0 16px; color: #8b7650; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
article h1, article h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
article h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1; }
article h2 { margin: 40px 0 12px; font-size: 25px; }
article p, article li { color: #4f5753; font-size: 15px; line-height: 1.75; }
article ul, article ol { padding-left: 22px; }
.legal-note { margin: 25px 0; border-left: 3px solid #8b7650; padding: 18px 22px; background: #ebe5d9; }
.details { display: grid; grid-template-columns: 190px 1fr; border-top: 1px solid #d9d4c8; }
.details dt, .details dd { margin: 0; border-bottom: 1px solid #d9d4c8; padding: 13px 0; font-size: 14px; }
.details dt { color: #747a74; }
.details dd { font-weight: 700; }
footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 45px max(24px, calc((100vw - 1200px) / 2)); background: #111c2d; color: #e9e5db; font-size: 12px; }
footer > div { display: grid; align-content: start; justify-items: start; gap: 8px; }
footer span { color: #aeb3b4; }
.paymarks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.paymarks b { border: 1px solid #657080; padding: 7px 9px; font-size: 10px; }
@media (max-width: 760px) { .legal-header nav a { display: none; } .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; } aside { position: static; grid-template-columns: 1fr 1fr; } aside p { grid-column: 1 / -1; } footer { grid-template-columns: 1fr; } .details { grid-template-columns: 1fr; } .details dd { padding-top: 0; } }

/* Cool powder-blue legal palette. */
:root { color: #17233a; background: #f7fbff; }
body { background: linear-gradient(180deg, #fff 0%, #f3f9ff 44%, #eaf5ff 68%, #fff 100%) fixed; }
.legal-header { border-color: #dbe7f3; background: #fff; }
.legal-header button { border-color: #aacbe9; color: #234d77; }
aside p, article .eyebrow { color: #5799dc; }
aside a { border-color: #c9dff2; color: #66758a; }
aside a.active { border-color: #5799dc; color: #17233a; }
.legal-note { border-color: #69a8e6; background: #eaf5ff; }
.details, .details dt, .details dd { border-color: #dbe7f3; }
footer { background: #172b43; color: #f7fbff; }

/* Unified storefront and PWA shell. */
.legal-header { position: sticky; top: 0; z-index: 70; min-height: 92px; border-color: #2b3d57; background: #14233d; color: #fff; }
.legal-logo { gap: 10px; color: #fff; font: 600 20px Baskerville, "Iowan Old Style", Georgia, serif; letter-spacing: .1em; }
.legal-logo img { width: 66px; height: 66px; filter: none; }
.legal-logo small { color: #d9b56d; font-size: 7px; }
.legal-header button { border-color: #7f8ca0; border-radius: 8px; color: #fff; }
.back-link { display: inline-flex; min-height: 40px; align-items: center; margin-bottom: 12px; color: #48627f; font-size: 13px; font-weight: 700; }
.mobile-help-back { display: none; }
.legal-tabbar { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); background: #f5f9fd; }
  .legal-header { min-height: 74px; padding: max(7px, env(safe-area-inset-top)) 12px 7px; }
  .legal-logo { gap: 8px; font-size: 16px; letter-spacing: .08em; }
  .legal-logo img { width: 52px; height: 52px; }
  .legal-logo small { font-size: 6px; }
  .legal-header nav { gap: 8px; }
  .legal-header nav a { display: none; }
  .legal-header button { min-width: 42px; min-height: 38px; padding: 0 8px; }
  .legal-layout { display: flex; width: 100%; min-height: 0; flex-direction: column; gap: 14px; padding: 14px 12px calc(86px + env(safe-area-inset-bottom)); }
  .legal-layout aside { position: static; display: flex; order: 1; width: calc(100vw - 24px); gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
  .legal-layout aside::-webkit-scrollbar { display: none; }
  .legal-layout aside p { display: none; }
  .legal-layout aside a { flex: 0 0 auto; border: 1px solid #d5e3ef; border-radius: 999px; padding: 9px 13px; background: #fff; color: #53657a; font-size: 11px; white-space: nowrap; }
  .legal-layout aside .mobile-help-back { display: inline-flex; align-items: center; border-color: #14233d; color: #14233d; font-weight: 800; }
  .legal-layout aside a.active { border-color: #d9b56d; background: #14233d; color: #fff; }
  .legal-layout article { order: 2; min-width: 0; }
  .back-link { display: none; }
  article .eyebrow { margin: 4px 0 8px; font-size: 9px; }
  article h1 { margin-bottom: 18px; font-size: 36px; line-height: 1.02; }
  article h2 { margin: 26px 0 9px; font-size: 22px; line-height: 1.15; }
  article p, article li { font-size: 14px; line-height: 1.55; }
  article ul, article ol { padding-left: 20px; }
  .legal-note { margin: 18px 0; border-radius: 0 10px 10px 0; padding: 14px 15px; }
  .details { grid-template-columns: 1fr; overflow: hidden; border: 1px solid #dbe7f3; border-radius: 10px; background: #fff; }
  .details dt, .details dd { border: 0; padding: 10px 13px; overflow-wrap: anywhere; font-size: 13px; }
  .details dt { padding-bottom: 2px; }
  .details dd { border-bottom: 1px solid #e4edf5; padding-top: 0; }
  footer { display: none; }
  .legal-tabbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 120; display: grid; grid-template-columns: repeat(4, 1fr); min-height: calc(64px + env(safe-area-inset-bottom)); border-top: 1px solid #d6e0eb; padding: 5px 4px env(safe-area-inset-bottom); background: rgb(255 255 255 / 97%); box-shadow: 0 -8px 24px rgb(20 35 61 / 10%); }
  .legal-tabbar a { position: relative; display: grid; min-width: 0; min-height: 54px; place-items: center; gap: 1px; padding: 4px 2px; color: #526175; }
  .legal-tabbar a.active { color: #14233d; }
  .legal-tabbar a.active::after { position: absolute; top: 0; width: 28px; height: 2px; border-radius: 2px; background: #d9b56d; content: ""; }
  .legal-tabbar span { color: #14233d; font-size: 23px; line-height: 1; }
  .legal-tabbar span svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
  .legal-tabbar small { overflow: hidden; max-width: 100%; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
}
