/* ==========================================================================
   FOCAL POINT / СРЕДОТОЧИЕ — brand system site
   Palette: #FFFFFF / #1A1A1A / #3B82F6 / #94A3B8
   ========================================================================== */

/* Self-hosted Inter: shared by static landing pages and dynamic app pages. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

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

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  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;
}

:root {
  --bg: #000000;
  --bg-soft: #07080a;
  --panel: #0c0d10;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --blue: #3b82f6;
  --mist: #94a3b8;
  --text: #edf1f7;
  --muted: #828b99;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* soft pointer light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    560px circle at var(--mx, 50%) var(--my, 10%),
    rgba(59, 130, 246, 0.07),
    transparent 62%
  );
}

main,
.footer,
.site-header {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #1e242c;
  border: 3px solid #000;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2b3440;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* --------------------------------------------------------------------------
   Primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.dot {
  display: block;
  flex: none;
  width: var(--dot, 10px);
  height: var(--dot, 10px);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.dot--blue {
  background: var(--blue);
  box-shadow:
    0 0 14px rgba(59, 130, 246, 0.9),
    0 0 44px rgba(59, 130, 246, 0.45);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__num {
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.eyebrow__num::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: var(--line-strong);
}

.display {
  margin: 0 0 26px;
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display__soft {
  color: #d6dee9;
}

.display--sm {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.04;
}

.h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  max-width: 40ch;
  margin: 0 auto 38px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--mist);
  text-wrap: balance;
}

.body-lg {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
  color: var(--mist);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.btn--primary {
  color: #fff;
  background: var(--blue);
  box-shadow:
    0 12px 34px rgba(59, 130, 246, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  background: #2f74e8;
  transform: translateY(-2px);
  box-shadow:
    0 18px 48px rgba(59, 130, 246, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.01);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.66em 1.2em;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand__dots .dot {
  --dot: 7px;
  box-shadow: none;
}

.brand__dots .dot--blue {
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.brand__name {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.36em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.nav a {
  position: relative;
  font-size: 0.83rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), rgba(59, 130, 246, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lang a {
  position: relative;
  padding: 4px 1px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.lang a:hover {
  color: var(--text);
}

.lang a.is-active {
  color: var(--text);
}

.lang a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--blue);
}

.lang__sep {
  color: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(24px, 4vw, 56px) 0 clamp(96px, 13vw, 150px);
  overflow: hidden;
  isolation: isolate;
}

.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__stars span,
.cta__stars span {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle 6s ease-in-out infinite;
}

.hero__planet {
  position: absolute;
  left: 50%;
  top: calc(100% - 12vw);
  width: 172vw;
  height: 172vw;
  z-index: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(147, 197, 253, 0.55);
  background:
    radial-gradient(circle at 50% 0%, rgba(18, 46, 92, 0.85) 0%, rgba(6, 12, 24, 0.9) 42%, #000 68%);
  box-shadow:
    0 -2px 34px rgba(59, 130, 246, 0.55),
    0 -30px 150px rgba(59, 130, 246, 0.22),
    inset 0 70px 140px rgba(59, 130, 246, 0.08);
}

.hero__planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 60% 8% at 50% 0%,
    rgba(191, 219, 254, 0.55),
    rgba(59, 130, 246, 0.25) 45%,
    transparent 75%
  );
  filter: blur(2px);
}

/* soft fade so the clipped planet edge dissolves into the next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    #000 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.triad {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  margin-bottom: clamp(26px, 3.2vw, 40px);
}

.triad .dot {
  --dot: clamp(26px, 3.4vw, 44px);
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.3),
    0 0 70px rgba(255, 255, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}

.triad .dot:nth-child(2) {
  animation-delay: 0.5s;
}

.triad .dot:nth-child(3) {
  animation-delay: 1s;
  box-shadow:
    0 0 26px rgba(59, 130, 246, 0.85),
    0 0 80px rgba(59, 130, 246, 0.35);
}

.hero .eyebrow {
  margin-bottom: 22px;
  color: #9aa6b5;
}

.hero .display {
  margin-bottom: 24px;
}

.hero .lead {
  max-width: 40ch;
  margin-bottom: 34px;
  color: #a7b2c0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  margin: clamp(32px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__legend .dot {
  --dot: 7px;
  box-shadow: none;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.hero__scroll:hover {
  color: var(--text);
}

.hero__scroll span {
  width: 1px;
  height: 38px;
  background: linear-gradient(to top, var(--mist), transparent);
  transform-origin: bottom;
  animation: scrollHint 2.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(76px, 10vw, 148px);
}

.section--cta {
  padding-block: clamp(40px, 6vw, 80px) clamp(60px, 8vw, 110px);
}

.section__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.section__head .body-lg {
  padding-bottom: 6px;
}

/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(46px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.principle {
  padding: clamp(26px, 3.2vw, 40px);
  background: #05070a;
  transition: background-color 0.5s var(--ease);
}

.principle:hover {
  background: #080b11;
}

.principle__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.principle__top .dot {
  --dot: 12px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.principle:hover .principle__top .dot {
  transform: scale(1.25);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.2);
}

.principle:hover .principle__top .dot--blue {
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.95),
    0 0 60px rgba(59, 130, 246, 0.5);
}

.principle__num {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.principle h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.principle__sub {
  margin: 0 0 20px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  color: var(--mist);
}

.principle p:last-child {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--muted);
}

/* Statement */

.statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center;
}

.statement .dot {
  --dot: 9px;
}

.statement__text {
  margin: 0;
  padding-left: 0.34em;
  font-size: clamp(0.95rem, 2.5vw, 1.6rem);
  font-weight: 200;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--white);
}

.statement__note {
  margin: 0;
  padding-left: 0.24em;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Swatches */

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(46px, 6vw, 76px);
}

.swatch {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition:
    transform 0.55s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.55s var(--ease);
}

.swatch:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.swatch__color {
  display: flex;
  align-items: flex-end;
  height: clamp(120px, 14vw, 176px);
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.swatch__chip {
  padding: 6px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.swatch__body {
  padding: 18px 18px 22px;
}

.swatch__name {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 400;
}

.swatch__hex {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.swatch__use {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Identity */

.identity {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(46px, 6vw, 76px);
}

.mark-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.4vw, 42px);
  min-height: 380px;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 58%),
    var(--bg-soft);
}

.mark-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% 100%, rgba(0, 0, 0, 0.6), transparent 70%);
}

.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.9vw, 10px);
  width: clamp(96px, 12vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30%;
  background: #000;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.app-icon .dot {
  --dot: clamp(11px, 1.6vw, 16px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.app-icon .dot--blue {
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.85);
}

.mark-card__text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wordmark {
  margin: 0;
  padding-left: 0.46em;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 200;
  letter-spacing: 0.46em;
}

.tagline {
  margin: 12px 0 0;
  padding-left: 0.3em;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.spec-card__glyph {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.glyph {
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.spec-card__meta {
  font-size: 0.66rem;
  line-height: 1.9;
  letter-spacing: 0.2em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-card dl {
  margin: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-row dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c4cdd9;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(59, 130, 246, 0.09), transparent 60%),
    var(--bg-soft);
  text-align: center;
  isolation: isolate;
}

.cta-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.55),
    transparent
  );
}

.cta__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -58%;
  width: 120%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.24), transparent 58%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__inner .eyebrow {
  margin-bottom: 18px;
}

.cta__inner .display {
  margin-bottom: 20px;
}

.cta__inner .lead {
  max-width: 36ch;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: clamp(28px, 4vw, 40px);
  font-size: 0.76rem;
  color: var(--muted);
}

.brand--footer .brand__name {
  font-size: 0.72rem;
  color: var(--text);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.principles .principle:nth-child(2),
.swatches .swatch:nth-child(2) {
  transition-delay: 0.08s;
}

.principles .principle:nth-child(3),
.swatches .swatch:nth-child(3) {
  transition-delay: 0.16s;
}

.swatches .swatch:nth-child(4) {
  transition-delay: 0.24s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes scrollHint {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .section__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .section__head .body-lg {
    padding-bottom: 0;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .swatches {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity {
    grid-template-columns: 1fr;
  }

  .mark-card {
    min-height: 340px;
  }
}

@media (max-width: 780px) {
  .nav {
    display: none;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding-top: 40px;
    padding-bottom: 150px;
  }

  .hero__planet {
    top: calc(100% - 26vw);
    width: 200vw;
    height: 200vw;
  }

  .hero__legend {
    margin-top: 40px;
  }

  .hero__scroll {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .swatches {
    grid-template-columns: 1fr;
  }

  .swatch__color {
    height: 132px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 170px;
  }

  .hero .lead {
    max-width: 30ch;
  }

  .display {
    letter-spacing: -0.02em;
  }

  .statement__text {
    letter-spacing: 0.24em;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.legal-page article {
  max-width: 65ch;
}

.legal-page article p {
  margin-block: 1.25rem;
  line-height: 1.7;
}

.legal-page article a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 4px;
}

main [id] {
  scroll-margin-top: 6rem;
}

.reveal-ready [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

.participation-cards {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.blog-page { padding-block: clamp(48px, 7vw, 96px); min-height: 70vh; }
.blog-page:has(.blog-intro) { padding-top: clamp(24px, 3vw, 40px); }
.blog-intro { margin-bottom: 24px; }
.blog-intro .display { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.blog-intro .body-lg { max-width: none; font-size: 0.94rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.blog-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; position: relative; }
.blog-filters label { display: flex; flex-direction: column; gap: 8px; color: var(--mist); font-size: 0.78rem; min-width: 0; }
.blog-filters input, .blog-filters select { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-soft); color: var(--text); padding: 12px 14px; font: inherit; font-size: 0.94rem; color-scheme: dark; }
.blog-filters input::placeholder { color: var(--muted); }
.blog-filters input:focus-visible, .blog-filters select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.blog-filters .blog-search input { height: 46px; padding: 10px 14px; font-size: 0.9rem; }
.blog-filter-details summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); cursor: pointer; font-size: 0.85rem; list-style: none; }
.blog-filter-details summary::-webkit-details-marker { display: none; }
.blog-filter-details summary::after { content: "+"; color: var(--mist); }
.blog-filter-details[open] summary::after { content: "−"; }
.blog-filter-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.blog-filter-details[open] summary { border-color: var(--blue); }
[data-active-filters] { min-width: 20px; padding: 0 5px; border-radius: 20px; background: var(--blue); color: white; font-size: 0.7rem; text-align: center; }
.blog-filter-panel { position: absolute; z-index: 10; top: calc(100% + 10px); right: 0; width: min(740px, 100%); padding: 22px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); box-shadow: 0 24px 60px #000b; }
.blog-filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; }
.blog-filter-row button { min-height: 46px; cursor: pointer; }
.blog-filter-error { margin-bottom: 0; color: #fca5a5; font-size: 0.85rem; }
.blog-results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 24px 0 16px; }
.blog-results-heading h2 { font-size: 1rem; font-weight: 400; margin: 0; }
.blog-caption { color: var(--mist); font-size: 0.8rem; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-soft); transition: border-color 0.25s; }
.post-card:hover { border-color: var(--line-strong); }
.post-card__art { display: flex; align-items: center; justify-content: center; position: relative; height: clamp(130px, 15vw, 180px); overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #183568, #080e1c 60%, #080a10); }
.post-card__orbit { position: absolute; width: 85%; aspect-ratio: 1; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 50%; transform: translateY(36%); box-shadow: 0 0 70px rgba(59, 130, 246, 0.12), inset 0 0 60px rgba(59, 130, 246, 0.1); }
.post-card__dots { display: flex; gap: 18px; position: relative; }
.post-card__dots i { width: 22px; height: 22px; border-radius: 50%; background: white; box-shadow: 0 0 30px #ffffff30; }
.post-card__dots i:last-child { background: var(--blue); box-shadow: 0 0 40px #3b82f6aa; }
.post-card__number { position: absolute; left: 28px; bottom: 20px; color: var(--mist); font-size: 0.65rem; letter-spacing: 0.2em; }
.post-card__body { padding: clamp(22px, 3vw, 32px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; color: var(--mist); font-size: 0.76rem; }
.post-meta a { text-decoration: none; }
.post-meta a:hover { color: var(--text); text-decoration: underline; }
.post-card h3 { margin: 20px 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; font-weight: 300; letter-spacing: -0.02em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: #93c5fd; }
.post-card__excerpt { font-size: 0.94rem; color: var(--mist); margin: 0 0 24px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--mist); font-size: 0.72rem; text-decoration: none; }
.post-tag:hover { border-color: var(--blue); color: var(--text); }
.post-read { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; font-size: 0.85rem; text-decoration: none; }
.post-read span { color: #93c5fd; font-size: 1.3rem; }
.blog-empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--mist); }
.blog-empty h3 { color: var(--text); font-size: 1.5rem; font-weight: 300; }
.blog-empty button { cursor: pointer; }
.blog-note { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--mist); font-size: 0.85rem; }
.blog-note p { flex: 1 1 300px; margin: 0; }
.blog-note a { text-underline-offset: 5px; }
.blog-breadcrumb { margin-bottom: 36px; font-size: 0.85rem; color: var(--mist); }
.blog-breadcrumb a { text-decoration: none; }
.blog-article { max-width: 820px; margin-inline: auto; }
.blog-article__head { border-bottom: 1px solid var(--line); padding-bottom: 36px; }
.blog-article__head .display { line-height: 1.15; }
.blog-article__lead { color: var(--mist); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.8; }
.blog-article__head .post-tags { margin-top: 22px; }
.blog-article__body { max-width: 68ch; margin: 36px auto 0; }
.blog-placeholder { padding: 16px 20px; border-left: 2px solid var(--blue); background: var(--panel); color: var(--mist); font-size: 0.85rem; }
.blog-article__body section { margin-block: 36px; }
.blog-article__body h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 300; line-height: 1.3; }
.blog-article__body p { line-height: 1.85; }
.blog-article__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--mist); }
.blog-article__footer a { text-underline-offset: 5px; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .blog-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-filter-row button { justify-self: start; }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page .display { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .blog-filter-row { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .header-actions .nav {
    display: flex;
  }

  .header-actions .nav a:not(.blog-tab),
  .header-actions > a[href="#contact"] {
    display: none;
  }
}

/* Account, editor and moderation app */
.account-link { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.account-link span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-form { display: inline-flex; margin: 0; }
.link-button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--muted); }
.link-button--danger { color: #fca5a5; }
.link-button--danger:hover { color: #fecaca; }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; object-fit: cover; background: var(--panel); border: 1px solid var(--line-strong); color: var(--mist); font-size: 0.85rem; }
.avatar--nav { width: 28px; height: 28px; }
.avatar--profile { width: 88px; height: 88px; font-size: 1.6rem; }
.avatar--hero { width: 112px; height: 112px; font-size: 2rem; }
.avatar--placeholder { background: radial-gradient(circle at 30% 20%, rgba(59,130,246,.35), var(--panel)); }

.app-page { padding-block: clamp(36px, 6vw, 80px); min-height: 70vh; }
.app-page--wide { max-width: none; }
.app-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.app-page__head h1 { margin: 0 0 8px; }
.app-page__head p { margin: 0; }
.app-page__head .eyebrow { margin-bottom: 10px; }
.app-notice { max-width: 640px; margin: 8vh auto; text-align: center; }
.app-notice .body-lg { color: var(--mist); margin-bottom: 28px; }
.flash { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 14px; margin-bottom: 24px; background: var(--panel); font-size: 0.9rem; }
.flash--success { border-color: rgba(59,130,246,.45); color: #bfdbfe; }
.flash--error { border-color: rgba(248,113,113,.45); color: #fecaca; }
.flash--warning { border-color: rgba(250,204,21,.4); color: #fde68a; }
.flash a { color: inherit; }

.app-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > label, .field-label { color: var(--text); font-size: 0.86rem; font-weight: 400; }
.field input:not([type="checkbox"]):not([type="file"]), .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft);
  color: var(--text); font: inherit; font-size: 0.92rem; padding: 11px 13px; min-height: 44px;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: rgba(248,113,113,.7); }
.field input[type="file"] { color: var(--mist); font-size: 0.84rem; max-width: 100%; }
.field-hint, .muted { color: var(--muted); font-size: 0.8rem; margin: 0; }
.field-error { color: #fca5a5; font-size: 0.8rem; margin: 0; }
.form-error { color: #fecaca; border: 1px solid rgba(248,113,113,.4); background: rgba(127,29,29,.18); border-radius: 12px; padding: 12px 14px; font-size: 0.86rem; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-actions--column { flex-direction: column; align-items: stretch; }
.form-actions--column .btn { width: 100%; }
.checkbox { display: flex; gap: 8px; align-items: center; color: var(--mist); font-size: 0.84rem; }
.avatar-edit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.profile-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 36px); padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.profile-hero__body { min-width: 0; }
.profile-hero__body h1 { margin: 4px 0 2px; }
.profile-handle { color: var(--blue); font-family: ui-monospace, monospace; font-size: 0.85rem; margin: 0 0 12px; }
.profile-hero__body .body-lg { margin: 0 0 10px; max-width: 720px; }
.profile-published { margin-top: 38px; }
.profile-articles { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; }
.profile-article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile-article h3 { margin: 6px 0 6px; font-size: 1.2rem; font-weight: 400; }
.profile-article p { margin: 0; color: var(--mist); font-size: 0.9rem; }
.profile-article h3 a { text-decoration: none; }
.profile-article h3 a:hover { color: #93c5fd; }
.profile-edit { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.profile-edit h2 { margin-top: 0; }

.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.editor-head__actions { display: flex; gap: 10px; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(22px, 4vw, 44px); align-items: start; }
.editor-main, .editor-side { min-width: 0; }
.editor-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.editor-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 4px; }
.editor-tab { border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.84rem; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid transparent; }
.editor-tab.is-active { color: var(--text); border-bottom-color: var(--blue); }
.editor-body textarea { min-height: 480px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; line-height: 1.7; }
.markdown-preview { min-height: 480px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft); overflow-wrap: anywhere; }
.markdown-preview h1, .markdown-preview h2, .markdown-preview h3 { line-height: 1.25; }
.markdown-preview pre { overflow-x: auto; padding: 14px; background: #050608; border: 1px solid var(--line); border-radius: 10px; }
.markdown-preview code { font-size: 0.86em; }
.markdown-preview a { color: #93c5fd; }
.markdown-preview blockquote { margin-inline: 0; padding-left: 16px; border-left: 2px solid var(--blue); color: var(--mist); }
.markdown-preview img { max-width: 100%; height: auto; }
.editor-unsaved { color: #fde68a; font-size: 0.82rem; margin: 0; }
.editor-status { margin-bottom: 18px; display: grid; gap: 8px; }
.editor-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.editor-actions form { display: inline-flex; margin: 0; }
.editor-row-title { display: block; color: var(--text); text-decoration: none; font-weight: 400; }
.editor-row-title:hover { color: #93c5fd; }
.review-note { margin: 8px 0 0; padding: 10px 12px; border-left: 2px solid #f59e0b; background: rgba(245,158,11,.08); color: #fde68a; font-size: 0.82rem; }
.editor-delete { margin-top: 18px; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.app-table th, .app-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.app-table th { color: var(--mist); font-weight: 400; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.app-table tr:last-child td { border-bottom: 0; }
.app-table td .muted { display: block; margin-top: 3px; }
.app-table form { margin: 0; }
.status-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.72rem; white-space: nowrap; }
.status--draft { color: var(--mist); }
.status--pending { color: #fde68a; border-color: rgba(250,204,21,.4); }
.status--published { color: #bfdbfe; border-color: rgba(59,130,246,.45); }
.status--rejected { color: #fecaca; border-color: rgba(248,113,113,.45); }

.app-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 18px; }
.app-empty h2, .app-empty h3 { margin-top: 0; font-weight: 300; }
.app-empty p { color: var(--mist); margin: 8px 0 20px; }
.blog-empty-visible { color: var(--mist); padding: 30px 0; }

.admin-section { margin-top: 38px; }
.moderation-list { display: grid; gap: 14px; }
.moderation-card { display: flex; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--panel); flex-wrap: wrap; }
.moderation-card__body { min-width: 240px; flex: 1 1 360px; }
.moderation-card__body h2 { margin: 8px 0; font-size: 1.2rem; font-weight: 400; }
.moderation-card__body h2 a { text-decoration: none; }
.moderation-card__body p { margin: 0 0 8px; color: var(--mist); font-size: 0.88rem; }
.moderation-card__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 220px; }
.reject-form { display: grid; gap: 6px; }
.reject-form label { color: var(--mist); font-size: 0.75rem; }
.reject-form input { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-soft); color: var(--text); font: inherit; font-size: 0.82rem; padding: 8px 10px; }

@media (max-width: 900px) {
  .app-header .site-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .app-header .header-actions { width: 100%; justify-content: space-between; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-side { position: static; }
  .profile-hero { align-items: flex-start; }
}

@media (max-width: 620px) {
  .profile-hero { flex-direction: column; }
  .app-table thead { display: none; }
  .app-table, .app-table tbody, .app-table tr, .app-table td { display: block; width: 100%; }
  .app-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .app-table td { border: 0; padding: 6px 16px; }
  .app-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
}
