/* ==========================================================================
   IT Compliance — Remote Work Documentation Service
   Design system. One stylesheet, shared by all pages.

   Direction: "the records office" — security-paper navy, brass notarial
   accent, serif masthead type, monospaced reference numbers.
   ========================================================================== */

/* --- 1. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

/* --- 2. Tokens ----------------------------------------------------------- */
:root {
  /* Ink & authority */
  --navy-900: #08203c;
  --navy-800: #0b2545;
  --navy-700: #12365e;
  --navy-600: #1b4877;

  /* Inherited brand blue from complianceit.us (#0274BE) */
  --blue-600: #0274be;
  --blue-700: #075c93;
  --blue-100: #d3e6f5;
  --blue-050: #eaf3fa;

  /* Brass — the notary seal. Used sparingly, on purpose. */
  --brass-600: #8f6318;
  --brass-500: #a97a24;
  --brass-400: #c08a2e;
  --brass-050: #f8f2e4;

  --green-700: #12664a;
  --green-050: #e8f4ef;
  --red-700:   #9a2323;
  --red-050:   #fbeeee;

  --paper:   #f4f6f9;
  --paper-2: #eef2f7;
  --white:   #ffffff;
  --rule:    #d8dfe8;
  --rule-soft: #e7ecf2;

  --ink:   #16202e;
  --muted: #55637a;
  --faint: #7d8899;

  /* Type */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --mono:  var(--sans);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 3px;
  --radius-lg: 5px;

  --shadow-sm: 0 1px 2px rgba(8, 32, 60, .06), 0 1px 3px rgba(8, 32, 60, .04);
  --shadow-md: 0 2px 4px rgba(8, 32, 60, .05), 0 8px 24px rgba(8, 32, 60, .07);
  --shadow-lg: 0 4px 8px rgba(8, 32, 60, .06), 0 20px 48px rgba(8, 32, 60, .12);

  --header-h: 74px;
}

/* --- 3. Base ------------------------------------------------------------- */
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv05" 1, "ss01" 1;
}

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--navy-800); }
h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); }
h3 { font-weight: 650; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.005em; }
h4 { font-weight: 650; font-size: .9375rem; line-height: 1.4; letter-spacing: 0; }
p  { text-wrap: pretty; }
p + p { margin-top: 1rem; }
strong { font-weight: 650; color: var(--navy-800); }

.lede { font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.6; }
.tiny  { font-size: .8125rem; line-height: 1.55; }

a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
.link { color: var(--blue-700); font-weight: 550; text-decoration: underline; text-decoration-color: var(--blue-100); transition: text-decoration-color .15s ease, color .15s ease; }
.link:hover { color: var(--blue-600); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .footer :focus-visible, .utility :focus-visible { outline-color: var(--brass-400); }

::selection { background: var(--blue-100); color: var(--navy-900); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .7rem 1.1rem;
  font: 550 .875rem var(--sans); border-radius: var(--radius); transition: top .18s ease;
}
.skip:focus { top: 8px; }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 960px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); border-block: 1px solid var(--rule-soft); }
.section--navy  { background: var(--navy-800); color: #c9d6e4; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
/* Light cards keep their own ink when they sit on a navy section. */
.section--navy .card, .section--navy .quote { color: var(--ink); }
.section--navy .card h2, .section--navy .card h3, .section--navy .card h4,
.section--navy .quote h3, .section--navy .quote h4 { color: var(--navy-800); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* --- 5. Eyebrow & section headings --------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 .6875rem/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-600);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brass-400); }
.eyebrow--onDark { color: var(--brass-400); }
.eyebrow--onDark::before { background: var(--brass-400); opacity: .7; }
.eyebrow--blue { color: var(--blue-700); }
.eyebrow--blue::before { background: var(--blue-600); }

.section-head { max-width: 46rem; }
.section-head > .eyebrow { margin-bottom: 1rem; }
.section-head > h2 + p { margin-top: 1rem; }

/* --- 6. Utility bar ------------------------------------------------------ */
.utility {
  background: var(--navy-900);
  color: #93a8c0;
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.utility__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 38px; padding-block: .55rem; flex-wrap: wrap; }
.utility__item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.utility a:hover { color: #fff; }
.utility__group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 3px rgba(18,102,74,.25); flex: none; }
.dot--live { background: #35c48c; box-shadow: 0 0 0 3px rgba(53,196,140,.2); }

/* --- 7. Masthead --------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(143,99,24,.28);
}
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__seal { width: 40px; height: 40px; flex: none; }
.brand__name { font: 700 1.125rem/1 var(--sans); letter-spacing: -.025em; color: var(--navy-800); }
.brand__name em { font-style: normal; color: var(--blue-600); }
.brand__sub { display: block; margin-top: .3rem; font: 600 .625rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }

/* --- 8. File strip — the signature element ------------------------------- */
/* A ruled band of monospaced record data. It appears once per page, directly
   under the masthead, and states where the reader is in the file. */
.filestrip {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font: 500 .75rem/1 var(--sans);
  color: var(--muted);
  overflow-x: auto;
  scrollbar-width: none;
}
.filestrip::-webkit-scrollbar { display: none; }
.filestrip__row { display: flex; align-items: stretch; min-height: 42px; white-space: nowrap; }
.filestrip__cell {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem .7rem 0; margin-right: 1.25rem;
  border-right: 1px solid var(--rule);
}
.filestrip__cell:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.filestrip__k { color: var(--faint); letter-spacing: .1em; text-transform: uppercase; font-size: .6875rem; }
.filestrip__v { color: var(--navy-800); font-weight: 500; letter-spacing: .04em; }
.filestrip__v--brass { color: var(--brass-600); }

/* --- 9. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.16); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--navy { background: var(--navy-800); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.22); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.24), var(--shadow-md); }

.btn--outline { background: var(--white); color: var(--navy-800); border-color: var(--rule); }
.btn--outline:hover { border-color: var(--navy-700); background: var(--paper); }

.btn--ghostDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--ghostDark:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.6); }

.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- 10. Hero ------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(158deg, var(--navy-900) 0%, var(--navy-800) 42%, #123a63 100%);
  color: #c9d8e8;
  padding-block: clamp(3.25rem, 6vw, 5rem);
  border-bottom: 3px solid var(--brass-600);
}
/* Security-paper guilloché: the material this business is actually made of. */
.hero__engraving {
  position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  mix-blend-mode: screen;
}
.hero__seal {
  position: absolute; right: clamp(-40px, 2vw, 40px); top: 50%; translate: 0 -50%;
  width: min(380px, 34vw); height: auto; z-index: -1; opacity: .07; pointer-events: none;
}
.hero__inner { max-width: 42rem; }
.hero h1 { color: #fff; margin-top: 1.25rem; text-wrap: balance; }
.hero h1 .accent { color: var(--brass-400); }
.hero__lede { margin-top: 1.35rem; font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem); line-height: 1.6; color: #b3c6da; max-width: 34rem; }
.hero .btn-row { margin-top: 2.25rem; }

.hero__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__fact { padding: 1.35rem clamp(1rem, 2vw, 1.75rem) 0; border-left: 1px solid rgba(255,255,255,.13); }
.hero__fact:first-child { border-left: 0; padding-left: 0; }
.hero__fact dt { font: 600 .6875rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: #7f95ad; }
.hero__fact dd { margin-top: .5rem; font: 700 1.25rem/1.15 var(--sans); color: #fff; letter-spacing: -.02em; }
.hero__fact dd span { font-family: var(--sans); font-size: .8125rem; font-weight: 500; color: #93a8c0; letter-spacing: 0; }

/* Page banner (interior pages) */
.pagehead {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #c0d1e2;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-bottom: 3px solid var(--brass-600);
}
.pagehead h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); margin-top: 1rem; }
.pagehead p { margin-top: 1rem; max-width: 40rem; color: #adc0d4; font-size: 1.0625rem; }
.pagehead__engraving { position: absolute; inset: 0; z-index: -1; opacity: .13; mix-blend-mode: screen; pointer-events: none; }

/* --- 11. Cards ----------------------------------------------------------- */
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card::before {
  content: ""; position: absolute; left: -1px; top: 1.5rem; bottom: 1.5rem; width: 2px;
  background: var(--brass-500); opacity: 0; transition: opacity .18s ease, top .18s ease, bottom .18s ease;
}
.card:hover { border-color: #c3cedb; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card:hover::before { opacity: 1; top: .75rem; bottom: .75rem; }
.card__icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--blue-050); border: 1px solid var(--blue-100); border-radius: var(--radius);
  color: var(--blue-700); margin-bottom: 1.1rem;
}
.card__icon--brass { background: var(--brass-050); border-color: #ecdcbd; color: var(--brass-600); }
.card h3 { margin-bottom: .55rem; color: var(--navy-800); }
.card p { color: var(--muted); font-size: .9375rem; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

.card--num { padding-top: 2.75rem; }
.card__num {
  position: absolute; top: 1.25rem; left: clamp(1.5rem, 2.4vw, 2rem);
  font: 500 .75rem/1 var(--sans); letter-spacing: .12em; color: var(--brass-600);
}

/* --- 12. Document ledger (rows) ------------------------------------------ */
.ledger { border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.ledger__head {
  display: grid; grid-template-columns: minmax(0, 1fr) 180px 120px 176px; gap: 1rem; align-items: center;
  padding: .85rem clamp(1rem, 2vw, 1.5rem);
  background: var(--navy-800); color: #a9bdd2;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase;
}
.ledger__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 180px 120px 176px; gap: 1rem; align-items: center;
  padding: 1.15rem clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule-soft);
  transition: background .15s ease, box-shadow .15s ease;
}
.ledger__row:first-of-type { border-top: 0; }
.ledger__row:hover { background: var(--blue-050); box-shadow: inset 3px 0 0 var(--brass-500); }
.ledger__row .btn { justify-self: stretch; }
.ledger__title { font-weight: 650; color: var(--navy-800); font-size: .9875rem; }
.ledger__desc { display: block; margin-top: .25rem; font-weight: 400; font-size: .8125rem; color: var(--muted); letter-spacing: 0; }
.ledger__meta { font: 500 .8125rem/1.4 var(--sans); color: var(--muted); letter-spacing: .02em; }

/* --- 13. Steps ----------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 44rem); gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step__marker { position: relative; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1.5px solid var(--brass-400); border-radius: 50%; background: var(--brass-050);
  font: 700 1.0625rem/1 var(--sans); color: var(--brass-600); letter-spacing: 0;
}
.step__rail { position: absolute; left: 28px; top: 68px; bottom: -3rem; width: 1px; background: var(--rule); }
.step:last-child .step__rail { display: none; }
.step__body h3 { font-weight: 700; font-size: clamp(1.125rem, 1.05rem + .45vw, 1.375rem); letter-spacing: -.015em; color: var(--navy-800); }
.step__body > * + * { margin-top: 1rem; }

/* --- 14. Checklists ------------------------------------------------------ */
.checklist { display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px;
  border-radius: 2px; background: var(--green-050);
  border: 1px solid #b6d8c9;
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: .58em; width: 5px; height: 9px;
  border: solid var(--green-700); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.checklist--warn li::before { background: var(--red-050); border-color: #e6c2c2; }
.checklist--warn li::after {
  left: 4px; top: .55em; width: 8px; height: 8px; border: 0;
  background:
    linear-gradient(45deg, transparent 44%, var(--red-700) 44%, var(--red-700) 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--red-700) 44%, var(--red-700) 56%, transparent 56%);
  transform: none;
}
.arrowlist { display: grid; gap: .55rem; }
.arrowlist li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .9375rem; }
.arrowlist li::before { content: "—"; position: absolute; left: 0; color: var(--brass-500); font-family: var(--sans); }

/* --- 15. Notice / callout ------------------------------------------------ */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: 1.15rem 1.35rem; border-radius: var(--radius-lg);
  background: var(--blue-050); border: 1px solid var(--blue-100);
  border-left: 3px solid var(--blue-600);
}
.notice__icon { color: var(--blue-700); margin-top: .1rem; }
.notice h4 { color: var(--navy-800); margin-bottom: .3rem; }
.notice p { font-size: .9063rem; color: #3c5570; }
.notice--brass { background: var(--brass-050); border-color: #ecdcbd; border-left-color: var(--brass-500); }
.notice--brass .notice__icon { color: var(--brass-600); }
.notice--brass p { color: #6b542a; }
.notice--green { background: var(--green-050); border-color: #bfdfd1; border-left-color: var(--green-700); }
.notice--green .notice__icon { color: var(--green-700); }
.notice--green p { color: #2b5a48; }

/* --- 16. Quote ----------------------------------------------------------- */
.quote { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.4vw, 1.85rem); display: flex; flex-direction: column; }
.quote__mark { font: 700 2.4rem/1 var(--sans); color: var(--brass-400); height: .7em; }
.quote p { margin-top: .9rem; color: var(--navy-700); font-size: .9688rem; line-height: 1.68; flex: 1; }
.quote__by { display: flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-soft); }
.quote__initials {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy-800); color: #fff; font: 600 .8125rem/1 var(--sans); letter-spacing: .04em;
}
.quote__name { font-weight: 650; font-size: .875rem; color: var(--navy-800); }
.quote__role { display: block; font: 500 .75rem/1.4 var(--sans); color: var(--faint); letter-spacing: .02em; }

/* --- 17. FAQ ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--sans); font-weight: 600; font-size: 1.0313rem; color: var(--navy-800);
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-700); }
.faq__sign { position: relative; flex: none; width: 20px; height: 20px; margin-top: .28rem; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--brass-500); transition: transform .22s ease, opacity .22s ease; }
.faq__sign::before { left: 0; top: 9px; width: 20px; height: 1.5px; }
.faq__sign::after  { left: 9px; top: 0; width: 1.5px; height: 20px; }
.faq details[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding-bottom: 1.5rem; max-width: 52rem; }
.faq__answer p { color: var(--muted); font-size: .9688rem; }
.faq__answer p + p { margin-top: .75rem; }

/* --- 18. Forms ----------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font: 600 .8125rem/1.3 var(--sans); color: var(--navy-800); letter-spacing: .005em; }
.field label .req { color: var(--red-700); font-weight: 500; }
.field .hint { font: 500 .75rem/1.5 var(--sans); color: var(--faint); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: .9375rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b4; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bcc7d5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 132px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2355637a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.consent input { width: 17px; height: 17px; margin-top: .18rem; accent-color: var(--blue-600); }
.consent label { font-weight: 400; font-size: .8438rem; line-height: 1.55; color: var(--muted); }

/* --- 19. Dropzone -------------------------------------------------------- */
.dropzone {
  display: grid; place-items: center; gap: .85rem; text-align: center;
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.5rem;
  background: var(--paper);
  border: 2px dashed #bccada; border-radius: var(--radius-lg);
  transition: border-color .18s ease, background .18s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--blue-600); background: var(--blue-050); }
.dropzone__icon { color: var(--blue-600); }
.dropzone h3 { font-weight: 650; font-size: 1.0625rem; color: var(--navy-800); }
.dropzone p { color: var(--muted); font-size: .9063rem; max-width: 30rem; }
.dropzone__specs { font: 500 .75rem/1 var(--sans); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

.filelist { display: grid; gap: .6rem; margin-top: 1.25rem; }
.filelist:empty { display: none; }
.filelist li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center;
  padding: .8rem 1rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
}
.filelist__name { font-weight: 550; font-size: .875rem; color: var(--navy-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist__size { font: 500 .75rem/1 var(--sans); color: var(--faint); }
.filelist__badge { font: 600 .6875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.filelist__badge--bad { color: var(--red-700); }

/* --- 20. Badges & stamps ------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem; border-radius: 100px;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase;
  background: var(--blue-050); color: var(--blue-700); border: 1px solid var(--blue-100);
}
.badge--green { background: var(--green-050); color: var(--green-700); border-color: #bfdfd1; }
.badge--brass { background: var(--brass-050); color: var(--brass-600); border-color: #ecdcbd; }
.badge--grey  { background: var(--paper); color: var(--muted); border-color: var(--rule); }

.creds { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; }
.cred { display: inline-flex; align-items: center; gap: .6rem; font: 500 .75rem/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); }
.cred strong { font-family: var(--sans); font-weight: 650; font-size: .8125rem; color: var(--navy-800); letter-spacing: 0; }

/* --- 21. Stat band ------------------------------------------------------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.statband div { padding: clamp(1.25rem, 2.4vw, 1.75rem); border-left: 1px solid var(--rule-soft); }
.statband div:first-child { border-left: 0; }
.statband dt { font: 600 .6875rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.statband dd { margin-top: .6rem; font: 700 1.625rem/1 var(--sans); color: var(--navy-800); letter-spacing: -.02em; }

/* --- 22. CTA band -------------------------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: #b8cade;
  border-top: 3px solid var(--brass-600);
}
.cta__engraving { position: absolute; inset: 0; z-index: -1; opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.75rem, 5vw, 4rem); }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { margin-top: .9rem; max-width: 42ch; color: #a9bdd2; }

/* --- 23. Footer ---------------------------------------------------------- */
.footer { background: var(--navy-900); color: #8fa4bd; font-size: .875rem; }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); padding-block: clamp(3rem, 5vw, 4.25rem); }
.footer h4 { color: #fff; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.15rem; color: #d5b877; }
.footer ul { display: grid; gap: .7rem; }
.footer a { text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer__brand { display: inline-flex; align-items: center; gap: .8rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #7f95ad; }
.footer__about { margin-top: 1.25rem; max-width: 32ch; line-height: 1.7; }
.footer__contact { margin-top: 1.5rem; display: grid; gap: .5rem; font: 500 .8125rem/1.5 var(--sans); letter-spacing: .02em; }
.footer__contact a { color: #b7c9dc; }

.footer__legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem 2.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between;
  font: 500 .75rem/1.5 var(--sans); letter-spacing: .02em; color: #6f86a1;
}
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* --- 24. Motion ---------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal] { transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.hero [data-load] { opacity: 0; transform: translateY(16px); animation: rise .75s cubic-bezier(.22,.61,.36,1) forwards; }
.hero [data-load="1"] { animation-delay: .06s; }
.hero [data-load="2"] { animation-delay: .16s; }
.hero [data-load="3"] { animation-delay: .26s; }
.hero [data-load="4"] { animation-delay: .36s; }
.hero [data-load="5"] { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero [data-load] { opacity: 1 !important; transform: none !important; }
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); }

/* --- 25. Responsive ------------------------------------------------------ */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ledger__head { display: none; }
  .ledger__row { grid-template-columns: 1fr; gap: .6rem; }
  .ledger__row .btn { justify-self: start; }
  .statband { grid-template-columns: 1fr 1fr; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); margin-top: .25rem; }
  .statband div:nth-child(3) { border-left: 0; }
  .statband div:nth-child(n+3) { border-top: 1px solid var(--rule-soft); }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .field-row { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 1.25rem; }
  .step__rail { display: none; }
  .hero__seal { display: none; }
  .utility__group--secondary { display: none; }
  .btn-row .btn { width: 100%; }
  .brand__name { font-size: 1.0625rem; }
}

/* ==========================================================================
   Added for the guided flow: no header menu, one action per page.
   ========================================================================== */

/* --- Masthead without navigation ----------------------------------------- */
.masthead__row { justify-content: space-between; }
.brand__seal { width: 46px; height: 46px; }
.masthead__aside {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: .8125rem; color: var(--muted); text-align: right;
}
.masthead__aside b { display: block; font-weight: 650; color: var(--navy-800); }
@media (max-width: 620px) { .masthead__aside { display: none; } }

/* --- Stepper: the only wayfinding on the page ---------------------------- */
.stepper { background: var(--white); border-bottom: 1px solid var(--rule); }
.stepper ol { display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper li {
  position: relative; display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.25rem 1rem 0; color: var(--faint); font-size: .875rem; font-weight: 550;
}
.stepper li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent;
}
.stepper__n {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--rule);
  font-size: .8125rem; font-weight: 700; color: var(--faint); background: var(--white);
}
.stepper .is-done { color: var(--navy-700); }
.stepper .is-done .stepper__n { border-color: var(--green-700); background: var(--green-050); color: var(--green-700); }
.stepper .is-current { color: var(--navy-900); font-weight: 650; }
.stepper .is-current .stepper__n { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }
.stepper .is-current::after { background: var(--blue-600); }
@media (max-width: 640px) {
  .stepper ol { grid-template-columns: 1fr; }
  .stepper li { padding-block: .55rem; }
  .stepper li:not(.is-current) { display: none; }
  .stepper li::after { display: none; }
}

/* --- Next step: one action, always in the same place --------------------- */
.nextstep {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--blue-600);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.nextstep__label { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); }
.nextstep h3 { margin-top: .5rem; font-size: 1.1875rem; }
.nextstep p { margin-top: .35rem; font-size: .9063rem; color: var(--muted); max-width: 42ch; }

/* --- Upload slots: one field per document ------------------------------- */
.slots { display: grid; gap: 1rem; }
.slot {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 1rem 1.1rem; align-items: center;
  padding: 1.15rem 1.35rem; background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.slot.is-over { border-color: var(--blue-600); background: var(--blue-050); }
.slot.is-filled { border-color: #b6d8c9; background: var(--green-050); }
.slot.is-error  { border-color: #e6c2c2; background: var(--red-050); }
.slot__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: .875rem; font-weight: 700;
}
.slot.is-filled .slot__n { background: var(--green-700); }
.slot.is-error .slot__n  { background: var(--red-700); }
.slot__title { font-weight: 650; font-size: .9375rem; color: var(--navy-800); }
.slot__meta { display: block; margin-top: .2rem; font-size: .8125rem; color: var(--muted); }
.slot__meta--ok  { color: var(--green-700); font-weight: 550; }
.slot__meta--bad { color: var(--red-700); font-weight: 550; }
.slot__pick {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); font-size: .875rem; font-weight: 600; color: var(--navy-800);
  white-space: nowrap; transition: border-color .15s ease, background .15s ease;
}
.slot__pick:hover { border-color: var(--navy-700); background: var(--white); }
.slot input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slot input[type="file"]:focus-visible + .slot__pick { outline: 2px solid var(--blue-600); outline-offset: 3px; }
@media (max-width: 560px) {
  .slot { grid-template-columns: 34px 1fr; }
  .slot__pick { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   Forms feedback, wizard extras
   ========================================================================== */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Alerts -------------------------------------------------------------- */
.alert {
  padding: 1.1rem 1.3rem; margin-bottom: 1.75rem;
  border: 1px solid var(--rule); border-left: 3px solid var(--muted);
  border-radius: var(--radius-lg); background: var(--paper);
}
.alert h4 { color: var(--navy-800); margin-bottom: .3rem; }
.alert p  { font-size: .9063rem; color: var(--muted); }
.alert--error { background: var(--red-050); border-color: #e6c2c2; border-left-color: var(--red-700); }
.alert--error h4 { color: var(--red-700); }
.alert--error p  { color: #7a3030; }
.alert--ok { background: var(--green-050); border-color: #bfdfd1; border-left-color: var(--green-700); }
.alert--ok h4 { color: var(--green-700); }
.alert--ok p  { color: #2b5a48; }
.alert--warn { background: var(--brass-050); border-color: #ecdcbd; border-left-color: var(--brass-500); }
.alert--warn p { color: #6b542a; }

/* --- Field errors -------------------------------------------------------- */
.field__error {
  display: block; margin-top: .3rem;
  font-size: .8125rem; font-weight: 550; line-height: 1.45; color: var(--red-700);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red-700); background: var(--red-050); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(154, 35, 35, .15); }
.field.has-error label { color: var(--red-700); }
.consent.has-error label { color: var(--red-700); }
.consent.has-error input { outline: 2px solid var(--red-700); outline-offset: 2px; }

/* --- Completed steps are links ------------------------------------------ */
.stepper li a {
  display: flex; align-items: center; gap: .7rem;
  color: inherit; text-decoration: none; border-radius: var(--radius);
}
.stepper li a:hover { color: var(--blue-700); }
.stepper li a:hover .stepper__n { border-color: var(--blue-600); }

/* --- Reference number ---------------------------------------------------- */
.reference-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white); border: 1px solid var(--rule);
  border-top: 3px solid var(--green-700); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.reference-card__label {
  display: block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
}
.reference-card__value {
  display: block; margin: .6rem 0 .9rem;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700;
  letter-spacing: .06em; color: var(--navy-900);
}

/* ==========================================================================
   Single-page wizard: three steps, one open at a time.
   ========================================================================== */

.pagehead--slim { padding-block: clamp(2.25rem, 4vw, 3.25rem); }

.wizard { display: grid; gap: .875rem; max-width: 860px; margin-inline: auto; }

.wstep {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wstep[open] { border-color: var(--blue-600); box-shadow: var(--shadow-md); }

/* --- Header row ---------------------------------------------------------- */
.wstep > summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; padding: 1.1rem 1.35rem;
  cursor: pointer; list-style: none; user-select: none;
}
.wstep > summary::-webkit-details-marker { display: none; }
.wstep > summary:hover .wstep__title { color: var(--blue-700); }
.wstep > summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: -2px; border-radius: var(--radius-lg); }

.wstep__n {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--rule); background: var(--paper);
  font-size: .9375rem; font-weight: 700; color: var(--faint);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wstep[open] .wstep__n { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.wstep.is-done .wstep__n {
  background: var(--green-050); border-color: var(--green-700); color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.6 8.4l3 3 5.8-6.4' stroke='%2312664a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.wstep__head { min-width: 0; }
.wstep__title {
  display: block; font-size: 1.0625rem; font-weight: 650; color: var(--navy-800);
  letter-spacing: -.01em; transition: color .15s ease;
}
.wstep__title:focus { outline: none; }
.wstep__sum {
  display: block; margin-top: .2rem; font-size: .8438rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wstep[open] .wstep__sum { display: none; }

/* Chip on the right: a chevron, or a word once the step is behind you. */
.wstep__chip {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  color: var(--faint);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%237d8899' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .22s ease;
}
.wstep[open] .wstep__chip { transform: rotate(180deg); }
.wstep.is-done:not([open]) .wstep__chip {
  width: auto; padding: .25rem .6rem; background: var(--green-050);
  border: 1px solid #bfdfd1; border-radius: 100px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700);
}
.wstep.is-done:not([open]) .wstep__chip::after { content: "Done"; }

/* --- Body ---------------------------------------------------------------- */
.wstep__body {
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule-soft);
}
.wstep__lede { font-size: .9688rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }

.wstep__cta { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-soft); }
.wstep__cta .btn svg { margin-left: .1rem; }
.wstep__note { margin-top: .7rem; text-align: center; font-size: .8125rem; color: var(--faint); }

.wizard__help { margin-top: 1.5rem; text-align: center; font-size: .875rem; color: var(--muted); }

/* --- Download list (step 2) ---------------------------------------------- */
.dlist { display: grid; gap: .6rem; margin-top: 1.35rem; }
.dlist__item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius);
  transition: border-color .15s ease, background .15s ease;
}
.dlist__item:hover { border-color: var(--blue-600); background: var(--blue-050); }
.dlist__n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: .75rem; font-weight: 700;
}
.dlist__title { display: block; font-weight: 650; font-size: .9375rem; color: var(--navy-800); }
.dlist__meta  { display: block; margin-top: .15rem; font-size: .8125rem; color: var(--muted); }

@media (max-width: 560px) {
  .wstep > summary { padding: .95rem 1rem; gap: .75rem; }
  .wstep__n { width: 34px; height: 34px; }
  .wstep__title { font-size: 1rem; }
  .dlist__item { grid-template-columns: auto 1fr; }
  .dlist__item .btn, .dlist__item .badge { grid-column: 2; justify-self: start; }
}

/* Without JavaScript every step can still be opened by hand. */
html:not(.js) .wstep__chip { opacity: .5; }

/* Rules to follow — brass markers, so they do not read as prohibitions. */
.rulelist { display: grid; gap: .7rem; }
.rulelist li {
  position: relative; padding-left: 1.9rem;
  font-size: .9375rem; line-height: 1.6; color: var(--muted);
}
.rulelist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brass-050); border: 1px solid #ecdcbd;
}
.rulelist li::after {
  content: "!"; position: absolute; left: 0; top: .32em; width: 16px; height: 16px;
  font-size: .6875rem; font-weight: 700; line-height: 16px; text-align: center;
  color: var(--brass-600);
}

/* A worked example, linked under the form it belongs to. */
.dlist__sample {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .15rem; padding-top: .7rem;
  border-top: 1px dashed var(--rule);
  font-size: .8438rem; font-weight: 550; color: var(--blue-700);
  text-decoration: none;
}
.dlist__sample:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: .2em; }
.dlist__sample svg { flex: none; }

/* Each document is required until a file is chosen. */
.slot__req {
  display: inline-block; margin-left: .4rem; padding: .1rem .4rem;
  border-radius: 3px; background: var(--red-050); border: 1px solid #e6c2c2;
  font-size: .625rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red-700); vertical-align: 1px;
}
.slot.is-filled .slot__req { display: none; }
