/* Reportly — shared design tokens, fonts and primitives
   Static site. No external requests. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --ink: #0b1220;
  --ink-2: #16202f;
  --ink-3: #243044;
  --body: #48536a;
  --muted: #6b7689;
  --line: #e4e0d6;
  --line-soft: #efebe2;
  --paper: #f8f6f1;
  --paper-2: #f2efe7;
  --card: #ffffff;
  --brand: #1f5be0;
  --brand-deep: #1746b0;
  --brand-soft: #eaf0fe;
  --lime: #d9f26b;
  --lime-deep: #c3e247;
  --green: #0b7a4b;
  --green-soft: #e6f6ee;
  --red: #b42318;
  --red-soft: #fdecea;
  --amber: #b25e09;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Figtree", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 3px rgba(11, 18, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18), 0 2px 8px rgba(11, 18, 32, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(11, 18, 32, 0.45), 0 12px 30px -18px rgba(11, 18, 32, 0.25);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

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

::selection { background: var(--lime); color: var(--ink); }

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  box-shadow: 0 8px 20px -8px rgba(31, 91, 224, 0.6);
}
.btn--primary:hover { --btn-bg: var(--brand-deep); }

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
}
.btn--lime:hover { --btn-bg: var(--lime-deep); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: rgba(11, 18, 32, 0.16);
}
.btn--ghost:hover { --btn-border: rgba(11, 18, 32, 0.4); }

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: rgba(255, 255, 255, 0.86);
  --btn-border: rgba(255, 255, 255, 0.22);
}
.btn--quiet:hover { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.5); }

.btn--lg { padding: 15px 24px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }

/* ---------- Text bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 91, 224, 0.14);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.62); }
.eyebrow--light .dot { background: var(--lime); box-shadow: 0 0 0 3px rgba(217, 242, 107, 0.16); }

.section { padding: 104px 0; }
.section--tight { padding: 76px 0; }
.section--paper { background: var(--paper); }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--body); max-width: 640px; }
.section--ink .section-head p { color: rgba(255, 255, 255, 0.66); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head--split p { margin-top: 0; }

.mono-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
  padding: 56px 0 40px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.05fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.footer__tag { margin-top: 14px; max-width: 320px; line-height: 1.55; }
.footer h4 { color: rgba(255, 255, 255, 0.9); font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer ul { display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, 0.62); transition: color 0.2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .section-head--split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .btn--lg { padding: 14px 20px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
