/* The app's legal pages. Surya palette; system fonts (the CSP allows no external fonts). */
:root {
  --bg: #fffcf9;
  --surface: #ffffff;
  --text: #1a1714;
  --muted: #5c544c;
  --line: #eadfd3;
  --accent: #f57c00;
  --link: #9a4a00;
  --pending-bg: #fff3b0;
  --pending-text: #3d2e00;
  --draft-bg: #3d2e00;
  --draft-text: #fff3b0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d0b;
    --surface: #1a1714;
    --text: #faf7f2;
    --muted: #c9bfb3;
    --line: #3a332c;
    --link: #ffab40;
    --pending-bg: #5c4700;
    --pending-text: #fff3b0;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Noto Sans',
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
a {
  color: var(--link);
  text-underline-offset: 2px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.draft {
  background: var(--draft-bg);
  color: var(--draft-text);
  padding: 10px 16px;
  font-size: 14px;
  text-align: center;
}
.pending {
  background: var(--pending-bg);
  color: var(--pending-text);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}
header.site,
main,
footer.site {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
header.site {
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
  font-size: 14px;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 28px 0 4px;
}
h2 {
  font-size: 20px;
  margin: 32px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 0;
}
li {
  margin: 6px 0;
}
code {
  background: var(--line);
  padding: 1px 6px;
  border-radius: 4px;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 14px;
  background: var(--surface);
}
caption {
  text-align: left;
  padding: 8px 10px;
  color: var(--muted);
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}
/* Phones: one card per provider instead of a wide table. */
@media (max-width: 640px) {
  .table-wrap {
    overflow-x: visible;
    border: 0;
  }
  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    min-width: 0;
  }
  table {
    background: transparent;
  }
  thead {
    display: none;
  }
  caption {
    display: block;
    padding: 0 0 8px;
  }
  tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 4px 0;
  }
  th,
  td {
    border-top: 0;
    padding: 4px 12px;
  }
  th[scope='row'] {
    font-size: 15px;
  }
  td::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: var(--muted);
  }
}
footer.site {
  margin-top: 48px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.operator dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 0;
}
.operator dt {
  font-weight: 600;
}
.operator dd {
  margin: 0;
}
@media (max-width: 480px) {
  .operator dl {
    grid-template-columns: 1fr;
  }
  .operator dd {
    margin-bottom: 8px;
  }
  h1 {
    font-size: 24px;
  }
}
.draft-foot {
  color: var(--muted);
}
