:root {
  color-scheme: light;
  --ink: #172f29;
  --muted: #49615a;
  --green: #154539;
  --dark: #12352e;
  --mint: #d9efcf;
  --paper: #fff;
  --wash: #f1f6f2;
  --line: #d6e2da;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #60914e; outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 1; padding: .55rem; background: white; }
.skip:focus { top: .5rem; }
.wrap { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { min-height: 88px; }
.brand { display: flex; gap: .65rem; align-items: center; text-decoration: none; font-size: 1.55rem; font-weight: 760; line-height: 1; }
.brand > span > span { display: block; margin-top: .24rem; font-size: .78rem; font-weight: 640; }
.mark { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .72rem; background: var(--green); color: var(--mint); }
nav { display: flex; flex-wrap: wrap; gap: .45rem clamp(.8rem, 2vw, 1.8rem); }
nav a { text-decoration: none; font-weight: 630; font-size: .94rem; }
nav a:hover { text-decoration: underline; }
.button { display: inline-block; padding: .64rem 1rem; border: 1px solid var(--green); border-radius: .5rem; background: var(--green); color: white; font: inherit; font-weight: 690; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #245f4b; }
.button.light { border-color: var(--mint); background: var(--mint); color: var(--dark); }
.button.light:hover { background: #edf8e6; }
.outline { background: transparent; color: var(--green); }
.outline:hover { background: var(--mint); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border-radius: 1.25rem; background: var(--dark); color: white; }
.hero-copy { padding: clamp(2rem, 5.2vw, 4.8rem); }
.hero img { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; }
.eyebrow { margin: 0 0 .7rem; color: #3e6956; font-size: .88rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.hero .eyebrow, .safety .eyebrow { color: var(--mint); }
h1, h2 { margin: 0 0 .85rem; font: 500 clamp(2.25rem, 4.25vw, 3.9rem)/1.045 Georgia, serif; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 5.15vw, 4.65rem); text-wrap: balance; }
h1 em { color: var(--mint); font-weight: inherit; }
h3 { margin: 0 0 .4rem; font-size: 1.13rem; line-height: 1.35; }
p { margin: .55rem 0 1.05rem; }
.hero-copy > p:not(.eyebrow) { max-width: 28rem; color: #e4efe8; font-size: 1.09rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.2rem; margin-top: 1.35rem; }
.hero-link { font-weight: 650; }
.directory { padding-block: clamp(2.4rem, 5vw, 4rem); }
.directory h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.band { background: var(--wash); border-block: 1px solid var(--line); }
.people, .detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.detail { align-items: start; }
.people article + article { border-left: 1px solid var(--line); padding-left: clamp(1.3rem, 4vw, 3.5rem); }
.people p:not(.eyebrow), .detail p:not(.eyebrow), .steps span { color: var(--muted); }
.note { font-size: .94rem; }
.price strong { display: block; font-size: 1.65rem; color: var(--ink); }
.steps { margin: 0; padding-left: 1.45rem; }
.steps li { padding: .6rem 0 .7rem .55rem; border-bottom: 1px solid var(--line); }
.steps li::marker { font-weight: 750; color: var(--green); }
.steps span { display: block; }
.service-list article + article { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.service-list p { margin-bottom: .45rem; }
.service-list a { font-weight: 650; }
.detail.safety { align-items: center; margin-top: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.55rem, 4vw, 3.3rem); border-radius: 1rem; background: var(--dark); color: white; }
.detail.safety p:not(.eyebrow) { color: #e4efe8; }
.safety article { padding: 1.15rem; border: 1px solid #6e9385; border-radius: .75rem; }
.safety article a { color: var(--mint); font-weight: 650; }
form { display: grid; gap: .55rem; background: var(--wash); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }
form p { margin: 0 0 .4rem; }
label { font-weight: 680; }
input, select { width: 100%; min-height: 2.75rem; padding: .45rem .6rem; background: white; color: var(--ink); border: 1px solid #82968a; border-radius: .4rem; font: inherit; }
form .button { justify-self: start; margin-top: .4rem; }
#result { padding: .7rem; background: white; border-radius: .4rem; margin: .2rem 0 0; }
footer { border-top: 1px solid var(--line); padding-block: 1.15rem; }
.footer { flex-wrap: wrap; }
.footer span { color: var(--muted); }
@media (max-width: 960px) {
  .header { flex-wrap: wrap; padding-block: .85rem; }
  nav { order: 3; width: 100%; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .people, .detail { grid-template-columns: 1fr; }
  .hero img { aspect-ratio: 1.7; }
  .people article + article { border-left: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .hero-copy { padding: 1.5rem; }
  h1 { font-size: clamp(2.15rem, 10vw, 2.95rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero {
  grid-template-columns: 1.12fr 1fr;
  background: linear-gradient(145deg, #0d3129, #174f3f);
  box-shadow: 0 18px 50px #12352e1c;
}
.hero img { object-position: 52% center; }
.hero-copy { padding: clamp(1.6rem, 4.2vw, 3.6rem); }
.hero-copy h1 { max-width: 12.2em; }
.hero-copy h1 em { font-style: normal; }
.directory-heading { margin-bottom: 1.2rem; }
.directory-heading p { color: var(--muted); margin-bottom: 0; }
.service-finder {
  display: grid;
  grid-template-columns: minmax(13rem, .85fr) minmax(0, 2fr);
  gap: .6rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: var(--wash);
}
.finder-options { display: grid; gap: .32rem; align-content: start; }
.finder-options button {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 680;
  cursor: pointer;
}
.finder-options button:hover { background: #e3eee4; }
.finder-options button[aria-pressed="true"] { background: var(--green); color: white; }
.finder-panels {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
}
.finder-panels h3 {
  font: 500 clamp(1.65rem, 3vw, 2.6rem)/1.1 Georgia, serif;
  letter-spacing: -.035em;
}
.finder-panels article > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.finder-panels .actions > a:not(.button) { font-weight: 650; }
#pharma { position: relative; }
.section-anchor { position: absolute; inset-block-start: 0; }
.safety details { border-top: 1px solid #6e9385; margin-top: .95rem; padding-top: .8rem; }
.safety summary { cursor: pointer; font-weight: 650; }
.safety details p { margin-bottom: 0; }
@media (max-width: 690px) {
  .hero, .service-finder { grid-template-columns: 1fr; }
  .finder-options { grid-template-columns: 1fr 1fr; }
  .finder-options button { padding: .5rem .6rem; }
}
@media (max-width: 370px) {
  .finder-options { grid-template-columns: 1fr; }
}

.privacy { padding-block: 0 2rem; }
.privacy h2 { font-size: 1.55rem; letter-spacing: -.02em; }
.privacy p { max-width: 70ch; color: var(--muted); }
button:disabled { cursor: wait; opacity: .7; }
.inbox { padding-block: 2rem 3.5rem; }
.inbox h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.inbox-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.inbox-entry h2 { font-size: 1.45rem; letter-spacing: -.02em; }
.entry-date { color: var(--muted); }
.inbox textarea { display: block; width: 100%; margin-top: .25rem; padding: .4rem; font: inherit; border: 1px solid #82968a; border-radius: .4rem; }
@media (max-width: 690px) { .inbox-entry { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }
#profile-form fieldset { display: grid; gap: .5rem; border: 0; min-width: 0; margin: 0; padding: 0; }
#profile-form legend { font-size: 1.2rem; font-weight: 730; padding: 0 0 .65rem; }
#profile-form textarea { width: 100%; border-radius: .4rem; border: 1px solid #82968a; padding: .55rem; font: inherit; }
.check-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: .4rem; }
.check-row input { width: 1.1rem; min-height: 1.1rem; margin: .25rem 0 0; flex: none; accent-color: var(--green); }
.candidate-search { max-width: 42rem; }
.candidate-card { border-top: 1px solid var(--line); padding: 1rem 0; overflow-wrap: anywhere; }
.candidate-card h2 { font-size: 1.6rem; letter-spacing: -.02em; }
.candidate-role { font-weight: 650; }
.candidate-experience { white-space: pre-line; }

/* ---- Mobile, touch and accessible-feedback refinements ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { max-width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; }
.finder-options button { min-height: 2.75rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.actions > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.75rem; }
.safety summary { min-height: 2.75rem; display: flex; align-items: center; }
[id] { scroll-margin-top: 1rem; }
.field { display: grid; gap: .3rem; }
.field-error, .form-error { margin: 0; color: #8a1c1c; font-weight: 650; font-size: .95rem; }
.detail form p.field-error, .detail form p.form-error { color: #8a1c1c; }
.form-error { padding: .7rem; background: #fff; border: 2px solid #8a1c1c; border-radius: .4rem; }
.form-success { border: 2px solid var(--green); font-weight: 650; }
.form-success:focus { outline-offset: 2px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid #8a1c1c; }
select { min-height: 2.75rem; }
input, select, textarea { max-width: 100%; }
.inbox-entry select { min-height: 2.75rem; }
.delivery { margin: .3rem 0 0; font-size: .94rem; color: var(--muted); }
.delivery.attention { color: #8a1c1c; font-weight: 650; }
.delivery + .button { margin-top: .4rem; }
@media (max-width: 960px) {
  nav { gap: 0 clamp(.7rem, 3vw, 1.5rem); }
}
@media (max-width: 690px) {
  .header { min-height: 0; padding-block: .6rem; }
  .brand { font-size: 1.3rem; }
  .mark { width: 2.35rem; height: 2.35rem; }
  .header > .button { padding-inline: .8rem; }
  form { padding: 1rem; }
  form .button { justify-self: stretch; }
  .actions { gap: .4rem 1.2rem; }
  .actions > .button { flex: 1 1 100%; }
  .actions > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .finder-panels { padding: 1rem; }
  .finder-panels h3 { font-size: 1.55rem; }
  .directory h2, .people h2, .detail h2 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .detail.safety { padding: 1.25rem; }
  .footer { gap: .2rem 1.2rem; }
  .candidate-card .button, .inbox-entry .button { width: 100%; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 1.5rem); }
  .brand { font-size: 1.15rem; }
  .header > .button { font-size: .92rem; }
}
.check-row { min-height: 2.75rem; padding-block: .45rem; align-items: center; }
.check-row input { width: 1.35rem; min-height: 1.35rem; margin: 0; }

/* ---- Homepage simplification ---- */
.hero-trust { max-width: 28rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #ffffff2e; color: #cfe0d6; font-size: .94rem; }
.finder-note { max-width: 46rem; margin: 1rem 0 0; color: var(--muted); }
.privacy details { border-top: 1px solid var(--line); padding-top: .4rem; }
.privacy summary { cursor: pointer; display: flex; align-items: center; min-height: 2.75rem; font-weight: 680; }
.privacy details p { margin-top: .2rem; }
.hero-copy > p.hero-trust { font-size: .94rem; color: #cfe0d6; }

.report > p { max-width: 76ch; }
.report-notice { padding: 1rem; background: var(--wash); border: 1px solid var(--line); border-radius: .6rem; }
.report form { background: white; }
.report fieldset { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; margin: 0 0 1rem; }
.report legend { color: var(--green); font-weight: 750; padding-inline: .3rem; }
.report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; }
.report-fields + .report-fields { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.report-wide { grid-column: 1 / -1; }
.report-fields :is(input, select, textarea) { display: block; margin-top: .25rem; }
.report textarea { width: 100%; resize: vertical; padding: .55rem; font: inherit; border: 1px solid #82968a; border-radius: .4rem; }
.report .report-add { margin-top: .8rem; }
@media (max-width: 580px) { .report-fields { grid-template-columns: 1fr; } }
