/* getframecast.app while Framecast is in development: one screen, design 4b "Ink, then light"
   (design/Site animation and highlight updates.zip, Coming Soon.dc.html). The type and the logo
   keep the design's fixed sizes on every screen (the usual practice: sizes step at breakpoints,
   they never scale with the window); only the grid behind them is drawn for the window
   (soon.js). Breakpoints: a phone under 560 px wide, a short window under 600 px tall. */
@font-face { font-family: "Chivo"; src: url("/assets/fonts/chivo-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }

html, body { margin: 0; height: 100%; background: #0D1114; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #98A4AC; }
html { scroll-behavior: smooth; }

/* the first screen is the stage; the privacy note sits just below it, one scroll or one tap on "Privacy" away */
.stage { position: relative; height: 100vh; height: 100svh; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.col { display: flex; flex-direction: column; align-items: center; position: relative; }
.word { display: block; margin-top: 26px; max-width: calc(100vw - 48px); height: auto; }

.line { margin: 18px 0 0; font-size: 21px; line-height: 1.4; color: #98A4AC; text-align: center; }
.mail { margin-top: 44px; font: 500 15px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .03em; color: #4FD8B0; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid #17B98A; }
.mail:hover, .mail:focus-visible { color: #EAEEF0; border-bottom-color: #EAEEF0; outline: none; }

.plink { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: max(14px, env(safe-area-inset-bottom)); font-size: 12px; color: #6E7C86; text-decoration: none; padding: 6px 10px; }
.plink:hover, .plink:focus-visible { color: #C3CBD1; outline: none; }
.fine { padding: 28px 16px max(28px, env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid #1B2226;
  font: 400 11.5px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: #6E7C86; }
.fine p { margin: 0 auto; max-width: 680px; text-wrap: pretty; }

/* a phone: the mark, the wordmark and the line at sizes made for the width */
@media (max-width: 559px) {
  .col { width: calc(100vw - 48px); margin-top: -40px; }
  #cs-mark svg { width: 104px; height: 90px; }
  .word { width: 100%; margin-top: 22px; }
  .line { font-size: 17px; margin-top: 14px; }
  .line .nd { display: block; }
  .mail { margin-top: 30px; font-size: 14px; }
  .fine { font-size: 11px; }
}
/* a short window (a laptop with a small browser, a phone on its side): tighter spacing */
@media (max-height: 599px) and (min-width: 560px) {
  #cs-mark svg { width: 96px; height: 83px; }
  .word { width: 480px; margin-top: 18px; }
  .line { font-size: 18px; margin-top: 12px; }
  .mail { margin-top: 26px; }
}
.fine:empty { display: none; }
