/* =========================================================================
   Nexora — Corporate Website design system
   Dark-first theme with a light override. No external font/asset dependencies.
   Mirrors the application brand: indigo primary, slate surfaces, 12px radius.
   ========================================================================= */

/* --- Design tokens (dark, default) -------------------------------------- */
:root {
   --bg: #08090a;
   --bg-soft: #0b0c0d;
   --surface: #0f1012;
   --surface-2: #0b0c0d;
   --surface-3: #151618;
   --border: rgba(255, 255, 255, 0.08);
   --border-strong: rgba(255, 255, 255, 0.14);

   --text: #c7c9cc;
   --text-strong: #f5f6f7;
   --muted: #8b9096;
   --muted-2: #5f6368;

   --primary: #5e6ad2;
   --primary-600: #6d78e0;
   --primary-700: #4f5ac0;
   --primary-800: #3d47a0;
   --primary-soft: rgba(94, 106, 210, 0.10);
   --accent: #5e6ad2;
   --accent-2: #8b95e6;

   --success: #34d399;
   --error: #f43f5e;
   --warn: #f59e0b;
   --info: #5e6ad2;

   --radius: 10px;
   --radius-sm: 8px;
   --radius-lg: 14px;
   --radius-pill: 999px;

   --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
   --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.5);
   --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
   --ring: 0 0 0 3px rgba(94, 106, 210, 0.35);

   --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
   --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

   --maxw: 1200px;
   --gutter: clamp(1rem, 3vw, 2rem);
   --section-y: clamp(3.5rem, 8vw, 7rem);

   --grad-brand: linear-gradient(135deg, #5e6ad2 0%, #8b95e6 100%);
   --grad-brand-soft: linear-gradient(135deg, rgba(94, 106, 210, 0.10), rgba(139, 149, 230, 0.06));
   --grad-cta: #5e6ad2;
}

/* --- Light theme override ---------------------------------------------- */
[data-theme="light"] {
   --bg: #ffffff;
   --bg-soft: #fafafa;
   --surface: #ffffff;
   --surface-2: #f7f7f8;
   --surface-3: #f0f0f2;
   --border: rgba(9, 10, 11, 0.10);
   --border-strong: rgba(9, 10, 11, 0.16);

   --text: #3c3c43;
   --text-strong: #0a0a0a;
   --muted: #6f7378;
   --muted-2: #9a9da3;

   --primary: #5e6ad2;
   --primary-600: #5460cf;
   --primary-700: #4650b8;
   --primary-800: #363f96;
   --primary-soft: rgba(94, 106, 210, 0.08);
   --accent: #5e6ad2;
   --accent-2: #6d78e0;

   --grad-brand: linear-gradient(135deg, #5e6ad2 0%, #8b95e6 100%);
   --grad-brand-soft: linear-gradient(135deg, rgba(94, 106, 210, 0.06), rgba(139, 149, 230, 0.04));
   --grad-cta: #5e6ad2;

   --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
   --shadow: 0 1px 3px rgba(15, 23, 42, 0.10), 0 6px 16px rgba(15, 23, 42, 0.06);
   --shadow-lg: 0 12px 32px rgba(9, 10, 11, 0.12);
}

/* --- Reset / base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
   -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
   -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p {
  color: var(--muted);
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-3);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
}

/* --- Accessibility helpers ---------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--primary-700);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout primitives --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
   .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
   .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--shadow), 0 6px 20px rgba(99, 102, 241, 0.35);
}
.btn--primary:hover {
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(99, 102, 241, 0.45);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* --- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  flex: none;
}
.brand__name em { font-style: normal; color: var(--primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__links a:hover { color: var(--text-strong); background: var(--surface-2); }
.nav__links a.is-active { color: var(--text-strong); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.icon-btn:hover { color: var(--text-strong); border-color: var(--border-strong); }
.icon-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-strong);
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
      .nav__toggle { display: grid; }
      .nav__links {
       position: fixed;
       inset: 70px 0 auto 0;
       flex-direction: column;
       align-items: stretch;
       gap: 0.25rem;
       background: var(--bg-soft);
       border-bottom: 1px solid var(--border);
       padding: 1rem var(--gutter) 1.5rem;
       box-shadow: var(--shadow-lg);
       transform: translateY(-12px);
       opacity: 0;
       pointer-events: none;
       transition: transform 0.2s ease, opacity 0.2s ease;
       z-index: 60;
       }
       .nav__links.is-open {
       transform: translateY(0);
       opacity: 1;
       pointer-events: auto;
       }
       .nav__links a { font-size: 1.05rem; padding: 0.8rem 0.9rem; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(50% 50% at 90% 10%, rgba(34, 211, 238, 0.16), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
       .hero__grid { grid-template-columns: 1fr; }
}

.hero__title { margin-bottom: 1.4rem; }
.hero__title .grad {
  background: var(--grad-brand);
       -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.18rem;
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted-2);
  font-size: 0.9rem;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--success); }

.hero__visual { position: relative; }

.glass-card {
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.glass-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.glass-card__title {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.95rem;
}
.dot-row { display: flex; gap: 0.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ef4444; }
.dot--y { background: #f59e0b; }
.dot--g { background: #22c55e; }

.feed-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 0.7rem;
}
.feed-row:last-child { margin-bottom: 0; }
.feed-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: none;
  font-size: 0.95rem;
}
.feed-ico--fb { background: linear-gradient(135deg, #1877f2, #0a52c9); }
.feed-ico--ig { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.feed-ico--tt { background: linear-gradient(135deg, #25f4ee, #000, #fe2c55); }
.feed-meta { display: flex; flex-direction: column; }
.feed-meta strong { color: var(--text-strong); font-size: 0.92rem; }
.feed-meta span { color: var(--muted-2); font-size: 0.8rem; }
.feed-status {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
}

/* --- Feature / content cards -------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }

/* --- Platforms strip ----------------------------------------------------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.92rem;
}
.chip__dot { width: 10px; height: 10px; border-radius: 50%; }

/* --- Security / stats ---------------------------------------------------- */
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-brand);
      -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.check-list { display: grid; gap: 0.85rem; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex: none;
  margin-top: 0.15rem;
}

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%);
  z-index: -1;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: var(--section-y);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
       .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
       .footer__grid { grid-template-columns: 1fr; }
}
.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--primary); }
.footer__col--legal a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer__col--legal a svg { width: 15px; height: 15px; color: var(--info); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  color: var(--muted-2);
  font-size: 0.88rem;
}

/* --- Legal / documentation pages ---------------------------------------- */
.doc {
  max-width: 820px;
  margin-inline: auto;
}
.doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--muted-2);
  font-size: 0.9rem;
  margin: 1.5rem 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.doc__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.doc__meta svg { width: 15px; height: 15px; color: var(--muted); }

.doc h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.85rem;
  scroll-margin-top: 90px;
}
.doc h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.6rem;
}
.doc p,
.doc li { color: var(--text); }
.doc p { margin-bottom: 1rem; }
.doc ul,
.doc ol {
  margin: 0 0 1.25rem 1.3rem;
  color: var(--text);
}
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 0.45rem; }
.doc li::marker { color: var(--primary); }
.doc a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc a:hover { color: var(--primary-600); }

.doc__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.doc__toc h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.doc__toc ol {
  margin: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.55rem;
}
.doc__toc li {
  counter-increment: toc;
  position: relative;
  padding-left: 2.5rem;
}
.doc__toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.callout {
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-size: 0.96rem;
}
.callout--warn {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table caption {
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table thead th {
  background: var(--surface-2);
  color: var(--text-strong);
  font-weight: 600;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table code { white-space: nowrap; }

/* form on data-deletion page */
.form {
  display: grid;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.5rem 0;
}
.form__row { display: grid; gap: 0.45rem; }
.form__row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
}
.form__row input,
.form__row textarea,
.form__row select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form__row input:focus,
.form__row textarea:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring);
}
.form__row textarea { min-height: 120px; resize: vertical; }
.form__hint { font-size: 0.82rem; color: var(--muted-2); }

/* --- Back-to-top --------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top svg { width: 22px; height: 22px; }

/* --- 404 ----------------------------------------------------------------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--gutter);
}
.notfound__code {
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
       -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Animations ---------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
     animation-duration: 0.001ms !important;
     animation-iteration-count: 1 !important;
     transition-duration: 0.001ms !important;
     scroll-behavior: auto !important;
    }
     .reveal {
     opacity: 1 !important;
     transform: none !important;
    }
}

/* --- Print --------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .to-top,
    .nav__toggle { display: none !important; }
     body {
     color: #000;
     background: #fff;
     }
     .doc a {
     color: #000;
     }
     .doc,
     .doc__toc {
     max-width: 100%;
     }
}






