/* Ironwright Labs: quiet, fast, readable. System fonts only; no external requests. */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #22262b;
  --muted: #565c63;
  --border: #ddd8cf;
  --accent: #1d5c63;
  --accent-text: #ffffff;
  --tbd-bg: #fff3cd;
  --tbd-text: #5c4500;
  --b-built: #d7efe2;   --b-built-t: #134a2c;
  --b-work: #e3ecf7;    --b-work-t: #1c3d63;
  --b-planned: #ece8f4; --b-planned-t: #3d2f63;
  --b-soon: #f6ead6;    --b-soon-t: #5a3b07;
  --radius: 10px;
  --measure: 46rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171b21;
    --surface: #1f252d;
    --text: #e8e6e1;
    --muted: #aeb4bb;
    --border: #343c47;
    --accent: #7cc4c4;
    --accent-text: #0f1a1c;
    --tbd-bg: #3b3218;
    --tbd-text: #f3dd9b;
    --b-built: #1f3a2c;   --b-built-t: #bfe8cf;
    --b-work: #1f3047;    --b-work-t: #c6dbf5;
    --b-planned: #2f2945; --b-planned-t: #dcd3f5;
    --b-soon: #43331b;    --b-soon-t: #f3dcb4;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--surface); padding: .5rem .75rem; }
.skip:focus { left: .5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .9rem; padding-bottom: .9rem; }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: .01em; font-size: 1.1rem; }
.wordmark .mark { color: var(--accent); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; }
nav a { color: var(--muted); text-decoration: none; padding: .25rem 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: .35em; }

main { padding-top: 2.25rem; padding-bottom: 3rem; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 .5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: .05em .3em; }
blockquote { margin: 0 0 1rem; padding: .5rem 1rem; border-left: 3px solid var(--border); color: var(--muted); }
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--border); }
.muted { color: var(--muted); }
.tbd { background: var(--tbd-bg); color: var(--tbd-text); border-radius: 4px; padding: 0 .25em; font-size: .95em; }

.tools { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.25rem .5rem; }
.tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .5rem; }
.tool-head h2 { margin: 0; font-size: 1.3rem; }
.summary { font-weight: 500; }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.4; padding: .15rem .6rem; border-radius: 999px; background: var(--b-work); color: var(--b-work-t); }
.badge-built-release-pending { background: var(--b-built); color: var(--b-built-t); }
.badge-in-the-workshop { background: var(--b-work); color: var(--b-work-t); }
.badge-planned { background: var(--b-planned); color: var(--b-planned-t); }
.badge-coming-soon { background: var(--b-soon); color: var(--b-soon-t); }
.tool-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tool-meta li { border: 1px solid var(--border); border-radius: 6px; padding: .1rem .55rem; font-size: .92rem; }
.waitlist-placeholder { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; background: var(--surface); }
.waitlist-title { font-weight: 650; margin-bottom: .25rem; }
.waitlist-placeholder p:last-child { margin-bottom: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; padding: 1.25rem 0 2rem; }
.site-footer p { margin: 0; }

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .header-inner { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
