/* MarBill marketing pages — minimal, self-contained, system fonts.
   Designed for legibility on phones (Apple/Google review devices)
   and for print friendliness. */

:root {
  --paper: #F8F1E6;
  --paper2: #F0E6D2;
  --card:  #FFFFFF;
  --ink:   #1A1411;
  --ink2:  #4A413B;
  --ink3:  #7A6E64;
  --line:  #E3D8C5;
  --line2: #C9BBA4;
  --accent:#C75327;
  --accent-soft: #FCE5D6;
  --max-width: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 22px 80px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
header.site .container {
  padding-top: 22px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header.site a.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 19px;
}
header.site .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
header.site nav a {
  color: var(--ink2);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
  font-size: 14.5px;
}
header.site nav a:hover { color: var(--accent); }

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 30px 0 10px;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 38px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  font-size: 12.5px;
}
.last-updated {
  color: var(--ink3);
  font-size: 14px;
  margin-bottom: 0;
}
p, li { color: var(--ink2); }
a { color: var(--accent); }

ul, ol { padding-left: 22px; }
li { margin: 6px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--paper2); font-weight: 700; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink3);
  font-size: 13.5px;
}
footer.site .container {
  padding-top: 22px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site nav a {
  color: var(--ink3);
  text-decoration: none;
  margin-left: 16px;
}
footer.site nav a:hover { color: var(--accent); }

/* Landing-only hero */
.hero {
  padding: 30px 0 12px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink2);
  margin: 8px 0 16px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}
.cta-row a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
}
.cta-row a.ghost {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line2);
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  h2 { font-size: 20px; }
  header.site nav a { margin-left: 12px; font-size: 13.5px; }
}
@media print {
  body { background: #fff; }
  header.site, footer.site { display: none; }
  .container { max-width: 720px; padding: 12px; }
  h1, h2, h3 { color: #000; }
  p, li, td { color: #222; }
}
