@font-face {
  font-family: DM Sans;
  src: url(/assets/sans.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url(/assets/serif.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url(/assets/serif-i.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #faf9f3;
  --ink: #172e27;
  --green: #205144;
  --steel: #53635a;
  --line: #d7d9cc;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --accent: #e4ae61;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button,
a,
summary {
  touch-action: manipulation;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
a:hover {
  color: #356c57;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #9b630f;
  outline-offset: 3px;
}
h1,
h2,
h3,
p,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.06;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--green);
}
.wrap {
  width: min(calc(100% - 104px), 1220px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.mast {
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 700 25px/1 var(--sans);
  letter-spacing: -1.65px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.brand-light {
  font-weight: 480;
}
.brand small {
  font-size: 0.59em;
  letter-spacing: -0.04em;
  margin-left: 2px;
}
.mark {
  width: 34px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 8px;
  background: var(--green);
  transform: rotate(-3deg);
}
.mark i {
  display: block;
  width: 5px;
  height: 12px;
  background: #f5dfa6;
  transform: skewY(-24deg);
}
.mark i:nth-child(2) {
  height: 18px;
}
.mark i:nth-child(3) {
  height: 23px;
}
.main-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}
.main-nav a,
.mobile-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 590;
  text-decoration: none;
  padding-block: 14px;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  text-decoration: underline;
}
.tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid #c7cdc1;
  border-radius: 24px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.mobile-nav {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(45px, 7vw, 108px);
  padding-block: clamp(42px, 5.3vw, 78px);
}
.hero-copy {
  padding: 6px 0;
}
.overline {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 680 11px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
}
.hero h1 {
  font-size: clamp(70px, 7.25vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 24px 0;
}
.hero h1 em {
  letter-spacing: -0.047em;
}
.hero-copy > p {
  max-width: 445px;
  font-size: clamp(17px, 1.42vw, 21px);
  line-height: 1.52;
  color: #4d5b54;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  background: var(--green);
  border: 1px solid var(--green);
  color: #fffdf5;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  padding: 13px 18px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: #133c30;
  color: white;
}
.secondary {
  background: transparent;
  color: var(--green);
}
.secondary:hover {
  background: #e5e9dd;
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  font-weight: 650;
  color: var(--green);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.example-table {
  padding: 15px 24px;
  background: #eff1e6;
  border: 1px solid var(--line);
  border-radius: 5px;
  align-self: start;
}
.example-table > div,
.breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.example-table > div:last-child,
.breakdown > div:last-child {
  border: 0;
}
.example-table > div:last-child {
  font-weight: 700;
}
.example-table dd,
.breakdown dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
footer {
  background: #193b31;
  color: #e7ebdd;
}
footer .brand {
  color: #fffef5;
}
footer .mark {
  background: #dae4c5;
}
footer .mark i {
  background: #26503b;
}
.footer-main {
  padding: 45px 0 36px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 32px;
}
.footer-main p {
  color: #c5d4c8;
  font-size: 14px;
  margin: 14px 0;
}
.footer-col h2 {
  font: 650 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e6d5a9;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: #e6ecdf;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
.footer-col a:hover {
  color: white;
  text-decoration: underline;
}
.footer-end {
  border-top: 1px solid #486357;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  color: #c8d4c9;
  font-size: 12px;
}
.article {
  padding-block: 22px 64px;
}
.crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--steel);
  font-size: 13px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.crumb-separator:has(+ [aria-current]) {
  display: none;
}
.crumb a {
  padding: 4px 0;
}
.article-head {
  margin: 45px 0 36px;
  max-width: 860px;
}
.article h1,
.simple h1 {
  font-size: clamp(48px, 6.6vw, 86px);
  letter-spacing: -0.04em;
  margin: 14px 0 16px;
}
.lede,
.simple .lede {
  font-size: clamp(18px, 1.55vw, 22px);
  color: var(--steel);
  max-width: 760px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.88fr);
  gap: clamp(35px, 8vw, 126px);
  align-items: start;
}
.article-body {
  border-top: 1px solid var(--line);
  min-width: 0;
}
.article-block {
  margin-top: 30px;
}
.article-block h2,
.schedule h2,
.aside h2,
.results h2 {
  font-size: clamp(30px, 3vw, 41px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-block p {
  margin-bottom: 12px;
  line-height: 1.75;
}
.article-body > .example-table {
  margin-top: 24px;
}
.facts {
  margin: 16px 0 26px;
}
.facts > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 14px;
}
.facts dt {
  color: var(--steel);
  font-size: 14px;
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.aside {
  padding: 20px 0;
  border-top: 3px solid var(--green);
}
.aside h2 {
  font-size: 30px;
}
.link-list a,
.after-calc .link-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-weight: 580;
  text-decoration: none;
}
.link-list a:hover {
  text-decoration: underline;
}
.aside .link-list a {
  font-size: 14px;
}
.simple {
  padding-block: 70px;
  max-width: 820px;
  min-height: 54vh;
}
.simple p {
  margin-bottom: 16px;
}
.calc-area {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 25px;
  align-items: start;
}
.calc-area form,
.results,
.schedule {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
}
.calc-area form {
  background: #fffef8;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  font-size: 16px;
  font-weight: 480;
  background: white;
  border: 1px solid #9aaa9c;
  border-radius: 4px;
  color: var(--ink);
  height: 45px;
}
.field select {
  padding-right: 24px;
}
.preset {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.small {
  font-size: 13px;
  color: var(--steel);
  margin: 16px 0;
}
.results {
  background: var(--green);
  color: var(--paper);
}
.results .overline {
  color: #f0d19c;
}
.results h2 {
  margin-block: 12px 17px;
}
.totals > div {
  border-top: 1px solid #557665;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
}
.totals span {
  font-size: 14px;
}
.totals strong {
  font-size: clamp(20px, 2.3vw, 34px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.breakdown {
  font-size: 13px;
  color: #d6e2d5;
}
.breakdown > div {
  border-color: #557665;
  padding: 6px 0;
}
.schedule {
  margin-top: 24px;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 18px;
}
.schedule table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 14px;
}
.schedule th,
.schedule td {
  text-align: right;
  border-bottom: 1px solid var(--line);
  padding: 10px 9px;
}
.schedule th:first-child {
  text-align: left;
}
.schedule thead {
  background: #edf1e5;
}
.after-calc {
  margin-top: 24px;
}
#calc-error {
  margin: 14px 0;
  color: #982e1f;
  font-weight: 600;
}
/* The application label travels with its disclosure on narrow screens. */
.application {
  display: flex;
  align-items: center;
  gap: 12px;
}
.application span {
  font-size: 12px;
  color: var(--steel);
}
.application .button {
  white-space: nowrap;
}
.home-ledger {
  margin: 0;
  background: #edf0e6;
}
.home-ledger picture,
.home-ledger img {
  display: block;
  width: 100%;
}
.home-ledger img {
  height: clamp(150px, 15vw, 220px);
  object-fit: cover;
  object-position: center 50%;
}
.home-ledger figcaption {
  padding: 20px clamp(16px, 2.4vw, 34px);
}
.home-ledger h2 {
  font-size: 26px;
  margin-bottom: 13px;
}
.home-ledger dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-ledger dt {
  color: var(--steel);
  font-size: 14px;
}
.home-ledger dd {
  margin: 0;
  font: 500 clamp(29px, 3vw, 46px) / 1.15 var(--sans);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.home-ledger p {
  margin-top: 13px;
  border-top: 1px solid #bcc9b9;
  padding-top: 11px;
  font-size: 14px;
}
.home-ledger strong {
  margin-inline: 3px;
}
.actions {
  gap: 8px;
  color: var(--green);
}
.actions a {
  font-weight: 650;
  text-underline-offset: 4px;
}
.home-tasks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 7vw, 108px);
  border-top: 1px solid var(--line);
  padding-block: 32px 56px;
}
.home-tasks h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 12px;
}
.directory {
  grid-template-columns: minmax(0, 760px);
}
.term-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-variant-numeric: tabular-nums;
}
.term-table caption {
  text-align: left;
  padding-bottom: 12px;
  color: var(--steel);
}
.term-table tr {
  border-bottom: 1px solid var(--line);
}
.term-table th,
.term-table td {
  padding: 10px 5px;
  text-align: right;
}
.term-table th:first-child {
  text-align: left;
}
.article-block ul {
  padding-left: 1.3em;
}
.article-block li {
  margin-block: 8px;
}
.article-block blockquote {
  margin: 12px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--green);
}
.article-block blockquote p {
  margin: 0;
}
@media (min-width: 1101px) {
  .application {
    flex-direction: column-reverse;
    gap: 2px;
    margin-top: 10px;
  }
  .application span {
    line-height: 1.3;
  }
  .header-inner {
    min-height: 88px;
  }
}
@media (max-width: 1100px) {
  .mast:has(.application) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 8px;
    gap: 0 18px;
  }
  .application {
    width: 100%;
    justify-content: end;
    border-top: 1px solid var(--line);
    padding-block: 6px;
    margin-top: 6px;
  }
}
@media (max-width: 750px) {
  .mast:has(.application) .header-inner {
    gap: 0;
  }
  .application {
    justify-content: space-between;
  }
  .home-tasks {
    grid-template-columns: 1fr;
  }
  .term-table {
    font-size: 14px;
  }
}
@media (max-width: 970px) {
  .wrap {
    width: calc(100% - 60px);
  }
  .header-inner {
    gap: 20px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(63px, 8vw, 82px);
  }
  .footer-main {
    gap: 20px;
  }
}
@media (max-width: 750px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 64px;
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .mark {
    width: 29px;
    height: 32px;
  }
  .main-nav {
    display: none;
  }
  .tools {
    margin-left: auto;
    gap: 8px;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    height: 44px;
    width: 40px;
    list-style: none;
    cursor: pointer;
    color: var(--green);
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 5;
    display: grid;
    background: var(--paper);
    padding: 8px 22px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 14px #20372c16;
  }
  .mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(65px, 13.8vw, 91px);
    margin: 13px 0 17px;
  }
  .hero-copy > p {
    font-size: 17px;
    max-width: 540px;
  }
  .actions {
    margin-top: 20px;
    gap: 19px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 28px;
    gap: 24px 18px;
  }
  .footer-end {
    flex-wrap: wrap;
    gap: 5px;
  }
  .article-head {
    margin: 25px 0;
  }
  .article-layout,
  .calc-area {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .article {
    padding-block: 15px 38px;
  }
  .article-block {
    margin-top: 21px;
  }
  .simple {
    padding-block: 40px;
  }
  .article h1 {
    font-size: 52px;
  }
  .fields {
    gap: 12px;
  }
  .aside {
    margin-top: 6px;
  }
  .simple h1 {
    font-size: 52px;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: 61px;
  }
  .lang {
    font-size: 12px;
    min-height: 40px;
    padding: 6px 9px;
  }
  .tools {
    gap: 3px;
  }
  .brand {
    font-size: 21px;
  }
  .hero .button {
    padding-inline: 11px;
    font-size: 13px;
  }
  .actions {
    gap: 13px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .article h1 {
    font-size: 45px;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .mast,
  footer,
  .skip,
  .crumb,
  .aside,
  .actions,
  button,
  .after-calc,
  .mobile-nav,
  .overline .dash {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .article {
    padding: 0;
  }
  .article-head {
    margin: 0 0 10px;
  }
  .article h1 {
    font-size: 32px;
  }
  .calc-area {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .calc-area form,
  .schedule,
  .results {
    color: black;
    background: white;
    padding: 10px;
  }
  .results .overline,
  .breakdown {
    color: black;
  }
  .schedule table {
    font-size: 10px;
  }
  .table-scroll {
    overflow: visible;
  }
  .fields {
    gap: 4px;
  }
  .field {
    font-size: 10px;
  }
  .field input,
  .field select {
    height: 26px;
    font-size: 12px;
  }
  .small {
    font-size: 10px;
  }
  .schedule tr {
    break-inside: avoid;
  }
}
@media (max-width: 360px) {
  .header-inner {
    gap: 5px;
  }
  .header-inner .brand {
    font-size: 19px;
    gap: 6px;
  }
  .lang svg {
    display: none;
  }
  .tools {
    gap: 0;
  }
  .header-inner .mark {
    width: 26px;
    height: 29px;
  }
}
