/* Prospect Network — single stylesheet, shared by every page.
   No external fonts, no imports, no third-party assets. */

:root {
  --paper:        #f5f1e8;
  --surface:      #fffdf7;
  --tint:         #eceadd;
  --ink:          #16262a;
  --ink-soft:     #3d5154;
  --rule:         #d6cfbd;
  --rule-strong:  #b9b09a;
  --teal:         #0d4a51;
  --teal-deep:    #08363b;
  --clay:         #8f3a17;
  --clay-soft:    #f3e5db;
  --focus:        #b8500f;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 14px;
  --sp-4: 22px;
  --sp-5: 34px;
  --sp-6: 52px;
  --sp-7: 76px;

  --radius: 3px;
  --measure: 68ch;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-deep);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 100;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- shell ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.wrap-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* ---------- header and navigation ---------- */

.site-head {
  background: var(--surface);
  border-bottom: 2px solid var(--teal-deep);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--teal-deep);
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.01em;
}
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--teal-deep);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand b { font-weight: 600; }
.brand span.thin { font-weight: 400; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
}

.nav { display: block; }

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
}

.nav a, .nav .drop-btn {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.nav a:hover, .nav .drop-btn:hover { background: var(--tint); }
.nav a[aria-current="page"] {
  border-bottom: 2px solid var(--clay);
  border-radius: 0;
}

.drop { position: relative; }
.drop-btn::after { content: " \25be"; }
.drop-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--sp-2);
  display: none;
  z-index: 40;
}
.drop-panel.open { display: block; }
.drop-panel ul { flex-direction: column; align-items: stretch; gap: 0; }
.drop-panel a { font-size: 0.93rem; padding: var(--sp-2) var(--sp-3); }

/* ---------- headings and text ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--teal-deep);
  line-height: 1.22;
  margin: 0 0 var(--sp-3);
  font-weight: 600;
}
h1 { font-size: 2.15rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; margin-top: var(--sp-6); }
h3 { font-size: 1.16rem; margin-top: var(--sp-5); font-family: var(--sans); font-weight: 700; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 700; margin-top: var(--sp-4); }

p, li { max-width: var(--measure); }
p { margin: 0 0 var(--sp-4); }

a { color: var(--teal); }
a:hover { color: var(--clay); }

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

main ul, main ol { padding-left: 1.3em; margin: 0 0 var(--sp-4); }
main li { margin-bottom: var(--sp-2); }

strong { font-weight: 700; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
}

.effective {
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--clay);
  padding-left: var(--sp-3);
}

/* ---------- page layouts ---------- */

.page { padding: var(--sp-6) 0 var(--sp-7); }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: var(--sp-6);
  align-items: start;
}

.side { position: sticky; top: var(--sp-4); }

.side-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.side-card h2, .side-card h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 var(--sp-3);
}
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { margin-bottom: var(--sp-2); }
.side-card a { font-size: 0.93rem; }
.side-card p { font-size: 0.93rem; margin-bottom: var(--sp-3); }

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

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-6) 0 var(--sp-5);
}
.hero h1 { font-size: 2.45rem; max-width: 20ch; }
.hero .lede { font-size: 1.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.answer-card {
  border: 1px solid var(--rule-strong);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--paper);
  padding: var(--sp-4);
}
.answer-card h2 {
  margin-top: 0;
  font-size: 1.02rem;
  font-family: var(--sans);
  letter-spacing: 0.02em;
}
.answer-card p, .answer-card li { font-size: 0.97rem; }
.answer-card ul { padding-left: 1.1em; margin-bottom: 0; }

/* ---------- key points strip ---------- */

.strip {
  background: var(--teal-deep);
  color: #f2efe6;
  padding: var(--sp-5) 0;
}
.strip h2 {
  color: #fff;
  font-size: 1.02rem;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.strip p { color: #e5e0d3; margin-bottom: 0; font-size: 0.97rem; }
.strip h3 { color: #fff; margin-top: 0; font-size: 1.04rem; }
.strip a { color: #ffd9c2; }

/* ---------- disclosure ---------- */

.disclosure {
  background: var(--clay-soft);
  border: 1px solid #ddb89c;
  border-left: 5px solid var(--clay);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.disclosure h2 {
  margin: 0 0 var(--sp-2);
  font-size: 1.05rem;
  font-family: var(--sans);
  color: var(--clay);
}
.disclosure p { margin-bottom: 0; font-size: 1rem; color: #3a2a20; max-width: 74ch; }
.disclosure p + p { margin-top: var(--sp-3); }

.ad-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: var(--sp-2) 0 0;
  max-width: 62ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--teal-deep);
}
.btn:hover { background: var(--teal); color: #fff; }

.btn-plain {
  display: inline-block;
  background: none;
  border: 2px solid var(--teal-deep);
  color: var(--teal-deep);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
}
.btn-plain:hover { background: var(--tint); color: var(--teal-deep); }

/* ---------- content blocks ---------- */

.callout {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.callout h3 { margin-top: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.watch {
  background: #fdf6ec;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.watch h3 { margin-top: 0; color: var(--clay); }
.watch ul:last-child, .watch p:last-child { margin-bottom: 0; }

.method {
  background: var(--tint);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.method h3 { margin-top: 0; }
.method p:last-child { margin-bottom: 0; }

.quick {
  border-top: 3px solid var(--clay);
  background: var(--surface);
  padding: var(--sp-4);
  border-radius: var(--radius);
  margin: 0 0 var(--sp-5);
}
.quick h2, .quick h3 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}
.quick p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding-left: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--sp-3);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--teal);
  border-radius: 2px;
}

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: var(--sp-4);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--teal-deep);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
}

dl.defs { margin: 0 0 var(--sp-5); }
dl.defs dt {
  font-weight: 700;
  color: var(--teal-deep);
  margin-top: var(--sp-4);
  font-size: 1.02rem;
}
dl.defs dd {
  margin: var(--sp-2) 0 0;
  max-width: var(--measure);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 var(--sp-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 540px;
  background: var(--surface);
  font-size: 0.96rem;
}
caption {
  caption-side: top;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--tint);
}
th, td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th { background: var(--tint); color: var(--teal-deep); font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }
td p, th p { max-width: none; }

/* ---------- accordion ---------- */

.acc { border-top: 1px solid var(--rule); margin: 0 0 var(--sp-5); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--teal-deep);
  padding: var(--sp-3) 36px var(--sp-3) 0;
  cursor: pointer;
  position: relative;
}
.acc-btn::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--clay);
}
.acc-btn[aria-expanded="true"]::after { content: "\2212"; }
.acc-panel { padding: 0 0 var(--sp-3); }
.acc-panel[hidden] { display: none; }
.acc-panel p:last-child { margin-bottom: 0; }

/* ---------- home sections ---------- */

.band { padding: var(--sp-6) 0; border-bottom: 1px solid var(--rule); }
.band-tint { background: var(--surface); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: var(--sp-4);
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.band-tint .card { background: var(--paper); }
.card h3 { margin-top: 0; }
.card p { font-size: 0.97rem; margin-bottom: var(--sp-3); }
.card p:last-child { margin-bottom: 0; }

.linklist { list-style: none; padding-left: 0; }
.linklist li {
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-3) 0;
  max-width: var(--measure);
}
.linklist li:last-child { border-bottom: none; }
.linklist a { font-weight: 600; }
.linklist span { display: block; color: var(--ink-soft); font-size: 0.95rem; }

.related {
  background: var(--tint);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: var(--sp-6) 0 0;
}
.related h2 { margin-top: 0; font-size: 1.1rem; font-family: var(--sans); }
.related ul { margin-bottom: 0; }

/* ---------- decorative svg ---------- */

.figure {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: var(--sp-3);
}

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

.site-foot {
  background: var(--teal-deep);
  color: #e7e3d8;
  padding: var(--sp-6) 0;
  font-size: 0.95rem;
}
.site-foot p { max-width: 82ch; margin: 0 0 var(--sp-2); }
.site-foot a { color: #ffd9c2; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.foot-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.foot-links { margin-bottom: var(--sp-4); }
.foot-links a { margin-right: var(--sp-2); }
.foot-tm, .foot-rev {
  font-size: 0.88rem;
  color: #c9c4b6;
  border-top: 1px solid #1d5057;
  padding-top: var(--sp-3);
}
.foot-rev { border-top: none; padding-top: 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 1.95rem; max-width: none; }
  h2 { font-size: 1.36rem; }
  .nav-toggle { display: inline-block; }
  .head-row { flex-wrap: wrap; padding: var(--sp-3) 0; }
  .nav { display: none; width: 100%; padding-bottom: var(--sp-3); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-top: 1px solid var(--rule); }
  .nav a, .nav .drop-btn { padding: var(--sp-3) 0; width: 100%; text-align: left; }
  .drop-panel {
    position: static;
    border: none;
    border-left: 3px solid var(--rule-strong);
    border-radius: 0;
    padding: 0 0 var(--sp-2) var(--sp-3);
    min-width: 0;
  }
}

@media print {
  .site-head, .side, .nav-toggle { display: none; }
  body { background: #fff; }
}
