:root {
  color-scheme: light;
  --ink: #14110f;
  --ink-soft: #3a332e;
  --muted: #6b6058;
  --brick: #7c2434;
  --brick-dark: #5f1a27;
  --sun: #f7c61a;
  --sun-soft: #fff3c9;
  --cream: #fdf8ef;
  --cream-deep: #ead9bd;
  --white: #fff;
  --danger: #a51d2d;
  --success: #276749;
  --shadow: 5px 5px 0 var(--ink);
  --radius: 1rem;
  font-family: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink-soft);
}

@font-face {
  font-family: "Inter Variable";
  src: url("/assets/inter-latin-wght.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Outfit Variable";
  src: url("/assets/outfit-latin-wght.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
body::before {
  position: fixed; inset: 0; z-index: -1; content: "";
  background-image: radial-gradient(var(--cream-deep) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
}
h1, h2, h3, .wordmark { color: var(--ink); font-family: "Outfit Variable", sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: var(--sun); padding: .75rem; z-index: 5; }
.skip-link:focus { top: 1rem; }
.shell { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 2rem; padding: .75rem 1rem; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--ink); }
.wordmark { font-weight: 850; font-size: 1.35rem; letter-spacing: -.04em; text-decoration: none; }
.wordmark strong { color: var(--brick); }
.wordmark small { color: var(--muted); font-size: .75em; }
.locale-link { font-weight: 750; color: var(--brick); }
main { max-width: 64rem; margin: 0 auto; padding-bottom: 4rem; }
.eyebrow { font-weight: 800; color: var(--brick); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1; margin: .55rem 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
.lead { font-size: 1.15rem; max-width: 48rem; line-height: 1.65; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 4vw, 2rem); margin: 1.5rem 0; }
.grid { display: grid; gap: 1.25rem; }
.grid-sites { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.button, button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: .75rem; padding: .7rem 1.15rem; background: var(--brick); color: var(--white); box-shadow: 3px 3px 0 var(--ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: var(--brick-dark); transform: translate(3px, 3px); box-shadow: none; }
.button.secondary { background: var(--white); color: var(--ink); }
.button.sun { background: var(--sun); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.status { display: inline-flex; align-items: center; gap: .45rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun-soft); padding: .35rem .7rem; font-weight: 750; }
.status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--muted); }
.status.ready::before { background: var(--success); }
.status.problem::before { background: var(--danger); }
.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: .8rem 0 .8rem 2.5rem; border-left: 3px solid var(--cream-deep); margin-left: .8rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: -1.05rem; top: .65rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); font-weight: 800; }
label { display: block; font-weight: 750; margin: .85rem 0 .35rem; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; min-height: 3rem; border: 2px solid var(--ink); border-radius: .65rem; padding: .65rem .75rem; background: var(--white); font: inherit; }
input[type="radio"], input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--brick); vertical-align: middle; }
.hint, .meta { color: var(--muted); font-size: .92rem; }
.alert { border-left: .5rem solid var(--brick); background: var(--sun-soft); padding: 1rem; margin: 1rem 0; }
footer { border-top: 2px solid var(--cream-deep); padding: 1.5rem 0 3rem; display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); }

@media (max-width: 38rem) {
  .shell { width: min(100% - 1rem, 72rem); }
  .topbar { margin-top: .5rem; }
  .card { box-shadow: 3px 3px 0 var(--ink); }
  .actions > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .button:hover, button:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
}
