:root {
  color-scheme: light;
  --paper: #f2efe4;
  --ink: #141510;
  --muted: #626457;
  --line: #b7b5a7;
  --acid: #b7f200;
  --alert: #f05b3f;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0 23px, rgba(20, 21, 16, .07) 24px, transparent 25px) 0 0 / 48px 48px,
    linear-gradient(rgba(20, 21, 16, .035) 1px, transparent 1px) 0 0 / 100% 6px,
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 9px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--acid) 22px 44px);
  z-index: 4;
}

main {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.service-mark {
  position: fixed;
  top: 48px;
  right: max(24px, calc((100vw - 1120px) / 2));
  width: 116px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--acid);
  font: 800 .72rem/1.12 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  transform: rotate(3deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 9px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: .19em;
  font: 800 .7rem/1 "SFMono-Regular", Consolas, monospace;
}

h1 {
  max-width: 760px;
  margin: 25px 0 25px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(3.25rem, 9vw, 6.9rem);
  font-weight: 500;
  line-height: .83;
  letter-spacing: -.065em;
}

h1 em {
  display: inline-block;
  margin-top: .16em;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: .13em;
  text-underline-offset: -.04em;
  text-decoration-skip-ink: none;
}

.lede {
  max-width: 610px;
  margin: 36px 0 45px auto;
  padding-left: 22px;
  border-left: 8px solid var(--acid);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

section {
  position: relative;
  margin: 24px 0;
  padding: 26px;
  border: 1px solid var(--ink);
  background: rgba(242, 239, 228, .94);
  box-shadow: 7px 7px 0 rgba(20, 21, 16, .16);
}

section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 74px;
  height: 7px;
  background: var(--acid);
  border-right: 1px solid var(--ink);
}

h2 {
  margin: 4px 0 10px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
}

button {
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 17px;
  background: var(--acid);
  color: var(--ink);
  font: 800 .78rem/1.15 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

button:hover { background: #cbff2c; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
button:active { transform: translate(4px, 4px); box-shadow: none; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--alert); outline-offset: 3px; }
button:disabled { opacity: .5; cursor: wait; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
label { display: block; margin: 15px 0; color: #393b32; line-height: 1.45; }
input[type="checkbox"] { width: 18px; height: 18px; margin-right: 7px; accent-color: var(--ink); vertical-align: -3px; }
input[type="email"], input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px;
  background: #fffdf3;
  color: inherit;
  font: 1rem/1.3 "SFMono-Regular", Consolas, monospace;
}

.danger { border: 2px solid var(--alert); box-shadow: 7px 7px 0 var(--alert); }
.danger::before, .danger button { background: var(--alert); }
code { padding: 2px 4px; background: #dedbcf; font-size: .82em; }
footer { margin: 55px 0 0 18%; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.65; }
a { color: var(--ink); text-decoration-color: var(--acid); text-decoration-thickness: 4px; }
.error { color: #9b260f; font-weight: 700; }
.success { color: #385300; font-weight: 700; }

main > * { animation: arrive 420ms both; }
main > :nth-child(2) { animation-delay: 50ms; }
main > :nth-child(3) { animation-delay: 100ms; }
main > :nth-child(4) { animation-delay: 150ms; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) { .service-mark { display: none; } }
@media (max-width: 600px) {
  main { width: min(100% - 24px, 800px); padding-top: 66px; }
  h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  .lede { margin-left: 0; }
  section { padding: 22px 18px; box-shadow: 4px 4px 0 rgba(20, 21, 16, .16); }
  footer { margin-left: 0; }
  .actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
