/* blipnest.com — the landing page. Same identity as the dashboard: cool slate,
   the siren orange only where something pages, teal for anything you can act on.
   No script runs on this page; the CSP does not even grant script-src. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2');
}

:root {
  --ink: #16202b;
  --ink-2: #1f2a37;
  --slate: #5b6b80;
  --slate-2: #8593a6;
  --mist: #e7ebf1;
  --mist-2: #f3f5f8;
  --paper: #ffffff;
  --rule: #d3dae4;
  --signal: #e5550f;
  --signal-soft: #fdebe1;
  --act: #0e6e74;
  --act-ink: #0a5257;
  --act-light: #7fd1d6;
  --font-ui: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', var(--font-ui);
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--act); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0.6rem 0; max-width: var(--measure); }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--mist-2); padding: 0.05em 0.4em; border-radius: 4px; }
pre { margin: 0.75rem 0 0; max-width: 100%; padding: 1rem 1.1rem; background: var(--ink); color: #e6ecf3; border-radius: 10px; overflow-x: auto; font-size: 0.86rem; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; border-radius: 4px; }

/* ---- header ------------------------------------------------------------ */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--ink); color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(229, 85, 15, 0.22); }
.brand--small { font-size: 1rem; color: var(--ink); }
.top__nav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.top__nav a { color: #c9d3df; font-weight: 500; }
.top__nav a:hover { color: #fff; }
.top__signin { padding: 0.45rem 0.9rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; color: #fff !important; }
.top__signin:hover { border-color: #fff; text-decoration: none; }

/* ---- hero ---------------------------------------------------------------- */
.hero {
  background: var(--ink); color: #fff;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 650; max-width: 16ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #c9d3df; margin-top: 1.4rem; max-width: 46ch; }
.hero__note { color: var(--slate-2); margin-top: 1.5rem; font-size: 0.98rem; }
.hero__note a { color: var(--act-light); }

/* The escalation: one incident from publish to acknowledgement. The dots light
   in sequence once on load — the single orchestrated moment on the page — and
   the last one is teal because it is the moment a person took it. */
.escalation { margin: 0; position: relative; padding: 1.5rem 0 0; }
.esc__line { position: absolute; left: 0.55rem; right: 0.55rem; top: 2.05rem; height: 2px; background: rgba(255,255,255,0.14); }
.esc__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; position: relative; }
.esc__step { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; }
.esc__dot {
  width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); background: var(--ink);
  animation: esc-light 600ms ease-out both;
}
.esc__step--pub .esc__dot { background: #fff; border-color: #fff; animation-delay: 200ms; }
.esc__step--page .esc__dot { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 0 rgba(229,85,15,0.5); }
.esc__step--page:nth-child(2) .esc__dot { animation-delay: 700ms; }
.esc__step--page:nth-child(3) .esc__dot { animation-delay: 1300ms; }
.esc__step--page:nth-child(4) .esc__dot { animation-delay: 1900ms; }
.esc__step--ack .esc__dot { background: var(--act-light); border-color: var(--act-light); animation-delay: 2600ms; }
.esc__t { font-family: var(--font-mono); font-size: 0.8rem; color: var(--slate-2); font-variant-numeric: tabular-nums; }
.esc__l { font-size: 0.92rem; color: #dfe6ee; line-height: 1.25; }
.esc__step--page .esc__l { color: #ffb08a; }
.esc__step--ack .esc__l { color: var(--act-light); font-weight: 600; }
.escalation figcaption { margin-top: 1.5rem; color: var(--slate-2); font-size: 0.9rem; }

@keyframes esc-light {
  from { transform: scale(0.6); opacity: 0.25; }
  60%  { transform: scale(1.25); opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .esc__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- bands --------------------------------------------------------------- */
.band { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: #dfe6ee; }
.band--ink h2 { color: #fff; }
.band--ink a { color: var(--act-light); }
.band__inner { max-width: 68rem; margin: 0 auto; }
.band__inner--narrow { max-width: 44rem; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 650; }
.band__lede { font-size: 1.15rem; color: var(--slate); margin-top: 0.9rem; max-width: 56ch; }
.band--ink p { color: #c9d3df; font-size: 1.08rem; }
.band--ink .invite__how { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.14); color: #fff; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2.5rem; }
.col { min-width: 0; }
.example { margin-top: 2.75rem; max-width: 46rem; }
.example__lede { color: var(--slate); margin: 0; }
.example__note { color: var(--slate); font-size: 0.95rem; margin: 0.9rem 0 0; }
.col h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 0.4rem; }
.col p { font-size: 0.98rem; color: var(--ink-2); }
/* A caveat, set apart by a rule rather than by an apology. Written `.col .col__note`
   and not `.col__note`, because `.col p` is (0,1,1) and a single class would lose to it. */
.col .col__note { color: var(--slate); font-size: 0.92rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--rule); }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin: 2.5rem 0 0; }
.rules > div { padding-top: 1rem; border-top: 2px solid var(--ink); }
.rules dt { font-family: var(--font-display); font-weight: 650; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; }
.rules dd { margin: 0.45rem 0 0; color: var(--slate); font-size: 0.98rem; }
.rules em { font-style: normal; color: var(--signal); font-weight: 600; }

/* The contact address is assembled here, not in the HTML: the markup holds
   "hello", "blipnest" and "com" as separate text, and the @ and the dot are
   pseudo-element content. A scraper that reads the DOM text gets nothing
   mailable; a person reads the address. The page runs no script, so this is
   the only obfuscation available — and it costs copy-paste, which the page
   says out loud. */
.addr { font-weight: 600; color: #fff; white-space: nowrap; user-select: all; }
.addr__at::after { content: '@'; }
.addr__dot::after { content: '.'; }
.invite__note { font-size: 0.9rem; color: var(--slate-2) !important; margin-top: 0.4rem; }

/* ---- footer -------------------------------------------------------------- */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2.5rem; color: var(--slate); font-size: 0.92rem;
  border-top: 1px solid var(--rule);
}

/* ---- small screens ------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .cols, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .esc__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.25rem; }
  .esc__l { font-size: 0.78rem; }
  .esc__t { font-size: 0.7rem; }
  .top__nav { gap: 0.9rem; font-size: 0.95rem; }
}
