/* developers.trashures.app: colours and text font of get.trashures.app (public/styles.css), light only like the
   reference, Figtree everywhere: a technical page, no display serif. */
@font-face { font-family: "Figtree"; src: url("assets/fonts/Figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/Figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/Figtree-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: only light;
  --bg: #F4EFE6;
  --surface: #EBE3D5;
  --panel: #FFFDF8;
  --line: #E6DDCD;
  --text: #1F1A13;
  --muted: #6B5D49;
  --primary: #3F5A2A;
  --primary-deep: #2C4220;
  --on-primary: #FBF8F1;
  --code-bg: #26211B;
  --code-text: #F3EDE2;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: .875rem;
  --max: 56rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-deep); }
code { font-family: var(--mono); font-size: .9em; background: var(--surface); border-radius: .35rem; padding: .08em .35em; }
pre { background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); padding: 1rem 1.25rem; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; font-size: .875rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: .5rem 1rem; border-radius: var(--radius); z-index: 10; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 1.1rem var(--pad); }
.bar__brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.bar__brand img { display: block; }
.bar__tag { font: 600 .8rem/1 var(--mono); color: var(--on-primary); background: var(--primary); border-radius: .4rem; padding: .3rem .45rem; }
.bar__nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.bar__nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.bar__nav a:hover { color: var(--primary); }

main { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.hero { padding: clamp(2rem, 7vw, 4.5rem) 0 2.5rem; }
.eyebrow { font: 600 .85rem/1 var(--mono); color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 40rem; margin: 0 0 1.75rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none;
  border: 2px solid var(--primary); border-radius: 999px; padding: .7rem 1.25rem; }
.btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--on-primary); }
.btn--ghost { background: transparent; color: var(--primary); }
.btn--ghost:hover { background: var(--surface); color: var(--primary-deep); }
.note { color: var(--muted); font-size: .95rem; }

.section { padding: 2.25rem 0; border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 3.75rem; position: relative; }
.steps > li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.2rem; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.steps p { margin: 0 0 .6rem; }
.steps p:last-child { margin-bottom: 0; }
.callout { margin-top: 1.25rem; background: var(--surface); border-radius: var(--radius); padding: 1.25rem; }
.callout p { margin: 0; }

.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--muted); font-size: .85rem; }
td a { text-decoration: none; }
.m { display: inline-block; min-width: 3.2rem; text-align: center; font: 600 .75rem/1 var(--mono); color: #fff; border-radius: .3rem; padding: .3rem .4rem; }
.m--get { background: #2F6B2F; }
.m--post { background: #2457A0; }

.prose { max-width: 42rem; padding: clamp(2rem, 6vw, 3.5rem) 0; }
.prose p { margin: 0 0 1rem; }

.foot { display: flex; align-items: center; gap: .75rem 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem;
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 2rem auto 0; padding: 1.5rem var(--pad) 2.5rem; border-top: 1px solid var(--line); }
.foot__links { display: flex; gap: 1rem; flex-wrap: wrap; margin-left: auto; }
.foot__links a { color: var(--muted); }

@media (max-width: 40rem) {
  .foot__links { margin-left: 0; }
  .steps > li { padding-left: 1.25rem; padding-top: 3.25rem; }
}
