/* AnonyLabs — one viewport, nothing more. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  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: "Plex Mono";
  src: url("../fonts/plex-mono-400-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;
}

/* Archivo Black: the family's display face for taglines (AnonyChat's public
   headings, owner 2026-10-09). One weight (400), latin + latin-ext; the
   fallback is Arial, metric-matched like AnonyChat's next/font fallback. */
@font-face {
  font-family: "Archivo Black";
  src: url("../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("../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%;
  /* only the letters Archivo Black has (it stands in while that file loads): Greek, Cyrillic and every other script
     never come out of a weight-400 Arial (owner 2026-10-13), they go on to Inter */
  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, U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, 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;
}

/* The other scripts of the 24 languages (owner 2026-10-12): Inter latin-ext, Cyrillic and Greek, Plex Mono latin-ext
   and Cyrillic (it has no Greek), from the same @fontsource 5.3.0 packages. unicode-range: a page loads a file only
   when it shows one of its characters (English pages never do). Arabic, Devanagari, Hangul, kana and Han use the
   system's fonts. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-greek.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-lift: #131416;
  --panel: #111214;
  --fg: #e8e6e1; /* 16.6:1 on --bg */
  --fg-2: #9b9994; /* 7.0:1 */
  --fg-3: #7f7e7a; /* 4.8:1 — the floor for any text */
  --rule: rgba(232, 230, 225, 0.12);
  --mark: rgba(232, 230, 225, 0.24);
  --field: rgba(232, 230, 225, 0.035);
  --warn: #e0927f; /* errors only; 7.4:1 on --panel */

  --display: "Archivo Black", "Archivo Black Fallback", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --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));

  --track-caps: 0.26em;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg) radial-gradient(ellipse 85% 75% at 50% 42%, var(--bg-lift) 0%, var(--bg) 62%) no-repeat fixed;
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Grain: a static texture above everything, alpha baked into the PNG. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: url("../img/grain.png") repeat;
  background-size: 128px 128px;
}

p,
h1,
h2,
dl,
dd {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Frame                                                              */
/* ------------------------------------------------------------------ */

.frame {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  padding: var(--pad-t) var(--pad-r) var(--pad-b) var(--pad-l);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

/* Interface annotations: mono, small, quiet. */
.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;
}

/* Wordmark and controls share one set of metrics, so the contact panel's
   "Close" lands exactly where "Contact" was. */
.wordmark,
.ctl {
  font-family: var(--sans);
  font-size: clamp(11.5px, 0.66vw, 14px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}

/* Header (owner 2026-10-09, the family's arrangement): the wordmark left,
   the site navigation centred, Sign in right. Equal outer columns keep the
   navigation on the page's centre line. */
.top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 2.6vw, 56px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--fg);
  text-decoration: none;
}

.wordmark:focus-visible {
  outline-offset: 6px;
}

/* The logo: the flat horizontal lockup (the Anony Labs mark + the outlined
   "anonylabs" wordmark in Familjen Grotesk SemiBold), trimmed to its ink:
   width 5.71 × height. */
.wordmark__logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  aspect-ratio: 576.849 / 100.947;
  overflow: visible;
}

:root {
  --logo-h: clamp(20px, 1.25vw, 28px);
}

.nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: inherit;
}

.top__end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: inherit;
}

/* ------------------------------------------------------------------ */
/* Controls                                                           */
/* ------------------------------------------------------------------ */

.ctl {
  position: relative;
  display: inline-block;
  padding: 12px;
  margin: -12px calc(-12px - var(--track-caps)) -12px -12px; /* optical right edge */
  color: var(--fg-2);
  transition: color 0.24s var(--ease);
}

.ctl::after {
  content: "";
  position: absolute;
  left: 12px;
  right: calc(12px + var(--track-caps));
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s var(--ease);
}

.ctl:hover,
.ctl:focus-visible,
.ctl[aria-expanded="true"] {
  color: var(--fg);
}

.ctl:hover::after,
.ctl:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.ctl:focus-visible {
  outline-offset: -5px;
}

.ctl:active {
  color: var(--fg-2);
}

a.ctl {
  text-decoration: none;
}

.ctl[aria-current="page"] {
  color: var(--fg);
}

.ctl[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------------ */
/* Stage: figure + statement                                          */
/* ------------------------------------------------------------------ */

.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(var(--mark), var(--mark)) center / 1px 100% no-repeat,
    linear-gradient(var(--mark), var(--mark)) 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 {
  position: absolute;
  white-space: nowrap;
}

.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 {
  display: flex;
  gap: 0.7em;
}

.figure__readout dd {
  color: var(--fg-2);
  min-width: 6ch;
  text-align: end;
}

/* The figure's key, under its label: one account (AnonyID), a face per
   product (the faces Fig. 01 draws). */
.figure__key {
  position: absolute;
  left: 14px;
  top: 1.5em;
  max-width: calc(100% - 28px);
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  gap: 0.75em 1.1em;
  white-space: nowrap;
}

.figure__key div {
  display: contents;
}

.figure__key dd {
  color: var(--fg-2);
  white-space: normal; /* a longer label (FASSUNGEN, ΟΨΕΙΣ…) on a narrow phone: the faces wrap inside the figure */
}

.statement {
  padding-top: clamp(16px, 2.6vh, 36px);
}

/* The tagline: Archivo Black, uppercase, -0.045em, as AnonyChat's hero. */
.headline {
  font-family: var(--display);
  font-size: clamp(30px, min(4.1vw, 7.4vh), 88px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-feature-settings: "kern", "case";
  color: var(--fg);
  margin-left: -0.04em; /* optical: align the B's stem with the logo */
}

.lede {
  margin-top: clamp(12px, 2vh, 24px);
  max-width: 24.5em;
  font-size: clamp(14px, 0.36vw + 9.6px, 18px);
  font-weight: 400;
  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;
  }
}

/* The footer: assets/css/footer.css (the shared Anony Labs footer, owner 2026-10-13 — the same file as anonyvpn.app's
   and anonymail.app's). anonylabs.com's colours and faces for it; its pages are full-bleed, so the footer runs the
   width of the frame's padding box. */
:root {
  --foot-fg: var(--fg); --foot-fg-2: var(--fg-2); --foot-fg-3: var(--fg-3); --foot-rule: var(--rule);
  --foot-rule-strong: var(--mark); --foot-accent: var(--fg); --foot-panel: var(--panel);
  --foot-hover: rgba(232, 230, 225, 0.07); --foot-current: rgba(232, 230, 225, 0.1);
  --foot-sans: var(--sans); --foot-mono: var(--mono);
  --foot-max: none; --foot-pad-x: 0; --foot-pad-x-phone: 0;
}

/* The home page (desktop, 1000 px and wider, and tall enough): the footer is the register in the bottom-right corner,
   as on anonyvpn.app and anonymail.app (their column width), its bottom edge on the lede's. */
@media (min-width: 1000px) and (min-height: 521px) {
  .frame:not(.frame--page) > .foot--register {
    position: absolute;
    inset-inline-end: var(--pad-r);
    bottom: var(--pad-b);
    width: clamp(290px, 26vw, 400px);
  }
}

/* Narrower screens and short landscape ones (owner 2026-10-13: "On mobile, the page doesn't necessarily be
   Non-scrollable"): the home scrolls. Figure and statement still fill the first screen as before; the footer follows
   under them, as on anonyvpn.app and anonymail.app. */
@media (max-width: 999.98px), (orientation: landscape) and (max-height: 520px) {
  .frame:not(.frame--page) {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    /* the spare height of a tall screen goes to the footer's row (the footer sits at its bottom), never to the
       header's: the logo keeps anonyvpn.app's and anonymail.app's position (AnonyVPN e2e 01b, 768 x 1024) */
    grid-template-rows: auto auto 1fr;
  }

  .frame:not(.frame--page) > .foot--register {
    margin-top: clamp(28px, 4.5vh, 40px);
    align-self: end;
  }
}

/* The figure's height on the scrolling home: anonyvpn.app's and anonymail.app's (narrower than 1000 px, then phones). */
@media (max-width: 999.98px) {
  .frame:not(.frame--page) .figure {
    height: min(64vw, 52vh, 560px);
    height: min(64vw, 52svh, 560px);
  }
}

@media (max-width: 767.98px) {
  .frame:not(.frame--page) .figure {
    height: min(92vw, 46vh);
    height: min(92vw, 46svh);
  }
}

/* Short landscape screens keep the figure beside the text, one screen tall. */
@media (orientation: landscape) and (max-height: 520px) {
  .frame:not(.frame--page) > .stage {
    min-height: calc(100vh - var(--pad-t) - var(--logo-h) - var(--pad-b));
    min-height: calc(100svh - var(--pad-t) - var(--logo-h) - var(--pad-b));
  }

  .frame:not(.frame--page) .figure {
    height: auto;
  }
}

/* The "read this page in …" hint sits over the bottom of the screen: the footer keeps clear of it, and it steps aside
   while a language list is open. */
body:has(.langhint) .foot {
  padding-bottom: calc(max(12px, env(safe-area-inset-bottom)) + 64px);
}

body:has(details[data-langsw][open]) .langhint {
  visibility: hidden;
}

/* ------------------------------------------------------------------ */
/* Phone menu                                                         */
/* ------------------------------------------------------------------ */

/* Two hairlines that turn into a cross. */
.menu-btn {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  margin: -14px -12px -14px 0;
  color: var(--fg);
}

.menu-btn__line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 0.32s var(--ease), translate 0.32s var(--ease);
}

.menu-btn__line:first-child { top: 18px; }
.menu-btn__line:last-child { top: 25px; left: 18px; }

.menu-btn:focus-visible {
  outline-offset: -6px;
}

.menu .menu-btn__line:first-child {
  translate: 0 3.5px;
  transform: rotate(45deg);
}

.menu .menu-btn__line:last-child {
  left: 12px;
  translate: 0 -3.5px;
  transform: rotate(-45deg);
}

html.is-locked {
  overflow: hidden;
}

.menu {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--fg);
  overflow: hidden;
}

.menu::backdrop {
  background: rgba(5, 5, 6, 0.62);
}

.menu__sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--pad-t) var(--pad-r) var(--pad-b) var(--pad-l);
  background: var(--bg);
}

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.menu__bar .menu-btn {
  display: block;
}

.menu__nav {
  display: grid;
  margin-top: clamp(40px, 10vh, 96px);
  border-top: 1px solid var(--rule);
}

.menu__item {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: baseline;
  row-gap: 8px;
  width: 100%;
  padding: clamp(14px, 2.6vh, 22px) 0;
  border-bottom: 1px solid var(--rule);
  text-align: start;
  text-decoration: none;
  color: var(--fg);
  font-size: clamp(26px, 8.4vw, 40px);
  font-weight: 470;
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  font-feature-settings: "kern", "case";
}

.menu__item:focus-visible {
  outline-offset: -1px;
}

.menu__item[aria-current="page"] .menu__label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: var(--fg-3);
}

.menu__n {
  align-self: start;
  padding-top: 0.35em;
}

.menu__company {
  margin-top: auto;
  padding-top: 28px;
}

.menu[open] .menu__sheet {
  animation: panel-in 0.42s var(--ease) both;
}

/* The cross draws itself from the two lines on open. */
.menu[open] .menu-btn__line:first-child {
  animation: line-a 0.36s var(--ease) 0.06s both;
}

.menu[open] .menu-btn__line:last-child {
  animation: line-b 0.36s var(--ease) 0.06s both;
}

@keyframes line-a {
  from { translate: 0 0; transform: none; }
}

@keyframes line-b {
  from { left: 18px; translate: 0 0; transform: none; }
}

.menu[open] .menu__nav,
.menu[open] .menu__company {
  animation: content-in 0.5s var(--ease) 0.08s both;
}

.menu.is-closing .menu__sheet {
  animation: panel-out 0.2s cubic-bezier(0.4, 0, 1, 1) both;
}

/* Phones (and narrow windows): the navigation goes behind the button. */
@media (max-width: 760px) {
  .top .nav,
  .top .contact-trigger,
  .top .top__signin {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

/* ------------------------------------------------------------------ */
/* Text pages: About, Privacy, 404                                    */
/* ------------------------------------------------------------------ */

.frame--page {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.page {
  min-height: 0;
  padding-top: clamp(32px, 8vh, 120px);
}

.page__kicker {
  margin-bottom: clamp(14px, 2.4vh, 26px);
}

.page__title {
  font-size: clamp(30px, min(3.3vw, 6.6vh), 76px);
  font-weight: 470;
  line-height: 0.95;
  letter-spacing: -0.016em;
  text-transform: uppercase;
  font-feature-settings: "kern", "case";
  color: var(--fg);
  margin-left: -0.04em;
}

.page a:not(.ctl) {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}

.page a:not(.ctl):hover,
.page a:not(.ctl):focus-visible {
  text-decoration-color: var(--fg);
}

.page a:focus-visible {
  outline-offset: 2px;
}

.frame--page > .foot {
  margin-top: clamp(20px, 3.6vh, 56px);
}

/* About: heading and sign-off on the left, the text on the right. */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "head text"
    "sign text";
  column-gap: clamp(32px, 6vw, 160px);
}

.about .page__head { grid-area: head; }

.about__text {
  grid-area: text;
  max-width: 40em;
}

.about__lead {
  font-size: calc(clamp(19px, 0.62vw + 11px, 30px) * var(--about-k, 1));
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -0.011em;
  color: var(--fg);
  text-wrap: pretty;
}

.about__list {
  list-style: none;
  margin: clamp(22px, 4.2vh, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2.2vh, 24px);
  counter-reset: none;
}

.about__list li {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  padding-top: clamp(12px, 2.2vh, 22px);
  border-top: 1px solid var(--rule);
}

.about__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.about__n {
  padding-top: 0.5em;
}

.about__list p {
  font-size: calc(clamp(15px, 0.3vw + 10.5px, 19px) * var(--about-k, 1));
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

.about__sign {
  grid-area: sign;
  align-self: end;
  font-size: clamp(22px, min(2.3vw, 4.8vh), 54px);
  font-weight: 470;
  line-height: 0.98;
  letter-spacing: -0.014em;
  text-transform: uppercase;
  font-feature-settings: "kern", "case";
  color: var(--fg);
  margin-left: -0.04em;
}

.about__sign .nowrap:last-child {
  color: var(--fg-3);
}

/* Short desktop windows: four items still fit one viewport. */
@media (min-width: 901px) and (max-height: 660px) {
  .about__list {
    gap: 8px;
  }

  .about__list li {
    padding-top: 9px;
  }
}

/* 404: the heading, one line, and the way back. */
.notfound {
  display: grid;
  align-content: start;
  row-gap: clamp(28px, 6vh, 72px);
}

.notfound__text {
  margin-top: clamp(12px, 2vh, 22px);
  max-width: 34em;
  font-size: clamp(15px, 0.3vw + 10.5px, 19px);
  line-height: 1.55;
  color: var(--fg-2);
}

.notfound__links {
  max-width: 34rem;
}

/* Privacy: a legal page like anonyvpn.app's and anonymail.app's (owner 2026-10-13): the head, then the sections under
   display-face headings, with the table of contents (see "THE PRIVACY NOTE AS A LEGAL PAGE" at the end of this file). */
.privacy {
  padding-top: clamp(28px, 6vh, 120px);
}

.privacy__intro {
  margin-top: clamp(12px, 2vh, 22px);
  max-width: 44em;
  font-size: clamp(15px, 0.3vw + 10.5px, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "head" "text" "sign";
    row-gap: clamp(24px, 4vh, 40px);
  }

  .about__sign {
    padding-top: 8px;
  }
}

@media (max-width: 600px) {
  .page {
    padding-top: clamp(28px, 5vh, 48px);
  }

  .about__list li {
    grid-template-columns: 2.6em minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Catalogue index (Products and the 404 page)                        */
/* ------------------------------------------------------------------ */

/* The Products page itself (file headers, figures, walkthroughs, the product strip, the sealed file) is styled in
   assets/css/products.css, loaded by products.html only (owner 2026-10-13). */

/* The index: the catalogue's files (Products) or the site's pages (404), in-page links. */
.index {
  flex: 0 1 30rem;
  min-width: min(100%, 300px);
}

.index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.page a.index__item {
  display: grid;
  /* The name keeps its width; a longer status (GESCHLOSSENE VORSCHAU, …) wraps at the end instead of covering it. */
  grid-template-columns: 5.6em minmax(min-content, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.24s var(--ease);
}

.page a.index__item:hover,
.page a.index__item:focus-visible {
  color: var(--fg);
}

.index__no {
  color: inherit;
}

.index__name {
  font-size: clamp(13px, 0.3vw + 8.6px, 16px);
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}

.index__status {
  color: var(--fg-2);
  text-align: end;
  line-height: 1.3;
}

.index__redact {
  width: min(9em, 100%);
  height: 10px;
}

.index__redact--short {
  width: min(6em, 100%);
}

/* AL-000, the shared layer (AnonyID): first in the index, closed off from
   the product files by a double rule. */
.page a.index__item--layer {
  border-bottom: 3px double var(--rule);
}
/* ------------------------------------------------------------------ */
/* Pointer grid: faint, local, only for fine pointers                 */
/* ------------------------------------------------------------------ */

.grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  background-image:
    linear-gradient(to right, rgba(232, 230, 225, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 230, 225, 0.075) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: var(--pad-l) var(--pad-t);
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
}

.grid.is-on {
  opacity: 1;
}

/* ------------------------------------------------------------------ */
/* Contact panel                                                      */
/* ------------------------------------------------------------------ */

.contact {
  position: fixed;
  inset: 0 0 auto auto;
  margin: 0;
  padding: 0;
  border: 0;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100dvh;
  overflow: visible;
  background: transparent;
  color: var(--fg);
}

.contact::backdrop {
  background: rgba(5, 5, 6, 0.62);
}

.contact__panel {
  width: min(440px, 100vw);
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--pad-t) var(--pad-r) clamp(22px, 3vh, 36px) clamp(24px, 2.2vw, 40px);
  background: var(--panel);
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.contact__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(18px, 4vh, 40px);
}

.contact__bar .meta {
  font-size: clamp(10px, 0.56vw, 12px);
}

/* Form */

.cform {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(10px, 1.8vh, 18px);
}

.cform[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field__label {
  display: block;
  color: var(--fg-2);
}

.field__opt {
  color: var(--fg-3);
  text-transform: none;
  letter-spacing: 0.04em;
}

.field__input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 9px 11px;
  font: 400 15px/1.4 var(--sans);
  letter-spacing: -0.003em;
  color: var(--fg);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 0;
  appearance: none;
  transition: border-color 0.2s var(--ease);
}

.field__input--area {
  height: clamp(76px, 20vh, 168px);
  resize: none;
  display: block;
}

.field__input:hover {
  border-color: var(--mark);
}

.field__input:focus,
.field__input:focus-visible {
  outline: none;
  border-color: var(--fg-2);
}

.field__input[aria-invalid="true"] {
  border-color: var(--warn);
}

.field__input:read-only {
  color: var(--fg-2);
}

.field__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.field__error {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--warn);
}

.field__error:empty {
  display: none;
}

.field__count {
  margin-inline-start: auto;
  color: var(--fg-3);
}

.field__count[data-near="true"] {
  color: var(--fg-2);
}

/* Honeypot: off-screen for people and assistive tech, present for bots. */
.cform__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile, size "flexible": 100% wide (min 300px), 65px tall. */
.cform__verify {
  min-height: 65px;
  min-width: 0;
}

.cform__verify iframe {
  display: block;
}

.cform__alert {
  font-size: 13px;
  line-height: 1.45;
  color: var(--warn);
}

.cform__alert:empty {
  display: none;
}

.cform__send {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cform__submit {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding: 12px 18px 12px 16px;
  font-size: clamp(11.5px, 0.66vw, 14px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--fg-3);
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease), background-color 0.24s var(--ease);
}

.cform__submit::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
}

.cform__submit:hover:not(:disabled) {
  border-color: var(--fg);
  background: rgba(232, 230, 225, 0.05);
}

.cform__submit:focus-visible {
  outline-offset: 3px;
}

.cform__submit:disabled {
  color: var(--fg-3);
  border-color: var(--rule);
  cursor: not-allowed;
}

.cform__submit[data-state="sending"] {
  cursor: progress;
}

.cform__submit[data-state="sending"]::before {
  background: currentColor;
  animation: caret 0.9s steps(1, end) infinite;
}

.cform__note {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--fg-3);
}

.cform__note a,
.contact__alt a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.cform__note a:hover,
.contact__alt a:hover,
.cform__note a:focus-visible,
.contact__alt a:focus-visible {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

.cform__note a:focus-visible,
.contact__alt a:focus-visible {
  outline-offset: 2px;
}

/* Sent */

.cform__sent {
  padding: clamp(8px, 3vh, 28px) 0 clamp(8px, 2vh, 18px);
  outline: none;
}

.cform__sent-title {
  font-size: clamp(20px, 1.25vw + 4px, 27px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--fg);
}

.cform__sent-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
  overflow-wrap: anywhere;
}

/* The address, for people who prefer their own mail program. */

.contact__alt {
  margin-top: clamp(14px, 2.4vh, 24px);
  padding-top: clamp(12px, 2vh, 18px);
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-3);
  overflow-wrap: anywhere;
}

.contact__copy {
  position: relative;
  margin-inline-start: 0.7em;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color 0.24s var(--ease);
}

.contact__copy::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-end: 0.8em;
  vertical-align: 0.12em;
  border: 1px solid currentColor;
}

.contact__copy:hover,
.contact__copy:focus-visible,
.contact__copy[data-state="copied"] {
  color: var(--fg);
}

.contact__copy[data-state="copied"]::before {
  background: currentColor;
}

.contact__copy:focus-visible {
  outline-offset: 2px;
}

/* Open: the panel unrolls from the control line; content follows. */
.contact[open] .contact__panel {
  animation: panel-in 0.42s var(--ease) both;
}

.contact[open] .cform,
.contact[open] .cform__sent,
.contact[open] .contact__alt,
.contact[open] .contact__bar .meta {
  animation: content-in 0.5s var(--ease) 0.08s both;
}

.contact[open]::backdrop {
  animation: fade-in 0.42s ease both;
}

.contact.is-closing .contact__panel {
  animation: panel-out 0.2s cubic-bezier(0.4, 0, 1, 1) both;
  /* Fading out: let a click fall through to the backdrop handler, which
     reopens the panel when it lands on Contact (contact.js). */
  pointer-events: none;
}

.contact.is-closing::backdrop {
  animation: fade-out 0.2s ease both;
}

@keyframes panel-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes panel-out {
  from { clip-path: inset(0 0 0 0); opacity: 1; }
  to { clip-path: inset(0 0 100% 0); opacity: 0.6; }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes caret {
  50% { opacity: 0; }
}

/* Touch screens: 16px text so iOS does not zoom into the field. */
@media (pointer: coarse) {
  .field__input {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------------ */
/* Small screens                                                      */
/* ------------------------------------------------------------------ */

/* Phones, portrait: same composition, headline on two lines. */
@media (max-width: 700px) and (orientation: portrait) {
  :root {
    --g: 20px;
  }

  .headline {
    line-height: 0.95;
  }

  .lede {
    max-width: 17.5em;
    font-size: 14px;
  }

  .statement {
    padding-top: clamp(14px, 2.4vh, 28px);
  }

  .figure__box {
    width: min(100cqw, 100cqh);
  }

  .headline {
    font-size: min(15vw, 64px);
  }

  .figure__readout div:last-child {
    display: none;
  }

}

/* Short landscape screens (phones on their side): figure beside the text. */
@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --g: 18px;
  }

  .stage {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
  }

  .figure {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    margin-bottom: calc(var(--pad-b) * -0.4);
  }

  .statement {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 1.6em;
  }

  .headline {
    font-size: min(5.4vw, 11vh, 44px);
  }

  .lede {
    font-size: 13px;
    max-width: 22em;
  }

  .figure__readout,
  .figure__label,
  .figure__key,
  .figure__mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  ::backdrop {
    animation: none !important;
    transition: none !important;
  }
}

/* Full-width panel on narrow phones: no left rule against the screen edge. */
@media (max-width: 440px) {
  .contact__panel {
    border-left: 0;
  }
}

/* Short landscape screens: the form in two columns. */
@media (orientation: landscape) and (max-height: 520px) {
  .contact__panel {
    width: min(720px, 100vw);
  }

  .contact__bar {
    margin-bottom: 14px;
  }

  .cform {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "email message"
      "name message"
      "verify send"
      "alert alert";
    column-gap: 22px;
    row-gap: 10px;
  }

  .field--email { grid-area: email; }
  .field--name { grid-area: name; }
  .field--message { grid-area: message; grid-template-rows: auto minmax(0, 1fr) auto; }
  .cform__verify { grid-area: verify; }
  .cform__alert { grid-area: alert; }
  .cform__send { grid-area: send; align-items: flex-start; flex-direction: column; gap: 10px; }

  .field__input--area {
    height: 100%;
    min-height: 0;
  }

  .contact__alt {
    margin-top: 12px;
    padding-top: 10px;
  }
}

/* ------------------------------------------------------------------ */
/* Signed-in pill (owner 2026-10-09): replaces "Sign in" when this     */
/* browser is signed in to its AnonyID (assets/js/session.js).        */
/* ------------------------------------------------------------------ */

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-pill__avatar {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
}

.user-pill__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-pill__name {
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* "Profile" (owner 2026-10-12): avatar or person icon, the word "Profile", the AnonyID glyph; never a name. */
.user-pill__person {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-pill__glyph {
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: -2px;
  vertical-align: -2px;
}

/* the phone menu's row: the face and the glyph scale with the large label */
.menu__label .user-pill__avatar--menu {
  width: 0.8em;
  height: 0.8em;
  vertical-align: -0.08em;
}

.menu__label .user-pill__avatar--menu .user-pill__person {
  width: 0.5em;
  height: 0.5em;
}

.menu__label .user-pill__glyph {
  width: 0.6em;
  height: 0.6em;
  margin-left: 0;
  vertical-align: 0.05em;
}

/* ------------------------------------------------------------------ */
/* Languages (owner 2026-10-12)                                       */
/* ------------------------------------------------------------------ */

/* The "read this page in …" hint (English pages only, never a redirect): a small note over the page's foot. */
.langhint {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100vw - 32px);
  padding: 4px 4px 4px 14px;
  background: var(--panel);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.3;
}

.langhint[dir="rtl"] {
  padding: 4px 14px 4px 4px;
}

.langhint__link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-underline-offset: 3px;
}

.langhint__close {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--fg-2);
}

.langhint__close::before,
.langhint__close::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.langhint__close::after {
  transform: rotate(-45deg);
}

.langhint__close:hover,
.langhint__close:focus-visible {
  color: var(--fg);
}

/* The privacy note's language versions: one line in the page's language over the English text. */
.page__lang-note {
  margin: 0 0 clamp(14px, 2.4vh, 26px);
  padding-inline-start: 10px;
  border-inline-start: 2px solid var(--mark);
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-2);
}

/* Scripts the display face does not cover (Archivo Black is Latin + Latin Extended only): the tagline in the UI stack at
   weight 800 — Inter ExtraBold for Greek and Cyrillic (its own Greek / Cyrillic files: a real 800, never a synthesised
   bold), the system's own face for Arabic, Devanagari, Hangul, kana and Han — the rule anonyvpn.app and anonymail.app use
   for their display headings (owner 2026-10-13). One face per tagline, never Archivo's Latin mixed with a fallback; the
   same size and upper case as the Latin tagline, half its negative tracking. tools/i18n.mjs marks such a tagline
   (data-face="sans", any letter outside Archivo Black's ranges), so a new language cannot fall through to the
   metric-matched Arial at weight 400 (the :lang() list names the languages of today). */
:lang(ru) .headline,
:lang(uk) .headline,
:lang(el) .headline,
:lang(ar) .headline,
:lang(hi) .headline,
:lang(ja) .headline,
:lang(ko) .headline,
:lang(zh-Hans) .headline,
.headline[data-face="sans"] {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

:lang(ar) .headline,
:lang(hi) .headline,
:lang(ja) .headline,
:lang(ko) .headline,
:lang(zh-Hans) .headline {
  line-height: 1.12;
  letter-spacing: 0;
}

/* No spaces to break at: the tagline's clauses may wrap inside, by the script's own rules. */
:lang(ja) .headline .nowrap,
:lang(zh-Hans) .headline .nowrap {
  white-space: normal;
  line-break: strict;
}

/* Joined scripts must never be tracked apart (Arabic letters, the Devanagari headstroke). */
:lang(ar),
:lang(hi) {
  letter-spacing: 0 !important;
}

/* Full-width kana and Han run wider than the tagline's caps: a smaller size on phones keeps each clause on one line. */
@media (max-width: 700px) and (orientation: portrait) {
  :lang(ja) .headline,
  :lang(zh-Hans) .headline {
    font-size: min(10.4vw, 7vh, 48px);
  }
}

/* Latin data inside Arabic text keeps its own order: the street, the postcode + city, the KvK line, the readout. */
[dir="rtl"] .foot__company > span:not([data-text="company.country"]),
[dir="rtl"] .menu__company > span,
[dir="rtl"] [data-readout] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* The About text runs up to a fifth longer in the other languages (fr, el, ro, de…): set a little smaller so the page
   stays one viewport on desktop. */
:root:not(:lang(en)) {
  --about-k: 0.86;
}

/* The privacy note's language versions carry one more line: less air above the head keeps it one screen tall. */
.privacy[lang="en"] {
  padding-top: clamp(8px, 1vh, 40px);
}

.privacy[lang="en"] .page__lang-note {
  margin-bottom: clamp(8px, 1.2vh, 18px);
}

/* Taglines run longer in most languages: their parts may wrap (English keeps its two fixed lines). */
:root:not(:lang(en)) .about__sign .nowrap {
  white-space: normal;
}

/* Phones: a tagline with a longer word than "private." (data-long = its letters, tools/i18n.mjs) is set so that word
   fits the width, as 15vw fits eight. */
@media (max-width: 700px) and (orientation: portrait) {
  .headline[data-long="9"] {
    font-size: min(13.33vw, 64px);
  }
  .headline[data-long="10"] {
    font-size: min(12.0vw, 64px);
  }
  .headline[data-long="11"] {
    font-size: min(10.91vw, 64px);
  }
  .headline[data-long="12"] {
    font-size: min(10.0vw, 64px);
  }
  .headline[data-long="13"] {
    font-size: min(9.23vw, 64px);
  }
  .headline[data-long="14"] {
    font-size: min(8.57vw, 64px);
  }
  .headline[data-long="15"] {
    font-size: min(8.0vw, 64px);
  }
  .headline[data-long="16"] {
    font-size: min(7.5vw, 64px);
  }
}

/* The narrowest phones: a long one-word status (FÖRHANDSVERSION, PREVIZUALIZARE…) may hyphenate, never push the row wide. */
@media (max-width: 400px) {
  .index__status {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}

/* ======================================================================================================================
   THE PRIVACY NOTE AS A LEGAL PAGE (owner 2026-10-13: "like AnonyVPN's and AnonyMail's legal pages"; anonyvpn.app's
   static/app.css, "DISPLAY FONT + LEGAL TABLE OF CONTENTS", in this site's tokens: square, mono labels).
   1. Headings (h1, h2) in the tagline's face: Archivo Black, upper case, tight tracking. The note is English everywhere
      (lang="en"), so its headings are always Archivo Black; for a heading in Greek / Cyrillic or in Arabic, Devanagari
      or CJK the same headings take the UI stack at weight 800 instead (as the home tagline above).
   2. The table of contents (tools/i18n.mjs writes it from the note's <h2 id> headings; assets/js/legal-toc.js marks the
      section being read): from 1100 px a sticky column beside the text ("On this page"), below that the closed
      "Contents" block under the note's head.
   ==================================================================================================================== */
.legal h1,
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-feature-settings: "kern", "case";
  text-wrap: balance;
  color: var(--fg);
}

.legal h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal h2 {
  margin: 2.2em 0 0.7em;
  font-size: 19px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .legal h2 {
    font-size: 21px;
  }
}

.legal h2[id] {
  scroll-margin-top: 24px;
}

/* the scripts Archivo Black does not cover: the UI stack, weight 800, the same upper case where the script has one */
:is(.legal h1, .legal h2):is(:lang(el), :lang(ru), :lang(uk)) {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

:is(.legal h1, .legal h2):is(:lang(ar), :lang(hi), :lang(ja), :lang(ko), :lang(zh)) {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.legal > p {
  max-width: 44em;
  font-size: clamp(15px, 0.18vw + 12.4px, 17px);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* the layout: the text column and, from 1100 px, the contents beside it */
.legal-layout > .legal {
  min-width: 0;
  max-width: 720px;
}

.legal-aside {
  display: none;
}

@media (min-width: 1100px) {
  .legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) 236px;
    justify-content: start;
    align-items: start;
    column-gap: clamp(56px, 6vw, 120px);
  }

  .legal-aside {
    display: block;
    position: sticky;
    top: 24px;
  }

  .ltoc--inline {
    display: none;
  }
}

.ltoc .ltoc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ltoc .ltoc__list li {
  margin: 0;
}

/* (.page a.… beats the page's underlined links) */
.page a.ltoc__link {
  display: block;
  padding: 7px 10px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--fg-3);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.page a.ltoc__link:hover {
  color: var(--fg);
  background: var(--field);
}

.page a.ltoc__link[aria-current] {
  color: var(--fg);
  background: var(--field);
  font-weight: 560;
  box-shadow: inset 2px 0 0 var(--fg);
}

/* the side column: its own scroll when the list is taller than the window */
.ltoc--side {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.ltoc__h {
  margin: 0;
  padding: 0 10px 12px;
  font: 400 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* phones and tablets: a closed "Contents" block under the note's head (a <details>: no JavaScript needed) */
.ltoc--inline {
  margin: clamp(20px, 3vh, 32px) 0 8px;
  border: 1px solid var(--rule);
  background: var(--field);
}

.ltoc__sum {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.ltoc__sum::-webkit-details-marker {
  display: none;
}

.ltoc__ico,
.ltoc__chev {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--fg-3);
}

.ltoc__chev {
  margin-inline-start: auto;
  transition: transform 0.15s var(--ease);
}

.ltoc--inline[open] .ltoc__chev {
  transform: rotate(180deg);
}

.ltoc--inline nav {
  padding: 6px;
  border-top: 1px solid var(--rule);
}

:is(.ltoc__h, .ltoc__sum):is(:lang(ar), :lang(hi), :lang(ja), :lang(ko), :lang(zh), :lang(el), :lang(ru), :lang(uk)) {
  letter-spacing: 0;
}

/* Plex Mono has no Greek, Arabic, Devanagari or CJK: those labels in the UI stack */
.ltoc__h:is(:lang(ar), :lang(hi), :lang(ja), :lang(ko), :lang(zh), :lang(el), :lang(ru), :lang(uk)) {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
}

@media print {
  .legal-aside,
  .ltoc--inline {
    display: none;
  }
}
/* ==== end THE PRIVACY NOTE AS A LEGAL PAGE ==== */
