@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif&display=swap');

:root {
  color-scheme: light;
  --ink: #242b19;
  --muted: #525843;
  --paper: #fbf9f0;
  --line: #d9d8c7;
  --olive: #303c20;
  --leaf: #dbe8a3;
  font: 100%/1.55 "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #746123; outline-offset: 5px; }
.wrapper { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 2.45rem; line-height: 1; font-weight: 700; letter-spacing: -.09em; text-decoration: none; }
.brand span { color: #667529; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
nav a { font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(3rem, 8vw, 7rem); }
h1, h2 { font: 400 clamp(2.6rem, 4vw, 4rem)/1.03 "Instrument Serif", Georgia, serif; margin: 0 0 1rem; }
h1 { font-size: clamp(3.45rem, 7.1vw, 7.1rem); letter-spacing: -.035em; }
h3 { line-height: 1.23; margin: 0 0 .45rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.intro { max-width: 35rem; font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.7rem; }
.button { display: inline-flex; gap: .8rem; background: var(--olive); color: white; padding: .8rem 1.05rem; border-radius: .4rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #44532b; }
.muted { color: var(--muted); }
.receipt-stage { background: var(--leaf); padding: clamp(1rem, 4vw, 3rem); border-radius: .8rem; }
.receipt { background: #fffdf5; padding: clamp(1rem, 2.5vw, 2rem); box-shadow: 0 10px 18px #303c2020; border-radius: .25rem; }
.receipt h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .5rem .3rem; text-align: right; }
th:first-child { text-align: left; }
tbody { border-block: 1px dashed #abac95; }
tfoot { font-weight: 700; }
.receipt-note { background: #e8efca; margin: .65rem 0 0; padding: .5rem; text-align: center; font-size: .9rem; }
.band { background: #eff1e4; }
.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.steps, .guides { display: grid; gap: 1rem; margin: 1.4rem 0 0; }
.steps { grid-template-columns: repeat(3, 1fr); padding-left: 1.35rem; column-gap: 2.5rem; }
.steps li::marker { font-weight: 700; }
.steps p, .guides p, .footer p { color: var(--muted); }
.guides { grid-template-columns: 1fr 1fr; }
.guides a { display: block; background: #fffdf5; border: 1px solid var(--line); padding: 1.25rem; border-radius: .4rem; text-decoration: none; }
.guides a:hover { border-color: var(--olive); }
.guides span { font-weight: 700; text-decoration: underline; }
.footer { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.footer p { margin: 0; }
.article { max-width: 48rem; }
.article h1 { font-size: clamp(3rem, 7vw, 5rem); }
.article h2 { margin-top: 2.3rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.article table { border-block: 1px solid var(--line); margin-bottom: 1rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; background: white; padding: .5rem; z-index: 1; }
@media (max-width: 48rem) {
  .hero, .steps, .guides { grid-template-columns: 1fr; }
  .receipt-stage { max-width: 31rem; }
}
@media (max-width: 28rem) {
  .wrapper { width: calc(100% - 2rem); }
  nav { column-gap: .8rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
