/* Homepage only. Loaded after site.css. The legal pages do not load this file. */
body.home {
  --steel: #1c2733;
  --steel-2: #2b3a4a;
  --amber: #d97706;
  --amber-ink: #9a4f00;
  --paper: #fbfcfd;
  --tint: #eef2f5;
  --rule: #cfd8df;
  --muted: #55616d;
  --flag: #b42318;
  --flag-bg: #fdf1ef;
  background: var(--paper);
  color: var(--steel);
}
body.home .wrap { max-width: 1040px; }
body.home a:focus-visible,
body.home button:focus-visible,
body.home input:focus-visible,
body.home textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

body.home h1,
body.home h2,
body.home h3 { letter-spacing: -0.015em; text-wrap: balance; }
body.home p { max-width: 68ch; }
body.home .num { font-variant-numeric: tabular-nums; }

/* Hero */
.h-hero { background: var(--steel); color: #fff; padding: 64px 0 56px; }
.h-hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.h-hero h1 { font-size: 46px; line-height: 1.08; margin: 0 0 18px; font-weight: 750; }
.h-hero .sub { font-size: 19px; line-height: 1.55; color: #dde3e9; margin: 0 0 26px; }
.h-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.h-hero .fine { color: #aab5c0; max-width: 56ch; }

.entry { background: var(--paper); color: var(--steel); border-radius: 4px; padding: 0; box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.28); overflow: hidden; }
.entry-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--tint); border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 650; }
.entry-head span:last-child { font-weight: 500; color: var(--muted); }
.entry ol { list-style: none; margin: 0; padding: 6px 18px 4px; }
.entry li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.entry li:last-child { border-bottom: 0; }
.entry time { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; padding-top: 1px; }
.entry b { display: block; font-size: 16px; }
.entry small { display: block; color: var(--muted); font-size: 14px; margin-top: 1px; }
.entry-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 18px; background: var(--steel-2); color: #fff; font-weight: 650; font-size: 15px; }
.entry-foot .num { color: #ffd9a3; }
.h-hero .cap { margin: 10px 2px 0; font-size: 13px; color: #aab5c0; }

/* Three points: ruled columns, not cards */
.points { border-bottom: 1px solid var(--rule); }
.points .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.points .col { padding: 40px 28px 40px 0; }
.points .col + .col { padding-left: 28px; border-left: 1px solid var(--rule); }
.points h3 { font-size: 19px; margin: 0 0 8px; }
.points p { margin: 0; color: #2f3b47; }

/* Generic sections */
.h-sec { padding: 64px 0; }
.h-sec.tinted { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.h-sec h2 { font-size: 31px; line-height: 1.15; margin: 0 0 14px; }
.h-sec .lead { font-size: 18px; color: #2f3b47; margin: 0 0 8px; }
.h-sec p { margin: 0 0 14px; }
.h-sec .note { color: var(--muted); font-size: 16px; }

/* Sample report */
.doc { background: #fff; border: 1px solid var(--rule); border-radius: 4px; margin-top: 28px; box-shadow: 0 10px 30px rgba(28,39,51,.10); }
.doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 20px 22px 16px; border-bottom: 2px solid var(--steel); }
.doc-top h3 { margin: 0 0 4px; font-size: 22px; }
.doc-top p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; background: var(--amber); color: #1c1200; font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 3px; }
.tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--rule); background: var(--tint); font-size: 14px; }
.tabs span { padding: 10px 16px; white-space: nowrap; color: var(--muted); border-right: 1px solid var(--rule); }
.tabs span.on { background: #fff; color: var(--steel); font-weight: 700; box-shadow: inset 0 -3px 0 var(--amber); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.stat { padding: 16px 22px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }
.tablewrap { overflow-x: auto; }
.doc p.scrollhint { display: none; margin: 0; padding: 8px 22px 0; font-size: 13px; color: var(--muted); max-width: none; }
.doc table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.doc caption { text-align: left; font-weight: 700; padding: 16px 22px 8px; font-size: 15px; }
.doc td { white-space: nowrap; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th:first-child, .doc td:first-child { padding-left: 22px; }
.doc th { font-size: 13px; color: var(--muted); font-weight: 650; background: var(--tint); }
.doc td.r, .doc th.r { text-align: right; font-variant-numeric: tabular-nums; }
.doc tr.flagged td { background: var(--flag-bg); }
.doc tfoot td { font-weight: 700; border-top: 2px solid var(--steel); border-bottom: 0; }
.doc p.flagnote, .doc p.doc-foot { max-width: none; }
.flagnote { margin: 0; padding: 14px 22px; background: var(--flag-bg); border-top: 1px solid #f2c9c3; color: #7a1a10; font-size: 15px; max-width: none; }
.flagnote b { color: var(--flag); }
/* Sample report drawn in the house format the Excel file uses */
.xl { overflow: hidden; }
.xl-sample { display: flex; justify-content: flex-end; padding: 10px 14px; background: #fff; }
.xl-title { background: #17365d; color: #fff; font-weight: 700; font-size: 21px; text-align: center; padding: 12px 16px; }
.xl-period { color: #666; text-align: center; padding: 8px 16px 12px; font-size: 14px; }
.xl-note { background: #f4b183; color: #1c1200; padding: 10px 22px; font-size: 14px; line-height: 1.45; }
.xl .stats { border-top: 1px solid var(--rule); }
.xl table { min-width: 980px; }
.xl th { background: #4472c4; color: #fff; font-size: 13px; font-weight: 700; border-bottom: 1px solid #000; }
.xl td { border-bottom: 1px solid #000; }
.xl tr.ok td { background: #e2f0d9; }
.xl tr.na td { background: #fff2cc; }
.xl caption { padding-top: 20px; }
.doc p.xl-legend, .doc p.xl-foot { max-width: none; }
.xl-legend { margin: 0; padding: 14px 22px 4px; font-size: 14px; color: var(--muted); }
.xl-legend .sw { display: inline-block; width: 12px; height: 12px; border: 1px solid #000; vertical-align: -1px; margin: 0 6px 0 0; }
.xl-legend .sw.na { margin-left: 10px; }
.sw.ok { background: #e2f0d9; }
.sw.na { background: #fff2cc; }
.xl-foot { margin: 0; padding: 10px 22px 16px; font-style: italic; font-size: 15px; }
.xl-foot a { color: #17365d; }
.xl-tabs { border-top: 1px solid var(--rule); border-bottom: 0; }
.doc-foot { margin: 0; padding: 14px 22px; font-size: 13px; color: var(--muted); max-width: none; background: var(--tint); border-top: 1px solid var(--rule); }

/* How it works: a real sequence, so a real timeline */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 22px 0 0; }
.timeline li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--steel); color: #fff; font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 15px; left: 32px; right: 0; height: 2px; background: var(--rule); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 17px; margin-bottom: 6px; }
.timeline p { margin: 0; font-size: 16px; color: #2f3b47; }

/* Lightning alerts: three states along one track */
.track { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: #fff; }
.track li { padding: 18px 20px; border-right: 1px solid var(--rule); }
.track li:last-child { border-right: 0; }
.track li:nth-child(1) { box-shadow: inset 0 4px 0 #e8b86a; }
.track li:nth-child(2) { box-shadow: inset 0 4px 0 var(--amber); }
.track li:nth-child(3) { box-shadow: inset 0 4px 0 var(--steel); }
.track b { display: block; font-size: 18px; margin-bottom: 4px; }
.track span { color: #2f3b47; font-size: 16px; }

/* Report contents */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; margin-top: 18px; }
.two div { padding: 14px 0; border-top: 1px solid var(--rule); }
.two b { display: block; margin-bottom: 2px; }
.two p { margin: 0; color: #2f3b47; font-size: 16px; }

/* Is / is not: calm, plain, easy to find */
.isnot { border-left: 5px solid var(--steel); background: #fff; padding: 22px 26px; max-width: 820px; }
.isnot h2 { font-size: 24px; }
.isnot p { font-size: 16.5px; }

/* Pricing */
.pricebox { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-top: 22px; }
.pricebox .amt { font-size: 56px; line-height: 1; font-weight: 750; }
.pricebox .amt small { display: block; font-size: 17px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.pricebox ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
.pricebox li { break-inside: avoid; padding: 9px 0 9px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 16px; }
.pricebox li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; background: var(--amber); border-radius: 1px; }
.pricebox .fine { grid-column: 1 / -1; margin: 6px 0 0; }

/* Contact form */
.h-sec .demo-form { max-width: 560px; }

@media (max-width: 860px) {
  .doc p.scrollhint { display: block; }
  .h-hero { padding: 44px 0 40px; }
  .h-hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .h-hero h1 { font-size: 34px; }
  .points .wrap { grid-template-columns: 1fr; }
  .points .col, .points .col + .col { padding: 26px 0; border-left: 0; }
  .points .col + .col { border-top: 1px solid var(--rule); }
  .h-sec { padding: 46px 0; }
  .h-sec h2 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline li { padding: 0 0 0 48px; }
  .timeline li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline li::after { top: 36px; bottom: -20px; left: 15px; right: auto; width: 2px; height: auto; }
  .track { grid-template-columns: 1fr; }
  .track li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .track li:last-child { border-bottom: 0; }
  .two { grid-template-columns: 1fr; }
  .pricebox { grid-template-columns: 1fr; gap: 20px; }
  .pricebox ul { columns: 1; }
}
@media (max-width: 480px) {
  .h-hero h1 { font-size: 30px; }
  .entry li { grid-template-columns: 66px 1fr; }
  .stat b { font-size: 21px; }
}
