[hidden] { display: none !important; }
/* Layout: a pegboard workshop wall. Section labels are label-maker tape; apps hang on the board as tags. */
:root {
  --bg: #E6EBEF;
  --dot: #C3CCD4;
  --surface: #F8FAFB;
  --fg: #19222A;
  --muted: #55616D;
  --line: #C9D2DA;
  --tape: #D3342C;
  --tape-ink: #FFFFFF;
  --hat: #F2C230;
  --phosphor: #1E9C84;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-label: "Rubik Mono One", "Arial Black", Impact, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151A1F; --dot: #232B33; --surface: #1D242B; --fg: #E5EAEE; --muted: #9AA6B1;
    --line: #2D3740; --tape: #DF453C; --tape-ink: #FFFFFF; --hat: #F2C230; --phosphor: #6FE0C8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151A1F; --dot: #232B33; --surface: #1D242B; --fg: #E5EAEE; --muted: #9AA6B1;
  --line: #2D3740; --tape: #DF453C; --tape-ink: #FFFFFF; --hat: #F2C230; --phosphor: #6FE0C8;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 2.2px, transparent 2.6px);
  background-size: 26px 26px;
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--f-body);
  padding-inline: 16px;
}
.wrap { max-width: 1040px; margin-inline: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; }
.word { font: 800 1.5rem/1 var(--f-display); letter-spacing: -0.02em; }
.word b { color: var(--tape); font-weight: 800; }
.word i { font-style: normal; font-weight: 500; color: var(--muted); margin-inline: 0.06em; }
.cursor { display: inline-block; width: 0.5em; height: 0.16em; background: var(--phosphor); margin-left: 2px; vertical-align: baseline; animation: blink 1.1s steps(1) infinite; }
nav { display: flex; gap: 20px; font: 500 0.875rem var(--f-mono); }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--fg); }

/* label maker tape */
.tape {
  display: inline-block;
  font: 400 0.8rem/1 var(--f-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tape-ink);
  background: var(--tape);
  padding: 0.55em 0.9em 0.5em;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0,0,0,.28), 0 -1px 0 rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 2px 0 rgba(0,0,0,.12);
  transform: rotate(-1.2deg);
}
.tape.yellow { background: var(--hat); color: #2A2105; text-shadow: 0 1px 0 rgba(255,255,255,.35); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; padding-block: 40px 56px; }
.hero h1 { font: 800 clamp(2.25rem, 6vw, 4rem)/1.02 var(--f-display); letter-spacing: -0.035em; margin: 18px 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--tape); }
.hero p { max-width: 34em; color: var(--muted); margin: 0 0 12px; }
.fine { font: 500 0.8125rem var(--f-mono); color: var(--muted); }
.fine::before { content: "// "; color: var(--phosphor); }
.bot { justify-self: center; width: min(100%, 300px); }
.bot svg { width: 100%; height: auto; display: block; }
.bot .mouth { animation: blink 1.1s steps(1) infinite; }
.bot .head { transform-origin: 60px 100px; animation: nod 5s ease-in-out infinite; }

/* apps */
section { padding-block: 32px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h1, .sec-head h2 { font: 800 1.75rem/1.1 var(--f-display); letter-spacing: -0.02em; margin: 0; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; align-items: start; }
.tag {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.tag::before { /* pegboard hook hole */
  content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
}
.tag-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag h3 { font: 800 1.5rem/1.1 var(--f-display); margin: 0; letter-spacing: -0.02em; }
.chip { font: 500 0.75rem var(--f-mono); padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.chip.testing { color: var(--phosphor); }
.chip.idea { color: var(--muted); }
.tag p { margin: 0; color: var(--muted); }
.tag ul { margin: 0; padding-left: 1.1em; color: var(--fg); font-size: 0.95rem; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 0.8rem var(--f-mono); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.btn { align-self: flex-start; font: 700 0.95rem var(--f-body); padding: 10px 16px; border-radius: 8px; border: 2px dashed var(--line); color: var(--muted); background: transparent; cursor: not-allowed; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.about p { margin: 0 0 14px; max-width: 34em; }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; font-family: var(--f-mono); font-size: 0.9rem; line-height: 1.7; min-width: 0; overflow-x: auto; }
.why .k { color: var(--tape); }
.why .s { color: var(--phosphor); }
.why .c { color: var(--muted); }

/* toolhaus page */
.btn.go { cursor: pointer; border: 2px solid var(--tape); background: var(--tape); color: var(--tape-ink); text-decoration: none; }
.btn.go:hover { filter: brightness(1.08); }
.th-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.th-head img { width: 52px; height: 52px; }
.th-head h1, .th-head h2 { font: 800 2rem/1 var(--f-display); letter-spacing: -0.02em; margin: 0; }
.th-head .sub { color: var(--muted); font: 500 0.85rem var(--f-mono); }
.th-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.shot { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 10px 30px rgba(10,20,30,.18); }
.shot img { display: block; width: 100%; height: auto; }
.th-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.th-info p { margin: 0; color: var(--muted); }
.dl { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.dl .btn.go { align-self: stretch; text-align: center; font-size: 1.05rem; padding: 14px 16px; }
.btn.alt { cursor: pointer; border: 2px solid var(--tape); background: transparent; color: var(--fg); text-decoration: none; }
.btn.alt:hover { background: var(--surface); filter: brightness(1.08); }
.dl .btn.alt { align-self: stretch; text-align: center; margin-top: 8px; }
.dl small { color: var(--muted); font: 500 0.78rem/1.5 var(--f-mono); overflow-wrap: anywhere; }
.reqs { margin: 0; padding-left: 1.1em; font-size: 0.95rem; display: grid; gap: 4px; }
.note { border-left: 4px solid var(--hat); background: var(--surface); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 0.95rem; }
.note b { color: var(--fg); }
.stack { position: relative; display: block; width: 100%; padding: 0 22px 26px 0; border: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.stack .card { position: absolute; inset: 0 22px 26px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface) center top / cover no-repeat; box-shadow: 0 6px 18px rgba(10,20,30,.16); transition: transform .25s ease; }
.stack .c1 { transform: translate(11px, 13px) rotate(1.6deg); }
.stack .c2 { transform: translate(22px, 26px) rotate(3.2deg); }
.stack .shot { position: relative; }
/* Widget screenshots are transparent-cornered crops, so they sit on the site's own surface color instead of a baked-in backdrop. */
.stack.fit .shot { display: flex; justify-content: center; padding: 28px 16px 64px; }
.stack.fit .shot img { width: auto; max-width: 100%; max-height: 520px; filter: drop-shadow(0 8px 18px rgba(10,20,30,.28)); }
.stack.fit .card { background-image: none !important; }
.stack:hover .c1 { transform: translate(15px, 16px) rotate(2.6deg); }
.stack:hover .c2 { transform: translate(28px, 30px) rotate(5deg); }
.stack:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 4px; border-radius: 12px; }
.stack .count { position: absolute; left: 12px; bottom: 38px; font: 700 0.8rem var(--f-mono); background: rgba(12,18,24,.82); color: #fff; padding: 6px 10px; border-radius: 6px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(8,12,16,.96); backdrop-filter: blur(6px); }
.lightbox[open] { background: rgba(8,12,16,.6); }
.lb-inner { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 48px 16px 20px; box-sizing: border-box; }
.lb-inner figure { margin: 0; grid-column: 2; grid-row: 1; height: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; }
.lb-inner img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-inner img.fit { height: min(100%, 720px); width: auto; max-width: 100%; box-shadow: none; border-radius: 0; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.lb-cap { grid-column: 1 / -1; grid-row: 2; text-align: center; color: #E5EAEE; font: 500 0.9rem var(--f-mono); }
.lb-cap span { color: #9AA6B1; margin-left: 10px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font: 700 1.6rem/1 var(--f-body); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; font-size: 1.3rem; }
@media (max-width: 720px) {
  .lb-inner { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto auto; padding: 56px 16px 16px; }
  .lb-inner figure { grid-column: 1 / -1; }
  .lb-cap { grid-row: 2; }
  .lb-prev, .lb-next { grid-row: 3; grid-column: auto; justify-self: center; }
}
.features { margin-top: 36px; }
.features h3 { font: 800 1.35rem/1.2 var(--f-display); letter-spacing: -0.01em; margin: 0 0 6px; }
.features > p { margin: 0 0 18px; color: var(--muted); max-width: 46em; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; min-width: 0; }
.feat h4 { font: 700 1rem/1.3 var(--f-body); margin: 0 0 8px; }
.phone { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.phone h3 { font: 700 1rem/1.3 var(--f-body); margin: 0 0 8px; }
.phone p { margin: 0 0 14px; font-size: 0.95rem; }
.phone-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 14px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.phone-shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(10,20,30,.22); }
@media (max-width: 560px) { .phone-shots { gap: 8px; } .phone-shots img { border-radius: 12px; } }
.feat ul { margin: 0; padding-left: 1.1em; font-size: 0.93rem; color: var(--muted); display: grid; gap: 4px; }
.risk { margin-top: 24px; font-size: 0.9rem; color: var(--muted); max-width: 60em; }

/* support */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.support p { margin: 0 0 14px; max-width: 34em; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.mail a { font: 500 1.125rem var(--f-mono); color: var(--fg); text-decoration-color: var(--tape); text-underline-offset: 4px; overflow-wrap: anywhere; }
.copy { font: 700 0.85rem var(--f-body); padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.copy:hover { border-color: var(--phosphor); }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; min-width: 0; }
.ticket h3 { font: 400 0.75rem/1 var(--f-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.ticket ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }

/* thank-you wall */
.thanks { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.wall-note { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--hat); border-radius: 6px; padding: 16px 16px 12px; box-shadow: 0 4px 12px rgba(10,20,30,.10); min-width: 0; transform: rotate(-0.8deg); }
.wall-note:nth-child(2n) { transform: rotate(0.9deg); }
.wall-note:nth-child(3n) { transform: rotate(-0.3deg); }
.wall-note p { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wall-note small { display: block; color: var(--muted); font: 500 0.78rem var(--f-mono); }
.wall-empty { color: var(--muted); margin: 0; }
.wall-more { margin-top: 16px; }
.say { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; min-width: 0; display: grid; gap: 12px; }
.say h3 { font: 400 0.75rem/1 var(--f-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.say label { display: grid; gap: 4px; font-weight: 600; font-size: 0.95rem; }
.say label span { font-weight: 400; color: var(--muted); }
.say input, .say textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.say textarea { min-height: 120px; resize: vertical; }
.say input:focus-visible, .say textarea:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 1px; }
.say .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.say .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.say .left { font: 500 0.8rem var(--f-mono); color: var(--muted); }
.say .btn.go { align-self: auto; }
.say .btn.go[disabled] { opacity: .6; cursor: wait; }
.say-intro, .say-msg { margin: 0; font-size: 0.95rem; }
.say-intro { color: var(--muted); }
.say-msg.ok { color: var(--phosphor); font-weight: 600; }
.say-msg.err { color: var(--tape); }

.coffee { color: var(--muted); text-decoration-color: var(--hat); text-underline-offset: 3px; }
.coffee:hover { color: var(--fg); }
.tip { font-size: 0.9rem; color: var(--muted); }
footer { padding-block: 40px 48px; color: var(--muted); font: 500 0.8125rem var(--f-mono); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 24px; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes nod { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-4deg); } 96% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .cursor, .bot .mouth, .bot .head { animation: none; } }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-block: 16px 32px; }
  .bot { order: -1; width: 180px; }
  .about { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .thanks { grid-template-columns: 1fr; }
  .th-top { grid-template-columns: 1fr; }
}
/* what I'm working on */
.log { padding-block: 8px 24px; }
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.log-list li { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 4px 18px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--phosphor); border-radius: 0 8px 8px 0; padding: 12px 16px; }
.log-list time { font: 500 0.8rem var(--f-mono); color: var(--muted); white-space: nowrap; }
.log-list p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.log-more { display: inline-block; margin-top: 12px; font: 500 0.85rem var(--f-mono); color: var(--muted); text-decoration-color: var(--phosphor); text-underline-offset: 3px; }
.log-more:hover { color: var(--fg); }
@media (max-width: 560px) { .log-list li { grid-template-columns: 1fr; } }

/* Big screens: use more of the window. Paragraphs keep their own max-width so lines stay readable. */
@media (min-width: 1400px) { .wrap { max-width: 1320px; } .feat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1800px) { .wrap { max-width: 1560px; } body { font-size: 1.125rem; } }
.subpage { min-height: 60vh; padding-top: 16px; }

/* app pages */
.app-page { padding-top: 8px; }
.crumb { display: inline-block; margin-bottom: 18px; font: 500 0.85rem var(--f-mono); color: var(--muted); text-decoration-color: var(--phosphor); text-underline-offset: 3px; }
.crumb:hover { color: var(--fg); }
.app-page > section { padding-block: 0 32px; }
.history { margin-top: 12px; }
.history .sec-head { margin-bottom: 18px; }
.history > p { margin: -6px 0 18px; color: var(--muted); max-width: 46em; }
.rels { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rel { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 0 10px 10px 0; padding: 16px 20px; min-width: 0; }
.rel.latest { border-left-color: var(--phosphor); }
.rel-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.rel-head h3 { font: 800 1.15rem/1.2 var(--f-display); letter-spacing: -0.01em; margin: 0; }
.rel-head time { font: 500 0.8rem var(--f-mono); color: var(--muted); }
.rel ul { margin: 0; padding-left: 1.1em; font-size: 0.95rem; color: var(--muted); display: grid; gap: 4px; }
.rel ul b { color: var(--fg); }

/* app FAQ pages */
.faq-intro { color: var(--muted); max-width: 46em; margin: -6px 0 16px; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq-toc a { font: 500 0.85rem var(--f-mono); color: var(--fg); text-decoration: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; }
.faq-toc a:hover { border-color: var(--phosphor); }
.faq-h { font: 800 1.3rem/1.2 var(--f-display); letter-spacing: -0.01em; margin: 28px 0 12px; scroll-margin-top: 16px; }
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 0 10px 10px 0; padding: 0 18px; min-width: 0; scroll-margin-top: 16px; }
.faq details[open] { border-left-color: var(--phosphor); padding-bottom: 6px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 13px 0; list-style-position: outside; margin-left: 1.1em; }
.faq summary:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 2px; border-radius: 4px; }
.faq details p, .faq details ul { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.faq details ul { padding-left: 1.1em; display: grid; gap: 4px; }
.faq details b { color: var(--fg); }
.faq code { font: 500 0.88em var(--f-mono); color: var(--fg); overflow-wrap: anywhere; }
