@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2-variations"); font-weight: 100 800; font-display: swap; }
/* Postzest public site. Mirrors the app tokens (web/src/styles/tokens.css, same names and values).
   /theme-boot.js sets <html data-theme> from the same "bm-theme" preference (light by default). */
:root {
  color-scheme: light;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --bg: #faf7ef;
  --bg-sidebar: #f3f0e6;
  --surface: #fffdf8;
  --surface-sunken: #f2eee4;
  --hover: rgba(25, 28, 25, 0.04);
  --line: rgba(25, 28, 25, 0.09);
  --line-strong: rgba(25, 28, 25, 0.16);
  --field-border: #8f8a7e;
  --text: #191c19;
  --text-2: #575c55;
  --text-3: #686b64;
  --text-on-accent: #ffffff;
  --accent: #135e52;
  --accent-hover: #0f4f45;
  --live: #f8b400;
  --live-edge: #c48a00;
  --live-ink: #855800;
  --live-soft: rgba(248, 180, 0, 0.16);
  --thumb-bg: #2a2824;
  --success: #16705f;
  --neutral-dot: #8a8c84;
  --focus: #135e52;
  --logo-green: #135e52;
  --logo-yellow: #f8b400;
  --shadow-dialog: 0 0 0 1px rgba(25, 28, 25, 0.08), 0 16px 48px rgba(25, 28, 25, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1b1a17;
  --bg-sidebar: #171614;
  --surface: #211f1c;
  --surface-sunken: #161513;
  --hover: rgba(238, 235, 228, 0.04);
  --line: rgba(238, 235, 228, 0.08);
  --line-strong: rgba(238, 235, 228, 0.14);
  --field-border: #736e64;
  --text: #eeebe4;
  --text-2: #aba69b;
  --text-3: #8c877d;
  --accent: #1e7a68;
  --accent-hover: #1a6e5e;
  --live-edge: transparent;
  --live-ink: #f5c542;
  --live-soft: rgba(248, 180, 0, 0.14);
  --thumb-bg: #0e0d0b;
  --success: #4cb89f;
  --neutral-dot: #8c877d;
  --focus: #5fc1a9;
  --logo-green: #3fa58f;
  --shadow-dialog: 0 0 0 1px rgba(238, 235, 228, 0.08), 0 24px 64px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scrollbar-gutter: stable; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/26px var(--font-sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.prose { overflow-wrap: break-word; }
.prose table { overflow-wrap: normal; }
.prose td:first-child { white-space: nowrap; }

/* ---------- top bar ---------- */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; font-stretch: 112%; letter-spacing: -0.01em; text-decoration: none; }
.logo svg { width: 17px; height: 20px; }
.mark-yellow { fill: var(--logo-yellow); stroke: var(--logo-yellow); }
.mark-green { fill: var(--logo-green); stroke: var(--logo-green); }
nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--text-2); text-decoration: none; font-size: 13px; line-height: 20px; transition: color 120ms var(--ease-out); }
nav a:hover { color: var(--text); }
nav a.nav-cta { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); font-weight: 500; }
nav a.nav-cta:hover { border-color: var(--field-border); background: color-mix(in srgb, var(--surface), var(--text) 4%); }
@media (max-width: 420px) { nav { gap: 12px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid transparent; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; transition: background-color 120ms var(--ease-out), color 120ms var(--ease-out); }
.btn-primary { background: var(--accent); color: var(--text-on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: var(--hover); color: var(--text); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 0 64px; }
.hero-copy { min-width: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
h1 { margin: 16px 0 20px; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.07; font-weight: 600; font-stretch: 118%; letter-spacing: -0.035em; text-wrap: balance; }
.lede { margin: 0 0 32px; max-width: 46ch; font-size: 17px; line-height: 28px; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- the product mock: the app's queue rows at 1:1 ---------- */
.mock { margin: 0; min-width: 0; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-dialog); overflow: hidden; font-size: 13px; line-height: 20px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mock-day { font-weight: 600; }
.mock-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mrow { display: grid; grid-template-columns: 64px 22px minmax(0, 124px) minmax(0, 1fr) 84px; column-gap: 12px; align-items: center; height: 52px; padding: 0 16px; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.m-time { font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.01em; color: var(--text-2); white-space: nowrap; }
/* a dark video frame with a small play mark (solid fill, no image) */
.m-thumb { width: 22px; height: 39px; border-radius: 4px; background: var(--thumb-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2 1.2v5.6L6.6 4z' fill='%23ffffff' fill-opacity='0.7'/%3E%3C/svg%3E") center / 8px 8px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.m-acct { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* no photo: the platform glyph alone in a sunken circle, as in the app */
.m-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.m-av svg { width: 14px; height: 14px; }
.m-cap { color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.m-status i { flex: none; width: 8px; height: 8px; border-radius: 999px; }
.m-status.is-live { color: var(--success); }
.m-status.is-live i { background: var(--success); }
.m-status.is-publishing { color: var(--live-ink); }
.m-status.is-publishing i { background: var(--live); box-shadow: 0 0 0 1px var(--live-edge); animation: pulse 1.2s ease-in-out infinite; }
.m-status.is-scheduled { color: var(--text-2); }
.m-status.is-scheduled i { border: 1.5px solid var(--neutral-dot); }
/* the Now line: a 0-height row with a yellow rule and a time pill */
.m-now { position: relative; height: 0; border-top: 1px solid var(--live); }
.m-now-pill { position: absolute; left: 12px; top: -9px; height: 18px; padding: 0 6px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 999px var(--live-soft), 0 0 0 2px var(--surface); font-family: var(--font-mono); font-size: 11px; line-height: 18px; font-weight: 500; color: var(--live-ink); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- features: no cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 32px 0 0; }
.feature { padding-top: 16px; border-top: 1px solid var(--line); }
.feature svg { display: block; width: 16px; height: 16px; margin-bottom: 12px; fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { margin: 0 0 6px; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.008em; }
.feature p { margin: 0; font-size: 14px; line-height: 22px; color: var(--text-2); }

.works { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 56px 0 80px; font-size: 13px; color: var(--text-2); }
.works-label { color: var(--text-3); }
.works-item { display: inline-flex; align-items: center; gap: 8px; }
.works-item svg { width: 20px; height: 20px; color: var(--text-2); }

/* ---------- privacy / terms ---------- */
.doc { max-width: 680px; padding-top: 64px; padding-bottom: 96px; font-size: 15px; line-height: 26px; }
.doc h1 { margin: 0 0 8px; font-size: 22px; line-height: 28px; font-stretch: 112%; letter-spacing: -0.018em; max-width: none; }
.doc h2 { margin: 40px 0 8px; font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.doc h3 { margin: 24px 0 4px; font-size: 15px; font-weight: 600; }
.doc p, .doc li { color: var(--text); }
.doc a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.doc a:hover { color: var(--text); text-decoration-color: currentColor; }
.doc strong { font-weight: 600; }
.updated { margin: 0 0 32px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-3); }
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 13px; line-height: 20px; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
tr:first-child th, tr:first-child td { border-top: 0; }
th { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-3); }
td { color: var(--text-2); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--text-3); font-size: 13px; line-height: 20px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--text-3); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 64px 0 48px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mrow { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "thumb acct time" "thumb cap status"; row-gap: 0; height: 64px; }
  .m-thumb { grid-area: thumb; }
  .m-acct { grid-area: acct; }
  .m-time { grid-area: time; justify-self: end; }
  .m-cap { grid-area: cap; }
  .m-status { grid-area: status; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
