:root {
  color-scheme: light;
  --ink: #172117;
  --paper: #f3f1e9;
  --acid: #d5ff3f;
  --forest: #24492f;
  --muted: #687267;
  --line: #c9cec3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.brand { color: inherit; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.status { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero { padding: clamp(4rem, 10vw, 8rem) 0 3rem; max-width: 920px; }
.eyebrow, .step { color: var(--forest); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
h1 { font-size: clamp(3.3rem, 9vw, 8.2rem); letter-spacing: -.075em; line-height: .84; margin: 1rem 0 2rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 720px; line-height: 1.5; }
.notice { margin-top: 2rem; padding: 1rem 1.2rem; border-left: .35rem solid var(--forest); background: #e6eadf; }
.workspace { margin: 3rem 0 6rem; padding: clamp(1rem, 4vw, 3rem); border: 1px solid var(--line); background: #faf9f4; box-shadow: 10px 10px 0 var(--forest); }
.section-heading { display: grid; grid-template-columns: 4rem 1fr; align-items: start; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); margin: 0 0 2rem; letter-spacing: -.045em; }
h3 { margin: .2rem 0 .5rem; font-size: 1.3rem; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label, legend { font-weight: 750; }
input[type="url"], select { width: 100%; margin: .55rem 0 1rem; padding: .9rem; border: 1px solid #939b90; background: white; color: var(--ink); font: inherit; }
small { display: block; color: var(--muted); font-weight: 450; line-height: 1.4; margin-top: -.6rem; }
button { margin-top: 1.5rem; border: 0; padding: 1rem 1.4rem; background: var(--ink); color: white; font: inherit; font-weight: 850; cursor: pointer; }
button:hover { background: var(--forest); }
button:disabled { opacity: .55; cursor: wait; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 2rem 0 0; padding: 1.5rem 0 0; }
.checks { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.checks label { padding: .7rem .9rem; border: 1px solid var(--line); background: white; }
.checks.stacked { flex-direction: column; align-items: start; }
.preview { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; align-items: center; min-height: 12rem; margin: 2rem 0; padding: 1.5rem; border: 1px dashed #889286; background: #eef0e9; }
.preview-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--forest); color: var(--acid); font-weight: 900; }
.generated-image { width: 9rem; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--forest); }
.proof-link { color: var(--forest); font-weight: 750; text-underline-offset: .18em; }
.proof-link:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.preview.verified { border-style: solid; background: #e7eddf; }
.preview.error { border-color: #9b302c; background: #f8e8e6; }
.receipt { margin-top: 2rem; padding: clamp(1.2rem, 4vw, 2.5rem); background: var(--ink); color: white; }
.decision { display: inline-block; margin: .5rem 0 2rem; padding: .6rem .9rem; background: var(--acid); color: var(--ink); font-size: clamp(2rem, 5vw, 4rem); font-weight: 950; letter-spacing: -.05em; text-transform: uppercase; }
.receipt .eyebrow { color: var(--acid); }
.receipt li { margin-bottom: .6rem; }
.disclosure { margin-top: 2rem; color: #cbd2c8; font-size: .9rem; }
footer { padding: 2rem clamp(1rem, 5vw, 5rem); background: var(--ink); color: #d9dfd6; font-size: .85rem; line-height: 1.5; }
footer p { max-width: 900px; }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  .status { display: none; }
  .grid.two { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 2.5rem 1fr; }
  .preview { grid-template-columns: 4.5rem 1fr; }
  .generated-image { width: 4.5rem; }
  .workspace { box-shadow: 6px 6px 0 var(--forest); }
}
