/* ==========================================================================
   Corben Hogan — corbenhogan.com
   Plain, dependency-free stylesheet. No frameworks, no webfonts, no CDN.
   System font stacks only.
   ========================================================================== */

:root {
  /* -- Palette --------------------------------------------------------
     A "field-report" palette: deep ink/slate base, warm stone paper,
     one deliberate accent (signal amber) reserved for action/emphasis,
     and a supporting deep teal for links + data highlights.
     Deliberately NOT cream+serif+terracotta, NOT purple-blue gradient. */
  --ink-900: #12161c;      /* near-black charcoal-navy, primary dark bg */
  --ink-800: #1b212a;      /* card / panel bg on dark sections */
  --ink-700: #2a323d;      /* borders on dark sections */
  --ink-050: #eef0f2;      /* off-white text on dark bg */

  --stone-050: #f4f2ec;    /* warm neutral paper bg (not cream-yellow) */
  --stone-100: #eae6dc;
  --stone-300: #c9c2b2;
  --stone-600: #6b6455;

  --slate-700: #3c4450;    /* body text on paper */
  --slate-500: #5b6472;

  --signal: #d97e1f;       /* amber — CTAs, credential marks, emphasis only */
  --signal-dark: #b3660f;
  --teal: #0b6b6f;         /* deep teal — links, secondary emphasis */
  --teal-dark: #084f52;

  --line: #ddd7c8;         /* hairline border on paper */
  --line-dark: #333c47;    /* hairline border on ink */

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas,
    "Liberation Mono", Menlo, monospace;

  --max: 1120px;
  --radius: 3px;
}

/* -- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--stone-050);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* -- Utility: eyebrow / mono labels ---------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-dark);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.9em;
}
.eyebrow--on-dark { color: var(--signal); }

.stat-figure {
  font-family: var(--font-mono);
  font-weight: 700;
}

/* -- Skip link -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--signal);
  color: var(--ink-900);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -- Header / nav ------------------------------------------------------ */
.site-header {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-050);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--signal); }
.brand:hover { color: var(--ink-050); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.site-nav a {
  color: var(--ink-050);
  opacity: 0.82;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--signal);
}

.nav-cta {
  background: var(--signal);
  color: var(--ink-900) !important;
  padding: 9px 16px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #e8912f; }

/* -- Hero --------------------------------------------------------------- */
.hero {
  background: var(--ink-900);
  color: var(--ink-050);
  padding: 64px 0 72px;
  border-bottom: 5px solid var(--signal);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  max-width: 15ch;
}
.hero .lede {
  color: #c8cdd4;
  font-size: 1.15rem;
  max-width: 56ch;
  margin-bottom: 1.75em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5em;
}
.credential-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid var(--line-dark);
  background: var(--ink-800);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-050);
}
.credential-badge b { color: var(--signal); font-size: 1rem; }

/* -- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--signal);
  color: var(--ink-900);
}
.btn-primary:hover { background: #e8912f; color: var(--ink-900); }
.btn-outline {
  background: transparent;
  border-color: #4a5462;
  color: var(--ink-050);
}
.btn-outline:hover { border-color: var(--signal); color: var(--signal); }
.btn-outline-light {
  background: transparent;
  border-color: var(--slate-500);
  color: var(--ink-900);
}
.btn-outline-light:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-block { display: block; width: 100%; text-align: center; }

/* -- Stat strip ------------------------------------------------------------ */
.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat-strip .stat {
  background: var(--ink-800);
  padding: 22px 20px;
}
.stat .stat-figure {
  font-size: 2.1rem;
  color: var(--signal);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat .stat-label {
  color: #b9bfc7;
  font-size: 0.86rem;
}
@media (min-width: 700px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}

/* -- Sections ---------------------------------------------------------- */
section { padding: 60px 0; }
.section-alt { background: var(--stone-100); }
.section-head { max-width: 62ch; margin-bottom: 2em; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.section-head .lede { color: var(--slate-500); font-size: 1.05rem; }

.two-col {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .two-col.reverse { grid-template-columns: 0.9fr 1.1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card + .card { margin-top: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.card .eyebrow { margin-bottom: 0.4em; }

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.pull-quote {
  border-left: 4px solid var(--signal);
  padding: 4px 0 4px 22px;
  font-size: 1.2rem;
  color: var(--ink-900);
  font-weight: 600;
  margin: 1.6em 0;
}

.cta-band {
  background: var(--teal-dark);
  color: #fff;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #cfe4e3; max-width: 60ch; }
.cta-band .hero-actions { margin-bottom: 0; }
.cta-band .btn-outline { border-color: #4d8f8e; }
.cta-band .btn-outline:hover { border-color: var(--signal); color: var(--signal); }

/* -- Tables (credentials page) ------------------------------------------ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.96rem;
}
.data-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink-900);
  padding-bottom: 10px;
  font-size: 1rem;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  width: 38%;
  color: var(--slate-500);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }
.placeholder {
  color: var(--signal-dark);
  background: #fdf1e1;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 600;
}

.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }

/* -- FAQ / details -------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}
.faq-item p:last-child { margin-bottom: 0; }

.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: item;
}
.numbered-list li {
  counter-increment: item;
  position: relative;
  padding-left: 46px;
  margin-bottom: 20px;
}
.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--stone-100);
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.numbered-list h3 { margin-bottom: 0.3em; font-size: 1.05rem; }
.numbered-list p:last-child { margin-bottom: 0; }

/* -- Forms ------------------------------------------------------------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.form-field .hint {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius);
  background: #fff;
  color: var(--slate-700);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.required-mark { color: var(--signal-dark); }

.form-status {
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}
.form-status[data-active="true"] { display: block; }
.form-status--error {
  background: #fdf1e1;
  border: 1px solid var(--signal);
  color: #7a4408;
}
.form-status--ok {
  background: #e6f2f1;
  border: 1px solid var(--teal);
  color: var(--teal-dark);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}
fieldset legend {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-900);
  padding: 0;
  margin-bottom: 8px;
}
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-700);
}
.radio-row input { width: auto; }

/* -- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: #aab1ba;
  padding: 44px 0 30px;
  font-size: 0.9rem;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 20px;
}
.site-footer h4 {
  color: var(--ink-050);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.site-footer a { color: #c6cbd2; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-disclaimer {
  max-width: 60ch;
  color: #8a929c;
  font-size: 0.82rem;
  margin-top: 10px;
}

/* -- Misc ------------------------------------------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--slate-500);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--slate-500); }
.page-header {
  padding: 40px 0 44px;
  background: var(--stone-100);
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  max-width: 20ch;
}
.page-header .lede {
  max-width: 60ch;
  color: var(--slate-500);
  font-size: 1.08rem;
}

@media (min-width: 700px) {
  section { padding: 84px 0; }
  .hero { padding: 96px 0 100px; }
}
