/* Bitecast legal site. No scripts, no trackers, no external fonts. */
:root {
  color-scheme: light dark;
  --bg: #f4f6f9;
  --card: #ffffff;
  --ink: #0f1722;
  --muted: #4a5565;
  --rule: #dde2ea;
  --link: #1557b0;
  --sun: #b85f00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151d;
    --card: #1a212c;
    --ink: #eef2f7;
    --muted: #b4bdca;
    --rule: #2c3644;
    --link: #8cbcff;
    --sun: #ffb35c;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--sun); }

nav.site a { margin-left: 16px; }
nav.site a:first-child { margin-left: 0; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }

.meta { color: var(--muted); margin: 0 0 24px; }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

ul { padding-left: 22px; }
li { margin: 4px 0; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }

footer.site {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

/* Landing */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { font-size: 48px; font-weight: 700; }
.hero h1 span { color: var(--sun); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.hero ul.points { padding: 0; list-style: none; margin: 0 0 32px; }
.hero ul.points li { margin: 6px 0; }
.hero .links a { margin-right: 20px; font-weight: 600; }

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { font-size: 18px; }
}
