/* Zilloris - the studio's look, shared with the Shelf and the channel covers.
   Fonts are served from this site, never from Google: a studio whose apps make
   privacy promises should not hand every visitor's address to a third party
   just to draw its name. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap;
             src: url("/assets/fonts/bricolage-grotesque-800.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap;
             src: url("/assets/fonts/instrument-sans-400.ttf") format("truetype"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
             src: url("/assets/fonts/geist-mono-400.ttf") format("truetype"); }

:root {
  --ground: #E6E7E2; --surface: #F4F5F1; --sunk: #DCDED7;
  --ink: #15181A; --ink-2: #5D635C; --ink-3: #868C83;
  --line: #CBCEC5; --line-2: #B7BBB1;
  --chrome: #24382F; --chrome-soft: #DCE8E0;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Bricolage Grotesque", var(--sans);
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15171A; --surface: #1C1F22; --sunk: #111315;
    --ink: #E7E9E4; --ink-2: #989E93; --ink-3: #767C72;
    --line: #2E3338; --line-2: #3C4247;
    --chrome: #8FBFA6; --chrome-soft: #1B2A22;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--chrome); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* ---- masthead ---- */
.mast { padding-block: clamp(56px, 11vw, 120px) clamp(40px, 7vw, 72px); border-bottom: 2px solid var(--ink); }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px;
}
.wordmark {
  font-family: var(--disp); font-weight: 800; letter-spacing: -.035em; line-height: .88;
  font-size: clamp(64px, 16vw, 168px); margin: 0;
}
.tagline {
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.35; color: var(--ink-2);
  max-width: 30ch; margin: 22px 0 0; text-wrap: balance;
}

/* ---- apps ---- */
.section { padding-block: clamp(40px, 6vw, 64px); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 22px;
}
.section-head h2 {
  font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; margin: 0;
}
.section-head .count { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

.apps {
  display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.app {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 18px; position: relative; overflow: hidden;
}
.app::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent, var(--line-2));
}
.icon {
  width: 72px; height: 72px; border-radius: 22%; display: block; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}
.icon.mark {
  display: grid; place-items: center;
  background: var(--mark-ground, var(--sunk)); color: var(--accent, var(--ink));
  font-family: var(--disp); font-weight: 800; font-size: 34px; line-height: 1;
}
.app h3 { font-family: var(--disp); font-weight: 800; font-size: 23px; letter-spacing: -.01em; line-height: 1.1; margin: 2px 0 4px; }
.app .line { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; }
.status {
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap;
  background: var(--sunk); color: var(--ink-2);
}
.status.testing, .status.soon { background: var(--chrome-soft); color: var(--chrome); }
.status.design { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); }
.links { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }

/* ---- testers + footer ---- */
.note {
  border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px);
  display: grid; gap: 8px;
}
.note h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.015em; margin: 0; }
.note p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.note .mail { font-family: var(--mono); font-size: 16px; color: var(--ink); }

footer {
  border-top: 2px solid var(--ink); padding-block: 22px 40px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
}

/* ---- 404 ---- */
.lost { min-height: 70vh; display: grid; align-content: center; gap: 14px; }
.lost h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(44px, 9vw, 96px); letter-spacing: -.03em; line-height: .95; margin: 0; }
.lost p { margin: 0; color: var(--ink-2); }
