/* Шрифты размещены на нашем сервере: браузер посетителя не обращается к сторонним сервисам. */
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/unbounded-latin-wght-normal.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; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.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: #0a0a0b;
  --bg-2: #121214;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f2ee;
  --muted: #8d8d93;
  --accent: #ff6a1a;
  --accent-ink: #0a0a0b;
  --warm: #ff3d1f;

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --fs-hero: clamp(2.6rem, 1rem + 7.2vw, 8.4rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.6vw, 4.6rem);
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: var(--bg);
}
.preloader__fox { width: 72px; height: 72px; color: var(--accent); }
.preloader__logo { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -0.03em; }
.preloader__logo span { color: var(--accent); }
.preloader__bar { width: min(240px, 60vw); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--accent); mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
  }
  .js .cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .js .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
  .cursor__label { font-size: 12px; font-weight: 700; color: var(--accent-ink); opacity: 0; transition: opacity .2s; text-transform: uppercase; letter-spacing: .04em; }
  .cursor.is-label .cursor__label { opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s, background .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--text); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--accent-ink); }
.btn--small { min-height: 42px; padding: 10px 20px; font-size: .92rem; }
.btn--wide { width: 100%; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.02em; }
.logo__mark { width: 36px; height: 36px; color: var(--accent); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); }
.logo__text b { color: var(--accent); font-weight: 600; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; font-size: .95rem; color: var(--muted); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .header__inner { justify-content: space-between; height: 64px; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .burger span { display: block; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 40px;
    padding: 96px var(--gutter) 40px; background: var(--bg);
    clip-path: circle(0 at calc(100% - 38px) 32px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 38px) 32px); visibility: visible; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
  .mobile-menu nav a { font-family: var(--font-head); font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.02em; }
  .mobile-menu__mail { color: var(--accent); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 72px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(255, 106, 26, .2), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 61, 31, .1), transparent 70%),
    linear-gradient(to bottom, transparent 60%, var(--bg));
}
.hero__inner { position: relative; z-index: 1; }
.hero__fox {
  position: absolute; z-index: 1; right: calc(var(--gutter) + 56px); top: max(96px, 11%);
  width: clamp(180px, 24vw, 380px); height: auto; color: var(--accent); overflow: visible; pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(255, 106, 26, .25));
}
.hero__fox .fox-lines path { stroke: currentColor; opacity: .85; }
@media (max-width: 960px) { .hero__fox { right: var(--gutter); top: 84px; width: 38vw; opacity: .55; } }
@media (max-width: 560px) { .hero__fox { width: 44vw; top: 72px; opacity: .4; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--muted); margin-bottom: 32px; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 106, 26, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); } }
.hero__title { font-size: var(--fs-hero); font-weight: 800; line-height: .98; letter-spacing: -0.04em; text-transform: none; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 960px) { .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-head); font-size: clamp(1.3rem, 1rem + 1.5vw, 2.4rem); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 180px) 0; }
.section__head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: start; margin-bottom: clamp(48px, 7vw, 96px); }
.section__label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .8em; }
.section__title { font-size: var(--fs-h2); }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 80px 1.2fr 1.5fr 1fr; gap: 24px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line); isolation: isolate; cursor: default;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service:hover, .service:hover .service__text, .service:hover .service__num { color: var(--accent-ink); }
.service:hover .service__tags li { border-color: rgba(10, 10, 11, .3); }
.service__num { font-family: var(--font-head); color: var(--muted); transition: color .4s; }
.service__title { font-size: var(--fs-h3); transition: transform .6s var(--ease); }
.service:hover .service__title { transform: translateX(12px); }
.service__text { color: var(--muted); transition: color .4s; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.service__tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; transition: border-color .4s; }
@media (max-width: 960px) {
  .service { grid-template-columns: 48px 1fr; gap: 12px 16px; padding: 32px 0; }
  .service__text, .service__tags { grid-column: 2; justify-content: flex-start; }
}

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 1.5rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 12px; }
.stat__value--word { font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); }
.stat p { color: var(--muted); }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Totem ---------- */
.totem {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 106, 26, .1), transparent 55%);
}
.totem__fox { width: clamp(80px, 10vw, 140px); height: clamp(80px, 10vw, 140px); color: var(--accent); }
.totem__label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.totem__title { font-size: var(--fs-h3); margin: 6px 0 10px; color: var(--accent); }
.totem__text { color: var(--muted); max-width: 560px; }
.totem__traits { display: flex; flex-direction: column; gap: 8px; }
.totem__traits li { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; text-align: center; }
@media (max-width: 760px) {
  .totem { grid-template-columns: auto 1fr; }
  .totem__traits { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Cases ---------- */
.cases { padding: clamp(80px, 12vw, 160px) 0 0; overflow-x: clip; }
.cases__head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-bottom: 56px; }
.cases__track { display: flex; gap: 24px; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cases__track::-webkit-scrollbar { display: none; }
.case { scroll-snap-align: start; }
@media (min-width: 761px) { .has-gsap .cases__track { width: max-content; overflow: visible; } }
.case { width: clamp(300px, 38vw, 560px); flex-shrink: 0; }
.case__visual {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
  display: flex; align-items: flex-start; padding: 20px;
}
.case__visual::after {
  content: ""; position: absolute; inset: 0; transition: transform 1s var(--ease);
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 18px 18px;
}
.case:hover .case__visual::after { transform: scale(1.08); }
.case__visual span { position: relative; z-index: 1; padding: 6px 14px; border-radius: 999px; background: rgba(10, 10, 11, .55); backdrop-filter: blur(8px); font-size: .85rem; }
.case__visual--1 { background: radial-gradient(80% 60% at 30% 30%, #7b5cff, #251a66 60%, #0f0b26); }
.case__visual--2 { background: radial-gradient(80% 60% at 70% 30%, #ffb23d, #66420f 60%, #1f1406); }
.case__visual--3 { background: radial-gradient(80% 60% at 50% 70%, #3dd6ff, #0f4a66 60%, #061620); }
.case__visual--4 { background: radial-gradient(80% 60% at 40% 60%, #ff3d7f, #661030 60%, #20060f); }
.case__info h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.case__info p { color: var(--muted); }
.case--more { display: flex; }
.case__more {
  flex: 1; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem); line-height: 1.1; transition: background .5s var(--ease), color .5s;
}
.case__more span { color: var(--accent); transition: color .5s; }
.case__more:hover { background: var(--accent); color: var(--accent-ink); }
.case__more:hover span { color: var(--accent-ink); }
@media (max-width: 760px) {
  .cases__head { grid-template-columns: 1fr; }
  .cases__track { padding-bottom: 80px; }
  .case { width: 82vw; scroll-snap-align: center; }
}

/* ---------- Process ---------- */
.process__list { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: baseline;
  padding: 36px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); color: transparent; -webkit-text-stroke: 1px var(--muted); line-height: 1; transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 560px; }
.step__time { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; white-space: nowrap; color: var(--muted); }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__time { justify-self: start; }
}

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; bottom: -30vw; background: radial-gradient(circle, rgba(255, 106, 26, .18), transparent 60%); pointer-events: none; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact__title { font-size: var(--fs-h2); margin: 24px 0; }
.contact__text { color: var(--muted); max-width: 460px; }
.contact__links { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-head); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); }
.contact__links a { width: fit-content; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.contact__links a:hover { background-size: 100% 1px; color: var(--accent); }
@media (max-width: 960px) { .contact__inner { grid-template-columns: 1fr; } }
.contact__inner > *, .page-hero .container > * { min-width: 0; max-width: 100%; }
.contact__title, .contact-card__tg b, .contact-card__list dd { overflow-wrap: anywhere; }

.contact-card { display: flex; flex-direction: column; gap: 28px; align-self: start; padding: clamp(24px, 4vw, 44px); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); }
.contact-card__tg { display: flex; align-items: center; gap: 16px; }
.contact-card__tg svg { width: 56px; height: 56px; flex-shrink: 0; color: var(--accent); }
.contact-card__tg p { color: var(--muted); }
.contact-card__tg b { display: block; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.contact-card__list { display: grid; gap: 14px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-card__list div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-card__list dt { color: var(--muted); }
.contact-card__list dd { margin: 0; font-weight: 600; user-select: all; }
.contact-card__list a:hover { color: var(--accent); }
.contact-card__note { font-size: .85rem; color: var(--muted); }
.contact-card__note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Inner pages ---------- */
a.service, a.case { color: inherit; }
a.case { display: block; }
.subpage .header { background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: var(--line); }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }
.page-hero { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 10%, rgba(255, 106, 26, .16), transparent 70%); pointer-events: none; }
.page-hero__bg { position: absolute; inset: 0; opacity: .35; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 18px 18px; }
.page-hero__title { font-size: clamp(1.75rem, .6rem + 5.6vw, 6rem); overflow-wrap: break-word; hyphens: auto; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; max-width: 16ch; }
.page-hero__lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.page-hero__meta .service__tags { justify-content: flex-start; }
.page-hero__time { color: var(--muted); font-size: .92rem; }
.page-hero--center .container { align-items: center; text-align: center; }
.page-hero--center .page-hero__title { max-width: none; }
.back { color: var(--muted); font-size: .95rem; padding-block: 10px; transition: color .3s; }
.back:hover { color: var(--accent); }
.notfound__fox { width: 120px; height: 120px; color: var(--accent); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { min-width: 0; background: var(--bg); padding: clamp(20px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 12px; transition: background .4s; }
.feature:hover { background: var(--bg-2); }
.feature h3 { font-size: clamp(1rem, .9rem + .25vw, 1.1rem); line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.feature p { color: var(--muted); }

.fits { display: flex; flex-wrap: wrap; gap: 12px; }
.fits li { padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); transition: border-color .3s, color .3s; }
.fits li:hover { border-color: var(--accent); color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; width: 100%; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }

.story { display: grid; gap: clamp(40px, 6vw, 72px); }
.story__block { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.story__block .section__label { padding-top: .3em; }
.story__text { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.45; max-width: 820px; }
.checklist { display: grid; gap: 14px; }
.checklist li { position: relative; padding: 0 0 14px 36px; border-bottom: 1px solid var(--line); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 2px; background: var(--muted); }
.checklist--accent li::before { background: var(--accent); }
@media (max-width: 760px) { .story__block { grid-template-columns: 1fr; gap: 12px; } }

.next { border-top: 1px solid var(--line); }
.next__link { display: flex; flex-direction: column; gap: 8px; padding: clamp(48px, 8vw, 96px) 0; }
.next__label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.next__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 1rem + 3.5vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.05; transition: transform .6s var(--ease); }
.next__link:hover .next__title { transform: translateX(16px); }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); margin-top: 20px; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent); }

/* ---------- Legal documents ---------- */
.page-hero__title--doc { font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); max-width: 22ch; }
.prose__meta { font-size: .9rem; color: var(--muted); }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 22px; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--accent); }
.prose b { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; }
.prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; background: var(--bg-2); }
.prose td { color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.prose code { font-size: .85em; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); color: var(--text); }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed; z-index: 120; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  max-width: 620px; margin-left: auto; display: flex; gap: 16px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(18, 18, 20, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .88rem; color: var(--muted); box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn::before { display: none; }
.cookie .btn--ghost { color: var(--text); background: transparent; }
.cookie .btn--ghost:hover { border-color: var(--text); color: var(--text); }
.cookie .btn--accent:hover { background: #ff7d36; }
@media (max-width: 600px) { .cookie { flex-direction: column; align-items: stretch; } .cookie__actions > * { flex: 1; } }
.footer__cookie { padding: 6px 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.footer__cookie:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 32px; overflow: hidden; }
.footer__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 14.5vw, 15rem); line-height: .85; letter-spacing: -0.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); user-select: none; margin-bottom: 32px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.footer__row nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer__row a { padding-block: 10px; }
.footer__row a:hover { color: var(--accent); }
.footer__copy { display: inline-flex; align-items: center; gap: 10px; }
.footer__fox { width: 22px; height: 22px; color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__legal a { padding-block: 6px; }
.footer__legal a:hover { color: var(--accent); }
.footer__owner { margin-top: 12px; font-size: .8rem; color: var(--muted); max-width: 760px; }
.footer__owner a:hover { color: var(--accent); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
