:root {
  --ink: #102625;
  --body: #294641;
  --muted: #50645e;
  --line: #d2dbd4;
  --paper: #f6f7f1;
  --white: #fff;
  --lime: #c6f17c;
  --green: #22554a;
  --tint: #e7f0e7;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  font: 100%/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #347365; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible, .cta-panel :focus-visible { outline-color: var(--lime); }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.34rem; }
p { color: var(--body); }
p + p { margin-top: .8rem; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; transform: translateY(-200%); z-index: 1; padding: .55rem 1rem; background: var(--white); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: .95rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-weight: 770; line-height: 1.25; }
.brand img { flex: 0 0 36px; }
.brand span { overflow-wrap: anywhere; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.35rem; }
nav a, .text-button { font-weight: 650; color: inherit; text-decoration: none; }
nav a:hover:not(.button), nav a[aria-current], .text-button:hover { text-decoration: underline; }
.button, .text-button { font: inherit; cursor: pointer; }
.text-button { border: 0; padding: .25rem 0; background: transparent; font-weight: 650; }
.button { display: inline-flex; min-height: 3.1rem; padding: .65rem 1.1rem; align-items: center; justify-content: center; gap: .6rem; border: 1px solid var(--ink); border-radius: .45rem; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; line-height: 1.25; text-align: center; }
.button:hover { background: var(--green); border-color: var(--green); }
.button.small { min-height: 2.65rem; padding: .55rem .85rem; font-size: .9rem; }
.button.accent { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button.accent:hover { background: #e1f9b2; }
.button.outline { background: transparent; border-color: #89a79a; color: var(--white); }
.button.outline:hover { background: #25443d; }
.button.secondary { background: var(--white); border-color: #a7b8ac; color: var(--ink); }
.button.secondary:hover { background: var(--tint); }
.button:disabled { opacity: .58; cursor: default; }
.hero { background: var(--ink); color: var(--white); padding-block: clamp(3.2rem, 6vw, 5.7rem); }
.hero-grid { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(2.65rem, 5.8vw, 5.25rem); line-height: .99; margin: 1.1rem 0 1.4rem; letter-spacing: -.072em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero p, .cta-panel p { color: #cbded4; }
.hero .kicker, .cta-panel .kicker { color: var(--lime); }
.kicker { font: 700 .75rem/1.4 var(--mono); letter-spacing: .11em; color: var(--green); text-transform: uppercase; }
.signal { display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .2rem #c6f17c2c; }
.intro { max-width: 40ch; font-size: clamp(1rem, 2vw, 1.18rem); }
.area-label { font-size: .9rem; }
.hero .actions { margin-top: 1.8rem; }
.hero-figure img { width: 100%; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .6rem; font: .69rem/1.4 var(--mono); letter-spacing: .09em; color: #b5ccbf; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.section-heading h2, .cta-panel h2 { margin: .35rem 0 0; }
.section-heading + .card-grid, h2 + .card-grid { margin-top: 1.4rem; }
.service-section, .process-section, .cta-section { padding-block: clamp(2.5rem, 5.5vw, 4.9rem); }
.arrow-link { font-weight: 720; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { display: block; padding: clamp(1.15rem, 2vw, 1.65rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--white); color: var(--ink); text-decoration: none; }
.service-card:hover { border-color: var(--green); box-shadow: 0 .35rem 1rem #1026250b; }
.card-top { display: flex; justify-content: space-between; align-items: start; color: var(--green); font-size: 1.25rem; }
.service-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: .6rem; background: var(--tint); color: var(--green); }
.service-card .kicker { margin-top: 1.35rem; }
.service-card h3 { margin: .4rem 0 .65rem; }
.process-section { background: var(--tint); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.steps li { border-top: 1px solid #96b1a3; padding-top: 1rem; }
.steps span { color: var(--green); font: 700 .8rem var(--mono); }
.steps h3 { margin: .5rem 0; }
.cta-panel { background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.4rem, 4vw, 3.25rem); border-radius: .9rem; }
.cta-panel p:last-child { margin-top: .65rem; }
.site-footer { background: #102625; color: #e0ede3; }
.site-footer p { color: #cbded4; margin-top: .5rem; font-size: .9rem; }
.footer-row { padding-block: 1.6rem; }
.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4.3rem); }
.page-hero h1 { margin: .5rem 0 .55rem; }
.page-hero p:not(.kicker) { max-width: 58ch; font-size: 1.06rem; }
.staff-hero { padding-block: clamp(1.5rem, 4vw, 3rem); }
.staff-hero h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.content-section { padding-block: clamp(1.6rem, 4vw, 3.7rem); }
.two-column, .form-layout { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.form-layout { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1rem, 2.5vw, 1.8rem); min-width: 0; overflow-wrap: anywhere; }
.panel.tinted { background: var(--tint); }
.panel > h2 { font-size: 1.5rem; }
.panel:not(.stack) > :is(p, h2, ul, .actions, .button) + :is(p, h2, ul, .actions, .button) { margin-top: .7rem; }
.panel > .service-icon { margin-bottom: .8rem; }
.narrow { max-width: 36rem; margin-inline: auto; }
.narrow h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .7rem; }
.spaced { margin-top: 1.4rem; }
.back { display: inline-block; margin-bottom: .9rem; font-weight: 650; }
.check-list { padding-inline-start: 1.25rem; }
.check-list li { margin-block: .45rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin: 1.25rem 0 .5rem; }
.prose h2:first-child { margin-top: 0; }
.stack { display: grid; gap: 1rem; align-content: start; }
.stack > p + p { margin-top: 0; }
fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
legend { font-size: 1.16rem; font-weight: 750; padding: 0; margin-bottom: .65rem; }
fieldset > :is(label, button) { margin-top: .85rem; }
label { display: grid; gap: .25rem; font-size: .92rem; font-weight: 650; color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #a3b4aa; border-radius: .35rem; font: 1rem/1.35 var(--sans); padding: .61rem .65rem; color: var(--ink); background: var(--white); }
input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--green); }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .5rem; }
.notice { padding: .72rem .85rem; border: 1px solid #94b59e; border-radius: .4rem; background: var(--tint); color: var(--ink); }
.notice.error { background: #fff0e9; border-color: #c88067; color: #763624; }
.alerts { padding-block: .8rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.metric { border: 1px solid var(--line); border-radius: .6rem; background: var(--white); padding: .75rem 1rem; display: grid; color: var(--ink); text-decoration: none; }
.metric:hover { border-color: var(--green); }
.metric span { font-size: .88rem; font-weight: 700; }
.metric strong { font-size: 1.8rem; line-height: 1.2; }
.filters { display: flex; align-items: end; gap: .65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters label:first-child { flex: 1 1 16rem; }
.filters a { align-self: center; }
.filters button { min-height: 2.68rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .66rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--tint); font-size: .8rem; }
td { font-size: .91rem; }
td a { font-weight: 750; }
td small, .record-list small { display: block; color: var(--muted); }
.empty { padding: 1.1rem; background: var(--paper); border-radius: .4rem; }
.badge { display: inline-block; white-space: nowrap; background: #eef2eb; border-radius: 2rem; padding: .2rem .55rem; font-size: .78rem; font-weight: 750; }
.badge.new, .badge.issued, .badge.scheduled { background: #e1ecfa; color: #274977; }
.badge.paid, .badge.accepted, .badge.completed { background: #dff2dc; color: #22482a; }
.badge.in-progress { background: #fcf0c7; color: #6c5018; }
.badge.void, .badge.declined, .badge.cancelled { background: #f7e3df; color: #78392d; }
.muted { color: var(--muted); }
.preserve { white-space: pre-wrap; }
.record-list { list-style: none; margin: 0; padding: 0; }
.record-list li { padding: .6rem 0; border-top: 1px solid var(--line); }
.line-editor { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .55fr) minmax(0, .8fr) auto; gap: .65rem; align-items: end; }
.document-toolbar { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.document-toolbar .back { margin-bottom: 0; }
.billing h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.billing h2 { font-size: 1.13rem; margin-bottom: .3rem; }
.billing-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.totals { margin: 1rem 0 1rem auto; display: grid; grid-template-columns: 1fr auto; width: min(100%, 24rem); }
.totals :is(dt, dd) { padding: .45rem; margin: 0; }
.totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.total { border-top: 1px solid var(--line); font-weight: 760; }
@media (max-width: 56rem) {
  .hero-grid { gap: 2rem; }
  .desktop { display: none; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-row, .footer-row { align-items: start; flex-direction: column; }
  nav, .actions { gap: .55rem .9rem; }
  .hero-grid, .card-grid, .steps, .two-column { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 30rem; }
  .hero h1 { max-width: 13ch; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-parties { grid-template-columns: minmax(0, 1fr); }
  .line-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
  .line-editor > label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 29rem) {
  .fields { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  :root, body { background: #fff; color: #111; font-size: 10pt; display: block; }
  .site-header, .site-footer, .skip, .alerts, .document-toolbar { display: none; }
  .wrap { width: 100%; }
  .content-section, .billing { padding: 0; border: 0; }
  .billing-parties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .table-wrap { overflow: visible; }
  tr, .billing-parties, .totals { break-inside: avoid; }
}
