/* anonymail.app — the "coming soon" page. The sibling of anonyvpn.app's landing: one viewport on desktop (anonylabs.com's
   homepage layout: Fig. 01, the statement bottom-left, the register bottom-right) on anonychat.app's flat graphite
   ground; the header in AnonyChat's public arrangement (the lockup left at anonylabs.com's position and size).
   Brand kit v2: ink #151719, off-white #F3F2ED, mail blue #4DA3FF (used sparingly: the dot, Fig. 01's route).
   Fonts self-hosted (SIL OFL): Archivo Black (the tagline, AnonyChat's public display type), Inter, IBM Plex Mono.
   No inline styles or scripts (CSP style-src/script-src 'self'). Dark only. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial"); ascent-override: 70.78%; descent-override: 16.93%; line-gap-override: 0%; size-adjust: 124.05%; }

:root {
  --bg: #151719; --fg: #f3f2ed; --fg-2: #b4b9bc; --fg-3: #999fa3; --accent: #4da3ff;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: "Archivo Black", "Archivo Black Fallback", var(--font);
  --g: clamp(20px, 2.1vw, 48px);
  --pad-t: max(var(--g), env(safe-area-inset-top)); --pad-r: max(var(--g), env(safe-area-inset-right));
  --pad-b: max(var(--g), env(safe-area-inset-bottom)); --pad-l: max(var(--g), env(safe-area-inset-left));
  --logo-h: clamp(20px, 1.25vw, 28px);
  --px: 0; --py: 0;
  color-scheme: dark;
  background: var(--bg);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "kern", "calt"; }
a { color: var(--fg); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.nowrap { white-space: nowrap; }

.frame {
  position: relative; min-height: 100vh; min-height: 100dvh;
  padding: var(--pad-t) var(--pad-r) var(--pad-b) var(--pad-l);
  display: grid; grid-template-rows: auto minmax(0, 1fr);
}
.meta {
  font-family: var(--mono); font-size: clamp(10px, 0.56vw, 12px); font-weight: 400; line-height: 1; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3); font-variant-numeric: tabular-nums;
}

/* Header: one row exactly the logo's height, so the lockup sits at (pad, pad) like anonylabs.com's. No nav and no
   sign-in yet: there are no other pages and no product. */
.lhead { position: relative; z-index: 2; display: flex; align-items: center; transform: translate3d(calc(var(--px) * 1px), calc(var(--py) * 0.5px), 0); }
.lhead__brand { display: inline-flex; text-decoration: none; }
.lhead__brand:focus-visible { outline-offset: 6px; }
.lhead__logo { display: block; height: var(--logo-h); width: auto; aspect-ratio: 585.957 / 100.947; }

/* Stage: Fig. 01 takes what the statement leaves. */
.stage { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.figure { position: relative; min-height: 0; container-type: size; }
.figure__box { position: absolute; left: 50%; top: 50%; width: min(56vh, 76vw); width: calc(min(100cqw, 100cqh) * 0.9); aspect-ratio: 1; translate: -50% -50%; }
.figure__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.figure__mark {
  position: absolute; width: 9px; height: 9px; translate: -50% -50%;
  background: linear-gradient(rgba(243, 242, 237, 0.24), rgba(243, 242, 237, 0.24)) center / 1px 100% no-repeat,
    linear-gradient(rgba(243, 242, 237, 0.24), rgba(243, 242, 237, 0.24)) center / 100% 1px no-repeat;
}
.figure__mark--tl { left: 0; top: 0; } .figure__mark--tr { left: 100%; top: 0; }
.figure__mark--bl { left: 0; top: 100%; } .figure__mark--br { left: 100%; top: 100%; }
.figure__label, .figure__readout, .figure__key { position: absolute; white-space: nowrap; margin: 0; transform: translate3d(calc(var(--px) * 1.5px), calc(var(--py) * 1px), 0); }
.figure__label { left: 14px; top: 0; translate: 0 -50%; }
.figure__readout { right: 14px; top: 100%; translate: 0 -50%; display: flex; gap: 1.6em; }
.figure__readout div, .figure__key div { display: flex; gap: 0.7em; }
.figure__readout dd { color: var(--fg-2); min-width: 6ch; text-align: right; margin: 0; }
.figure__key { left: 14px; top: 1.5em; display: grid; grid-template-columns: auto auto; gap: 0.75em 1.1em; }
.figure__key div { display: contents; }
.figure__key dd { color: var(--fg-2); margin: 0; }

/* Statement (bottom-left) and the register (bottom-right), bottom edges shared. */
.statement {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(28px, 4vw, 96px);
  padding-top: clamp(16px, 2.6vh, 36px); transform: translate3d(calc(var(--px) * -2px), calc(var(--py) * -1.5px), 0);
}
.label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 clamp(12px, 1.8vh, 20px); font: 400 clamp(11px, 0.72vw, 12.5px)/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.label__brand { color: var(--fg-2); }
.label__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.tagline {
  margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(28px, min(3.6vw, 6.6vh), 76px); color: var(--fg); text-wrap: balance; font-feature-settings: "kern";
}
.tagline .nowrap { display: block; } /* two lines from 768 px up */
.lede {
  margin: clamp(12px, 2vh, 24px) 0 0; max-width: 31em; font-size: clamp(14px, 0.36vw + 9.6px, 18px); line-height: 1.5; letter-spacing: -0.003em;
  color: var(--fg-2); text-wrap: pretty;
}
/* The AnonyID pill in running text (brand kit "The AnonyID pill"): replaces the word, middle-aligned, 0.2em either
   side; pill-inline-20 in 13-15px text, pill-inline-24 from 16px (the lede reaches 16px at 1778px). */
.anonyid-pill { display: inline-block; margin: 0 0.2em; line-height: 0; vertical-align: middle; }
.anonyid-pill img { display: block; width: auto; height: 20px; }
@media (min-width: 1778px) { .lede .anonyid-pill img { height: 24px; } }
.cta--note { margin: clamp(14px, 2.2vh, 24px) 0 0; font: 400 clamp(11px, 0.72vw, 12.5px)/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.register { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding-bottom: 0.2em; line-height: 1.5; }
.register a { color: var(--fg-2); text-decoration: none; }
.register a:hover { color: var(--fg); text-decoration: underline; }

/* Desktop with room: exactly one viewport, nothing scrolls. */
@media (min-width: 1000px) and (min-height: 560px) {
  .frame { height: 100vh; height: 100dvh; }
}
/* Narrower: the register goes under the statement. */
@media (max-width: 999.98px) {
  .statement { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vh, 36px); }
  .figure { height: min(64vw, 52vh, 560px); height: min(64vw, 52svh, 560px); margin-top: 12px; }
  .tagline { font-size: clamp(28px, 5.6vw, 52px); }
  /* the statement follows the figure; the register keeps to the bottom of the screen */
  .stage { grid-template-rows: auto minmax(0, 1fr); }
  .statement { grid-template-rows: auto minmax(0, 1fr); }
  .register { align-self: end; }
}
/* Phones: the tagline wraps freely at AnonyChat's phone size. */
@media (max-width: 767.98px) {
  .nowrap { white-space: normal; }
  .tagline .nowrap { display: inline; }
  .tagline { font-size: 28px; }
  .figure { height: min(92vw, 46svh); }
}
@media (prefers-reduced-motion: reduce) {
  .lhead, .statement, .figure__label, .figure__readout, .figure__key { transform: none; }
}

/* 404 */
.lost { align-self: end; }
.lost .lede a { color: var(--fg); }
