/* ComplyHub design system
   Palette : ink #14181B / paper #FCFCFA / archive green #10513F / signal amber #B4700D / rule #DDDCD5
   Type    : Newsreader (display) / Public Sans (body) / IBM Plex Mono (ledger + labels)
   Edit tokens here; every page inherits. */

:root {
  --ink: #14181b;
  --ink-soft: #4a5257;
  --ink-faint: #767c80;
  --paper: #fcfcfa;
  --paper-alt: #f4f4ef;
  --green: #10513f;
  --green-dark: #0a3b2d;
  --green-tint: #e9f0ed;
  --amber: #b4700d;
  --amber-tint: #fbf1de;
  --rule: #ddddd5;
  --max: 1120px;
  --text: 680px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 99; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--text); }

/* ---- eyebrow / label ---- */
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 .9rem;
}

/* ---- header ---- */
.site-head {
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; background: rgba(252,252,250,.94);
  backdrop-filter: blur(8px); z-index: 20;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-family: "Newsreader", Georgia, serif; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo b { font-weight: 600; }
.logo span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .93rem; color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .nav a.hide-sm { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 500; font-size: .97rem; padding: 13px 24px; border-radius: 3px;
  border: 1px solid var(--green); transition: background .15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.8rem; }
.btn-note { font-size: .88rem; color: var(--ink-faint); }

/* ---- sections ---- */
section { padding: 76px 0; border-bottom: 1px solid var(--rule); }
section.tight { padding: 54px 0; }
.hero { padding: 92px 0 76px; }
.hero h1 { max-width: 17ch; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---- ledger (signature element) ---- */
.ledger { border: 1px solid var(--rule); background: #fff; border-radius: 3px; overflow: hidden; }
.ledger-head {
  display: grid; grid-template-columns: 132px 1fr 118px; gap: 16px;
  padding: 11px 18px; background: var(--paper-alt); border-bottom: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-faint);
}
.ledger-row {
  display: grid; grid-template-columns: 132px 1fr 118px; gap: 16px;
  padding: 16px 18px; border-bottom: 1px solid var(--rule); align-items: start;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-date { font-family: "IBM Plex Mono", monospace; font-size: .84rem; color: var(--ink-soft); padding-top: 2px; }
.ledger-what { font-size: .97rem; }
.ledger-what small { display: block; color: var(--ink-faint); font-size: .86rem; margin-top: 3px; }
.flag {
  font-family: "IBM Plex Mono", monospace; font-size: .66rem; letter-spacing: .09em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px; white-space: nowrap; display: inline-block;
}
.flag-live { background: var(--green-tint); color: var(--green-dark); border: 1px solid #bcd4cc; }
.flag-due { background: var(--amber-tint); color: #7d4d06; border: 1px solid #e8cf9e; }
.flag-prop { background: var(--paper-alt); color: var(--ink-faint); border: 1px solid var(--rule); }
@media (max-width: 640px) {
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- cards / grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--rule); background: #fff; border-radius: 3px; padding: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .95rem; }
.card li { margin-bottom: .4em; }

.price { font-family: "IBM Plex Mono", monospace; font-size: 1.05rem; color: var(--green-dark); margin: .3rem 0 1rem; }
.price span { color: var(--ink-faint); font-size: .82rem; }
.card-flag {
  font-family: "IBM Plex Mono", monospace; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: .8rem;
}

/* ---- Q&A ---- */
.qa { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 22px; }
.qa h3 { font-family: "Public Sans", sans-serif; font-size: 1.02rem; font-weight: 600; margin-bottom: .5rem; }
.qa p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 0; }

/* ---- callout ---- */
.callout {
  border-left: 3px solid var(--amber); background: var(--amber-tint);
  padding: 20px 24px; border-radius: 0; font-size: .97rem;
}
.callout p:last-child { margin-bottom: 0; }

.band { background: var(--paper-alt); }
.band-dark { background: var(--ink); color: var(--paper); border-bottom: 0; }
.band-dark h2 { color: #fff; }
.band-dark p { color: #c3c9cc; }
.band-dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band-dark .btn:hover { background: #e6e6e0; }

/* ---- footer ---- */
footer { padding: 54px 0 64px; font-size: .9rem; color: var(--ink-faint); }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; margin-bottom: 34px; }
footer h4 { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .8rem; font-weight: 400; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: .45em; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
.fine { border-top: 1px solid var(--rule); padding-top: 22px; font-size: .82rem; line-height: 1.6; }

/* ---- form ---- */
form.enquiry { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 3px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.consent { font-size: .86rem; color: var(--ink-faint); display: flex; gap: 9px; align-items: flex-start; }
.consent input { margin-top: 4px; }

/* ---- offer grid: four priced tiers, 2x2 on desktop rather than an orphan ---- */
.grid-offer { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .grid-offer { grid-template-columns: repeat(2, 1fr); } }
