@font-face {
  font-family: Instrument Sans;
  src: url('/assets/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8f1;
  --white: #fffefa;
  --ink: #182a23;
  --muted: #4f5f54;
  --pine: #163d36;
  --dark: #102c25;
  --soft: #e9ede2;
  --line: #d7dfd2;
  --accent: #dbeaae;
  --focus: #285d49;
  --danger: #912c27;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --shell: min(100% - 96px, 1232px);
  font: 400 16px/1.58 var(--sans);
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: #718777 var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 52vh; }
main:focus { outline: 0; }
::selection { background: var(--accent); color: var(--dark); }
button, input { font: inherit; }
input { caret-color: var(--pine); }
img { max-width: 100%; display: block; }
figure, dl, dd { margin: 0; }
a { color: var(--pine); text-underline-offset: .2em; }
a:hover { color: #38624d; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.06; }
h1, h2 { letter-spacing: -.038em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
h3 { font-size: 1.42rem; letter-spacing: -.022em; }
p { color: var(--muted); max-width: 67ch; }
p + p { margin-top: .9em; }
section[id] { scroll-margin-top: 24px; }
.shell { width: var(--shell); margin-inline: auto; }
.intro { font-size: clamp(1.13rem, 2.3vw, 1.38rem); line-height: 1.5; }
.skip-link { position: absolute; top: 10px; left: 10px; z-index: 1; padding: .6rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; min-height: 77px; align-items: center; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.58rem; letter-spacing: -.04em; white-space: nowrap; text-decoration: none; }
.wordmark img { flex: none; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.6rem); }
.primary-nav a { color: var(--muted); padding-block: .65rem; font-size: .969rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--pine); text-decoration: underline; }
.header-action { justify-self: end; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 49px; padding: .64rem 1.12rem; border: 1px solid transparent; border-radius: 8px; color: var(--white); background: var(--pine); font-weight: 650; line-height: 1.25; text-decoration: none; cursor: pointer; transition: background-color 160ms, color 160ms, border-color 160ms; }
.button:hover { background: #245344; color: var(--white); }
.button:active { background: #0f3228; }
.button-small { min-height: 41px; padding-inline: .9rem; font-size: .92rem; white-space: nowrap; }
.button-light { background: var(--accent); color: var(--dark); }
.button-light:hover, .button-light:active { background: #edf3da; color: var(--dark); }
.button-outline { background: transparent; border-color: #7f9383; color: var(--pine); }
.button-outline:hover { background: var(--soft); border-color: var(--pine); color: var(--pine); }
.arrow { position: relative; display: inline-block; width: 14px; height: 9px; flex: none; background: linear-gradient(currentColor, currentColor) left center / 13px 1.4px no-repeat; }
.arrow::after { content: ''; display: block; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border-right: 1.4px solid; border-top: 1.4px solid; transform: rotate(45deg); }
.text-link { display: inline-flex; align-items: center; gap: .66rem; font-weight: 650; min-height: 38px; }
.email-link { overflow-wrap: anywhere; }

.home-hero { display: grid; grid-template-columns: .98fr 1.02fr; align-items: stretch; gap: clamp(2rem, 4.6vw, 5rem); padding-block: 58px 74px; }
.hero-copy { align-self: center; padding-block: 24px; }
.hero-copy h1 { font-size: clamp(3rem, 5.2vw, 5.125rem); text-wrap: initial; }
.hero-copy p { font-size: 1.23rem; margin: 1.5rem 0 1.8rem; max-width: 38ch; }
.hero-visual { position: relative; background: var(--pine); min-height: 410px; overflow: hidden; border-radius: 14px; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

.section-rule { border-top: 1px solid var(--line); }
.home-workflow { display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(2rem, 7vw, 7rem); padding-block: 60px 78px; }
.section-heading h2 { max-width: 16ch; text-wrap: initial; }
.section-heading p { margin-top: 1.2rem; font-size: 1.12rem; max-width: 42ch; }
.workflow-list { padding: 0; margin: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 2.65rem 1fr; gap: .8rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.workflow-list li:first-child { padding-top: .25rem; }
.workflow-list h3 { margin-bottom: .4rem; }
.step-number { color: var(--pine); font: 500 .89rem/1.7 var(--mono); font-variant-numeric: tabular-nums; }
.dark-band { color: var(--white); background: var(--dark); }
.dark-band :focus-visible { outline-color: var(--accent); }
.band-inner { display: grid; align-items: center; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); padding-block: 65px; }
.band-inner h2 { max-width: 16ch; text-wrap: initial; }
.band-inner p { color: #c2d0c5; margin: 1rem 0 1.7rem; max-width: 43ch; }
.endpoint-board { border: 1px solid #466459; border-radius: 12px; overflow: hidden; }
.endpoint-board > div { display: flex; gap: 1.05rem; padding: .95rem 1.15rem; align-items: baseline; border-bottom: 1px solid #466459; }
.endpoint-board > div:last-child { border-bottom: 0; }
.endpoint-board .board-head { color: #b9c9c0; font-size: .9rem; }
.endpoint-board code { font: .87rem/1.55 var(--mono); overflow-wrap: anywhere; }
.method { color: var(--accent); font: .78rem/1.4 var(--mono); min-width: 2.45rem; }
.home-bottom, .page-end { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 55px 62px; }
.home-bottom h2, .page-end h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); text-wrap: initial; }
.home-bottom p { margin-top: .55rem; }

.interior-header { padding-block: 61px 49px; border-bottom: 1px solid var(--line); }
.interior-header h1 { max-width: 20ch; text-wrap: initial; }
.interior-header p { max-width: 50ch; margin-top: 1.05rem; }
.interior-header .actions { margin-top: 1.55rem; }
.feature-sheet { padding-block: .7rem 0; }
.feature-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5.65rem; padding-block: 36px; border-bottom: 1px solid var(--line); }
.feature-row h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); text-wrap: initial; }
.feature-row p { max-width: 66ch; }
.docs-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.3fr); gap: 2rem clamp(2rem, 6vw, 5.3rem); padding-block: 42px 72px; }
.side-nav { align-self: start; display: flex; flex-direction: column; align-items: start; gap: .6rem; margin-bottom: .25rem; }
.side-nav h2 { font-size: 1rem; margin-bottom: .42rem; text-wrap: initial; }
.side-nav a { font-size: .96rem; }
.reading-column { max-width: 750px; }
.reading-column section + section { margin-top: 2.3rem; }
.reading-column h2, .questions h2, .contact-sheet h2, .form-sheet h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); text-wrap: initial; margin-bottom: .65rem; }
.doc-endpoint { display: flex; align-items: baseline; gap: .8rem; width: fit-content; max-width: 100%; background: var(--soft); color: var(--pine); border-radius: 7px; padding: .68rem .9rem; margin: 0 0 .7rem; font: .87rem/1.4 var(--mono); overflow-wrap: anywhere; }
.doc-endpoint span { font-size: .8rem; font-weight: 650; min-width: 2.5rem; }
.doc-endpoint code { font: inherit; }
.policy-heading .policy-date { font-size: .92rem; }
.support-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: 46px 72px; }
.contact-sheet { border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: clamp(1.35rem, 3.5vw, 2.25rem); }
.contact-sheet .text-link { margin-top: .45rem; }
.contact-details, .program-details { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.2rem; line-height: 1.45; }
.contact-details { margin-top: 1rem; padding-top: 1.05rem; border-top: 1px solid var(--line); }
dt { color: var(--muted); }
dd { font-weight: 550; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; padding-block: .84rem; font-weight: 650; }
.questions details p { margin-bottom: 1rem; }

.form-layout { display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; padding-block: 65px 80px; }
.form-intro h1 { font-size: clamp(2.85rem, 5.5vw, 5rem); text-wrap: initial; }
.form-intro p { margin-top: 1rem; }
.form-intro .intro { max-width: 40ch; }
.program-details { margin-top: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.small-note { font-size: .96rem; }
.form-sheet { padding: clamp(1.35rem, 3.5vw, 2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.form-sheet h2 { margin-bottom: 1.38rem; }
.form-sheet label { display: block; font-weight: 600; }
.form-sheet input[type='tel'] { display: block; margin-top: .35rem; width: 100%; padding: .66rem .81rem; min-height: 47px; border: 1px solid #91a194; border-radius: 7px; background: var(--white); color: var(--ink); }
.form-sheet input[type='tel']::placeholder { color: #65746a; }
.form-sheet input[aria-invalid='true'] { border-color: var(--danger); }
.field-hint { font-size: .91rem; margin-top: .34rem; }
.consent-choice { display: grid; grid-template-columns: 19px 1fr; align-items: start; gap: .72rem; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.consent-choice label { cursor: pointer; font-weight: 550; }
.consent-choice input { cursor: pointer; margin: .24rem 0 0; width: 17px; height: 17px; accent-color: var(--pine); }
.disclosures { font-size: .91rem; margin-top: 1rem; }
.form-button { width: 100%; margin-top: 1.35rem; }
.feedback { padding: .7rem .9rem; margin: 0 0 1.1rem; border-radius: 7px; background: #e7efdf; color: #16432e; font-size: .95rem; }
.feedback-error { background: #faeae4; color: var(--danger); }

.site-footer { border-top: 1px solid var(--line); background: #eef0e7; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr 1fr; gap: 2rem 3rem; padding-block: 38px 34px; }
.footer-brand p { margin-top: .8rem; max-width: 32ch; font-size: .93rem; }
.company-name { display: block; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: .49rem; }
.footer-column h2 { font-size: 1rem; margin-bottom: .36rem; text-wrap: initial; }
.footer-column a { font-size: .94rem; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; }
.footer-end { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; padding-block: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

@media (max-width: 1070px) {
  :root { --shell: min(100% - 64px, 1232px); }
  .home-hero { padding-block: 44px 54px; }
  .hero-visual { min-height: 365px; }
  .desktop-break { display: none; }
}

@media (max-width: 780px) {
  :root { --shell: calc(100% - 36px); }
  .header-inner { gap: 0 .65rem; min-height: 0; padding-top: 13px; grid-template-columns: 1fr auto; }
  .header-inner .wordmark { font-size: 1.42rem; }
  .header-action { grid-column: 2; grid-row: 1; }
  .primary-nav { grid-column: 1 / -1; justify-content: space-between; margin-top: .52rem; gap: .35rem; border-top: 1px solid var(--line); }
  .primary-nav a { font-size: .872rem; padding: .61rem .13rem; }
  .home-hero, .home-workflow, .band-inner, .feature-row, .support-grid, .form-layout { grid-template-columns: 1fr; }
  .home-hero { padding-block: 31px 41px; gap: 1.65rem; }
  .hero-copy { padding-block: .25rem 0; }
  .hero-copy h1 { font-size: clamp(2.85rem, 8.4vw, 4.75rem); max-width: 13.5ch; }
  .hero-copy p { font-size: 1.12rem; margin-block: 1.08rem 1.35rem; }
  .hero-visual { min-height: 0; aspect-ratio: 1.4; }
  .home-workflow { padding-block: 35px 45px; }
  .band-inner { padding-block: 41px; }
  .home-bottom, .page-end { flex-wrap: wrap; padding-block: 38px; }
  .interior-header { padding-block: 40px 31px; }
  .interior-header h1 { font-size: clamp(2.8rem, 8.5vw, 4.25rem); }
  .feature-row { gap: .72rem; padding-block: 25px; }
  .form-layout, .docs-grid, .support-grid { padding-block: 35px 46px; }
  .form-layout { gap: 1.6rem; }
  .docs-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .side-nav { border-bottom: 1px solid var(--line); padding-bottom: 1.13rem; flex-flow: row wrap; gap: .47rem 1rem; }
  .side-nav h2 { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.1rem; padding-block: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 355px) {
  .header-action { padding-inline: .54rem; }
  .primary-nav a { font-size: .8rem; }
  .endpoint-board > div { padding-inline: .65rem; gap: .55rem; }
  .endpoint-board code { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
