/* Verra Compliance Services — single stylesheet
   Palette: slate #1F2A2E · paper #F6F4EE · amber #E3A857 · body #4A5856
   Type: Domine (display) / IBM Plex Sans (body)
   Signature: dot-indicator status rows (the product, in miniature)
*/

:root {
  --slate: #1F2A2E;
  --slate-80: #2a3539;
  --paper: #F6F4EE;
  --paper-dim: #ECE8DE;
  --paper-line: #d9d4c6;
  --amber: #E3A857;
  --amber-ink: #a06f22;   /* hover state — darker amber */
  --amber-text: #815414;  /* AA-accessible on paper for small text */
  --body: #4A5856;
  --body-dim: #556160;    /* AA on both paper and paper-dim */
  --rule: #c7c2b4;
  --status-green: #4a7c59;
  --status-amber: #c88a2f;
  --status-slate: #4A5856;

  --maxw: 1080px;
  --readw: 640px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 96px);

  --display: "Domine", Georgia, "Times New Roman", serif;
  --body-face: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.6 var(--body-face);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--slate);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5.4vw, 3rem); font-weight: 500; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.3rem); font-weight: 500; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--body-face); letter-spacing: 0.02em; text-transform: uppercase; color: var(--slate); }
small, .small { font-size: 0.875rem; line-height: 1.5; }

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

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--slate); color: var(--paper);
  padding: 10px 14px; border-radius: 4px; z-index: 100;
  font-size: 0.9rem;
}
.skip-link:focus { left: 12px; color: var(--paper); }

/* ---------- Layout helpers ---------- */

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: var(--readw); }
section { padding-block: var(--section-y); }
.eyebrow {
  font-family: var(--body-face);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-weight: 500;
  margin: 0 0 0.9em;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  color: var(--slate);
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}
@media (max-width: 480px) {
  .brand-logo { height: 34px; }
}
.foot-logo {
  display: block;
  height: 40px;
  width: auto;
}

.nav {
  display: flex; gap: 22px; align-items: center;
  font-size: 0.95rem;
}
.nav a { text-decoration: none; color: var(--body); }
.nav a:hover { color: var(--amber-ink); }
.nav-cta {
  padding: 8px 14px;
  background: var(--slate);
  color: var(--paper) !important;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--amber-ink); color: var(--paper) !important; }
@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 0.9rem; }
  .nav .nav-link { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(48px, 7vw, 72px);
  padding-bottom: var(--section-y);
  border-bottom: 1px solid var(--paper-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 540px;   /* ~5x the earlier 72px-tall rendering */
  height: auto;
  margin: 0.6em 0 1.2em;
}
@media (max-width: 640px) {
  .hero-logo { max-width: 100%; margin: 0.5em 0 1em; }
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.55;
  color: var(--body);
  max-width: 36ch;
}
.hero-cta {
  margin-top: 2em;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.offer-note {
  font-size: 0.9rem;
  color: var(--body-dim);
  margin: 0.9em 0 0;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Status strip (the signature) ---------- */

.status-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 22px 24px 20px;
  box-shadow: 0 1px 0 var(--paper-dim);
}
.status-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 10px;
}
.status-card-title {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--slate);
  letter-spacing: 0;
}
.status-card-asof {
  font-size: 0.74rem;
  color: var(--body-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted var(--paper-line);
  font-size: 0.92rem;
}
.status-row:last-child { border-bottom: 0; }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.status-dot--current { background: var(--status-green); }
.status-dot--overdue { background: var(--status-amber); }
.status-dot--none { background: transparent; border: 1px solid var(--status-slate); }
.status-label { color: var(--body); }
.status-value {
  font-size: 0.82rem;
  color: var(--body-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.status-row--overdue .status-value { color: var(--amber-text); font-weight: 600; }
.status-card-foot {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-line);
  font-size: 0.76rem;
  color: var(--body-dim);
  font-style: italic;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--amber);
  color: var(--slate);
  font-family: var(--body-face);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--amber);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 48px;
}
.btn:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: var(--paper); }
.btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--slate);
}
.btn--ghost:hover { background: var(--slate); color: var(--paper); }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Section rhythm ---------- */

.sect-eyebrow { color: var(--body-dim); }
.sect-head { max-width: 42ch; margin-bottom: 2em; }
.sect-body { max-width: 60ch; }
.alt-bg { background: var(--paper-dim); }

/* ---------- Trade tiles ---------- */

.trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  margin-top: 1.5em;
}
.trade {
  background: var(--paper);
  padding: 20px 18px;
  font-family: var(--body-face);
  color: var(--slate);
  font-size: 0.95rem;
  min-height: 72px;
  display: flex; align-items: center;
}
.trade::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ---------- Steps / process strip ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 1.5em;
  position: relative;
}
.step {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.step--call {
  border-color: var(--amber);
  border-width: 1px 1px 3px 1px;
  background: #fdf6e9;
}
.step-no {
  font-family: var(--body-face);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body-dim);
}
.step--call .step-no { color: var(--amber-text); font-weight: 600; }
.step-title {
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--slate);
  line-height: 1.25;
}
.step-note {
  font-size: 0.88rem;
  color: var(--body-dim);
  margin-top: auto;
}
.step-arrow {
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.step-arrow svg { width: 12px; height: 12px; color: var(--body-dim); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step-arrow {
    right: 50%; top: auto; bottom: -14px;
    transform: translateX(50%) rotate(90deg);
  }
}
.steps-note {
  margin-top: 1.3em;
  font-size: 0.88rem;
  color: var(--body-dim);
}

/* ---------- Anti section ---------- */

.anti {
  border-left: 3px solid var(--slate);
  padding-left: 20px;
  max-width: 60ch;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- About row ---------- */

.about-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.about-photo {
  width: 180px; height: 220px;
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--body-dim);
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}
@media (max-width: 640px) {
  .about-row { grid-template-columns: 1fr; }
  .about-photo { width: 140px; height: 170px; font-size: 1.9rem; }
}

/* ---------- Book / embed ---------- */

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.book-copy p { max-width: 42ch; }
.book-embed {
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--body-dim);
  font-size: 0.95rem;
}
.book-embed iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }
.call-line { margin-top: 1.4em; font-size: 0.95rem; color: var(--body); }
.call-line a { color: var(--slate); font-weight: 500; }
@media (max-width: 820px) {
  .book-grid { grid-template-columns: 1fr; }
}

/* ---------- Checklist opt-in (7b) — hidden until PDF exists ---------- */
.checklist-band { display: none; }
.checklist-band.is-live { display: block; background: var(--paper-dim); border-top: 1px solid var(--paper-line); padding-block: 48px; }
.checklist-band .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist-band label { display: block; font-size: 0.82rem; color: var(--body-dim); margin-bottom: 6px; }
.checklist-band input[type="text"],
.checklist-band input[type="email"] {
  width: 100%; padding: 12px 14px;
  font-family: var(--body-face); font-size: 1rem;
  background: var(--paper); border: 1px solid var(--paper-line); color: var(--slate);
  border-radius: 3px;
}
.checklist-band .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.consent-line { font-size: 0.8rem; color: var(--body-dim); margin-top: 1em; }

/* ---------- Footer ---------- */

.site-foot {
  background: var(--slate);
  color: var(--paper);
  padding-block: 36px;
}
.site-foot a { color: var(--paper); }
.site-foot a:hover { color: var(--amber); }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
}
.foot-brand {
  font-family: var(--display);
  font-size: 1.05rem;
}
.foot-meta {
  font-size: 0.86rem;
  opacity: 0.85;
  margin-top: 0.3em;
}
.foot-links {
  display: flex; gap: 18px; font-size: 0.9rem;
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Privacy page ---------- */

.priv article {
  max-width: 68ch;
  padding-block: var(--section-y);
}
.priv h1 { margin-bottom: 1em; }
.priv h2 { margin-top: 1.6em; font-size: 1.3rem; }
.priv ul { padding-left: 1.2em; }
.priv li { margin-bottom: 0.4em; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-foot, .checklist-band, .book-embed { display: none; }
  body { color: #000; background: #fff; }
}
