:root {
  --ink: #17252f;
  --muted: #52626e;
  --paper: #ffffff;
  --tint: #eef4f8;
  --line: #cfdbe3;
  --accent: #0b5c8a;
  --accent-ink: #ffffff;
  --highlight: #fff4d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.banner {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

header.site,
main,
footer.site {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

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

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

nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 16px;
}

h1 {
  margin: 32px 0 12px;
  font-size: 36px;
  line-height: 1.2;
}

h2 {
  margin: 44px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.lead {
  font-size: 21px;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  margin: 16px 0;
}

.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card p {
  margin: 0;
}

.price {
  background: var(--tint);
  text-align: center;
}

.price .amount {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

.offer {
  padding: 12px 16px;
  border-left: 4px solid #d99a00;
  background: var(--highlight);
}

.card .quote {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 4px solid var(--accent);
  background: var(--tint);
  font-size: 16px;
}

.fine {
  color: var(--muted);
  font-size: 14px;
}

.sample {
  margin: 20px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--tint);
}

.sample h3 {
  margin-bottom: 2px;
}

.sample .report {
  max-height: 560px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.sample .report img {
  display: block;
  width: 600px;
  margin: 0 auto;
}

.table-scroll {
  overflow-x: auto;
}

table.accounts {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table.accounts th,
table.accounts td {
  padding: 7px 10px;
  border: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

table.accounts th {
  background: var(--tint);
}

.faq-index {
  padding-left: 20px;
}

.faq-index li {
  margin: 4px 0;
}

pre {
  overflow-x: auto;
  padding: 10px 14px;
  background: var(--tint);
  font-size: 15px;
}

.centre {
  text-align: center;
}

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

@media (min-width: 900px) {
  table.accounts th,
  table.accounts td {
    padding: 6px 8px;
    font-size: 14px;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 29px;
  }
}
