@font-face {
  font-family: Inter;
  src: url(/assets/inter.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0e1b4d;
  --orange: #f1945b;
  --ink: #18213b;
  --muted: #526079;
  --line: #d8dfea;
  --paper: #f5f6f9;
  --white: #fff;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--navy);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #bd580b;
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.3rem, 4.7vw, 4.6rem);
  max-width: 900px;
  margin-bottom: 26px;
  font-weight: 760;
}
h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 22px;
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
p {
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}
.caption,
small {
  font-size: 0.84rem;
  color: var(--muted);
}
small {
  display: block;
  margin-top: 5px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 10;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.preview-bar {
  padding: 8px 24px;
  background: var(--navy);
  color: white;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.preview-bar span {
  font-weight: 750;
  color: var(--orange);
  margin-right: 10px;
}
.site-header {
  padding: 22px 4.5%;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  min-width: 142px;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.15;
}
.brand strong {
  font-size: 2rem;
  letter-spacing: -0.06em;
}
.brand span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  gap: 25px;
  align-items: center;
  flex: 1;
}
.site-header nav a,
.account-nav a {
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 650;
}
.site-header nav a:hover,
.account-nav a:hover {
  text-decoration: underline;
}
.account-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.account-nav .button {
  padding: 5px 9px;
  font-size: 0.75rem;
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
.public {
  max-width: 1440px;
  margin: auto;
}
.hero {
  padding: 78px 6%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}
.lede {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 650px;
}
.supporting {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 23px 0 0;
}
.actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 28px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  min-height: 46px;
}
.primary {
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #25356a;
}
.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--navy);
}
.secondary:hover {
  background: var(--paper);
}
.light {
  background: var(--orange);
  color: var(--navy);
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.hero-sheet {
  padding: 34px 36px;
  background: var(--navy);
  color: white;
  border-top: 7px solid var(--orange);
}
.hero-sheet h2,
.hero-sheet a {
  color: white;
}
.hero-sheet .caption {
  color: #c4cce1;
}
.sheet-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid #45527a;
  padding-bottom: 24px;
}
.journey {
  padding-left: 24px;
  margin: 25px 0 32px;
}
.journey li {
  padding-left: 13px;
  margin: 20px 0;
}
.journey strong,
.journey span {
  display: block;
}
.journey span {
  font-size: 0.9rem;
  color: #d5dcec;
}
.journey li::marker {
  color: var(--orange);
}
.service-list {
  padding-left: 20px;
}
.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid #45527a;
}
.intro-strip {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 25px 6%;
  gap: 45px;
  border-block: 1px solid var(--line);
}
.intro-strip p {
  margin: 0;
  font-size: 0.92rem;
}
.intro-strip strong {
  display: block;
}
.section {
  padding: 65px 6%;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.fact-list p {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.fact-list strong,
.fact-list span {
  display: block;
}
.fact-list span {
  color: var(--muted);
}
.navy-section {
  background: var(--navy);
  color: white;
}
.navy-section h2 {
  color: white;
}
.navy-section p {
  max-width: 650px;
}
.narrow {
  max-width: 810px;
  margin-inline: auto;
}
.section.narrow {
  padding: 65px 32px;
}
.measure {
  max-width: 750px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 45px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.site-footer p {
  font-size: 0.86rem;
}
.brand.small {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.05em;
  margin-bottom: 15px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.fields {
  display: grid;
  gap: 16px;
}
.two {
  grid-template-columns: 1fr 1fr;
}
label {
  display: block;
  font-weight: 650;
  font-size: 0.89rem;
  margin-bottom: 18px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  min-height: 46px;
  border: 1px solid #8995ab;
  border-radius: 3px;
  background: white;
  color: var(--ink);
  font-weight: 400;
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0;
  accent-color: var(--navy);
}
.check {
  display: flex;
  gap: 12px;
  font-weight: 400;
  align-items: flex-start;
}
fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 24px 0 5px;
  margin: 25px 0 15px;
}
legend {
  font-size: 1.15rem;
  font-weight: 700;
  color: #000;
  padding: 0 12px 0 0;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice,
.flash {
  padding: 18px 22px;
  border: 1px solid #e3c4aa;
  background: #fff5ed;
  margin: 22px 0;
  font-size: 0.94rem;
}
.notice.error {
  border-color: #a12626;
  background: #fff1f0;
  color: #852020;
}
.flash {
  max-width: 1200px;
  margin: 20px auto;
}
.error-text {
  color: #a12626;
}
.submit-status {
  display: inline-block;
  margin: 0 14px;
  font-size: 0.86rem;
}
.calculator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 35px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 35px;
}
.calculator-results {
  background: white;
  padding: 30px;
  align-self: stretch;
}
.result-large {
  padding-top: 22px;
  border-top: 2px solid var(--navy);
  display: flex;
  flex-direction: column;
}
.result-large strong {
  font-size: 3rem;
  color: var(--navy);
  letter-spacing: -0.05em;
}
.result-large span {
  font-weight: 650;
}
.compact {
  padding: 40px 0;
}
.process {
  padding-left: 30px;
}
.process li {
  padding: 10px 0 30px 14px;
}
.process li::marker {
  font-size: 1.6rem;
  font-weight: bold;
  color: #a8460b;
}
.process h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.help-links {
  display: grid;
  gap: 0;
  margin-bottom: 35px;
}
.help-links a {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}
.prose-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
details {
  border-block-end: 1px solid var(--line);
  margin: 8px 0;
}
summary {
  padding: 18px 12px 18px 0;
  cursor: pointer;
  font-weight: 650;
  color: #000;
  line-height: 1.5;
}
summary:hover {
  background: var(--paper);
}
.details-body {
  padding: 10px 8px 26px;
}
.details-body form + form {
  margin-top: 25px;
}
.workspace {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 35px;
}
.workspace h1 {
  font-size: 2.5rem;
  max-width: 850px;
  margin: 10px 0 15px;
}
.workspace h2 {
  font-size: 1.7rem;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}
.page-title p {
  color: var(--muted);
}
.page-title .button {
  flex-shrink: 0;
  margin-top: 10px;
}
.next-step {
  font-size: 0.9rem;
  border: 1px solid var(--line);
  padding: 16px;
  min-width: 200px;
  max-width: 280px;
}
.next-step strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  margin: 25px 0;
}
.metrics > div {
  padding: 20px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border-right: 0;
}
.metrics dt {
  font-size: 0.81rem;
  color: var(--muted);
  font-weight: 600;
}
.metrics dd {
  font-size: 1.65rem;
  font-weight: 730;
  color: var(--navy);
  margin: 5px 0 0;
  letter-spacing: -0.035em;
}
.workspace-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.workspace-section > form {
  max-width: 780px;
}
dl:not(.metrics) > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.88rem;
}
th {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper);
  padding: 13px 16px;
  white-space: nowrap;
}
td {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  min-width: 100px;
}
td.wrap {
  min-width: 200px;
  max-width: 380px;
  overflow-wrap: anywhere;
}
.status {
  display: inline-block;
  background: #e9edf5;
  border: 1px solid #cfd7e7;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.5;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: normal;
}
.status-approved,
.status-active,
.status-paid,
.status-settled,
.status-accepted {
  background: #e8f3ea;
  border-color: #b6d8bd;
  color: #205131;
}
.status-disputed,
.status-declined,
.status-held {
  background: #fff0e8;
  border-color: #e5c1a9;
  color: #7e3d18;
}
.empty {
  padding: 25px;
  background: var(--paper);
  margin: 20px 0;
}
.empty h3 {
  margin-bottom: 10px;
}
.empty p {
  margin-bottom: 0;
  color: var(--muted);
}
.section-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  font-size: 0.85rem;
}
.item-record {
  padding: 26px;
  border: 1px solid var(--line);
  margin: 20px 0;
}
.record-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.record-heading h3 {
  margin-bottom: 5px;
}
.item-facts {
  max-width: 800px;
}
.item-record form {
  max-width: 800px;
}
.photos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.photos a {
  max-width: 180px;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}
.photos img {
  width: 180px;
  height: 150px;
  object-fit: contain;
  background: var(--paper);
  display: block;
}
.statement-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 25px 0;
}
.history {
  list-style: none;
  padding: 0;
}
.history li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.history span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.history p {
  margin: 10px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.search-form {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 25px;
}
.search-form .button {
  margin-bottom: 18px;
}
.inline {
  display: inline;
}
.inline .submit-status {
  display: none;
}
code {
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
form .caption {
  margin-top: 15px;
}
@media (max-width: 1050px) {
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-header nav {
    justify-content: flex-end;
  }
  .account-nav {
    width: 100%;
    justify-content: flex-end;
  }
  .hero {
    gap: 35px;
    padding: 55px 5%;
  }
  .hero-sheet {
    padding: 28px;
  }
  .split {
    gap: 35px;
  }
  .metrics dd {
    font-size: 1.4rem;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > p {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 2.55rem;
  }
  .preview-bar {
    font-size: 0.68rem;
    padding: 8px 10px;
  }
  .site-header {
    padding: 20px;
    gap: 20px;
  }
  .site-header nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-header nav a {
    font-size: 0.8rem;
  }
  .account-nav {
    width: auto;
    flex: 1;
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 8px;
  }
  .brand {
    min-width: 100px;
  }
  .brand strong {
    font-size: 1.7rem;
  }
  .account-nav a {
    font-size: 0.76rem;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 24px;
    gap: 28px;
  }
  .hero-sheet {
    padding: 28px;
  }
  .lede {
    font-size: 1.1rem;
  }
  .actions {
    gap: 12px;
  }
  .actions .button {
    width: 100%;
  }
  .intro-strip,
  .split,
  .calculator {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .intro-strip {
    padding: 25px 24px;
  }
  .section,
  .section.narrow {
    padding: 40px 24px;
  }
  .section.compact {
    padding: 35px 0;
  }
  .calculator {
    padding: 20px;
    margin-inline: -8px;
  }
  .calculator-results {
    padding: 22px;
  }
  .two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 35px 24px;
    gap: 20px;
  }
  .site-footer > p {
    grid-column: auto;
  }
  .workspace {
    padding: 30px 20px;
  }
  .workspace h1 {
    font-size: 2rem;
  }
  .page-title {
    display: block;
    margin-bottom: 20px;
  }
  .next-step {
    max-width: none;
    min-width: 0;
    margin-top: 20px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics > div {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics dd {
    font-size: 1.4rem;
  }
  .section-nav {
    gap: 15px;
  }
  .item-record {
    padding: 18px;
  }
  .record-heading {
    flex-direction: column;
    gap: 10px;
  }
  .item-facts > div {
    flex-direction: column;
    gap: 3px !important;
  }
  .item-facts dd {
    text-align: left;
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .workspace-section {
    padding: 30px 0;
  }
  td,
  th {
    padding: 12px;
  }
  .button {
    min-height: 48px;
  }
  .narrow > form .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .preview-bar,
  .section-nav,
  button,
  form,
  .flash {
    display: none !important;
  }
  .workspace {
    padding: 0;
    max-width: none;
  }
  body {
    font-size: 10pt;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    font-size: 9pt;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .metrics {
    break-inside: avoid;
  }
  h1 {
    font-size: 25pt !important;
  }
  .page-title {
    margin: 0;
  }
}

.public p,
.details-body .prose-text {
  max-width: 72ch;
}
h1,
h2 {
  text-wrap: balance;
}
.order-line {
  border-block: 1px solid var(--line);
  padding: 20px 0;
}

@media (max-width: 650px) {
  .site-header nav {
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 8px 20px;
  }
  .site-header nav a {
    padding: 8px 0;
  }
  .account-nav {
    min-width: 100px;
  }
  .metrics dd {
    text-align: left;
  }
}

.calculator-results dd {
  white-space: nowrap;
  flex-shrink: 0;
}
.calculator-results dt {
  min-width: 0;
}
.calculator-results .result-large strong {
  font-size: clamp(1.5rem, 5.8vw, 3rem);
  white-space: nowrap;
}
.calculator-results dl > div {
  gap: 12px;
}
