/* ------------------------------------------------------------------
   cadinu.io — one continuous CADINU night.
   Implements docs/BRAND-SYSTEM.md including Part 5 (owner amendments).

   Core rule: the page is ONE environment, not a stack of sections. A
   single document-height gradient carries the reader from ice at the
   top, through CADINU blue-violet at the core, to deep violet at the
   foot. Sections never paint their own ground.

   Light comes from the top right, everywhere. Depth is haze, not
   borders. Blue-violet (#2100FF -> #7E00FE, sampled from the wordmark)
   is the brand; aurora green is environmental light, strongest in the
   Games stage, never chrome; gold is value; ice is information.
   ------------------------------------------------------------------ */

/* ---- fonts: the same three Google faces, served from this site (tools/fonts.sh, OFL 1.1) ----
   Self-hosting removes the render-blocking Google stylesheet; the fallback faces are sized to the
   real ones, so the swap does not move text. */
@font-face { font-family: 'Gabarito'; src: url(assets/fonts/gabarito.woff2) format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(assets/fonts/figtree.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(assets/fonts/martianmono.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Gabarito Fallback'; src: local('Arial'); size-adjust: 116.67%; ascent-override: 80.57%; descent-override: 22.28%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 118.48%; ascent-override: 80.18%; descent-override: 21.1%; line-gap-override: 0%; }
@font-face { font-family: 'Martian Mono Fallback'; src: local('Courier New'); size-adjust: 116.65%; ascent-override: 85.73%; descent-override: 17.15%; line-gap-override: 0%; }

:root {
  --ink:        #2100ff;
  --ink-violet: #7e00fe;
  --ink-soft:   #4a2bff;

  --night:      #050713;
  --ice:        #7fd4e8;
  --gold:       #e8b45f;
  --aurora:     #4fe0a8;

  --snow:       #eaf0f8;
  --snow-2:     #c0cddb;   /* 9.3:1 on the lightest ground (2026-09-16, was #9fb2c6) */
  --snow-3:     #adbccc;   /* 7.8:1 on the lightest ground (was #66788c, 3.3:1) */

  --rule:       rgba(127, 212, 232, 0.14);
  --rule-2:     rgba(127, 212, 232, 0.3);

  /* one light source, top right — every shadow falls down and left */
  --lift-1: -6px 10px 24px rgba(2, 4, 14, 0.5);
  --lift-2: -14px 26px 60px rgba(2, 4, 14, 0.62);
  --lift-3: -26px 44px 110px rgba(2, 4, 14, 0.74);
  --edge:   inset 1px 1px 0 rgba(190, 220, 255, 0.14);

  --display: "Gabarito", "Gabarito Fallback", "Helvetica Neue", Arial, sans-serif;
  --body:    "Figtree", "Figtree Fallback", system-ui, -apple-system, sans-serif;
  --mono:    "Martian Mono", "Martian Mono Fallback", ui-monospace, Menlo, monospace;

  --shell: 1220px;
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --settle: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { color-scheme: dark; scroll-behavior: smooth; background: var(--night); }

/* THE NIGHT — one gradient across the whole document. Sections sit in it. */
body {
  margin: 0;
  color: var(--snow);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    linear-gradient(
      180deg,
      #08182b 0%,      /* ice, near the surface */
      #0a1226 9%,
      #090c26 22%,
      #0b0930 38%,     /* into CADINU blue */
      #10063a 56%,
      #16073f 74%,     /* deep violet */
      #120536 88%,
      #08041c 100%
    ),
    var(--night);
}

/* atmosphere: fixed haze and two slow aurora traces. Environmental light,
   never chrome — the green is allowed to cross the whole world at this
   strength and no higher outside the Games stage. */
.air { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.air i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(120px);
  animation: drift 34s var(--ease) infinite alternate;
}
.air i:nth-child(1) { width: 62vw; height: 34vw; top: -16vw; right: -10vw; background: var(--ink-violet); opacity: 0.3; }
.air i:nth-child(2) { width: 48vw; height: 30vw; top: 28vh;  left: -14vw; background: var(--ink); opacity: 0.22; animation-delay: -11s; }
.air i:nth-child(3) { width: 52vw; height: 26vw; bottom: -12vw; right: 8vw; background: var(--aurora); opacity: 0.07; animation-delay: -21s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3vw, 2vw, 0) scale(1.14); }
}
.air::after {                       /* the vignette that makes depth read as haze */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 70% 0%, transparent 40%, rgba(5, 7, 19, 0.55) 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(74, 43, 255, 0.5); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 6px; }

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

.shell { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; position: relative; z-index: 1; }
@media (max-width: 720px) { .shell { width: calc(100% - 32px); } }

/* ---- type: Gabarito 700/800 carries the page; 900 is the hero only ---- */
.d {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
h1.d { font-weight: 900; font-size: clamp(44px, 5.9vw, 88px); letter-spacing: -0.034em; line-height: 1; }
h2.d { font-size: clamp(32px, 4vw, 56px); }
h3.d { font-weight: 700; font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.018em; }

.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 20px;
}
.lede { font-size: clamp(18px, 1.3vw, 20px); color: var(--snow-2); max-width: 60ch; margin: 20px 0 0; }

/* ---- stages: rhythm only. No stage paints a ground. ---- */
.stage { position: relative; padding: clamp(78px, 9vw, 138px) 0; }
.stage-head { max-width: 66ch; }

/* ---- controls ---- */
.cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: 7px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
  transition: filter 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-solid {
  /* ends at #6600dd, not the brand violet, so the white label stays 8:1 or better across the gradient */
  background: linear-gradient(120deg, var(--ink), #6600dd);
  color: #fff;
  box-shadow: var(--lift-1), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-solid:hover { filter: brightness(1.06); }
.btn-line { border-color: var(--rule-2); color: var(--snow); }
.btn-line:hover { border-color: var(--ice); color: var(--ice); }
.btn-text {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--ice); text-decoration: none;
  border-bottom: 1px solid rgba(127,212,232,.34); padding-bottom: 2px;
}
.btn-text:hover { border-color: var(--ice); }

/* ---- header ---- */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.head-in { display: flex; align-items: center; gap: 34px; height: 70px; }
.head img { height: 21px; width: auto; }
.head nav { display: flex; gap: 28px; margin-left: auto; }
.head nav a { font-size: 16px; color: var(--snow-2); text-decoration: none; transition: color .25s; }
.head nav a:hover { color: var(--snow); }
.head .btn { height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 960px) { .head nav { display: none; } .head-in { justify-content: space-between; } }

/* ---- surfaces: real product UI, lit from the top right ---- */
.surface {
  border-radius: 16px;
  overflow: hidden;
  background: #0a0f20;
  border: 1px solid rgba(150, 190, 255, 0.16);
  box-shadow: var(--lift-2), var(--edge);
}
.surface img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device { border-radius: 30px; padding: 8px; background: linear-gradient(200deg, #223050, #070c18); border: 1px solid rgba(150,190,255,.2); box-shadow: var(--lift-2), var(--edge); overflow: hidden; }
.device img { border-radius: 23px; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---- 1 · HERO — the ecosystem in one composition ---- */
.hero { position: relative; padding: clamp(44px, 4.6vw, 70px) 0 clamp(44px, 4.6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 .lit {
  /* lighter stops than the brand pair so the headline reads at 7:1 or better (2026-09-16) */
  background: linear-gradient(96deg, #b6aaff, #d0adff 62%, var(--ice));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.layers {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--snow-3);
}
.layers b { color: var(--snow); font-weight: 400; }

/* the constellation: four real surfaces on one monoline arc */
.orbit { position: relative; aspect-ratio: 1 / 0.94; min-height: 400px; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .dogmark {
  position: absolute; left: 46%; top: 50%; width: 40%; height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  filter: brightness(3) saturate(0.2);
}
.orbit figure { position: absolute; margin: 0; }
.orbit figcaption {
  position: absolute; left: 0; top: calc(100% + 9px);
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--snow-3); white-space: nowrap;
}
/* clockwise from the top left, each one sitting on the arc */
.orbit .o-gov  { width: 44%; top: 4%;  left: 0; }
.orbit .o-gov .surface { aspect-ratio: 1920 / 460; }
.orbit .o-swap { width: 31%; top: 0;   right: 0; }
.orbit .o-swap .surface { aspect-ratio: 702 / 1000; }
.orbit .o-play { width: 28%; bottom: 6%; right: 6%; }
.orbit .o-play .device { aspect-ratio: 0.6; }
.orbit .o-id   { width: 23%; bottom: 14%; left: 4%; }
.orbit .o-id img {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  border-radius: 50%; object-fit: cover; display: block;
  box-shadow: var(--lift-2); border: 1px solid rgba(150,190,255,.34);
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .orbit { min-height: 0; margin-top: 4px; aspect-ratio: 1 / 0.9; }
}

/* ---- 2 · ARCHITECTURE — one pack, four layers ---- */
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--rule); }
.four > div { padding: 26px 22px 8px 0; border-right: 1px solid var(--rule); }
.four > div:last-child { border-right: 0; }
.four i {
  display: block; font-family: var(--mono); font-style: normal; font-size: 14px;
  letter-spacing: 0.08em; color: var(--ice); margin-bottom: 14px;
}
.four h3 { margin: 0 0 8px; }
.four p { margin: 0; font-size: 18px; color: var(--snow-2); }
@media (max-width: 860px) {
  .four { grid-template-columns: 1fr 1fr; }
  .four > div { border-bottom: 1px solid var(--rule); padding-right: 18px; }
  .four > div:nth-child(2n) { border-right: 0; }
}

/* the split: two dimensions of one ecosystem, divided by an arc not an edge */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(48px, 6vw, 78px); }
.split > div { padding: clamp(30px, 3.4vw, 46px) clamp(28px, 3.2vw, 44px); }
.split > div:first-child { border-radius: 18px 0 0 18px; background: linear-gradient(150deg, rgba(33,0,255,.2), rgba(126,0,254,.06)); box-shadow: var(--edge); }
.split > div:last-child  { border-radius: 0 18px 18px 0; background: linear-gradient(210deg, rgba(79,224,168,.13), rgba(33,0,255,.1)); box-shadow: var(--edge); }
.split .k { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice); margin: 0 0 12px; }
.split h3 { font-size: clamp(23px, 2.2vw, 31px); margin: 0 0 12px; }
.split p { margin: 0 0 18px; font-size: 18px; color: var(--snow-2); }
.split ul { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--snow-3); }
.split li { padding: 7px 0; border-top: 1px solid var(--rule); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > div:first-child { border-radius: 18px 18px 0 0; }
  .split > div:last-child  { border-radius: 0 0 18px 18px; }
}

/* ---- 3 · DEFI FLAGSHIP — the loop ---- */
.flag { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(30px, 4vw, 60px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.flag .shot { width: 100%; max-width: 330px; justify-self: center; }   /* width: the box is sized before its lazy image loads */
.loop-arc { position: relative; }
.loop-arc svg { width: 100%; height: auto; display: block; overflow: visible; }
.loopline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.loopline > div { padding-top: 16px; border-top: 1px solid var(--rule-2); }
.loopline i { display: block; font-family: var(--mono); font-style: normal; font-size: 14px; letter-spacing: 0.06em; color: var(--ice); margin-bottom: 9px; }
.loopline b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 5px; }
.loopline p { margin: 0; font-size: 16px; color: var(--snow-3); line-height: 1.5; }
@media (max-width: 960px) { .flag { grid-template-columns: 1fr; } .loopline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .loopline { grid-template-columns: 1fr; } }

/* ---- 4 · GAMES FLAGSHIP — the only place green concentrates ---- */
.games-stage { position: relative; }
.games-stage::before {
  content: ""; position: absolute; z-index: 0;
  left: 50%; top: 8%; width: 96%; height: 74%;
  transform: translateX(-50%);
  background: radial-gradient(60% 60% at 50% 40%, rgba(79, 224, 168, 0.22), transparent 68%);
  filter: blur(70px); pointer-events: none;
}
.wall { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 1.6vw, 26px); margin-top: clamp(40px, 5vw, 70px); }
.wall .device { flex: none; width: clamp(112px, 14.5vw, 200px); height: clamp(224px, 29vw, 400px); }
.wall .device:nth-child(1) { transform: rotate(-6deg) translateY(26px); opacity: .8; }
.wall .device:nth-child(2) { transform: rotate(-3deg) translateY(10px); opacity: .93; }
.wall .device:nth-child(3) { width: clamp(140px, 18vw, 248px); height: clamp(280px, 36vw, 496px); z-index: 2; box-shadow: var(--lift-3), 0 0 90px rgba(79,224,168,.3), var(--edge); }
.wall .device:nth-child(4) { transform: rotate(3deg) translateY(10px); opacity: .93; }
.wall .device:nth-child(5) { transform: rotate(6deg) translateY(26px); opacity: .8; }
@media (max-width: 900px) {
  .wall { overflow-x: auto; justify-content: flex-start; padding: 0 16px 18px; scroll-snap-type: x mandatory; }
  .wall .device, .wall .device:nth-child(3) { width: 190px; height: 380px; transform: none !important; opacity: 1 !important; scroll-snap-align: center; }
}
.loop4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: clamp(40px, 5vw, 64px); }
.loop4 > div { padding-top: 18px; border-top: 1px solid rgba(79,224,168,.32); }
.loop4 i { display: block; font-family: var(--mono); font-style: normal; font-size: 14px; letter-spacing: 0.06em; color: var(--aurora); margin-bottom: 10px; }
.loop4 h3 { margin: 0 0 7px; }
.loop4 p { margin: 0; font-size: 18px; color: var(--snow-2); }
@media (max-width: 900px) { .loop4 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 540px) { .loop4 { grid-template-columns: 1fr; } }

/* ---- 5 · IDENTITY — a chain, not a grid ---- */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(44px, 5vw, 68px); align-items: start; }
.chain > div { position: relative; padding: 0 18px 0 0; }
.chain > div::after {
  content: ""; position: absolute; right: 9px; top: 34px;
  width: 18px; height: 1px; background: var(--rule-2);
}
.chain > div:last-child::after { display: none; }
.chain .node {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(33,0,255,.4), rgba(126,0,254,.18));
  border: 1px solid var(--rule-2); box-shadow: var(--lift-1), var(--edge);
  overflow: hidden;
}
.chain .node img { width: 100%; height: 100%; object-fit: cover; }
.chain i { display: block; font-family: var(--mono); font-style: normal; font-size: 14px; letter-spacing: 0.06em; color: var(--ice); margin-bottom: 8px; }
.chain h3 { margin: 0 0 6px; font-size: 19px; }
.chain p { margin: 0; font-size: 16px; color: var(--snow-3); line-height: 1.5; }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr 1fr; gap: 26px 0; } .chain > div::after { display: none; } }

.pack-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.1vw, 18px); margin-top: clamp(40px, 4.5vw, 60px); }
.pack-strip figure { margin: 0; text-align: center; }
.pack-strip img {
  width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; display: block;
  border: 1px solid rgba(150,190,255,.24); box-shadow: var(--lift-1);
  transition: transform .4s var(--settle);
}
.pack-strip figure:hover img { transform: translateY(-7px); }
.pack-strip figcaption { margin-top: 12px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--snow-3); }
@media (max-width: 860px) { .pack-strip { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---- 6 · PROOF ---- */
.record { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border-top: 1px solid var(--rule); }
.record > div { padding: 26px 22px 4px 0; border-right: 1px solid var(--rule); }
.record > div:last-child { border-right: 0; }
.record b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.record b.sm { font-size: clamp(18px, 1.9vw, 25px); }
.record span { display: block; margin-top: 11px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--snow-3); }
@media (max-width: 900px) {
  .record { grid-template-columns: repeat(2, 1fr); }
  .record > div { border-bottom: 1px solid var(--rule); }
  .record > div:nth-child(2n) { border-right: 0; }
  .record > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---- 7 · STATUS ---- */
.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 54px); margin-top: 48px; }
.status > section { position: relative; padding-top: 22px; border-top: 2px solid; }
.status > section:nth-child(1) { border-color: var(--snow-3); }
.status > section:nth-child(2) { border-color: var(--ink-soft); }
.status > section:nth-child(3) { border-color: rgba(126,0,254,.6); }
.status h3 { font-family: var(--mono); font-weight: 400; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 18px; }
.status > section:nth-child(1) h3 { color: var(--snow-3); }
.status > section:nth-child(2) h3 { color: #bcb1ff; }
.status > section:nth-child(3) h3 { color: #d0adff; }
.status ul { margin: 0; padding: 0; list-style: none; }
.status li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 18px; color: var(--snow-2); }
.status li:last-child { border-bottom: 0; }
.status li b { display: block; color: var(--snow); font-weight: 600; }
.status li span { font-size: 16px; color: var(--snow-3); }
@media (max-width: 860px) { .status { grid-template-columns: 1fr; } }

/* ---- 8 · TRUST ---- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.trust > div { display: flex; gap: 20px; align-items: center; padding: 24px 26px; border-radius: 14px; background: linear-gradient(150deg, rgba(33,0,255,.14), rgba(127,212,232,.03)); box-shadow: var(--edge), var(--lift-1); }
.trust img { width: 58px; height: auto; flex: none; }
.trust h3 { margin: 0 0 5px; font-size: 20px; }
.trust p { margin: 0 0 10px; font-size: 18px; color: var(--snow-3); }
.trust .links { display: flex; flex-wrap: wrap; gap: 13px; }
.trust .links a { font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ice); text-decoration: none; border-bottom: 1px solid transparent; }
.trust .links a:hover { border-color: var(--ice); }
.trust-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--snow-3); max-width: 78ch; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--rule); padding: 62px 0 40px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; }
.foot img { height: 21px; width: auto; margin-bottom: 15px; }
.foot .about { font-size: 16px; color: var(--snow-3); max-width: 32ch; margin: 0; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--snow-3); margin: 0 0 15px; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 9px; }
.foot li a { font-size: 16px; color: var(--snow-2); text-decoration: none; }
.foot li a:hover { color: var(--ice); }
.foot-end { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--snow-3); }
.foot-end a { color: var(--snow-3); text-decoration: none; }
.foot-end a:hover { color: var(--snow-2); }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
