/* grayform.dev: one stylesheet.
   White page, thin ink, hair-thin lines, one soft blue. Command line details.
   Fonts: Newsreader (headlines), JetBrains Mono (everything else). */

:root {
  --bg: #ffffff; --bg-2: #fafbfc; --surface: #ffffff; --surface-2: #f4f7fb;
  --fg: #1d2026; --fg-2: #555a66; --muted: #9aa0ad;
  --line: rgba(20,30,60,.08); --line-2: rgba(20,30,60,.16);
  --accent: #3b82f6; --primary: #ffffff; --primary-fg: #1d2026;
  --radius: 2px; --maxw: 700px; --maxw-wide: 1080px;
  --display: "Newsreader", Georgia, serif;
  --sans: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  min-height: 100vh;
}
a { color: var(--fg); text-decoration: none; transition: color .15s, opacity .15s; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); text-wrap: balance; max-width: 14ch; }
h2 { font-size: 1.05rem; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 12px; }
h3 { font-size: 1rem; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.num { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--primary); color: var(--primary-fg); padding: 6px 10px; border-radius: 8px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-in { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.02em; font-size: 1rem; }
.brand:hover { color: var(--fg); }
.mark { width: 14px; height: 14px; border-radius: 4px; background: var(--fg); display: inline-block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--fg-2); padding: 6px 10px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--fg); }
.theme { background: transparent; border: 1px solid var(--line); color: var(--muted); width: 32px; height: 32px; border-radius: 8px; margin-left: 8px; cursor: pointer; display: grid; place-items: center; }
.theme:hover { color: var(--fg); border-color: var(--line-2); }

/* layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 48px; }
main.wide { max-width: var(--maxw-wide); }

/* hero */
.hero { display: grid; gap: 16px; margin-bottom: 72px; }
.hero.small { margin-bottom: 44px; }
main.wide .hero:not(.small) { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; padding: 24px 0 8px; }
.hero-text { display: grid; gap: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.lede { color: var(--fg-2); font-size: 1.08rem; max-width: 50ch; line-height: 1.6; }
.cta { display: flex; gap: 20px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 36px; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.stats div { display: grid; gap: 6px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; font-size: 1.35rem; color: var(--fg); letter-spacing: 0; font-family: var(--display); font-weight: 500; }

.hero-art { display: grid; place-items: center; position: relative; }
.phone {
  position: relative; width: min(270px, 70vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--line-2); background: #000;
  box-shadow: 0 0 0 6px #0d0d0f, 0 0 0 7px var(--line), 0 40px 80px -30px rgba(0,0,0,.8);
}
.hero-icons { display: none; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* sections */
.block { margin: 0 0 64px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.note { border-top: 1px solid var(--line); padding-top: 28px; }
.note h2 { margin-bottom: 6px; }

/* buttons */
.btn {
  display: inline-block; background: var(--primary); color: var(--primary-fg);
  padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 0.92rem; letter-spacing: -0.005em;
  transition: opacity .15s, transform .15s;
}
.btn:hover { color: var(--primary-fg); opacity: .88; transform: translateY(-1px); }
.lnk { color: var(--fg-2); font-weight: 500; font-size: 0.92rem; }
.lnk:hover { color: var(--fg); }

/* release rows */
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-main {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 18px;
  padding: 16px 8px; margin: 0 -8px; border-radius: 10px; color: var(--fg);
  transition: background .15s;
}
.row-main:hover { background: var(--surface-2); color: var(--fg); }
.icon { width: 44px; height: 44px; border-radius: 11px; display: block; border: 1px solid var(--line); background: var(--surface); object-fit: cover; }
.row-text { display: grid; gap: 2px; min-width: 0; }
.row-name { font-weight: 600; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); display: inline-block; }
.row-blurb { color: var(--fg-2); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-meta { color: var(--muted); }
.row-act { font-size: 0.86rem; color: var(--fg-2); white-space: nowrap; }
.row-main:hover .row-act { color: var(--fg); }
.row-more { display: block; padding: 0 8px 12px 70px; margin: -6px 0 0; font-size: 0.82rem; }
.row-more a { color: var(--muted); }
.row-more a:hover { color: var(--accent); }

/* post list */
.postlist { list-style: none; margin: 0; padding: 0; }
.postlist li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.postlist li:last-child { border-bottom: 0; }
.postlist a { font-weight: 500; font-size: 1rem; }
.postlist p { margin-top: 3px; }

/* post */
.post-head { display: grid; gap: 12px; margin-bottom: 40px; }
.post-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.post-foot { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); }
.back { color: var(--muted); }

/* prose */
.prose { color: var(--fg-2); font-size: 1.02rem; }
.prose > * + * { margin-top: 1.15em; }
.prose a { color: var(--fg); border-bottom: 1px solid var(--line-2); }
.prose a:hover { color: var(--accent); border-color: var(--accent); }
.prose h2 { color: var(--fg); margin-top: 2.3em; font-size: 1.3rem; display: block; }
.prose h3 { color: var(--fg); margin-top: 1.8em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--muted); }
.prose code { font-family: var(--mono); font-size: 0.84em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--fg); }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 0.86rem; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.prose blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--line-2); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); }

/* footer */
.foot { max-width: var(--maxw-wide); margin: 24px auto 0; padding: 28px 24px 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-row { display: flex; gap: 12px; align-items: center; }
.foot a { color: var(--fg-2); }
.foot .muted { font-size: 0.8rem; }
.foot .mono { text-transform: none; letter-spacing: 0.02em; }

@media (max-width: 760px) {
  main.wide .hero:not(.small) { grid-template-columns: 1fr; gap: 36px; padding-top: 8px; }
  .hero-art { order: 2; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 0 12px; }
  .stats dd { font-size: 1.15rem; }
  .row-main { grid-template-columns: 40px 1fr auto; gap: 14px; padding: 14px 6px; margin: 0 -6px; }
  .row-meta { display: none; }
  .icon { width: 40px; height: 40px; border-radius: 10px; }
  .row-blurb { white-space: normal; }
  .row-more { padding-left: 60px; }
  .postlist li { grid-template-columns: 1fr; gap: 2px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .top-in { padding: 0 16px; height: 52px; }
  .nav a { padding: 6px 8px; font-size: 0.86rem; }
  main { padding: 44px 18px 40px; }
  .row-act { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .row-main, .btn { transition: none; }
}

/* support: quiet tip block, shown only when site.support.url is set */
.support { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.support p { max-width: 52ch; margin: 0; }
.foot-row { flex-wrap: wrap; }

/* the white look: overrides on top of the base rules above */
@keyframes gfblink { 50% { opacity: 0; } }
body { font-size: 13.5px; line-height: 1.75; font-weight: 300; }
main { padding-top: 84px; }
h1 { font-weight: 300; letter-spacing: -0.03em; font-size: clamp(2.7rem, 6.4vw, 4.4rem); line-height: 1.02; max-width: 13ch; }
h1::after { content: ""; display: inline-block; width: 2px; height: 0.82em; margin-left: 0.1em; background: var(--accent); vertical-align: baseline; animation: gfblink 1.1s steps(1) infinite; }
/* The cursor blinks for all visitors, also when the phone has "remove animations" on. His call 2026-11-20. */
/* the thin blinking cursor sits on the big titles only: page titles, app names, the big quote lines */
.feature h2::after { content: ""; display: inline-block; width: 2px; height: 0.82em; margin-left: 0.1em; background: var(--accent); vertical-align: baseline; animation: gfblink 1.1s steps(1) infinite; }
h2 { font-family: var(--mono); font-size: 0.86rem; font-weight: 400; letter-spacing: 0.02em; }
.block-head h2::before, .eyebrow::before { content: "$"; color: var(--accent); font-weight: 400; width: auto; height: auto; border-radius: 0; background: none; }
.block-head h2 .num { display: none; }
.block { margin-bottom: 84px; }
.hero { margin-bottom: 96px; }
.mono { font-size: 0.66rem; letter-spacing: 0.14em; font-weight: 400; }
.lede { font-size: 0.95rem; color: var(--fg-2); }
.top { background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--mono); font-weight: 500; letter-spacing: 0; font-size: 0.92rem; }
.brand::after { content: ":~$"; color: var(--accent); font-weight: 300; margin-left: -8px; }
.mark, .theme { display: none; }
.nav a { font-weight: 300; color: var(--fg-2); border-radius: 0; }
.nav a::before { content: "/"; color: var(--muted); }
.nav a:hover { background: none; color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); font-weight: 400; box-shadow: inset 0 -1px 0 var(--accent); }
.btn { border: 1px solid var(--fg); border-radius: 2px; font-weight: 400; padding: 10px 18px; font-size: 0.86rem; }
.btn::before { content: "> "; color: var(--accent); }
.btn:hover { background: var(--fg); color: #fff; opacity: 1; transform: none; }
.lnk { font-weight: 300; font-size: 0.86rem; }
.row { border-bottom: 1px solid var(--line); }
.row-main { border-radius: 2px; padding-top: 20px; padding-bottom: 20px; }
.row-name { font-weight: 500; }
.row-blurb { font-size: 0.82rem; }
.row-act { font-size: 0.8rem; }
.icon { border-radius: 10px; }
.live { width: 5px; height: 5px; background: var(--accent); box-shadow: none; }
.stats dd { font-family: var(--display); font-weight: 300; font-size: 1.9rem; letter-spacing: -0.02em; }
.phone { border-radius: 26px; border: 1px solid var(--line-2); box-shadow: 0 0 0 7px #fff, 0 0 0 8px var(--line-2), 0 50px 90px -40px rgba(40,80,160,.28); }
.prose { font-size: 0.92rem; }
.prose h2 { font-family: var(--display); font-size: 1.6rem; font-weight: 300; }
.prose strong, .postlist a { font-weight: 500; }
.foot { font-weight: 300; }

.phone { display: none; }
.hero-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(340px, 78vw); }
.hero-icons img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; border: 1px solid var(--line); object-fit: cover; box-shadow: 0 18px 36px -22px rgba(40,80,160,.35); }
.hero-icons img:nth-child(n+7) { transform: translateX(calc(50% + 9px)); }


/* command box in the header */
.top-in { flex-wrap: wrap; height: auto; min-height: 56px; }
.cmd { flex: 1 1 140px; min-width: 0; margin-left: -8px; }
.cmd input { width: 100%; border: 0; outline: 0; background: none; color: var(--fg); font: 300 0.9rem var(--mono); padding: 8px 0; caret-color: var(--accent); }
.cmd input::placeholder { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* doors: the three rooms */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 2px; margin-bottom: 84px; }
.door { display: grid; gap: 10px; padding: 26px 24px 24px; border-right: 1px solid var(--line-2); color: var(--fg); transition: background .15s; }
.door:last-child { border-right: 0; }
.door:hover { background: var(--surface-2); color: var(--fg); }
.door-path { color: var(--accent); font-size: 0.8rem; }
.door-title { font: 300 2rem/1 var(--display); letter-spacing: -0.02em; }
.door-line { color: var(--fg-2); font-size: 0.82rem; min-height: 2.9em; }
.door-go { font-size: 0.78rem; color: var(--muted); }
.door:hover .door-go { color: var(--accent); }

/* store tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; padding-top: 20px; }
.tile { border: 1px solid var(--line-2); border-radius: 2px; padding: 20px; display: grid; gap: 14px; grid-template-rows: auto 1fr auto; background: var(--bg); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--fg); transform: translateY(-2px); }
.tile-top { display: flex; gap: 14px; align-items: center; }
.tile-top img { width: 56px; height: 56px; border-radius: 22%; border: 1px solid var(--line); object-fit: cover; }
.tile-name { font-weight: 500; font-size: 0.98rem; display: flex; align-items: center; gap: 8px; }
.tile-kind { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tile-blurb { color: var(--fg-2); font-size: 0.82rem; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile-more a { color: var(--muted); font-size: 0.76rem; margin-right: 10px; }
.tile-more a:hover { color: var(--accent); }
.get { display: inline-block; border: 1px solid var(--fg); border-radius: 999px; padding: 6px 18px; font-size: 0.8rem; font-weight: 500; color: var(--fg); }
.get:hover { background: var(--fg); color: #fff; }

/* store feature card */
.feature { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; padding: 32px; margin-bottom: 84px; background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.feature img { width: 112px; height: 112px; border-radius: 22%; border: 1px solid var(--line); box-shadow: 0 24px 44px -24px rgba(40,80,160,.4); }
.feature h2 { font: 300 2.2rem/1 var(--display); letter-spacing: -0.02em; display: block; margin: 6px 0 10px; }
.feature p { color: var(--fg-2); font-size: 0.88rem; max-width: 52ch; }
.feature-act { display: grid; gap: 10px; justify-items: center; }

/* news wire */
.wire { list-style: none; margin: 0; padding: 0; }
.wire li { display: grid; grid-template-columns: 92px 84px 1fr; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.wire li:last-child { border-bottom: 0; }
.wire time { color: var(--muted); font-size: 0.74rem; white-space: nowrap; }
.wire .tag { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.wire a { border-bottom: 1px solid var(--line-2); }

@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .door:last-child { border-bottom: 0; }
  .door-line { min-height: 0; }
  .feature { grid-template-columns: auto 1fr; padding: 22px; gap: 18px; }
  .feature img { width: 76px; height: 76px; }
  .feature-act { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 16px; }
  .wire li { grid-template-columns: auto 1fr; row-gap: 4px; }
  .wire li > span:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .top-in { padding-top: 6px; padding-bottom: 6px; row-gap: 0; }
  .nav { width: 100%; margin-left: -8px; }
  .hero-icons { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 12px; }
  .hero-icons img:nth-child(n+7) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }

/* needs: one line per thing a visitor might want */
.needs { list-style: none; margin: 0; padding: 0; }
.needs li { border-bottom: 1px solid var(--line); }
.needs li:last-child { border-bottom: 0; }
.need { display: grid; grid-template-columns: 1fr 210px 24px; gap: 20px; align-items: center; padding: 22px 10px; margin: 0 -10px; color: var(--fg); transition: background .15s, padding .15s; }
.need:hover { background: var(--surface-2); color: var(--fg); padding-left: 18px; }
.need-h { font: 300 1.7rem/1.15 var(--display); letter-spacing: -0.02em; color: var(--fg); margin: 0; }
.need-h.small-need { font-size: 1.3rem; margin-bottom: 8px; }
.need-app { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 0.86rem; }
.need-app img { width: 36px; height: 36px; border-radius: 22%; border: 1px solid var(--line); }
.need-app .tile-kind { display: block; font-weight: 300; }
.need-go { color: var(--muted); font-size: 1.1rem; }
.need:hover .need-go { color: var(--accent); }

/* show: an app with its pictures */
.show { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.show:last-child { border-bottom: 0; }
.show-text { display: grid; gap: 14px; }
.show-app { display: flex; gap: 12px; align-items: center; font-size: 0.9rem; }
.show-app img { width: 40px; height: 40px; border-radius: 22%; border: 1px solid var(--line); }
.show-app b { font-weight: 500; display: block; }
.show .need-h { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.show-blurb { color: var(--fg-2); font-size: 0.88rem; max-width: 46ch; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shots img { height: 340px; width: auto; flex: none; border-radius: 14px; border: 1px solid var(--line-2); scroll-snap-align: start; box-shadow: 0 24px 40px -28px rgba(40,80,160,.45); }
.perks { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.perk { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tile { scroll-margin-top: 80px; }
.tile:target, .show:target { outline: 1px solid var(--accent); outline-offset: 8px; }

@media (max-width: 760px) {
  .need { grid-template-columns: 1fr 20px; gap: 10px 12px; padding: 18px 8px; margin: 0 -8px; }
  .need-h { font-size: 1.4rem; grid-column: 1; }
  .need-app { grid-column: 1; grid-row: 2; }
  .need-go { grid-column: 2; grid-row: 1 / span 2; }
  .show { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 30px 0; }
  .shots img { height: 280px; }
}

/* updated tag */
.new { display: inline-block; margin-left: 8px; font: 500 0.6rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
a.tile-top, a.show-app { color: var(--fg); }
a.tile-top:hover .tile-name, a.show-app:hover b { color: var(--accent); }
.tile-foot .lnk { font-size: 0.78rem; }

/* one app page */
.crumb { margin: -28px 0 36px; }
.crumb a { color: var(--muted); }
.app-head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-bottom: 36px; }
.app-icon { width: 120px; height: 120px; border-radius: 22%; border: 1px solid var(--line); box-shadow: 0 26px 46px -26px rgba(40,80,160,.45); }
.app-id { display: grid; gap: 8px; }
.app-id h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: none; }
.app-id .need-h { color: var(--fg-2); font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.app-get { display: grid; gap: 12px; justify-items: start; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 56px; border: 1px solid var(--line-2); border-radius: 2px; }
.facts div { flex: 1 1 120px; padding: 16px 20px; border-right: 1px solid var(--line-2); display: grid; gap: 6px; }
.facts div:last-child { border-right: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font: 300 1.4rem var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--fg); }
.shots.big img { height: 460px; }
.app-blurb { font: 300 1.5rem/1.3 var(--display); letter-spacing: -0.01em; max-width: 32ch; margin: 24px 0 20px; }
.points { list-style: none; margin: 0; padding: 0; max-width: 60ch; }
.points li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--fg-2); font-size: 0.9rem; }
.points li:last-child { border-bottom: 0; }
.points li::before { content: ">"; position: absolute; left: 2px; color: var(--accent); }

@media (max-width: 760px) {
  .app-head { grid-template-columns: auto 1fr; gap: 18px; }
  .app-icon { width: 84px; height: 84px; }
  .app-get { grid-column: 1 / -1; }
  .facts div { flex: 1 1 40%; border-bottom: 1px solid var(--line-2); }
  .shots.big img { height: 380px; }
}

/* workshop list */
.bench { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.bench li { display: grid; gap: 10px; align-content: start; }
.bench img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.bench h3 { margin: 2px 0 4px; font-weight: 500; font-size: 1rem; }
.bench p { margin: 0; font-size: 0.86rem; color: var(--fg-2); }
.bench p.small { font-size: 0.72rem; color: var(--muted); }

/* the cyberism look: the default for the whole site since 2026-11-22.
   Near-black page, warm off-white ink, hairlines, one red, mono titles.
   Colours and fonts come from Projects/cyberism/app/globals.css.
   Delete this block to get the white look back. */
:root {
  --bg: #0b0b0c; --bg-2: #0e0e10; --surface: #101012; --surface-2: #17171a;
  --fg: #dedbd5; --fg-2: #a5a29b; --muted: #85827b;
  --line: #232326; --line-2: #38383c;
  --accent: #e5482f; --primary: #dedbd5; --primary-fg: #0b0b0c;
  --radius: 0;
  --display: ui-monospace, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
::selection { background: var(--accent); color: #0b0b0c; }
body { font-size: 15px; line-height: 1.65; font-weight: 400; }
h1 { font-weight: 700; letter-spacing: 0.04em; font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.06; max-width: 18ch; }
.app-id h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.top { background: rgba(11,11,12,.86); }
.nav a, .btn, .lnk, .get, .row-act, .door-path, .door-go, .tile-kind, .wire time, .wire .tag, .crumb, .perk, .foot { font-family: var(--mono); }
.nav a, .lnk, .foot { font-weight: 400; }
.btn:hover, .get:hover { background: var(--fg); color: var(--bg); }
.btn, .get, .tile, .doors, .feature, .facts, .row-main { border-radius: 0; }
.new { color: #0b0b0c; border-radius: 0; }
.perk { border-radius: 0; }
.door-title { font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; }
.need-h { font-weight: 500; font-size: 1.3rem; letter-spacing: 0; line-height: 1.3; }
.need-h.small-need { font-size: 1.05rem; }
.show .need-h { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.app-id .need-h { font-size: clamp(1rem, 2.2vw, 1.25rem); }
.feature h2 { font-weight: 700; font-size: 1.7rem; letter-spacing: 0.03em; }
.prose h2 { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.02em; }
.app-blurb { font-weight: 400; font-size: 1.15rem; line-height: 1.45; letter-spacing: 0; }
.stats dd { font-weight: 700; font-size: 1.5rem; letter-spacing: 0; }
.facts dd { font-weight: 500; font-size: 1.1rem; letter-spacing: 0; }
.feature { background: var(--surface); }
.tile { background: var(--surface); }
.tile:hover { border-color: var(--accent); }
.hero-icons img, .feature img, .shots img, .app-icon { box-shadow: 0 18px 36px -22px rgba(0,0,0,.8); }
@media (max-width: 760px) { .need-h { font-size: 1.1rem; } }
/* the "what you need" lines and app blurbs read in the plain body font, not the mono title font (his call 2026-11-22) */
.need-h, .app-blurb { font-family: var(--sans); font-weight: 400; letter-spacing: 0; }

/* flagship pass (2026-11-22): bigger icons, bigger type, the app icon leads each row */
main.wide .hero:not(.small) { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0 16px; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
.lede { font-size: 1.1rem; max-width: 46ch; }
.btn { padding: 14px 26px; font-size: 0.95rem; }
.stats dd { font-size: 2rem; }
.hero-icons { width: min(520px, 88vw); gap: 22px; }
.hero-icons img { border-color: var(--line-2); box-shadow: 0 30px 60px -28px rgba(0,0,0,.9); }
.hero-icons img:nth-child(n+7) { transform: translateX(calc(50% + 11px)); }

.need { grid-template-columns: 76px 1fr 28px; gap: 4px 22px; padding: 22px 10px; }
.need-app { display: contents; }
.need-app img { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 76px; border-color: var(--line-2); box-shadow: 0 18px 36px -22px rgba(0,0,0,.9); }
.need .need-h { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
.need-app > span { grid-column: 2; grid-row: 2; align-self: start; font-family: var(--mono); font-size: 0.82rem; font-weight: 400; color: var(--fg-2); }
.need-app .tile-kind { display: inline; margin-left: 10px; }
.need-go { grid-column: 3; grid-row: 1 / span 2; font-size: 1.4rem; }
.need:hover .need-h { color: var(--accent); }

.show { padding: 56px 0; gap: 48px; }
.show-app { gap: 16px; font-size: 1.1rem; }
.show-app img { width: 76px; height: 76px; border-color: var(--line-2); }
.show .need-h { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 500; line-height: 1.2; }
.show-blurb { font-size: 0.98rem; }
.shots img { height: 420px; }

.tile { padding: 24px; gap: 18px; }
.tile-top { gap: 18px; }
.tile-top img { width: 84px; height: 84px; border-color: var(--line-2); }
.tile-name { font-size: 1.15rem; }
.need-h.small-need { font-size: 1.1rem; }
.feature img { width: 160px; height: 160px; }
.feature h2 { font-size: 2.2rem; }
.app-icon { width: 168px; height: 168px; border-color: var(--line-2); }
.block-head h2 { font-size: 1rem; }

@media (max-width: 760px) {
  main.wide .hero:not(.small) { grid-template-columns: 1fr; gap: 32px; padding: 8px 0; }
  .hero-icons { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 14px; }
  .hero-icons img:nth-child(n+7) { transform: none; }
  .stats dd { font-size: 1.5rem; }
  .need { grid-template-columns: 64px 1fr 20px; gap: 4px 16px; padding: 18px 8px; }
  .need-app img { width: 64px; height: 64px; }
  .need .need-h { font-size: 1.15rem; grid-column: 2; }
  .need-app { grid-column: auto; grid-row: auto; }
  .need-go { grid-column: 3; grid-row: 1 / span 2; }
  .show { padding: 36px 0; gap: 24px; }
  .show-app img { width: 64px; height: 64px; }
  .shots img { height: 340px; }
  .tile-top img { width: 72px; height: 72px; }
  .feature img { width: 96px; height: 96px; }
  .app-icon { width: 112px; height: 112px; }
}
@media (min-width: 761px) {
  main.wide .hero:not(.small) { grid-template-columns: 1.25fr 0.75fr; }
  h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 16ch; }
  .hero-icons { width: min(430px, 100%); gap: 18px; }
  .hero-icons img:nth-child(n+7) { transform: translateX(calc(50% + 9px)); }
}
/* an app with no screenshots yet shows its icon big in the picture spot */
.show-icon { display: grid; place-items: center; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.show-icon img { width: min(220px, 50vw); height: auto; border-radius: 22%; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -28px rgba(0,0,0,.9); }

/* home: app-store grid. One compact card per app: icon, name, kind, one line, Get. */
.cards { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 0 40px; }
.card { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.card-icon img { display: block; width: 96px; height: 96px; border-radius: 22%; border: 1px solid var(--line-2); box-shadow: 0 18px 36px -22px rgba(0,0,0,.9); transition: transform .15s; }
.card:hover .card-icon img { transform: scale(1.04); }
.card-text { display: grid; gap: 3px; min-width: 0; }
.card-name { font-family: var(--mono); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.02em; color: var(--fg); }
.card-name:hover { color: var(--accent); }
.card-line { color: var(--fg-2); font-size: 0.88rem; line-height: 1.4; margin-top: 4px; }
.card-act { display: grid; gap: 6px; justify-items: center; }
.card-act .get { border-radius: 999px; padding: 7px 22px; font-weight: 700; background: var(--surface-2); border-color: var(--line-2); }
.card-act .get:hover { background: var(--accent); border-color: var(--accent); color: #0b0b0c; }
.card-free { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card:target { outline: 1px solid var(--accent); outline-offset: 8px; }
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card { grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; }
  .card-icon img { width: 76px; height: 76px; }
  .card-name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .card-icon img { transition: none; } .card:hover .card-icon img { transform: none; } }

/* guides: cards, step lists, code blocks with a copy button */
.gcards { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gcard { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s; }
.gcard:hover, .gcard:focus-within { border-color: var(--accent); }
.gcard-name { font-family: var(--mono); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.02em; color: var(--fg); }
.gcard-name:hover { color: var(--accent); }
.gcard-line { color: var(--fg-2); font-size: 0.88rem; line-height: 1.45; margin: 0; }
.gcard-time { font-size: 0.66rem; }
.guide { max-width: 720px; }
.guide .crumb { margin-bottom: 18px; }
.guide .post-head h1 { max-width: 22ch; }
.guide-meta { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; border: 1px solid var(--line-2); background: var(--surface); padding: 18px 20px; margin-bottom: 36px; }
.guide-meta p { margin: 4px 0 0; }
.guide-meta ul { margin: 4px 0 0; padding-left: 1.2em; }
.guide .prose ol { list-style: none; counter-reset: step; padding-left: 0; }
.guide .prose ol > li { counter-increment: step; position: relative; padding-left: 2.6em; }
.guide .prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0.05em; width: 1.8em; height: 1.8em; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
.guide .prose ol > li + li { margin-top: 1em; }
.guide .prose ol ul { margin-top: 0.5em; }
.codewrap { position: relative; margin-top: 0.8em; }
.codewrap pre { margin: 0; padding-right: 76px; }
.copy { position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); padding: 4px 10px; font-size: 0.7rem; letter-spacing: 0.06em; cursor: pointer; }
.copy:hover, .copy:focus-visible { border-color: var(--accent); color: var(--accent); }
.guide .prose .note { border-left: 2px solid var(--accent); padding-left: 14px; color: var(--fg); }
.guide-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.guide-foot p { margin: 0; }
@media (max-width: 560px) { .guide-meta { grid-template-columns: 1fr; } .gcards { grid-template-columns: 1fr; } }

/* beta apps: no download yet */
.get.soon, .card-act .get.soon { border-style: dashed; color: var(--fg-2); background: transparent; }
.get.soon:hover, .card-act .get.soon:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.beta-note { margin: 0; color: var(--fg-2); }
.beta-note .mono { color: var(--accent); }
.changelog li { grid-template-columns: 80px 1fr; }
@media (max-width: 760px) { .changelog li { grid-template-columns: 70px 1fr; } .changelog li > span:last-child { grid-column: auto; } }
@media (max-width: 560px) { .nav { flex-wrap: wrap; } }

/* build tag next to the brand: which build this page is */
.build-tag { font-size: 0.7rem; color: var(--muted, #888); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; line-height: 1.3; white-space: nowrap; }
.build-tag:hover { color: var(--accent); }
