:root {
  --ink: #111310;
  --lime: #d7ff3f;
  --cream: #f4f1e7;
  --paper: #fffdf7;
  --red: #ff5c45;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
.nav, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav { min-height: 82px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.brand { text-decoration: none; font-weight: 950; letter-spacing: -.04em; }
.brand span, .eyebrow, article > span { color: var(--red); }
.hero { padding: 76px 0 60px; }
.eyebrow, .step, article > span, small { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
h1 { max-width: 1000px; margin: 0; font-size: clamp(54px, 8.5vw, 108px); line-height: .91; text-transform: uppercase; letter-spacing: -.065em; }
.hero > p:not(.eyebrow) { max-width: 760px; font-size: 20px; line-height: 1.6; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.trust li { border: 1px solid var(--ink); background: var(--cream); padding: 8px 10px; font-family: ui-monospace, monospace; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.workspace { display: grid; grid-template-columns: .86fr 1.14fr; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); margin-bottom: 90px; }
form, .output { padding: 36px; }
form { background: var(--lime); }
.output { background: var(--cream); border-left: 1px solid var(--ink); }
label { display: grid; gap: 7px; margin-bottom: 18px; font-size: 13px; font-weight: 800; }
small { font-weight: 400; opacity: .65; }
input { width: 100%; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); padding: 13px; font: inherit; }
input:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.restore { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 4px 0; font-weight: 800; cursor: pointer; }
article { position: relative; border-top: 1px solid var(--ink); padding: 24px 128px 24px 0; min-height: 125px; }
article h2 { margin: 10px 0 0; font-size: clamp(25px, 3vw, 39px); line-height: 1.02; letter-spacing: -.04em; }
article p { margin: 11px 0 0; line-height: 1.55; }
article strong { display: inline-block; margin-top: 12px; background: var(--ink); color: var(--lime); padding: 10px 13px; }
article button { position: absolute; top: 23px; right: 0; border: 1px solid var(--ink); background: var(--paper); padding: 8px 10px; font-family: ui-monospace, monospace; font-size: 8px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
article button:hover { background: var(--ink); color: var(--paper); }
#copy-note { min-height: 20px; color: var(--red); font-size: 12px; }
footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--ink); font-size: 13px; }

@media (max-width: 820px) {
  .workspace { grid-template-columns: 1fr; }
  .output { border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 600px) {
  .nav, main, footer { width: min(100% - 24px, 1120px); }
  .hero { padding-top: 55px; }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  .row { grid-template-columns: 1fr; gap: 0; }
  form, .output { padding: 25px 20px; }
  article { padding-right: 0; padding-bottom: 60px; }
  article button { top: auto; right: auto; left: 0; bottom: 18px; }
  footer { padding: 30px 0; flex-direction: column; align-items: flex-start; }
}
