/* =========================================================
   YANOVA — İşletmenizin Dijital Mali Müşaviri
   ========================================================= */

:root {
  --bg: #04070f;
  --bg-2: #070d1b;
  --bg-3: #0b1426;
  --ink: #eaf0ff;
  --ink-2: #b9c5de;
  --muted: #7e8ba6;
  --line: rgba(160, 185, 255, 0.1);
  --line-2: rgba(160, 185, 255, 0.18);
  --blue: #2f6bff;
  --brand: #0b63f6;
  --cyan: #5ee7ff;
  --gold: #ffcf6b;
  --ok: #4ade9b;
  --paper: #f3f5f9;
  --paper-2: #e7ebf3;
  --paper-ink: #0a1324;
  --paper-muted: #5b6880;

  --f-display: "Outfit", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

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

html { -webkit-text-size-adjust: 100%; }

/* ---------- Kaydırma çubuğu ----------
   Chrome/Edge/Safari gradyanlı ince hap; Firefox standart özelliklerle aynı renkler.
   Standart özellikler yalnız ::-webkit-scrollbar desteklemeyen tarayıcıda verilir,
   aksi hâlde yeni Chrome sürümleri gradyanlı stili yok sayar. */
html { color-scheme: dark; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: rgba(94, 231, 255, 0.55) #04070f; }
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #04070f; }
::-webkit-scrollbar-thumb {
  min-height: 56px; border-radius: 999px; border: 3px solid #04070f;
  background: linear-gradient(180deg, rgba(94, 231, 255, 0.85), rgba(47, 107, 255, 0.85));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
::-webkit-scrollbar-thumb:hover { border-width: 2px; background: linear-gradient(180deg, #8ff0ff, #4b80ff); }
::-webkit-scrollbar-thumb:active { background: linear-gradient(180deg, #bff7ff, #6b97ff); }
::-webkit-scrollbar-corner { background: #04070f; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; animation: failsafe-unlock 0s 15s forwards; }
@keyframes failsafe-unlock { to { overflow: auto; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--blue); color: #fff; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- WebGL & overlays ---------- */
#webgl {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(2, 4, 10, 0.75) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("../img/grain.svg");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  animation: failsafe-hide 0.6s 15s forwards; /* JS hiç çalışmazsa yükleme ekranı 15 sn sonra kalkar */
  display: grid; place-items: center;
}
.loader__inner { width: min(520px, 80vw); }
.loader__brand {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-display); font-weight: 200; letter-spacing: 0.4em;
  font-size: clamp(14px, 1.6vw, 18px); color: var(--ink-2); margin-bottom: 18px;
}
.loader__count {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(64px, 12vw, 140px);
  line-height: 0.85; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.loader__count span { color: var(--muted); font-size: 0.35em; letter-spacing: 0; margin-left: 6px; }
.loader__ledger { margin-top: 26px; display: grid; gap: 8px; }
.loader__row {
  display: grid; grid-template-columns: 1fr auto; gap: 18px;
  font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
  opacity: 0.25; transition: opacity 0.4s, color 0.4s;
}
.loader__row.is-on { opacity: 1; color: var(--ink-2); }
.loader__row.is-on b { color: var(--cyan); }
.loader__row b { font-weight: 500; }
.loader__bar { height: 1px; background: var(--line-2); margin-top: 22px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(94, 231, 255, 0.45);
  display: grid; place-items: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.cursor__label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); opacity: 0; transition: opacity 0.25s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(94, 231, 255, 0.14); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--cyan); border-color: var(--cyan); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-paper .cursor__dot { background: var(--brand); }
.cursor.is-paper .cursor__ring { border-color: rgba(11, 99, 246, 0.45); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Progress ---------- */
.progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 7, 15, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-paper { background: rgba(243, 245, 249, 0.78); color: var(--paper-ink); border-color: rgba(10, 19, 36, 0.08); }
.nav.is-paper .nav__links a { color: var(--paper-muted); }
.nav.is-paper .nav__links a:hover { color: var(--paper-ink); }
.nav.is-paper .btn--ghost { border-color: rgba(10, 19, 36, 0.18); color: var(--paper-ink); }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; letter-spacing: 0.22em; font-size: 15px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; }
.nav__links a { font-size: 14px; color: var(--ink-2); position: relative; padding: 6px 0; transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display);
  font-size: clamp(32px, 9vw, 54px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15;
}
.mobile-menu li a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.mobile-menu__foot { display: grid; gap: 12px; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 520px) {
  .nav__cta .btn--primary { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: 13.5px; }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 40px -10px rgba(47, 107, 255, 0.7);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, var(--cyan), #fff);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn--primary:hover { color: var(--bg); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.55s var(--ease); border-radius: inherit;
}
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--up { transform: translate(3px, -3px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(94, 231, 255, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(94, 231, 255, 0.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(94, 231, 255, 0); } }
.eyebrow__num { color: var(--cyan); }

.h-xl {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(46px, 8.2vw, 132px);
}
.h-lg {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(38px, 5.6vw, 88px);
}
.h-md {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.025em; line-height: 1.08;
  font-size: clamp(30px, 3.6vw, 54px);
}
/* Gradyan, kelimelere bölünen (transform'lu) span'lerin kendisine uygulanır;
   aksi halde background-clip:text alt katmanlarda kaybolur. */
.h-xl em, .h-lg em, .h-md em { color: var(--cyan); }
.h-xl em .wi, .h-lg em .wi, .h-md em .wi,
.h-xl em:not(:has(.wi)), .h-lg em:not(:has(.wi)), .h-md em:not(:has(.wi)) {
  background: linear-gradient(100deg, #fff 0%, var(--cyan) 55%, #7aa2ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.05em; margin-right: -0.02em;
}
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 54ch; line-height: 1.65; }
.small { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(100px, 14vw, 200px) 0; }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 90px); max-width: 980px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split--text { max-width: 620px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 40px; position: relative; }
.hero__content { display: grid; gap: 30px; max-width: 920px; }
.hero__title { font-size: clamp(48px, 7.6vw, 124px); }
.hero__title .line { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__foot {
  margin-top: clamp(50px, 8vh, 100px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.modules-row { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.modules-row li { display: flex; gap: 10px; align-items: baseline; font-family: var(--f-display); font-size: 17px; color: var(--ink-2); }
.modules-row li small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scroll-hint__line { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cyan); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; display: grid; gap: 4px; padding: 12px 16px 13px; border-radius: 14px;
  background: rgba(10, 18, 36, 0.55); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  font-size: 12.5px; color: var(--ink-2); min-width: 200px;
}
.chip__top { display: flex; justify-content: space-between; gap: 18px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.chip__main { font-family: var(--f-display); font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.chip__status { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.chip__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--1 { right: 9%; top: 19%; }
.chip--2 { right: 34%; top: 47%; }
.chip--3 { right: 5%; top: 60%; }
@media (max-width: 1100px) { .chip--2 { display: none; } }
@media (max-width: 900px) { .chips { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; position: relative; z-index: 2; background: linear-gradient(90deg, var(--bg) 0%, rgba(4, 7, 15, 0.82) 15%, rgba(4, 7, 15, 0.82) 85%, var(--bg) 100%); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__item { font-family: var(--f-display); font-weight: 200; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.02em; white-space: nowrap; color: var(--ink-2); }
.marquee__item em { color: var(--ink); }
.marquee__sep { width: 10px; height: 10px; border: 1px solid var(--cyan); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 18vw, 260px) 0; }
.manifesto__text {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08;
  font-size: clamp(36px, 6vw, 96px); max-width: 15ch;
}
.manifesto__text .mw { opacity: 0.14; transition: none; }
.manifesto__text em { color: var(--cyan); }
.manifesto__foot { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 720px; }
.manifesto__foot .line-v { width: 60px; height: 1px; background: var(--cyan); margin-top: 13px; }

/* ---------- Flow (horizontal) ---------- */
.flow { padding: clamp(100px, 12vw, 160px) 0 0; }
.flow__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.flow__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.flow__intro { width: min(520px, 80vw); flex: none; display: grid; align-content: center; gap: 22px; padding-right: 40px; }
.step {
  flex: none; width: min(380px, 78vw); min-height: 470px; border-radius: 24px; padding: 26px;
  background: linear-gradient(180deg, rgba(14, 24, 46, 0.72), rgba(7, 12, 25, 0.72));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 18px; position: relative;
  transition: border-color 0.5s, transform 0.6s var(--ease);
}
.step:hover { border-color: rgba(94, 231, 255, 0.45); transform: translateY(-6px); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__num {
  font-family: var(--f-serif); font-style: italic; font-size: 40px; line-height: 0.8; padding-right: 0.08em;
  background: linear-gradient(160deg, #fff 0%, var(--cyan) 50%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step__tag { font-family: var(--f-mono); font-size: 10.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { font-family: var(--f-display); font-weight: 300; font-size: 42px; letter-spacing: -0.03em; line-height: 1; }
.step p { color: var(--ink-2); font-size: 15px; }
.step__arrow { position: absolute; right: -22px; top: 50%; width: 22px; height: 1px; background: var(--line-2); }
.step__arrow::after { content: ""; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left-color: var(--cyan); }
.step:last-child .step__arrow { display: none; }

.doc {
  margin-top: auto; border-radius: 14px; padding: 16px; background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line); font-size: 12px; display: grid; gap: 10px;
}
.doc__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.doc__head b { color: var(--ink); font-weight: 500; }
.doc__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.doc__row:last-child { border: 0; padding: 0; }
.doc__row span:last-child { font-family: var(--f-mono); color: var(--ink); }
.doc__bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.doc__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }
.doc__badge { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: rgba(74, 222, 155, 0.1); color: var(--ok); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; }
.doc__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.doc__link { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
.doc__link i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

.flow__progress { margin: 40px var(--gutter) 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.flow__progress li { list-style: none; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; display: grid; gap: 10px; transition: color 0.4s; }
.flow__progress li::before { content: ""; height: 2px; background: var(--line-2); border-radius: 2px; }
.flow__progress li.is-on { color: var(--ink); }
.flow__progress li.is-on::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.flow__note { text-align: center; padding: 60px var(--gutter) 0; }
.flow__note p { font-family: var(--f-display); font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); color: var(--ink-2); letter-spacing: -0.01em; }
.flow__note p b { color: var(--ink); font-weight: 400; }

@media (max-width: 900px) {
  .flow__pin { height: auto; overflow: visible; }
  .flow__track { flex-direction: column; width: 100%; }
  .flow__intro, .step { width: 100%; }
  .step { min-height: 0; }
  .step__arrow { right: auto; left: 40px; top: auto; bottom: -22px; width: 1px; height: 22px; }
  .step__arrow::after { right: -3px; top: auto; bottom: 0; border-left-color: transparent; border-top-color: var(--cyan); }
  .flow__progress { display: none; }
}

/* ---------- Product / dashboard ---------- */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.layer { padding: 34px 30px 34px 0; display: grid; gap: 14px; align-content: start; }
.layer + .layer { padding-left: 30px; border-left: 1px solid var(--line); }
.layer__num { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.layer__num b {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 46px; line-height: 0.8;
  background: linear-gradient(160deg, #fff 0%, var(--cyan) 50%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
.layer h3 { font-family: var(--f-display); font-weight: 300; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.layer p { color: var(--muted); font-size: 14.5px; }
.layer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag--soon { border-style: dashed; color: var(--muted); }
@media (max-width: 900px) {
  .layers { grid-template-columns: 1fr; }
  .layer, .layer + .layer { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}

.showcase { margin-top: clamp(70px, 9vw, 130px); perspective: 1800px; }
.dash {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.92), rgba(6, 10, 22, 0.94));
  box-shadow: 0 60px 160px -40px rgba(47, 107, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform-origin: 50% 0%; will-change: transform;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dash__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dash__url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.dash__label { font-family: var(--f-mono); font-size: 10.5px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.dash__body { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; }
.dash__side { border-right: 1px solid var(--line); padding: 20px 14px; display: grid; align-content: start; gap: 4px; }
.dash__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; letter-spacing: 0.18em; font-size: 13px; padding: 0 10px 18px; }
.dash__brand svg { width: 24px; height: 24px; }
.dash__nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.dash__nav i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: 0.7; }
.dash__nav.is-on { background: rgba(47, 107, 255, 0.14); color: var(--ink); }
.dash__nav.is-on i { border-color: var(--cyan); background: rgba(94, 231, 255, 0.2); }
.dash__main { padding: 24px; display: grid; gap: 18px; align-content: start; }
.dash__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.dash__title small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.dash__title h4 { font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.dash__flowchip { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-2); padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); }
.dash__flowchip b { color: var(--cyan); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border-radius: 14px; border: 1px solid var(--line); padding: 16px; background: rgba(255, 255, 255, 0.025); display: grid; gap: 8px; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi strong { font-family: var(--f-display); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 11.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.kpi span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.kpi span.warn::before { background: var(--gold); }
.dash__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.panel { border-radius: 14px; border: 1px solid var(--line); padding: 16px; background: rgba(255, 255, 255, 0.025); display: grid; gap: 12px; align-content: start; }
.panel__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.panel__head small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
.chart { width: 100%; height: 190px; }
.chart .grid line { stroke: rgba(160, 185, 255, 0.08); }
.chart .area { fill: url(#areaGrad); }
.chart .stroke { fill: none; stroke: url(#lineGrad); stroke-width: 2.2; stroke-linecap: round; }
.chart .stroke2 { fill: none; stroke: rgba(255, 207, 107, 0.7); stroke-width: 1.5; stroke-dasharray: 4 5; }
.chart .dot { fill: var(--bg); stroke: var(--cyan); stroke-width: 2; }
.legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--cyan); }
.legend i.g { background: var(--gold); }
.list { display: grid; gap: 2px; }
.list__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.list__row:last-child { border: 0; }
.list__code { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); }
.list__state { font-family: var(--f-mono); font-size: 10.5px; color: var(--cyan); }
.list__state.ok { color: var(--ok); }
.list__state.wait { color: var(--gold); }
.dash__caption { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1000px) {
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dash__main { padding: 16px; }
  .kpi strong { font-size: 22px; }
  .dash__url { display: none; }
}

/* ---------- Modules ---------- */
.modules { padding-bottom: 60px; }
.modules__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.modules__counter {
  position: sticky; top: calc(100vh - 250px); height: max-content;
  justify-self: end; align-self: start; text-align: right; pointer-events: none;
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(90px, 11vw, 170px); line-height: 0.8; letter-spacing: -0.02em;
  background: linear-gradient(170deg, rgba(160, 185, 255, 0.28), rgba(94, 231, 255, 0.08)); -webkit-background-clip: text; background-clip: text; color: transparent;
  grid-column: 2; grid-row: 1; padding-right: 0.06em;
}
.modules__counter small { display: block; font-family: var(--f-body); font-style: normal; font-size: 13px; letter-spacing: 0.02em; -webkit-text-fill-color: var(--muted); color: var(--muted); margin-top: 18px; }
.modules__list { grid-column: 1; grid-row: 1; display: grid; }
.module { min-height: 82vh; display: grid; align-content: center; gap: 22px; padding: 40px 0; }
.module__num { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-2); }
.module__num b {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 64px; line-height: 0.8; letter-spacing: -0.02em;
  background: linear-gradient(160deg, #fff 0%, var(--cyan) 45%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
.module h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); letter-spacing: -0.035em; line-height: 0.98; }
.module h3 em { color: var(--cyan); }
.module p { color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); max-width: 44ch; }
.module__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.module__note { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; max-width: 50ch; }
.module__note::before { content: "i"; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted); display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 11px; margin-top: 2px; }
@media (max-width: 900px) {
  .modules__wrap { grid-template-columns: 1fr; }
  .modules__counter { display: none; }
  .module { min-height: 0; padding: 70px 0; }
}

/* ---------- e-Belge demo ---------- */
.ingest { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ingest__steps { list-style: none; display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.ingest__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color 0.4s; }
.ingest__steps li b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--ink-2); transition: color 0.4s; }
.ingest__steps li span:first-child { font-family: var(--f-mono); font-size: 12px; padding-top: 5px; transition: color 0.4s; }
.ingest__steps li.is-on b { color: var(--ink); }
.ingest__steps li.is-on span:first-child { color: var(--cyan); }

.scanner {
  position: relative; border-radius: 24px; padding: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.85), rgba(6, 10, 22, 0.9));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 18px; min-height: 440px;
  box-shadow: 0 40px 120px -40px rgba(47, 107, 255, 0.4);
}
.scanner__file { position: relative; border-radius: 14px; background: #f5f7fb; color: #1b2840; padding: 18px; overflow: hidden; display: grid; gap: 9px; align-content: start; font-size: 10.5px; }
.scanner__file .f-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #dbe2ee; }
.scanner__file .f-logo { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #c9d6ee, #e6ecf7); }
.scanner__file .f-type { font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: #fff; background: #d14343; padding: 3px 8px; border-radius: 5px; transition: background 0.3s; }
.scanner__file .f-type.xml { background: #2a7a52; }
.scanner__file .f-line { height: 7px; border-radius: 4px; background: #dfe5ef; }
.scanner__file .f-line.s { width: 55%; }
.scanner__file .f-line.m { width: 75%; }
.scanner__file .f-table { display: grid; gap: 6px; margin-top: 6px; }
.scanner__file .f-tr { display: grid; grid-template-columns: 2fr 0.6fr 1fr; gap: 6px; }
.scanner__file .f-tr i { height: 7px; border-radius: 4px; background: #e6ebf3; }
.scanner__file .f-total { margin-top: 8px; justify-self: end; width: 45%; height: 18px; border-radius: 5px; background: #dbe4f5; }
.scanner__file .f-hl { position: absolute; border-radius: 5px; border: 1.5px solid var(--brand); background: rgba(11, 99, 246, 0.1); opacity: 0; }
.scanner__beam { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.25)); border-bottom: 2px solid var(--brand); opacity: 0; pointer-events: none; }
.scanner__out { display: grid; gap: 10px; align-content: start; }
.scanner__out-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--muted); padding-bottom: 6px; }
.field { border-radius: 10px; border: 1px solid var(--line); padding: 10px 12px; display: grid; gap: 3px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.4s, background 0.4s; }
.field small { font-size: 10.5px; color: var(--muted); font-family: var(--f-mono); letter-spacing: 0.04em; }
.field span { font-size: 13.5px; min-height: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.field.is-filled { border-color: rgba(94, 231, 255, 0.35); background: rgba(94, 231, 255, 0.04); }
.field.is-check { border-color: rgba(255, 207, 107, 0.45); background: rgba(255, 207, 107, 0.05); }
.scanner__actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.scanner__approve { flex: 1; height: 40px; border-radius: 10px; background: rgba(47, 107, 255, 0.18); color: var(--ink-2); font-size: 13px; display: grid; place-items: center; border: 1px solid rgba(47, 107, 255, 0.35); transition: all 0.4s; }
.scanner__approve.is-done { background: var(--ok); color: #04210f; border-color: var(--ok); font-weight: 500; }
.scanner__caption { grid-column: 1 / -1; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 1000px) { .ingest { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .scanner { grid-template-columns: 1fr; } .scanner__file { min-height: 260px; } }

/* ---------- Generic step list (projects, accountant, security) ---------- */
.rows { list-style: none; border-top: 1px solid var(--line); margin-top: 36px; }
.rows li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.rows li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--cyan), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.rows li:hover::after { transform: scaleX(1); }
.rows li > span { font-family: var(--f-mono); font-size: 12px; color: var(--cyan); padding-top: 6px; }
.rows b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 2px; }
.rows p { color: var(--muted); font-size: 14.5px; }
.pill-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.pill-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.flow-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.flow-line span { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(4, 7, 15, 0.5); }
.flow-line i { color: var(--cyan); font-style: normal; }

/* ---------- Paper sections (light) ---------- */
.paper { background: var(--paper); color: var(--paper-ink); position: relative; z-index: 2; }
.paper .eyebrow { color: var(--paper-muted); }
.paper .eyebrow__num { color: var(--brand); }
.paper .h-lg em, .paper .h-md em { color: var(--brand); }
.paper .h-lg em .wi, .paper .h-md em .wi,
.paper .h-lg em:not(:has(.wi)), .paper .h-md em:not(:has(.wi)) { background: linear-gradient(100deg, var(--brand), #3aa3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper .lead { color: var(--paper-muted); }
.paper--round { border-radius: 36px 36px 0 0; margin-top: -1px; }
.paper--round-b { border-radius: 0 0 36px 36px; }

.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sector {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 3vw, 40px);
  background: #fff; border: 1px solid rgba(10, 19, 36, 0.07);
  min-height: 340px; display: flex; flex-direction: column; gap: 16px; isolation: isolate;
  transition: color 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s;
}
.sector::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 100% at 100% 0%, #1f5cff 0%, #0a1a3d 55%, #050a17 100%);
  clip-path: circle(0% at var(--mx, 90%) var(--my, 10%)); transition: clip-path 0.9s var(--ease);
}
.sector:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(11, 40, 120, 0.5); }
.sector:hover::before { clip-path: circle(150% at var(--mx, 90%) var(--my, 10%)); }
.sector__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--paper-muted); transition: color 0.5s; }
.sector:hover .sector__top { color: rgba(255, 255, 255, 0.6); }
.sector__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); transition: background 0.5s; }
.sector__icon svg { width: 26px; height: 26px; stroke: var(--brand); transition: stroke 0.5s; }
.sector:hover .sector__icon { background: rgba(255, 255, 255, 0.1); }
.sector:hover .sector__icon svg { stroke: var(--cyan); }
.sector h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(32px, 3vw, 46px); letter-spacing: -0.03em; line-height: 1; margin-top: auto; }
.sector p { font-size: 15px; color: var(--paper-muted); max-width: 42ch; transition: color 0.5s; }
.sector:hover p { color: rgba(255, 255, 255, 0.72); }
.sector__path { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; padding-top: 16px; border-top: 1px solid rgba(10, 19, 36, 0.08); transition: border-color 0.5s; }
.sector:hover .sector__path { border-color: rgba(255, 255, 255, 0.14); }
.sector__path i { flex: 1; height: 1px; background: currentColor; opacity: 0.3; }
@media (max-width: 800px) { .sectors { grid-template-columns: 1fr; } .sector { min-height: 300px; } }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); }
.faq__list { border-top: 1px solid rgba(10, 19, 36, 0.12); }
.qa { border-bottom: 1px solid rgba(10, 19, 36, 0.12); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 20px; align-items: center;
  padding: 26px 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(10, 19, 36, 0.15); position: relative; transition: background 0.4s, border-color 0.4s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 60px 28px 0; color: var(--paper-muted); font-size: 16px; max-width: 64ch; }
.qa__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .qa__body p { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.final { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 90px; text-align: center; }
.final__content { display: grid; justify-items: center; gap: 26px; }
.final__title { font-size: clamp(40px, 6vw, 96px); max-width: 16ch; }
.final__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 0; background: rgba(3, 5, 11, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); font-weight: 400; margin-bottom: 16px; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--ink-2); transition: color 0.3s; }
.footer ul a:hover { color: var(--cyan); }
.footer__mega {
  font-family: var(--f-display); font-weight: 200; letter-spacing: -0.06em; line-height: 0.9;
  font-size: clamp(80px, 22vw, 360px); text-align: center; margin-top: 50px; padding: 0 0 0.06em;
  background: linear-gradient(180deg, rgba(160, 185, 255, 0.34) 0%, rgba(94, 231, 255, 0.16) 70%, rgba(47, 107, 255, 0.10) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
  white-space: nowrap; overflow: hidden;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); position: relative; z-index: 1; background: rgba(3, 5, 11, 0.9); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal defaults (JS adds motion) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}
@keyframes failsafe-hide { to { opacity: 0; visibility: hidden; } }

.sector__catalog-link{display:inline-block;margin-top:20px;font-weight:650;text-decoration:underline;text-underline-offset:5px}
