/* ============================================================================
   AppWT Relay · design system
   ordering.appwt.com · built 2026-08-17

   TWO SKINS, ONE SYSTEM. This is the central product decision in the file.

   .console  — the operator's back of house. Wears the AppWT identity: base black,
               charcoal surfaces, a single champagne-gold accent. It is our product
               and it should look like ours.

   .store    — the guest's ordering screen. WHITE LABEL. It takes the restaurant's
               own color from --brand, set per tenant. A diner ordering a burger
               should see the burger place, not their vendor's agency palette.
               Toast, Square and SpotOn all white-label the guest surface; a guest
               screen that advertises the platform costs the restaurant its brand.

   CSS-FIRST. Every texture, badge, spinner, empty state and status light here is
   drawn with CSS. No image is required to render any screen. Photography is only
   ever restaurant-supplied menu-item content, never chrome.

   NO HORIZONTAL SCROLL, EVER (AppWT hard rule). Enforced at the root, and every
   wide element (tables, KDS rails) scrolls inside its own container.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;   /* hard rule: never allow horizontal scroll */
  margin: 0;
  padding: 0;
}

:root {
  /* --- AppWT identity (console) ------------------------------------------ */
  --black:      #0A0A0A;
  --charcoal:   #1A1A1A;
  --charcoal-2: #222222;
  --gold:       #C4A052;
  --gold-soft:  #d9bd7d;
  --pearl:      #FAFAFA;    /* text on dark. never pure #FFFFFF */
  --muted:      #A3B5CC;

  /* --- guest storefront defaults (overridden per tenant) ------------------ */
  --brand:      #C4A052;
  --brand-ink:  #0A0A0A;    /* readable text ON --brand; recomputed per tenant */
  --surface:    #FFFFFF;
  --surface-2:  #F7F5F2;    /* warm, not blue: food reads better on warm neutrals */
  --ink:        #1C1917;
  --ink-soft:   #57534E;
  --line:       #E7E2DB;

  /* --- semantic status --------------------------------------------------- */
  --ok:      #2F855A;
  --warn:    #B7791F;
  --danger:  #C53030;
  --info:    #2B6CB0;

  /* --- rhythm ------------------------------------------------------------ */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --gap:  16px;
  --shadow:    0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.18);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* Focus is never removed, only restyled. An operator on a headset tabbing through
   an order needs to see where they are. */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================================
   CONSOLE — operator back of house
   ============================================================================ */

.console {
  background: var(--black);
  color: var(--pearl);
  min-height: 100vh;
}

.console a { color: var(--gold-soft); }

.console-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #23262b;
}
.console-head .bar {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px; flex-wrap: wrap;
}

.brandmark { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.01em; }
/* The mark is drawn, not loaded: a gold ring with a bite taken out of it. */
.brandmark .glyph {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--gold);
  position: relative; flex: none;
}
.brandmark .glyph::after {
  content: ""; position: absolute; right: -4px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--black);
}
.brandmark b { color: var(--pearl); }
.brandmark span { color: var(--gold); font-weight: 700; }

.console nav { display: flex; flex-wrap: wrap; gap: 3px 4px; align-items: center; min-width: 0; }
.console nav a {
  color: #cdd7e3; text-decoration: none; font-weight: 600; font-size: .82rem;
  padding: 5px 10px; border-radius: 7px; white-space: nowrap;
  transition: background .12s, color .12s;
}
.console nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.console nav a.on    { color: var(--black); background: var(--gold); }

.console .who { margin-left: auto; font-size: .8rem; color: var(--muted); }
.console .who a { color: var(--gold-soft); }

.wrap { max-width: 1440px; margin: 0 auto; padding: 22px 18px 64px; }

.page-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.page-title h1 { font-size: 1.5rem; margin: 0; letter-spacing: -.02em; }
.page-title .sub { color: var(--muted); font-size: .9rem; }

/* --- cards + panels ---------------------------------------------------- */
.card {
  background: var(--charcoal);
  border: 1px solid #262a30;
  border-radius: var(--r-lg);
  padding: 18px;
}
.card + .card { margin-top: var(--gap); }
.card h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: -.01em; }

.grid { display: grid; gap: var(--gap); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* --- stat tiles -------------------------------------------------------- */
.stat {
  background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid #2a2f36;
  border-radius: var(--r);
  padding: 14px 16px;
}
.stat .k { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.stat .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.stat .d { font-size: .78rem; color: var(--muted); }
.stat.accent { border-color: rgba(196,160,82,.45); }
.stat.accent .v { color: var(--gold); }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: inherit; font-weight: 700; font-size: .88rem;
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .06s, filter .12s, background .12s;
  min-height: 40px;            /* touch target: a line cook taps this with a thumb */
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost   { background: transparent; color: var(--pearl); border-color: #343a42; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-danger  { background: var(--danger); color: #fff; }
/* A button that is a link inside .console keeps its own text color (`.console a` would otherwise win). */
.console a.btn-primary { color: var(--black); }
.console a.btn-ghost   { color: var(--pearl); }
.console a.btn-danger  { color: #fff; }
.btn-sm { padding: 5px 11px; font-size: .78rem; min-height: 32px; border-radius: 8px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* --- forms ------------------------------------------------------------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted);
                text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; color: var(--pearl);
  background: #141719; border: 1px solid #2f353d; border-radius: 10px;
  padding: 10px 12px; min-height: 42px;
}
.input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(196,160,82,.18); }
.input::placeholder { color: #6b7683; }
.hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* --- tables ------------------------------------------------------------ */
/* Wide data scrolls INSIDE this container. The page body never scrolls sideways. */
.tablewrap { overflow-x: auto; border-radius: var(--r); border: 1px solid #262a30; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #23272d; }
table.data th { background: var(--charcoal-2); font-size: .74rem; text-transform: uppercase;
                letter-spacing: .06em; color: var(--muted); position: sticky; top: 0; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(255,255,255,.03); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }

/* --- status pills ------------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.placed    { background: rgba(43,108,176,.16);  color: #7EB6F0; }
.pill.accepted  { background: rgba(43,108,176,.16);  color: #7EB6F0; }
.pill.preparing { background: rgba(183,121,31,.18);  color: #E8B563; }
.pill.ready     { background: rgba(47,133,90,.18);   color: #6FCF97; }
.pill.completed { background: rgba(255,255,255,.07); color: #9AA6B2; }
.pill.canceled, .pill.refunded { background: rgba(197,48,48,.16); color: #F08585; }
.pill.paid      { background: rgba(47,133,90,.18);   color: #6FCF97; }
.pill.unpaid    { background: rgba(197,48,48,.16);   color: #F08585; }

/* A live order that has waited too long pulses. Motion is the only thing that reliably
   catches an eye that is looking at a grill, not a screen. */
@keyframes latepulse { 0%,100% { box-shadow: 0 0 0 0 rgba(197,48,48,.55); } 50% { box-shadow: 0 0 0 8px rgba(197,48,48,0); } }
.is-late { animation: latepulse 1.9s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .is-late { animation: none; border-color: var(--danger) !important; }
}

/* --- empty states ------------------------------------------------------ */
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty .plate {
  width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%;
  border: 2px dashed #3a4048; position: relative;
}
.empty .plate::after {
  content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 2px dashed #2e343b;
}
.empty h3 { color: var(--pearl); margin: 0 0 5px; font-size: 1rem; }

/* --- flash messages ---------------------------------------------------- */
.flash { border-radius: var(--r); padding: 11px 14px; margin-bottom: 16px; font-size: .9rem; font-weight: 600; }
.flash.ok    { background: rgba(47,133,90,.14);  color: #8FE0B0; border: 1px solid rgba(47,133,90,.4); }
.flash.err   { background: rgba(197,48,48,.14);  color: #F5A3A3; border: 1px solid rgba(197,48,48,.4); }
.flash.warn  { background: rgba(183,121,31,.14); color: #EBC177; border: 1px solid rgba(183,121,31,.4); }

/* ============================================================================
   KDS — kitchen display
   Built for a wall-mounted screen read from six feet away with wet hands.
   Bigger type, bigger targets, higher contrast, no hover-only affordances.
   ============================================================================ */

.kds { background: #07080a; color: var(--pearl); min-height: 100vh; }
.kds-rail {
  display: flex; gap: 14px; padding: 14px;
  overflow-x: auto;                    /* the RAIL scrolls, never the page */
  align-items: flex-start;
  scroll-snap-type: x proximity;
}
.ticket {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--charcoal); border: 2px solid #2b3037;
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; max-height: calc(100vh - 130px);
}
.ticket header {
  padding: 10px 12px; background: var(--charcoal-2);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-bottom: 1px solid #2b3037;
}
.ticket .num  { font-weight: 900; font-size: 1.15rem; font-family: var(--mono); letter-spacing: -.02em; }
.ticket .age  { font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket .age.warn { color: #E8B563; }
.ticket .age.late { color: #F08585; }
.ticket ul { list-style: none; margin: 0; padding: 10px 12px; overflow-y: auto; flex: 1; }
.ticket li { padding: 7px 0; border-bottom: 1px dashed #2b3037; font-size: 1.02rem; }
.ticket li:last-child { border-bottom: 0; }
.ticket li .q { font-weight: 900; color: var(--gold); margin-right: 7px; font-family: var(--mono); }
.ticket li .mods { display: block; font-size: .85rem; color: var(--muted); padding-left: 20px; }
.ticket li .mods span { display: block; }
.ticket li .note { display: block; font-size: .85rem; color: #E8B563; padding-left: 20px; font-weight: 700; }
.ticket footer { padding: 10px 12px; border-top: 1px solid #2b3037; }
.ticket footer .btn { width: 100%; min-height: 46px; font-size: .95rem; }
.ticket.type-delivery { border-color: rgba(43,108,176,.5); }
.ticket.type-dinein   { border-color: rgba(196,160,82,.5); }

/* ============================================================================
   STORE — the guest ordering screen. WHITE LABEL.
   --brand is written inline per tenant from tenants.brand_hex.
   ============================================================================ */

.store { background: var(--surface-2); color: var(--ink); min-height: 100vh; }

.store-hero {
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, #000));
  color: var(--brand-ink);
  padding: 30px 18px 26px;
}
.store-hero .inner { max-width: 1100px; margin: 0 auto; }
.store-hero h1 { margin: 0 0 5px; font-size: 1.85rem; letter-spacing: -.025em; }
.store-hero .meta { font-size: .92rem; opacity: .9; display: flex; flex-wrap: wrap; gap: 6px 16px; }

.openflag { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .82rem;
            padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.18); }
.openflag::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: #6FCF97; }
.openflag.closed::before { background: #F08585; }

.store-body { max-width: 1100px; margin: 0 auto; padding: 20px 18px 120px; display: grid; gap: 26px; }
@media (min-width: 940px) { .store-body { grid-template-columns: 1fr 340px; align-items: start; } }

/* Sticky category rail. Horizontal scroll is INSIDE the rail. */
.catnav {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface-2);
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.catnav a {
  flex: none; text-decoration: none; font-weight: 700; font-size: .86rem;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
  white-space: nowrap;
}
.catnav a.on { background: var(--brand); color: var(--brand-ink); border-color: transparent; }

.cat h2 { font-size: 1.25rem; letter-spacing: -.02em; margin: 26px 0 4px; }
.cat > p { color: var(--ink-soft); margin: 0 0 14px; font-size: .92rem; }

.items { display: grid; gap: 12px; }
@media (min-width: 620px) { .items { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; display: flex; gap: 13px; text-align: left; width: 100%;
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .12s, box-shadow .12s, transform .06s;
}
.item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.item:active { transform: translateY(1px); }
.item .txt { flex: 1; min-width: 0; }
.item h3 { margin: 0 0 3px; font-size: 1rem; }
.item p  { margin: 0; font-size: .87rem; color: var(--ink-soft);
           display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .price { font-weight: 800; margin-top: 7px; font-variant-numeric: tabular-nums; }
.item .thumb { width: 88px; height: 88px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--surface-2); }
.item.sold-out { opacity: .5; cursor: not-allowed; }
.item.sold-out .price::after { content: " · Sold out"; color: var(--danger); font-weight: 700; }

/* Dietary tags, drawn in CSS. Explicit columns in the DB drive these, so a typo in a
   free-text tag can never hide an allergen. */
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft);
}
.tag.veg   { color: #2F855A; border-color: rgba(47,133,90,.4); }
.tag.vegan { color: #276749; border-color: rgba(39,103,73,.4); }
.tag.gf    { color: #2B6CB0; border-color: rgba(43,108,176,.4); }
.tag.spicy { color: #C53030; border-color: rgba(197,48,48,.4); }
.tag.allergen { color: #B7791F; border-color: rgba(183,121,31,.45); }

/* --- cart -------------------------------------------------------------- */
.cart {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow);
}
@media (min-width: 940px) { .cart { position: sticky; top: 76px; } }
.cart h2 { margin: 0 0 12px; font-size: 1.05rem; }
.cart .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.cart .line .nm { flex: 1; min-width: 0; }
.cart .line .mods { display: block; color: var(--ink-soft); font-size: .8rem; }
.cart .line .amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.cart .totals { margin-top: 12px; font-size: .9rem; }
.cart .totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.cart .totals .grand { font-size: 1.1rem; font-weight: 800; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 9px; }
.cart .btn-order { width: 100%; margin-top: 14px; background: var(--brand); color: var(--brand-ink); min-height: 50px; font-size: 1rem; }

/* Mobile: the cart collapses to a fixed bar so the menu keeps the whole screen. */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--brand); color: var(--brand-ink);
  padding: 12px 16px; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
  font-weight: 800;
}
@media (max-width: 939px) { .cartbar.has-items { display: flex; } }

/* --- item modal -------------------------------------------------------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,.55);
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 620px) { .modal { align-items: center; } }
.modal .sheet {
  background: var(--surface); width: 100%; max-width: 560px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  max-height: 92vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
@media (min-width: 620px) { .modal .sheet { border-radius: var(--r-lg); } }
.modal .sheet header { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.modal .sheet header h2 { margin: 0 0 4px; font-size: 1.2rem; }
.modal .sheet .scroll { overflow-y: auto; padding: 16px 18px; flex: 1; }
.modal .sheet footer { padding: 14px 18px; border-top: 1px solid var(--line); }

.modgroup { margin-bottom: 20px; }
.modgroup h3 { margin: 0 0 2px; font-size: .95rem; }
.modgroup .rule { font-size: .78rem; color: var(--ink-soft); margin-bottom: 9px; }
.modgroup .rule.required { color: var(--danger); font-weight: 700; }
.opt { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.opt .nm { flex: 1; }
.opt .dl { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .88rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--surface-2); font-size: 1.2rem; font-weight: 800; cursor: pointer; color: var(--ink); }
.qty span { min-width: 44px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* --- order tracker ----------------------------------------------------- */
.track { display: flex; gap: 0; margin: 22px 0; }
.track .step { flex: 1; text-align: center; position: relative; font-size: .78rem; color: var(--ink-soft); }
.track .step::before {
  content: ""; display: block; width: 15px; height: 15px; border-radius: 50%;
  background: var(--line); margin: 0 auto 7px; position: relative; z-index: 2;
}
.track .step::after {
  content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 3px;
  background: var(--line); z-index: 1;
}
.track .step:first-child::after { display: none; }
.track .step.done { color: var(--ink); font-weight: 700; }
.track .step.done::before { background: var(--brand); }
.track .step.done::after  { background: var(--brand); }

/* --- print: a kitchen ticket on thermal paper -------------------------- */
@media print {
  .console-head, .catnav, .cart, .cartbar, .btn, nav { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .card, .ticket { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; }
}

/* --- responsive collapse ----------------------------------------------- */
@media (max-width: 900px) {
  .grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.c3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .wrap { padding: 16px 13px 56px; }
  .store-hero h1 { font-size: 1.45rem; }
  .console .who { margin-left: 0; width: 100%; }
}

/* ── Legal documents (terms.php, privacy.php) ─────────────────────────────────
   A contract that is hard to read is a contract that gets disputed. Measured line
   length, real paragraph spacing, and headings that are scannable. Constrained by
   ch rather than px so the measure holds when a reader zooms text only. */
.legal-doc{max-width:74ch;margin:0 auto;padding:34px 20px 56px;color:#d6dbe2;font-size:.97rem;line-height:1.72}
.legal-doc h1{font-size:1.9rem;line-height:1.2;margin:0 0 10px;color:#fafafa;letter-spacing:-.01em}
.legal-doc h2{font-size:1.06rem;margin:2.1em 0 .55em;color:#c4a052;letter-spacing:.01em}
.legal-doc p{margin:0 0 1.05em}
.legal-doc ul{margin:0 0 1.15em;padding-left:1.3em}
.legal-doc li{margin:0 0 .5em}
.legal-doc strong{color:#fafafa;font-weight:600}
.legal-doc a{color:#c4a052}
.legal-doc .lede{font-size:1.06rem;color:#a3b5cc;margin-bottom:1.2em}
.legal-doc .meta{font-size:.82rem;color:#7c8894}
.legal-doc hr{border:0;border-top:1px solid #222;margin:2.4em 0 1.4em}
/* Long addresses and email links must wrap rather than push the page sideways. */
.legal-doc a,.legal-doc li,.legal-doc p{overflow-wrap:anywhere}
@media (max-width:640px){.legal-doc{padding:24px 16px 44px;font-size:.94rem}.legal-doc h1{font-size:1.5rem}}
