/* SPDX-FileCopyrightText: 2026 José M. Requena Plens
   SPDX-License-Identifier: GPL-3.0-or-later */
/* Cut from the site's sheet by api/scripts/stage.mjs: its faces and its
   tokens layer. Not edited by hand. */
@font-face {
  font-family: "Kleidos Sans";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  src: url("fonts/kleidos-sans-text.woff2") format("woff2");
  font-display: optional;
}
@font-face {
  font-family: "Kleidos Sans";
  font-style: normal;
  font-weight: 620 650;
  font-stretch: 106% 112.5%;
  src: url("fonts/kleidos-sans-display.woff2") format("woff2");
  font-display: optional;
}
@font-face {
  font-family: "Kleidos Mono";
  font-style: normal;
  font-weight: 400 500;
  src: url("fonts/kleidos-mono.woff2") format("woff2");
  font-display: optional;
}
@font-face {
  font-family: "Kleidos Sans Fallback";
  font-weight: 400;
  src: local("Arial");
  size-adjust: 103.29%;
  ascent-override: 105.53%;
  descent-override: 30.98%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Kleidos Sans Fallback";
  font-weight: 700;
  src: local("Arial Bold");
  size-adjust: 98.33%;
  ascent-override: 110.86%;
  descent-override: 32.54%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Kleidos Section Fallback";
  font-weight: 700;
  src: local("Arial Bold");
  size-adjust: 96.45%;
  ascent-override: 113.02%;
  descent-override: 33.18%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Kleidos Display Fallback";
  font-weight: 700;
  src: local("Arial Bold");
  size-adjust: 100.79%;
  ascent-override: 108.14%;
  descent-override: 31.75%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Kleidos Mono Fallback";
  font-weight: 400;
  src: local("Courier New");
  size-adjust: 102.98%;
  ascent-override: 105.84%;
  descent-override: 31.07%;
  line-gap-override: 0.00%;
}
@layer tokens {
  :root {
    --ground: #08090c;
    --bg: var(--ground);
    --bg-2: #0d0f13;
    --surface: #12151a;
    --raised: #191d24;
    --ink: #eceef1;
    --ink-2: #9aa3ad;
    --ink-3: #7d8590;
    --select: #0f3460;
    --signal: #00d2ff;
    --accent: var(--signal);
    --accent-ink: #00131a;
    --accent-wash: rgb(0 210 255 / 10%);
    --accent-line: rgb(0 210 255 / 38%);
    --done: #51cf66;
    --pending: #ffd43b;
    --stage: #0a0c0f;
    --stage-ink: #eceef1;
    --stage-ink-2: #8f98a3;
    --stage-accent: #00d2ff;
    --plate: #000000;
    --rule: rgb(255 255 255 / 8%);
    --rule-strong: rgb(255 255 255 / 16%);
    --control-line: rgb(255 255 255 / 40%);
    --glass: rgb(18 21 26 / 62%);
    --glass-line: rgb(255 255 255 / 10%);
    --glass-blur: blur(12px) saturate(140%);
    --nav-bg: rgb(8 9 12 / 72%);
    --dots: rgb(255 255 255 / 6%);
    --glow-1: rgb(0 210 255 / 9%);
    --glow-2: rgb(59 130 246 / 6%);
    --device-glow: rgb(0 210 255 / 20%);
    --finger: #767b81;
    --shadow-card: none;
    --shadow-object: 0 40px 70px -30px rgb(0 0 0 / 90%);
    --veil: rgb(0 0 0 / 80%);
    --host-line: rgb(255 255 255 / 24%);
    --host-fill: rgb(255 255 255 / 2.5%);
    --shadow-strength: 80%;
    --font-display: "Kleidos Sans", "Kleidos Display Fallback", Arial, sans-serif;
    --font-section: "Kleidos Sans", "Kleidos Section Fallback", Arial, sans-serif;
    --font-sans: "Kleidos Sans", "Kleidos Sans Fallback", Arial, sans-serif;
    --font-mono:
      "Kleidos Mono", "Kleidos Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, Consolas,
      monospace;
    --t-hero: clamp(44px, 5.6vw, 88px);
    --t-hero-lh: 1;
    --t-hero-track: -0.03em;
    --t-hero-face: var(--font-display);
    --t-hero-weight: 650;
    --t-hero-width: 112.5%;
    --t-hero-fvs: "opsz" 72;
    --t-chapter: clamp(34px, 4.4vw, 64px);
    --t-chapter-lh: 1.04;
    --t-chapter-track: -0.025em;
    --t-chapter-face: var(--font-display);
    --t-chapter-weight: 650;
    --t-chapter-width: 112.5%;
    --t-chapter-fvs: "opsz" 72;
    --t-section: clamp(26px, 2.6vw, 38px);
    --t-section-lh: 1.1;
    --t-section-track: -0.02em;
    --t-section-face: var(--font-section);
    --t-section-weight: 620;
    --t-section-width: 106%;
    --t-section-fvs: "opsz" 72;
    --t-figure: clamp(56px, 7vw, 112px);
    --t-figure-lh: 0.95;
    --t-figure-track: -0.02em;
    --t-figure-face: var(--font-mono);
    --t-figure-weight: 500;
    --t-figure-width: 100%;
    --t-figure-fvs: normal;
    --t-title: clamp(19px, 1.6vw, 23px);
    --t-title-lh: 1.25;
    --t-title-track: -0.01em;
    --t-title-face: var(--font-sans);
    --t-title-weight: 600;
    --t-title-width: 100%;
    --t-title-fvs: "opsz" 20;
    --t-lede: clamp(17px, 1.3vw, 20px);
    --t-lede-lh: 1.5;
    --t-lede-track: 0;
    --t-lede-face: var(--font-sans);
    --t-lede-weight: 400;
    --t-lede-width: 100%;
    --t-lede-fvs: "opsz" 20;
    --t-body: 17px;
    --t-body-lh: 1.6;
    --t-body-track: 0;
    --t-body-face: var(--font-sans);
    --t-body-weight: 400;
    --t-body-width: 100%;
    --t-body-fvs: "opsz" 20;
    --t-small: 14px;
    --t-small-lh: 1.5;
    --t-small-track: 0;
    --t-small-face: var(--font-sans);
    --t-small-weight: 400;
    --t-small-width: 100%;
    --t-small-fvs: "opsz" 20;
    --t-label: 12px;
    --t-label-lh: 1.3;
    --t-label-track: 0.12em;
    --t-label-face: var(--font-mono);
    --t-label-weight: 500;
    --t-label-width: 100%;
    --t-label-fvs: normal;
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 72px;
    --s-9: 112px;
    --s-10: 160px;
    --gutter: clamp(16px, 4vw, 48px);
    --container: 1200px;
    --wide: 1320px;
    --zero-text: 0.623em;
    --zero-section: 0.653em;
    --zero-display: 0.703em;
    --zero-mono: 0.618em;
    --measure: calc(66 * var(--zero-text));
    --measure-lede: calc(52 * 0.623 * var(--t-lede));
    --section-y: clamp(72px, 10vw, 144px);
    --radius-round: 999px;
    --r-pill: var(--radius-round);
    --r-xl: 28px;
    --r-lg: 20px;
    --r-md: 14px;
    --r-sm: 10px;
    --r-xs: 6px;
    --d-fast: 160ms;
    --d-med: 320ms;
    --d-slow: 560ms;
    --d-pill: 480ms;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 64px;
    color-scheme: dark;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --ground: #f2f4f5;
      --bg-2: #e8ebed;
      --surface: #ffffff;
      --raised: #ffffff;
      --ink: #0c0f13;
      --ink-2: #4a525c;
      --ink-3: #5f6772;
      --select: #cdeaf3;
      --signal: #00708c;
      --accent-ink: #ffffff;
      --accent-wash: rgb(0 112 140 / 7%);
      --accent-line: rgb(0 112 140 / 45%);
      --done: #15702f;
      --pending: #8a5a00;
      --rule: rgb(12 15 19 / 10%);
      --rule-strong: rgb(12 15 19 / 22%);
      --control-line: rgb(12 15 19 / 55%);
      --glass: rgb(255 255 255 / 74%);
      --glass-line: rgb(12 15 19 / 10%);
      --nav-bg: rgb(242 244 245 / 82%);
      --dots: rgb(12 15 19 / 6%);
      --glow-1: rgb(0 150 190 / 8%);
      --glow-2: rgb(59 130 246 / 4%);
      --device-glow: rgb(0 150 190 / 14%);
      --shadow-card: 0 1px 2px rgb(12 15 19 / 5%), 0 18px 40px -22px rgb(12 15 19 / 28%);
      --shadow-object: 0 40px 60px -34px rgb(12 15 19 / 45%);
      --host-line: rgb(12 15 19 / 28%);
      --host-fill: rgb(12 15 19 / 3%);
      --shadow-strength: 38%;
      color-scheme: light;
    }
  }
  :root[data-theme="light"] {
    --ground: #f2f4f5;
    --bg-2: #e8ebed;
    --surface: #ffffff;
    --raised: #ffffff;
    --ink: #0c0f13;
    --ink-2: #4a525c;
    --ink-3: #5f6772;
    --select: #cdeaf3;
    --signal: #00708c;
    --accent-ink: #ffffff;
    --accent-wash: rgb(0 112 140 / 7%);
    --accent-line: rgb(0 112 140 / 45%);
    --done: #15702f;
    --pending: #8a5a00;
    --rule: rgb(12 15 19 / 10%);
    --rule-strong: rgb(12 15 19 / 22%);
    --control-line: rgb(12 15 19 / 55%);
    --glass: rgb(255 255 255 / 74%);
    --glass-line: rgb(12 15 19 / 10%);
    --nav-bg: rgb(242 244 245 / 82%);
    --dots: rgb(12 15 19 / 6%);
    --glow-1: rgb(0 150 190 / 8%);
    --glow-2: rgb(59 130 246 / 4%);
    --device-glow: rgb(0 150 190 / 14%);
    --shadow-card: 0 1px 2px rgb(12 15 19 / 5%), 0 18px 40px -22px rgb(12 15 19 / 28%);
    --shadow-object: 0 40px 60px -34px rgb(12 15 19 / 45%);
    --host-line: rgb(12 15 19 / 28%);
    --host-fill: rgb(12 15 19 / 3%);
    --shadow-strength: 38%;
    color-scheme: light;
  }
}
