/* MOJ Consulting Group — shared stylesheet */

:root {
  color-scheme: light;

  --paper:      #FBFAF8;
  --paper-2:    #F4F2ED;
  --card:       #FFFFFF;
  --ink:        #14161A;
  --ink-2:      #4B5058;
  --ink-3:      #7A818B;
  --rule:       #E4E2DD;
  --rule-soft:  #EFEDE8;
  --accent:     #1F4D3F;
  --accent-2:   #2C6B57;
  --accent-soft:#EAF1EE;
  --flag:       #8A3520;
  --flag-soft:  #F8EDE9;

  --f-display: "Source Serif 4", Newsreader, Georgia, "Times New Roman", serif;
  --f-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1080px;
  --measure: 66ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------- header ---------------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.mark {
  width: 30px; height: 30px; flex: none;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em; border-radius: 4px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 500; }

.btn {
  display: inline-block;
  font-family: var(--f-body); font-size: 14.5px; font-weight: 500;
  padding: 10px 18px; border-radius: 4px;
  border: 1px solid var(--accent);
  background: var(--accent); color: #fff !important;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost {
  background: transparent; color: var(--ink) !important;
  border-color: var(--rule);
}
.btn.ghost:hover { border-color: var(--ink-3); background: var(--card); }
.btn.lg { font-size: 16px; padding: 13px 24px; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav a.hide-sm { display: none; }
}
@media (max-width: 700px) {
  .head-in { flex-wrap: wrap; min-height: 60px; padding: 10px 0; }
  .nav {
    order: 3; width: 100%;
    border-top: 1px solid var(--rule-soft);
    padding-top: 10px; gap: 16px; flex-wrap: wrap;
  }
  .nav a.hide-sm { display: inline; }
  .nav .btn { display: none; }
}

/* ---------------- type ---------------- */

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.018em; text-wrap: balance; }

h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; margin: 0 0 18px; }
h2 { font-size: clamp(25px, 3.2vw, 33px); line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }

p { margin: 0 0 16px; max-width: var(--measure); }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow.muted { color: var(--ink-3); }

section { padding: 72px 0; }
section.tight { padding: 52px 0; }
.bg-alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.sec-head { max-width: 62ch; margin-bottom: 38px; }
.sec-head p { color: var(--ink-2); margin-bottom: 0; }

/* ---------------- hero ---------------- */

.hero { padding: 84px 0 56px; }
.hero .lede { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note {
  margin: 26px 0 0; font-size: 14px; color: var(--ink-3); max-width: 56ch;
}

/* the compliance band sits directly under the hero */
.band {
  background: var(--accent-soft);
  border-top: 1px solid #D6E3DE;
  border-bottom: 1px solid #D6E3DE;
  padding: 18px 0;
}
.band p {
  margin: 0; max-width: 92ch; font-size: 14.5px; color: #23473C; line-height: 1.55;
}
.band strong { font-weight: 600; }

/* ---------------- grids ---------------- */

.grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid > .cell { background: var(--card); padding: 26px 24px; }
.grid > .cell p:last-child { margin-bottom: 0; }
.grid > .cell p { color: var(--ink-2); font-size: 15px; }

@media (max-width: 860px) { .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.c2, .grid.c3 { grid-template-columns: 1fr; } }

.cell .tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 10px;
}

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- lists ---------------- */

.ticks { list-style: none; padding: 0; margin: 0 0 16px; max-width: var(--measure); }
.ticks li {
  position: relative; padding: 0 0 0 26px; margin-bottom: 10px; color: var(--ink-2);
}
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.ticks strong { color: var(--ink); font-weight: 600; }

.crosses { list-style: none; padding: 0; margin: 0; max-width: 74ch; }
.crosses li {
  position: relative; padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--rule-soft); color: var(--ink-2);
}
.crosses li:first-child { border-top: 1px solid var(--rule-soft); }
.crosses li::before {
  content: "\00d7"; position: absolute; left: 8px; top: 12px;
  color: var(--flag); font-size: 17px; line-height: 1.4; font-weight: 500;
}
.crosses strong { color: var(--ink); font-weight: 600; }

/* numbered steps */
ol.steps { counter-reset: st; list-style: none; padding: 0; margin: 0; max-width: 78ch; }
ol.steps li {
  counter-increment: st;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 20px;
  align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--rule-soft);
}
ol.steps li:first-child { border-top: 1px solid var(--rule-soft); }
ol.steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  width: 34px; height: 26px; border-radius: 3px;
  display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
ol.steps .step-txt { min-width: 0; }
ol.steps strong {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: 17.5px; letter-spacing: -0.012em; line-height: 1.3;
  margin-bottom: 6px;
}
ol.steps span {
  display: block; color: var(--ink-2);
  font-size: 15px; line-height: 1.6; max-width: 58ch;
}

/* ---------------- pricing ---------------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); padding: 30px 26px; display: flex; flex-direction: column; }
.plan h3 { margin-bottom: 4px; }
.plan .who { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.plan .price {
  font-family: var(--f-display); font-size: 30px; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 2px;
}
.plan .price small { font-family: var(--f-body); font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.plan .plus { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.plan .ticks { margin-bottom: 24px; }
.plan .ticks li { font-size: 15px; }
.plan .btn { margin-top: auto; text-align: center; }

/* ---------------- forms ---------------- */

.form-card {
  background: var(--card); border: 1px solid var(--rule);
  padding: 30px 28px; border-radius: 4px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 15px; color: var(--ink);
  padding: 11px 13px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-bottom: 20px; }
.consent input { width: 16px; height: 16px; margin-top: 4px; }
.consent label { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; font-weight: 400; }

/* ---------------- legal / document pages ---------------- */

.doc-head { padding: 56px 0 30px; border-bottom: 1px solid var(--rule); }
.doc-head p.meta {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.03em; margin: 12px 0 0;
}
.doc { padding: 44px 0 80px; }
.doc-body { max-width: 74ch; }
.doc-body h2 {
  font-size: 22px; margin: 40px 0 10px;
  padding-top: 18px; border-top: 1px solid var(--rule-soft);
}
.doc-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-body h3 { font-size: 17px; margin: 24px 0 6px; font-family: var(--f-body); font-weight: 600; }
.doc-body p, .doc-body li { color: var(--ink-2); max-width: none; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 0 0 16px; }
.doc-body li { margin-bottom: 8px; }
.doc-body strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 20px 22px; margin: 0 0 28px;
}
.callout p { color: #23473C; margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }

.toc {
  background: var(--card); border: 1px solid var(--rule);
  padding: 20px 22px; margin-bottom: 34px;
}
.toc p { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 5px; font-size: 14.5px; }

table.data {
  width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px;
}
table.data th, table.data td {
  border: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top;
}
table.data th { background: var(--paper-2); font-weight: 600; font-size: 13px; }
table.data td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

/* ---------------- cta ---------------- */

.cta-block {
  background: var(--ink); color: #F3F2EF;
  padding: 60px 0;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: #B9BCC2; max-width: 56ch; }
.cta-block .btn { background: #fff; border-color: #fff; color: var(--ink) !important; }
.cta-block .btn:hover { background: #E9E7E2; border-color: #E9E7E2; }
.cta-block .btn.ghost {
  background: transparent; color: #F3F2EF !important; border-color: #4A4E55;
}
.cta-block .btn.ghost:hover { background: #22252A; border-color: #6A6E75; }

/* ---------------- footer ---------------- */

.site-foot {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 54px 0 34px;
  font-size: 14.5px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 34px; border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h4 {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 12px; font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); text-decoration: underline; }
.foot-grid address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 34ch; }

.foot-legal { padding-top: 26px; }
.foot-legal p {
  font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 100ch; margin: 0 0 12px;
}
.foot-legal p:last-child { margin-bottom: 0; }
.foot-legal .ids {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* ---------------- misc ---------------- */

.hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 14px; color: var(--ink-3); }
.nowrap { white-space: nowrap; }

@media print {
  .site-head, .cta-block, .btn { display: none !important; }
  body { background: #fff; font-size: 12px; }
}
