/* Roll-up Reports website (same design as proofmail.app). One column, plain words, no scripts, nothing loaded from other companies. */

:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --ink: #18212b;
  --muted: #56616f;
  --line: #e6e1d6;
  --accent: #3346c8;
  --accent-hover: #2836a3;
  --accent-ink: #ffffff;
  --accent-soft: #e6e9fb;
  --ok-bg: #d9f7e8;
  --ok-ink: #165c3d;
  --bad-bg: #ffe9e7;
  --bad-ink: #a32a20;
  --stamp: #3346c8;
  --shadow: 0 1px 2px rgba(24, 33, 43, 0.05), 0 10px 30px rgba(24, 33, 43, 0.07);
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11161b;
    --card: #182027;
    --ink: #e9edf0;
    --muted: #a4aeb9;
    --line: #29323b;
    --accent: #9aa7ff;
    --accent-hover: #b8c1ff;
    --accent-ink: #0f1440;
    --accent-soft: #1d2350;
    --ok-bg: #123f2c;
    --ok-ink: #8be8bd;
    --bad-bg: #4a1c18;
    --bad-ink: #ffb4ab;
    --stamp: #9aa7ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  background: var(--card);
  padding: 8px 12px;
  z-index: 10;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

/* Type */

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 7vw, 54px);
  font-weight: 850;
}

h2 {
  font-size: clamp(26px, 4.5vw, 34px);
  font-weight: 800;
}

h3 {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 14px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(18px, 2.6vw, 21px);
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

/* Sections */

section {
  padding: 56px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.hero {
  padding-top: 64px;
  background: radial-gradient(1100px 420px at 50% -8%, var(--accent-soft), transparent 72%);
}

.steps + p,
.checks + p {
  margin-top: 20px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 26px 0 8px;
}

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

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.badge {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
}

/* Feature list */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

.icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Steps */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.steps h3,
.doc .steps h3 {
  margin-top: 0;
  margin-bottom: 4px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

/* Callout and price */

.callout {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 24px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.price {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 850;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

/* Checklist */

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 6px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* FAQ */

.faq {
  margin-top: 20px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Document pages (setup, privacy, terms, support) */

.doc {
  padding: 48px 0 64px;
}

.doc h2 {
  font-size: 24px;
  margin-top: 36px;
}

.doc h3 {
  margin-top: 24px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
}

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

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 18px;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}

.doc th {
  width: 34%;
}

code {
  font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 6px;
}

/* The report illustration (the app's own chart colours) */

.demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 10px;
  margin: 40px 0 0;
}

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

.demo .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.todo { background: #2a78d6; }
.doing { background: #eb6834; }
.done { background: #1baf7a; }

.bars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bars li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) 64px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.bars .key {
  color: var(--muted);
  margin-right: 6px;
}

.bar {
  display: flex;
  gap: 2px;
  height: 14px;
}

.bar i {
  display: block;
  height: 100%;
}

/* Bar segments by weight (the page's security policy allows no inline styles). */
.bar .f1 { flex: 1; }
.bar .f2 { flex: 2; }
.bar .f3 { flex: 3; }
.bar .f4 { flex: 4; }
.bar .f5 { flex: 5; }
.bar .f6 { flex: 6; }
.bar .f7 { flex: 7; }
.bar .f8 { flex: 8; }
.bar .f9 { flex: 9; }
.bar .f10 { flex: 10; }

.bar i:first-child {
  border-radius: 4px 0 0 4px;
}

.bar i:last-child {
  border-radius: 0 4px 4px 0;
}

.bars .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bars .total {
  font-weight: 750;
}

@media (max-width: 600px) {
  .bars li {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .bars .bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.plan.paid {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.plan .checks {
  margin-top: 12px;
}

@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* Docs: contents */

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0 8px;
}

.toc ol {
  margin: 0;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
}
