/* ═══════════════════════════════════════════════════════════════════════════
   Sergio — marketing site
   ---------------------------------------------------------------------------
   Palette and typefaces are carried over unchanged from the previous site; only
   the composition is new. Token names are restated plainly here because the old
   ones were inverted (--ink held the cream ground, --cream held the dark text),
   which made every rule that used them hard to read.

   The organising idea is a PRINTED WINE LIST: hairline rules, small-caps
   headers with wide tracking, a measured column for prose, prices and figures
   set right. Restraint is the point — the display face does the talking.
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --parchment:   #FAF6EF;
  --parchment-2: #F0E8D8;
  --wine:        #8B1A2E;
  --wine-deep:   #6B1122;
  --gold:        #B8935A;
  --gold-light:  #C9A660;
  --ink:         #1C1008;
  --muted:       #7A6055;
  --rule:        rgba(139, 26, 46, 0.14);
  --rule-soft:   rgba(28, 16, 8, 0.09);

  --measure: 62ch;
  --page:    1180px;
  --gut:     clamp(1.25rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Jost', ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gut); }

/* ── Typography ─────────────────────────────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--wine); }

h1.display { font-size: clamp(2.9rem, 7vw, 5rem); }
h2.display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3.display { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.15; }

/* Small-caps eyebrow — the section markers on a printed list. */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede  { font-size: 1.08rem; color: var(--muted); max-width: var(--measure); }
.prose { color: var(--muted); max-width: var(--measure); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: var(--page); margin: 0 auto;
  padding: 1.15rem var(--gut);
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem; font-weight: 500; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em; flex-shrink: 0;
}
.nav-logo span { color: var(--wine); }

.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-links a:hover { color: var(--wine); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--gold); }

.nav-cta {
  padding: 0.62rem 1.15rem !important;
  border: 1px solid var(--wine) !important;
  border-radius: 2px;
  color: var(--wine) !important;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--wine); color: var(--parchment) !important; }
.nav-cta.active { border-color: var(--wine) !important; }

.lang-switcher { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--muted); padding: 2px 1px;
  transition: color 0.18s;
}
.lang-btn:hover { color: var(--wine); }
.lang-btn.active { color: var(--wine); font-weight: 500; }
.lang-sep { color: var(--rule); font-size: 0.7rem; }

.nav-right { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }

/* Hamburger. Hidden above the breakpoint; the three bars fold into an X when
   the menu is open. */
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 42px; height: 42px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 21px; height: 1.5px; background: var(--ink);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), opacity 0.18s;
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Below the breakpoint the links become a panel that drops out of the sticky
   bar. They used to be `display: none` with nothing in their place, which left
   a phone with no navigation at all and no way to reach "Book a Demo". The
   panel is collapsed with max-height so it can animate; margin is applied only
   in the open state, since max-height does not clip it. */
@media (max-width: 880px) {
  nav { flex-wrap: wrap; gap: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.22,1,0.36,1);
  }
  nav.open .nav-links { max-height: 22rem; margin: 0.6rem 0 0.9rem; }
  .nav-links li { border-top: 1px solid var(--rule-soft); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block; padding: 0.95rem 0;
    font-size: 0.78rem; border-bottom: 0;
  }
  .nav-links a.active { color: var(--wine); border-bottom: 0; }
  .nav-cta-item { border-top: 0 !important; margin-top: 0.85rem; }
  .nav-cta {
    display: block; text-align: center;
    padding: 0.95rem 1.15rem !important;
    background: var(--wine); color: var(--parchment) !important;
  }
  /* 20px tall was not a tap target. */
  .lang-btn { padding: 10px 5px; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: inherit; font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: 2px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-primary { background: var(--wine); color: var(--parchment); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--wine); color: var(--wine); }
.btn svg { width: 15px; height: 15px; }

/* ── Section rhythm ─────────────────────────────────────────────────────── */
section { padding: clamp(3.5rem, 9vw, 8rem) 0; }
.band       { background: var(--parchment-2); }
.band-wine  { background: var(--wine-deep); color: var(--parchment-2); }
.band-wine .eyebrow { color: var(--gold-light); }
.band-wine .display { color: var(--parchment); }
.band-wine .display em { color: var(--gold-light); }
.band-wine .prose, .band-wine .lede { color: rgba(250, 246, 239, 0.72); }

.section-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 0.3rem; }

/* Hairline rule with a gold lozenge — the divider a printed list uses. */
.rule { display: flex; align-items: center; gap: 1rem; }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--rule); flex: 1; }
.rule-mark { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* Two-column editorial block: title left, prose right. Used where a statement
   and its explanation should share the measure rather than stacking in one
   half and leaving the other empty. */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.two-col .section-head { margin-bottom: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.6rem; }
/* Stacked, the copy MUST come first. The card was ordered above the headline,
   so the first thing a phone showed was an example recommendation for a table
   the reader knew nothing about. Side by side it reads as proof alongside the
   pitch; stacked it can only read as proof after it. */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { margin-top: 0.5rem; }
}
@media (max-width: 560px) {
  /* Two pills of different widths wrapping onto two lines read as broken. */
  .hero-actions { flex-direction: column; align-self: stretch; width: 100%; gap: 0.7rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── The recommendation card: the product's own artifact, as the hero image ─ */
.rec {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 24px 60px -30px rgba(28, 16, 8, 0.3);
  padding: 1.5rem;
  max-width: 380px; margin-inline: auto;
}
.rec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.rec-head .eyebrow { color: var(--muted); }
.rec-dishes { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.3rem; }
.rec-dish { display: flex; align-items: center; gap: 0.65rem; font-size: 0.86rem; color: var(--ink); }
.rec-tick {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  background: var(--wine); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.rec-tick svg { width: 9px; height: 9px; stroke-width: 3.2; }
/* A dish the suggested wine does not cover: listed, not ticked. */
.rec-tick--off { background: transparent; border: 1.5px solid var(--rule); }

.rec-arrow { display: flex; justify-content: center; margin-bottom: 1.1rem; color: var(--rule); }
.rec-arrow svg { width: 16px; height: 22px; }

.rec-badge {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 500;
  color: var(--wine); background: rgba(139, 26, 46, 0.08);
  padding: 0.3rem 0.6rem; border-radius: 2px; margin-bottom: 0.7rem;
}
.rec-wine { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.rec-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.rec-producer { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.rec-price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--wine); white-space: nowrap;
}
.rec-cover {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--wine);
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--rule-soft);
}
.rec-cover svg { width: 13px; height: 13px; stroke-width: 2.4; flex-shrink: 0; }

/* ── The live demo (demo/demo.css styles the app inside the phone) ─────────── */
/* The phone is taller than the copy beside it, so the hero aligns to the top. */
.hero-grid:has(.diner-demo.is-live) { align-items: start; }
.demo-explain .section-head { margin-bottom: 0; }
/* Unframed on a phone, a new demo screen scrolls the demo's top into view: clear the sticky nav. */
#diner-demo { scroll-margin-top: 96px; }
.demo-points { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.demo-points li { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); color: var(--muted); }
.demo-points strong { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: var(--ink); }

/* ── Numbered steps ─────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: start;
  padding-top: 2rem; border-top: 1px solid var(--rule);
}
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; color: var(--gold); font-weight: 300;
}
.step-body { display: flex; flex-direction: column; gap: 0.7rem; }

/* ── Feature / benefit grid ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: clamp(1.6rem, 3vw, 2.8rem); }
.card {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
.card-tag {
  align-self: flex-start; font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.stat { text-align: center; display: flex; flex-direction: column; gap: 0.5rem; }
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-light);
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(250, 246, 239, 0.68); line-height: 1.5;
}
/* auto-fit gave one column on a phone: four figures stacked down an otherwise
   empty burgundy band. Four short facts pair naturally into a 2×2. */
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.4rem; }
  .stat-label { font-size: 0.64rem; letter-spacing: 0.1em; }
}

/* ── Metrics (bars) ─────────────────────────────────────────────────────── */
.metrics { display: flex; flex-direction: column; gap: 1.6rem; max-width: 40rem; }
.metric-row { display: flex; flex-direction: column; gap: 0.5rem; }
.metric-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.metric-name { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink); }
.metric-val { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--wine); }
.metric-bar { height: 2px; background: var(--rule); overflow: hidden; }
.metric-fill { height: 100%; width: 0; background: var(--gold); transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.metric-fill.animated { width: var(--w, 70%); }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem); }
.quote { display: flex; flex-direction: column; gap: 1.1rem; }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; line-height: 0.6; color: var(--gold); opacity: 0.55; }
.quote-text { font-family: 'Cormorant Garamond', serif; font-size: 1.18rem; line-height: 1.45; font-style: italic; color: var(--ink); }
.quote-who { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.send-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.send-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.send-list .n {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--gold);
  line-height: 1.5; flex-shrink: 0;
}

form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
label {
  font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
input, select {
  font-family: inherit; font-size: 0.94rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.8rem 0.9rem; width: 100%;
  transition: border-color 0.18s;
}
input::placeholder { color: rgba(122, 96, 85, 0.55); }
input:focus, select:focus { outline: none; border-color: var(--wine); }

.radio-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
/* .radio-opt IS a <label>, so it inherited text-transform and 0.15em tracking
   from the rule above — the two choices shouted in caps at 0.88rem. */
.radio-opt {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-size: 0.88rem; color: var(--ink);
  text-transform: none; letter-spacing: 0.01em;
}
.radio-opt input { width: auto; accent-color: var(--wine); }

.form-submit { grid-column: 1 / -1; margin-top: 0.4rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-message { grid-column: 1 / -1; font-size: 0.88rem; display: none; }
.form-message.error   { display: block; color: var(--wine); }
.form-message.success { display: block; color: #2E7D32; }
.form-privacy { grid-column: 1 / -1; font-size: 0.74rem; color: var(--muted); text-align: center; }

@media (max-width: 560px) { form { grid-template-columns: 1fr; } }
/* form sets display:grid, which would otherwise override the hidden attribute. */
form[hidden], .form-tabs[hidden] { display: none; }
/* Arriving from a demo's claim QR (/contact#claim=…). */
.claim-note { grid-column: 1 / -1; margin: 0 0 0.4rem; padding: 0.8rem 1rem; border: 1px solid var(--rule);
              border-left: 3px solid var(--wine); font-size: 0.92rem; line-height: 1.5; }
.claim-note[hidden] { display: none; }

/* /contact: signup | lead form switcher */
.form-tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.6rem; }
.form-tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 0 0 0.7rem; cursor: pointer; font: inherit;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.form-tab.active { color: var(--wine); border-bottom-color: var(--wine); }
.form-intro { grid-column: 1 / -1; font-size: 0.92rem; color: var(--muted); margin: 0; }
.captcha-field:empty { display: none; }
.form-privacy a { color: var(--wine); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--ink); color: var(--parchment-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--parchment); }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(250,246,239,0.5); margin-top: 0.4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; }
.footer-links a {
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,246,239,0.68); text-decoration: none; transition: color 0.18s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(250,246,239,0.1);
  font-size: 0.72rem; color: rgba(250,246,239,0.4);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .metric-fill { transition: none; }
}

/* ── Legal pages (apps/frontend/legal/, generated by scripts/legal-pages.js) ── */
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--border, rgba(0,0,0,.08)); }
.legal-langs { font-size: 0.85rem; letter-spacing: 0.04em; }
.legal-langs a { color: inherit; }
.legal-langs [aria-current] { font-weight: 600; }
.legal-main { padding: clamp(28px, 5vw, 64px) 0; }
.legal-doc { max-width: 780px; line-height: 1.65; font-size: 1rem; }
.legal-doc h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 18px; }
.legal-doc h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.6rem; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 1.05rem; font-weight: 500; margin: 28px 0 8px; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin: 0 0 14px; }
.legal-doc li { margin: 0 0 6px; }
.legal-doc a, .legal-langs a { color: var(--wine, #8B1A2E); overflow-wrap: anywhere; }
.legal-doc blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid currentColor; opacity: 0.9; }
.legal-doc hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 32px 0; }
.legal-doc code { font-size: 0.9em; }
.legal-table { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.9rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,.1); }
.legal-table th { font-weight: 600; }
