:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  --ink: #24251e;
  --muted: #56584e;
  --paper: #f7f5ed;
  --line: #cbc9b9;
  --lime: #e1f99a;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .2em; }
button, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #764921; outline-offset: 4px; }
.mast, .layout, footer { width: min(76rem, 100%); margin-inline: auto; padding-inline: clamp(1.15rem, 4.6vw, 4rem); }
.mast { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.mast::after, footer::before { content: ""; position: absolute; inset-inline: clamp(1.15rem, 4.6vw, 4rem); height: 1px; background: var(--line); }
.mast::after { bottom: 0; }
.brand, .home-link { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand { font-size: 1rem; font-weight: 720; letter-spacing: -.04em; }
.mark { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .55rem; background: var(--ink); color: var(--lime); font: 1.8rem Georgia, serif; }
.home-link { font-size: .83rem; font-weight: 650; }
.home-link:hover, .brand:hover { text-decoration: underline; }
.layout { flex: 1; display: grid; align-content: center; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: clamp(2rem, 6vw, 6.5rem); padding-block: clamp(3.4rem, 7.1vw, 6.4rem); }
h1, h2, p, dl, dd { margin: 0; }
.eyebrow, .rates h2, .count, footer, .numbers dt { font-family: "IBM Plex Mono", Consolas, "Courier New", monospace; }
.eyebrow, .rates h2, .numbers dt { font-size: .72rem; font-weight: 650; letter-spacing: .075em; text-transform: uppercase; }
.intro .eyebrow { display: inline-flex; align-items: center; gap: .65rem; }
.intro .eyebrow::before { content: ""; width: 1.4rem; height: .24rem; background: var(--ink); }
h1, .panel-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.059em; }
h1 { margin-block: 1.28rem 1.2rem; max-width: 10ch; font-size: clamp(3.5rem, 6.9vw, 6.2rem); line-height: .96; }
h1 em { font-weight: 400; }
.lede { max-width: 37ch; color: #45483d; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.rates { margin-top: clamp(2rem, 4.4vw, 3.8rem); max-width: 23rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.rates h2 { margin-bottom: .43rem; color: var(--muted); }
.rates dl > div { display: flex; align-items: baseline; gap: .7rem; }
.rates dt { display: flex; flex: 1; align-items: baseline; gap: .65rem; }
.rates dt::after { content: ""; flex: 1; border-bottom: 1px dotted #a8a998; }
.rates dt, .rates dd { font-size: .93rem; }
.rates dd { font-variant-numeric: tabular-nums; font-weight: 700; }
.rates a, .email-note, .text-button { font-size: .82rem; }
.rates a { display: inline-block; margin-top: .55rem; color: var(--muted); }
.sheet { position: relative; background: #fffef9; border: 1px solid #b8b8a7; border-radius: 1rem; padding: clamp(1.4rem, 3.5vw, 3rem); box-shadow: 0 .32rem 0 #e8e7d9; }
.panel-title { display: block; font-size: clamp(2rem, 3.25vw, 3rem); line-height: 1.05; }
.help, .result-description { color: var(--muted); margin-top: .7rem; }
textarea { display: block; width: 100%; min-height: 8rem; resize: vertical; color: var(--ink); border: 1px solid #939681; border-radius: .5rem; padding: .95rem 1rem; background: #fcfbf5; line-height: 1.55; }
#description { margin-top: 1.45rem; min-height: 10rem; }
textarea::placeholder { color: #696b60; }
.count { margin: .36rem .1rem 1.1rem; text-align: right; font-size: .72rem; color: var(--muted); }
.primary, .secondary { border-radius: .45rem; min-height: 3.15rem; font-weight: 650; font-size: .98rem; }
.primary { width: 100%; background: var(--ink); color: #fffef7; border: 1px solid var(--ink); text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .65rem .55rem 1rem; }
.primary:hover { background: #3d4132; }
.primary:disabled { opacity: .72; cursor: progress; }
.arrow { width: 1.95rem; height: 1.95rem; display: grid; place-items: center; border-radius: .24rem; background: var(--lime); color: #25271f; font-size: 1.15rem; }
.privacy, .email-note { margin-top: .88rem; max-width: 52ch; color: var(--muted); line-height: 1.5; }
.privacy { font-size: .8rem; }
#error, #question { margin-top: 1.15rem; padding: .8rem 1rem; background: #f5ead7; border-left: 3px solid #875a29; font-size: .95rem; }
#error a { display: inline-block; margin-top: .25rem; }
#result .eyebrow { color: #4e5c3a; margin-bottom: .75rem; }
.numbers { border-block: 1px solid var(--line); margin-top: 1.1rem; padding-block: .85rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: .9rem; }
.numbers dt { color: var(--muted); font-size: .66rem; }
.numbers dd { font-weight: 650; line-height: 1.3; margin-top: .32rem; }
#qualifier { font-size: .86rem; }
.actions { display: grid; gap: .55rem; margin-top: 1.3rem; }
.secondary { width: 100%; background: transparent; border: 1px solid #929584; padding: .6rem 1rem; color: var(--ink); }
.secondary:hover { background: #f1f1e8; }
.email-secondary { display: flex; justify-content: space-between; align-items: center; text-decoration: none; }
.email-secondary .arrow { background: transparent; }
.text-button { padding: .5rem 0; background: transparent; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
#manual { margin-top: .55rem; }
#manual label { font-size: .85rem; }
#manual textarea { margin-top: .4rem; }
#email-fallback p { margin: 1rem 0; }
footer { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding-block: 1.3rem; color: var(--muted); font-size: .73rem; }
footer::before { top: 0; }
footer span span { padding-inline: .2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .mast { min-height: 4.1rem; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; padding-block: 2rem 2.5rem; }
  .intro { display: contents; }
  .intro .eyebrow { grid-row: 1; }
  h1 { grid-row: 2; margin: -.85rem 0; max-width: 14ch; }
  .lede { grid-row: 3; max-width: 49ch; }
  .sheet { grid-row: 4; }
  .rates { grid-row: 5; max-width: none; margin-top: .4rem; }
}
@media (max-width: 365px) {
  .mast { gap: .45rem; }
  .home-link { font-size: .74rem; gap: .25rem; }
  .brand { gap: .4rem; }
  .sheet { padding: 1.15rem; }
}
