/* hero */
.hero { padding-block: clamp(32px, 5vw, 68px) clamp(36px, 5vw, 64px) }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 5vw, 56px); align-items: start }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr } }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--hi) 62%); color: inherit }
.hero .lede { font-size: 1.16rem; color: var(--ink2); max-width: 34em; margin-block: 20px 26px }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.hero-note { font: 400 .82rem/1.5 var(--mono); color: var(--ink2); margin-top: 16px }

/* the annotated statement */
.stmt { background: var(--sheet); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -22px rgba(16, 32, 47, .35);
  padding: 22px clamp(14px, 2.4vw, 28px) 18px; position: relative; font: 400 .86rem/1.45 var(--mono); transform: rotate(-.6deg) }
.stmt header { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 6px; flex-wrap: wrap }
.stmt header b { font: 700 .95rem/1.2 var(--body) }
.stmt header span { color: var(--ink2); font-size: .76rem }
.stmt table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums }
.stmt td { padding: 5px 0; border-bottom: 1px dotted var(--rule); vertical-align: top }
.stmt td:last-child { text-align: right; white-space: nowrap; padding-left: 10px }
.stmt tr.tot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 600; padding-top: 8px }
.stmt tr.flag td:first-child span { background: linear-gradient(transparent 10%, var(--hi) 10%, var(--hi) 90%, transparent 90%) }
.pen { display: block; font: 600 1.18rem/1.1 var(--hand); color: var(--red); margin: 2px 0 4px; transform: rotate(-1deg); transform-origin: left }
.pen::before { content: "\2190  " }
.stmt .stamp { position: absolute; right: 16px; bottom: 54px; border: 2.5px solid var(--red); color: var(--red);
  font: 700 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; transform: rotate(7deg); opacity: .85; background: rgba(255, 255, 255, .7) }
.stmt figcaption { font: 400 .72rem/1.4 var(--body); color: var(--ink2); margin-top: 12px }
@media (max-width: 520px) { .stmt { transform: none; font-size: .76rem } .stmt .stamp { display: none } }

/* the clock, in the hero */
.clockcard { background: var(--green-soft); border: 1px solid var(--rule); border-top: 4px solid var(--green); padding: 20px; margin-top: 28px }
.clockcard h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px }
.clockcard .clock-help { font-size: .88rem; color: var(--ink2); margin-bottom: 14px }
.win { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px }
.win-out { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 12px }
.win-line { font-size: 1.05rem }
.win-days { font: 800 2.4rem/1 var(--display); margin-right: 6px; font-variant-numeric: tabular-nums }
.win-bar { height: 10px; background: var(--sheet); margin-block: 10px; border: 1px solid var(--rule) }
.win-bar i { display: block; height: 100%; background: var(--red) }
.win-date { font-size: .93rem; color: var(--ink2) }

sup a { font: 500 .7em var(--mono); text-decoration: none; color: var(--green) }

/* checks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 48px }
.check { padding: 20px 0 20px 46px; border-top: 1px solid var(--rule); position: relative }
.check::before { content: "\2713"; position: absolute; left: 0; top: 20px; width: 28px; height: 28px; border: 1.5px solid var(--green);
  color: var(--green); display: grid; place-items: center; font: 600 .9rem var(--mono); border-radius: 2px; background: var(--green-soft) }
.check p { color: var(--ink2); font-size: .97rem; margin-top: 4px }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; counter-reset: s }
.step { counter-increment: s }
.step::before { content: "Step " counter(s); font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase }
.step h3 { margin-block: 8px 6px }

/* forms */
label { display: grid; gap: 6px; font: 500 .9rem/1.3 var(--body) }
label small { font: 400 .78rem var(--mono); color: var(--ink2) }
input, select, textarea { font: 500 1.02rem var(--mono); padding: .7em .8em; border: 1.5px solid var(--rule); border-radius: 3px;
  background: var(--sheet); color: var(--ink); width: 100%; min-width: 0; font-family: var(--mono) }
textarea { font-size: .92rem; line-height: 1.5 }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft) }
input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 54, 44, .12) }
.field-error { font: 500 .82rem var(--body); color: var(--red) }

