:root {
  color-scheme: light;
  --ink: #172f32;
  --muted: #617371;
  --green: #245e54;
  --green-dark: #17473f;
  --mint: #e5f0e9;
  --cream: #f7f7ef;
  --paper: #fffefa;
  --line: #dce5dc;
  --gold: #f0cc7a;
  --amber-bg: #fff5db;
  --error: #9a3e33;
  --shadow: 0 16px 45px rgba(29, 59, 50, 0.07);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 300px;
  line-height: 1.55;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green-dark);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #d6933c;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}
.button.secondary,
button.secondary,
a.secondary {
  background: var(--paper);
  border: 1px solid #c9d8cc;
  color: var(--green-dark);
}
.button.secondary:hover,
button.secondary:hover,
a.secondary:hover {
  background: #edf4ed;
  border-color: #a8c3ad;
  color: var(--green-dark);
}
.button:disabled,
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid #d3e3d5;
  border-radius: 999px;
  background: #eff6ed;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #72a87c;
}
.muted,
.help {
  color: var(--muted);
}
.small,
.help {
  font-size: 0.84rem;
}
.section {
  padding-block: 68px;
}
.section-heading {
  max-width: 650px;
}
.eyebrow {
  margin: 0 0 11px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}
h3 {
  font-size: 1.05rem;
}
code {
  color: #285a51;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.79em;
  overflow-wrap: anywhere;
}

.site-header {
  border-bottom: 1px solid #e1e8dc;
  background: rgba(255, 254, 250, 0.92);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: #526560;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--green);
}
.site-nav .nav-link {
  padding: 9px 14px;
  border: 1px solid #cfddd0;
  border-radius: 7px;
  color: var(--green-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0 72px;
  background: #eef3e8;
  border-bottom: 1px solid #e0e9dc;
}
.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -195px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(50, 105, 82, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(50, 105, 82, 0.025),
    0 0 0 110px rgba(50, 105, 82, 0.025);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
}
.hero h1 {
  max-width: 690px;
  margin-bottom: 21px;
}
.hero-copy {
  max-width: 580px;
  margin-bottom: 25px;
  color: #556b63;
  font-size: 1.06rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.text-link {
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-footnote {
  margin: 22px 0 0;
  color: #60766b;
  font-size: 0.79rem;
}
.hero-footnote span + span::before {
  content: "•";
  padding: 0 10px;
  color: #9cb39d;
}
.trail-card {
  padding: 25px;
  border: 1px solid #dae6d8;
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.91);
  box-shadow: 0 18px 50px rgba(42, 78, 57, 0.08);
}
.trail-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8eee6;
}
.trail-card-top strong {
  font-size: 0.9rem;
}
.trail-list {
  padding: 4px 0;
}
.trail-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid #e8eee6;
}
.trail-row:last-child {
  border-bottom: 0;
}
.trail-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: #e8f1e8;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}
.trail-row strong,
.trail-row small {
  display: block;
}
.trail-row strong {
  font-size: 0.85rem;
}
.trail-row small {
  color: var(--muted);
  font-size: 0.75rem;
}
.trail-note {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f6f7ef;
  color: #65776d;
  font-size: 0.75rem;
}

.workspace-section {
  padding: 68px 0 70px;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.workspace-heading h2 {
  margin-bottom: 8px;
}
.workspace-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}
.workspace-card {
  overflow: hidden;
}
.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  padding: 27px 30px 22px;
}
.workspace-top h3 {
  margin: 3px 0 6px;
  font-size: 1.12rem;
}
.workspace-top p {
  margin-bottom: 0;
}
.step-label {
  color: #809188;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 30px 26px;
}
.file-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfe9df;
  border-radius: 10px;
  background: #fafcf7;
}
.file-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}
.file-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 6px;
  background: #e4efe5;
  color: var(--green);
  font-size: 0.7rem;
}
.file-card p {
  min-height: 42px;
  margin: 0 0 12px;
  color: #718179;
  font-size: 0.75rem;
  line-height: 1.45;
}
.file-card input[type="file"] {
  width: 100%;
  max-width: 100%;
  color: #61716a;
  font-size: 0.74rem;
}
.file-card input[type="file"]::file-selector-button {
  margin-right: 9px;
  padding: 8px 10px;
  border: 1px solid #cadbcb;
  border-radius: 6px;
  background: white;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.file-card input[type="file"]::file-selector-button:hover {
  background: #eff6ee;
}
.file-state {
  display: block;
  min-height: 1.2em;
  margin-top: 9px;
  color: #6c7f72;
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}
.schema-details {
  padding: 0 30px 22px;
  color: #5c7166;
  font-size: 0.8rem;
}
.schema-details summary {
  width: fit-content;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.schema-details ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.schema-details li + li {
  margin-top: 5px;
}
.workspace-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 30px;
  border-top: 1px solid #e5ece2;
  background: #f8faf5;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 570px;
  color: #40584f;
  font-size: 0.83rem;
  font-weight: 600;
}
.checkbox-label input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--green);
}
.action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.workspace-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 30px;
  border-top: 1px solid #e7eee4;
  color: #788a7c;
  font-size: 0.73rem;
}
.workspace-foot span::before {
  content: "✓";
  margin-right: 6px;
  color: #659574;
  font-weight: 800;
}
.feedback {
  margin-top: 18px;
}
.notice {
  padding: 16px 18px;
  border: 1px solid #e6d7ad;
  border-radius: 10px;
  background: var(--amber-bg);
  color: #69502c;
  font-size: 0.87rem;
}
.notice p:last-child,
.notice ul:last-child {
  margin-bottom: 0;
}
.notice.error {
  border-color: #efc8c1;
  background: #fff3ef;
  color: #873d35;
}
.notice strong {
  color: inherit;
}
.notice ul {
  padding-left: 20px;
}
.status {
  margin: 0;
  color: #5d7265;
  font-size: 0.82rem;
}

.results {
  margin-top: 46px;
}
.results-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.results-header h2 {
  margin-bottom: 6px;
}
.results-header p:last-child {
  margin-bottom: 0;
}
.results-warning {
  margin-bottom: 18px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.metric span {
  display: block;
  color: #687c70;
  font-size: 0.76rem;
}
.metric strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.result-card {
  overflow: hidden;
  margin-bottom: 16px;
}
.result-card-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 21px 22px;
  border-bottom: 1px solid #e7eee6;
}
.result-card-heading h3 {
  margin: 0 0 5px;
}
.result-card-heading p {
  margin-bottom: 0;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.79rem;
}
th {
  padding: 12px 18px;
  background: #f8faf5;
  color: #718278;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
td {
  padding: 13px 18px;
  border-top: 1px solid #edf1eb;
  vertical-align: top;
}
td:first-child {
  font-weight: 700;
}
td small {
  display: block;
  color: var(--muted);
}
.match-label {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  background: #eaf3e8;
  color: #3f6c4b;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}
.match-label.ambiguous,
.match-label.unmatched,
.match-label.issue {
  background: #fff2dc;
  color: #8b632d;
}
.issue-list {
  margin: 0;
  padding: 16px 22px 16px 41px;
  color: #576c60;
  font-size: 0.84rem;
}
.issue-list li + li {
  margin-top: 8px;
}
.empty-state {
  padding: 26px 20px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}
.downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.downloads .button {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.78rem;
}

.service-callout {
  padding: 0 0 75px;
}
.service-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 31px 35px;
  background: #e9f0e5;
  border: 1px solid #dae6d7;
  border-radius: 14px;
}
.service-panel h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}
.service-panel p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: #5b7064;
  font-size: 0.87rem;
}
.site-footer {
  padding: 25px 0;
  border-top: 1px solid #e1e8dc;
  background: #fffefa;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7b8b80;
  font-size: 0.76rem;
}
.footer-wrap p {
  margin: 0;
}
.field {
  display: grid;
  gap: 7px;
}
.field label,
.field-label {
  color: #344f46;
  font-size: 0.83rem;
  font-weight: 700;
}
.field input:not([type="checkbox"]):not([type="file"]),
.field select,
.field textarea,
input.text-input,
textarea.text-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cad8cc;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 800px) {
  .hero {
    padding: 55px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .trail-card {
    max-width: 580px;
  }
  .file-grid {
    grid-template-columns: 1fr;
  }
  .file-card p {
    min-height: 0;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-heading {
    align-items: start;
    flex-direction: column;
  }
  .workspace-section {
    padding-top: 50px;
  }
}
@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, 1160px);
  }
  .nav-wrap {
    min-height: 66px;
    gap: 8px;
  }
  .brand {
    font-size: 0.84rem;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .site-nav {
    gap: 10px;
  }
  .site-nav a {
    font-size: 0.75rem;
  }
  .site-nav > a:first-child {
    display: none;
  }
  .site-nav .nav-link {
    padding: 7px 9px;
  }
  .hero {
    padding: 46px 0;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero-copy {
    font-size: 0.96rem;
  }
  .trail-card {
    padding: 20px;
  }
  .workspace-top {
    flex-direction: column;
    padding: 22px 20px;
  }
  .file-grid {
    padding: 0 20px 20px;
  }
  .schema-details {
    padding: 0 20px 20px;
  }
  .workspace-bottom {
    padding: 20px;
  }
  .workspace-foot {
    padding: 14px 20px;
  }
  .workspace-bottom .action-group {
    width: 100%;
  }
  .workspace-bottom .action-group .button:first-child {
    flex: 1;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 1.55rem;
  }
  .service-panel {
    padding: 25px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .downloads {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* The service uses the same components without needing a separate stylesheet. */
body > header.container {
  padding-block: 23px;
}
body > header.container nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body > header.container nav a {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}
body > header.container nav a:first-child {
  font-size: 1rem;
}
body > main.container {
  padding-top: 20px;
  padding-bottom: 70px;
}
body > main.container > .card {
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 44px);
}
body > main.container > .card:first-child {
  background: #eef3e8;
}
body > main.container > .card h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}
body > main.container > .card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
body > main.container > .card p:not(.pill) {
  max-width: 830px;
}
#intake-status {
  padding: 15px 17px;
  border: 1px solid #e4d7b2;
  border-radius: 8px;
  background: var(--amber-bg);
  color: #694f2d;
  font-size: 0.87rem;
}
#intake-form {
  max-width: 720px;
}
#intake-form label {
  color: #344f46;
  font-size: 0.85rem;
  font-weight: 700;
}
#intake-form input:not([type="checkbox"]),
#intake-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #cad8cc;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
#intake-form textarea {
  min-height: 120px;
  resize: vertical;
}
#intake-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0 6px 0 0;
  vertical-align: middle;
  accent-color: var(--green);
}
#intake-form .button {
  margin: 0 6px 8px 0;
}
