/* =========================================================
   Livonia Data Lab SIA — design system
   Aesthetic: "Baltic laboratory" — near-black, amber + teal,
   engineering grid, monospace technical labels.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- tokens ---------- */
:root {
  --ink:        #07080A;
  --ink-2:      #0B0D11;
  --surface:    #101318;
  --surface-2:  #161A21;
  --line:       rgba(255, 255, 255, 0.09);
  --line-soft:  rgba(255, 255, 255, 0.045);

  --amber:      #E9B44C;
  --amber-soft: #F5D48A;
  --amber-dim:  rgba(233, 180, 76, 0.12);
  --teal:       #4FD1C5;
  --teal-dim:   rgba(79, 209, 197, 0.12);

  --text:       #EEF0F3;
  --text-2:     #B6BCC7;
  --muted:      #868D9A;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z-bg: 0;
  --z-body: 10;
  --z-nav: 40;
  --z-overlay: 50;
}

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

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--amber); color: var(--ink); }

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

/* ---------- ambient background layers ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
}

/* engineering grid */
.bg-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  opacity: 0.75;
}

/* aurora glow */
.bg-glow {
  background:
    radial-gradient(600px 380px at 12% -5%, rgba(233, 180, 76, 0.13), transparent 65%),
    radial-gradient(560px 400px at 88% 8%, rgba(79, 209, 197, 0.10), transparent 65%);
  animation: glow-drift 22s var(--ease-io) infinite alternate;
}

@keyframes glow-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, 26px, 0) scale(1.07); }
}

/* film grain */
.bg-noise {
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor-follow spotlight (desktop only) */
.bg-spot {
  background: radial-gradient(320px at var(--mx, 50%) var(--my, 50%), rgba(233, 180, 76, 0.055), transparent 72%);
  transition: opacity 0.4s var(--ease);
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: var(--z-body);
}

.section {
  padding-block: clamp(72px, 11vw, 130px);
  position: relative;
  z-index: var(--z-body);
}

/* Reveal offsets translate elements sideways until they fire, which would let
   a full-width block push the page ~26px wide. Clip that away.
   `clip` — not `hidden` — because hidden would make these scroll containers
   and break the sticky .toc on the legal pages. */
.hero, .section { overflow-x: clip; }

.section--tight { padding-block: clamp(56px, 8vw, 90px); }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  /* long unbreakable words (e.g. "SPA-приложения") must not force the
     grid column wider than the viewport on narrow screens */
  overflow-wrap: break-word;
}

/* Grid items default to min-width:auto, so their widest word sets a floor
   and blows the column out. Reset it wherever a grid holds prose or tables. */
.hero__grid > *,
.legal-grid > *,
.cards > *,
.feats > *,
.checks > *,
.stats > *,
.next-links > *,
.footer__grid > * { min-width: 0; }

.prose, .prose__wrap { min-width: 0; }

h1 { font-size: clamp(2.3rem, 6.2vw, 4.35rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

p { color: var(--text-2); }

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.68;
  max-width: 62ch;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.amber { color: var(--amber); }
.teal  { color: var(--teal); }

/* gradient headline word */
.grad {
  background: linear-gradient(100deg, var(--amber-soft) 0%, var(--amber) 42%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- eyebrow chip ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow .mono { color: var(--text-2); font-size: 0.68rem; }

/* pulsing status dot */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
  flex: none;
}
.dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  animation: dot-ping 2.4s var(--ease-io) infinite;
}
@keyframes dot-ping {
  0%        { transform: scale(0.5); opacity: 1; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- section heading ---------- */
.head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(38px, 5vw, 64px);
  max-width: 720px;
}
.head--center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* sheen sweep */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover { box-shadow: 0 12px 34px -10px rgba(233, 180, 76, 0.55); }
.btn:active { transform: scale(0.975); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost::before { background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.09) 50%, transparent 65%); }
.btn--ghost:hover {
  border-color: rgba(233, 180, 76, 0.5);
  color: var(--amber-soft);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.9);
}

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.86rem; }
.btn--wide { width: 100%; }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: calc(var(--shell) - 2 * var(--gutter) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), transform 0.45s var(--ease);
}

.nav.is-stuck {
  background: rgba(8, 10, 13, 0.85);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.95);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__mark .brand__l { transition: stroke 0.4s var(--ease); }
.brand:hover .brand__hex { animation: spin-slow 9s linear infinite; transform-origin: 20px 20px; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  cursor: pointer;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current='page'] { color: var(--amber); }
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

.nav__cta { flex: none; }

/* dropdown */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 320px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(12, 14, 19, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__panel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background-color 0.22s var(--ease);
}
.nav__panel-link:hover { background: rgba(255, 255, 255, 0.055); }
.nav__panel-link:hover .nav__panel-title { color: var(--amber-soft); }
.nav__panel-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  background: var(--amber-dim);
  border-radius: 6px;
  padding: 4px 7px;
  flex: none;
}
.nav__panel-title { font-size: 0.88rem; font-weight: 600; transition: color 0.22s var(--ease); }
.nav__panel-desc { font-size: 0.74rem; color: var(--muted); line-height: 1.4; }

/* burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(7, 8, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 96px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.sheet.is-open { opacity: 1; visibility: visible; }

.sheet__link {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(14px);
}
.sheet.is-open .sheet__link {
  animation: sheet-in 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 100ms);
}
@keyframes sheet-in { to { opacity: 1; transform: translateY(0); } }
.sheet__link .mono { font-size: 0.65rem; }
.sheet__link:hover { color: var(--amber); }

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(126px, 16vw, 168px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  z-index: var(--z-body);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
/* align-items:flex-start sizes children to fit-content, which can resolve to
   max-content and let a long word ("SPA-приложения") escape the column.
   Clamping to the container lets overflow-wrap do its job instead. */
.hero__copy > * { max-width: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* staggered load-in */
[data-load] {
  opacity: 0;
  transform: translateY(22px);
  animation: load-in 0.85s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes load-in { to { opacity: 1; transform: none; } }

/* hero stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  width: 100%;
}
.stat {
  background: var(--ink-2);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.35s var(--ease);
}
.stat:hover { background: var(--surface); }
.stat__num {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--amber-soft);
}
.stat__label { font-size: 0.76rem; color: var(--muted); line-height: 1.35; }

/* ---------- illustration frame ---------- */
.figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233, 180, 76, 0.05), transparent 60%),
    var(--ink-2);
  padding: 20px;
  overflow: hidden;
}
.figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 80%);
  pointer-events: none;
}
.figure__tag {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.figure__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(233, 180, 76, 0.4);
  pointer-events: none;
}
.figure__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.figure__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.figure__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.figure__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.figure svg.art { width: 100%; height: auto; position: relative; z-index: 1; }

/* ---------- shared SVG animation vocabulary ----------
   Each class below sets the `animation` shorthand, so TWO of them on one
   element do not compose — the one declared last wins and silently discards
   the other's animation-name. Combining an opacity class (.pop / .fade-in,
   which start at opacity:0) with .float that way leaves the element invisible
   forever. To layer effects, nest instead:
       <g class="pop"><g class="float"> … </g></g>
   ------------------------------------------------------ */
.art .draw {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  animation: draw 2.4s var(--ease-io) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.art .flow {
  stroke-dasharray: 5 9;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -28; } }

.art .fade-in {
  opacity: 0;
  animation: art-fade 0.7s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes art-fade { to { opacity: 1; } }

.art .pop {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  animation: art-pop 0.6s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes art-pop { to { opacity: 1; transform: scale(1); } }

.art .pulse {
  animation: art-pulse 2.6s var(--ease-io) infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes art-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.12); }
}

.art .float {
  animation: art-float 5s var(--ease-io) infinite alternate;
}
@keyframes art-float { to { transform: translateY(-7px); } }

.art .rot {
  transform-box: view-box;
  animation: art-rot 24s linear infinite;
}
@keyframes art-rot { to { transform: rotate(360deg); } }
.art .rot--rev { animation-direction: reverse; animation-duration: 34s; }

.art .scan {
  animation: art-scan 3.4s var(--ease-io) infinite;
}
@keyframes art-scan {
  0%, 100% { transform: translateY(0);    opacity: 0; }
  10%      { opacity: 1; }
  90%      { opacity: 1; }
  100%     { transform: translateY(var(--scan, 150px)); }
}

.art .blink { animation: art-blink 1.15s steps(2) infinite; }
@keyframes art-blink { 50% { opacity: 0.15; } }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
              transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* pointer-tracked glow inside each card */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px at var(--cx, 50%) var(--cy, 0%), rgba(233, 180, 76, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: rgba(233, 180, 76, 0.34);
  background: var(--surface);
  transform: translateY(-5px);
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 1);
}
.card:focus-within { border-color: rgba(233, 180, 76, 0.34); }

/* top hairline that fills on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover::after { transform: scaleX(1); }

/* whole-card link target */
.card__hit::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  padding: 5px 9px;
  border: 1px solid var(--amber-dim);
  background: var(--amber-dim);
  border-radius: 7px;
}

.card__icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.card:hover .card__icon { border-color: rgba(233, 180, 76, 0.4); transform: rotate(-6deg) scale(1.06); }
.card:hover .card__icon svg .ico-anim { animation: ico-dash 1.1s var(--ease-io) forwards; }
@keyframes ico-dash { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

.card__title { transition: color 0.35s var(--ease); }
.card:hover .card__title { color: var(--amber-soft); }
.card__desc { font-size: 0.93rem; color: var(--text-2); line-height: 1.6; }

.card__price {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card__price small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 400;
}

.card__list { display: flex; flex-direction: column; gap: 8px; }
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--text-2);
}
.card__list svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: var(--teal); }

.card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--amber);
}
.card__go svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.card:hover .card__go svg { transform: translateX(5px); }

/* ---------- feature grid (service pages) ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat {
  background: var(--ink-2);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  transition: background-color 0.4s var(--ease);
}
.feat:hover { background: var(--surface); }
.feat:hover .feat__ico { border-color: rgba(79, 209, 197, 0.45); transform: translateY(-3px); }
.feat__ico {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.feat__ico svg { width: 19px; height: 19px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.feat h4 { font-size: 1rem; }
.feat p { font-size: 0.88rem; line-height: 1.58; }

/* ---------- checklist ---------- */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  font-size: 0.92rem;
  color: var(--text-2);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.check:hover {
  border-color: rgba(79, 209, 197, 0.32);
  background: var(--surface);
  transform: translateX(4px);
}
.check__mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid rgba(79, 209, 197, 0.35);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.check__mark svg { width: 11px; height: 11px; stroke: var(--teal); stroke-width: 2.4; fill: none; }

/* ---------- process steps ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 12px; }
.step:hover .step__n { color: var(--amber); border-color: rgba(233, 180, 76, 0.4); }
.step__n {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.04em;
  border-left: 2px solid var(--line);
  padding-left: 16px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  height: fit-content;
}
.step__body { display: flex; flex-direction: column; gap: 8px; }
.step__body p { font-size: 0.93rem; max-width: 60ch; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  position: relative;
  z-index: var(--z-body);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 46px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.5;
  flex: none;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(233, 180, 76, 0.11), transparent 62%),
    var(--ink-2);
  padding: clamp(38px, 6vw, 66px);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(233, 180, 76, 0.14);
  pointer-events: none;
}
.cta__orb--a { width: 300px; height: 300px; top: -150px; left: -80px; animation: orb 15s var(--ease-io) infinite alternate; }
.cta__orb--b { width: 220px; height: 220px; bottom: -110px; right: -50px; border-color: rgba(79, 209, 197, 0.16); animation: orb 19s var(--ease-io) infinite alternate-reverse; }
@keyframes orb { to { transform: translate(24px, -18px) scale(1.14); } }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.field .req { color: var(--amber); }

.input, .textarea, .select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-2);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.28s var(--ease), background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #7B8391; }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(255, 255, 255, 0.18); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.13);
}
.textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868D9A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
.select option { background: var(--surface); color: var(--text); }

.form__note { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.form__note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover { color: var(--amber); }

.form__ok {
  display: none;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 209, 197, 0.35);
  border-radius: var(--r-sm);
  background: var(--teal-dim);
  font-size: 0.9rem;
  color: var(--teal);
}
.form__ok.is-shown { display: flex; animation: load-in 0.5s var(--ease) forwards; }
.form__ok svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 2; flex: none; }

/* ---------- contact tiles ---------- */
.contact-tiles { display: flex; flex-direction: column; gap: 12px; }
.tile {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
a.tile { cursor: pointer; }
a.tile:hover, .tile:hover {
  border-color: rgba(233, 180, 76, 0.32);
  background: var(--surface);
  transform: translateY(-2px);
}
.tile__ico {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color 0.35s var(--ease);
}
.tile:hover .tile__ico { border-color: rgba(233, 180, 76, 0.4); }
.tile__ico svg { width: 19px; height: 19px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.tile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile__label { font-size: 0.7rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.tile__value { font-size: 0.96rem; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--amber); }
.faq__sign { position: relative; width: 17px; height: 17px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.faq__sign::before { top: 8px; left: 0; width: 17px; height: 1.5px; }
.faq__sign::after { left: 8px; top: 0; width: 1.5px; height: 17px; }
.faq__q[aria-expanded='true'] { color: var(--amber); }
.faq__q[aria-expanded='true'] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a p { font-size: 0.93rem; padding-bottom: 22px; max-width: 72ch; }

/* ---------- legal prose ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 46px;
  margin-bottom: 14px;
  scroll-margin-top: 110px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  /* flex children floor at min-content, so a long Russian heading word would
     push past the viewport on narrow screens; `anywhere` lowers that floor
     (unlike `break-word`, which leaves intrinsic sizing untouched). */
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 400;
  letter-spacing: 0.1em;
  flex: none;
}
.prose h3 { font-size: 1.02rem; margin-top: 26px; margin-bottom: 9px; color: var(--text); }
.prose p { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.72; }
.prose ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.75;
}
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--amber-soft); }
.prose strong { color: var(--text); font-weight: 600; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 18px;
  font-size: 0.88rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--surface); font-weight: 600; color: var(--text); }
.prose td { color: var(--text-2); }
.prose__wrap { overflow-x: auto; }

.legal-box {
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--ink-2);
  padding: 18px 20px;
  margin-block: 20px;
}
.legal-box p:last-child { margin-bottom: 0; }

/* sticky mini-TOC */
.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
}
.toc__title { margin-bottom: 8px; }
.toc a {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 7px 9px;
  border-radius: 7px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  line-height: 1.35;
}
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.toc a.is-active { color: var(--amber); background: var(--amber-dim); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 30px;
  position: relative;
  z-index: var(--z-body);
  background: linear-gradient(180deg, transparent, rgba(233, 180, 76, 0.028));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
}
.footer__about { display: flex; flex-direction: column; gap: 16px; max-width: 34ch; }
.footer__about p { font-size: 0.87rem; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 3px;
}
.footer__col a {
  font-size: 0.89rem;
  color: var(--text-2);
  width: fit-content;
  position: relative;
  transition: color 0.25s var(--ease);
}
.footer__col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.footer__col a:hover { color: var(--amber); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__bar {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bar .mono { font-size: 0.68rem; }

/* oversized ghost wordmark */
.footer__ghost {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 13vw, 10.5rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  padding-top: 26px;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal='left']  { transform: translateX(-26px); }
[data-reveal='right'] { transform: translateX(26px); }
[data-reveal='scale'] { transform: scale(0.955); }

/* scroll progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
}

/* back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(12, 14, 19, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: var(--z-nav);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s,
              border-color 0.3s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: rgba(233, 180, 76, 0.5); }
.to-top svg { width: 17px; height: 17px; stroke: var(--amber); fill: none; stroke-width: 2; }

/* skip link */
.skip {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.25s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- small floating decor (per-screen accents) ---------- */
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
.decor svg { overflow: visible; }
.decor--ring   { animation: art-rot 30s linear infinite; }
.decor--bob    { animation: art-float 6s var(--ease-io) infinite alternate; }
.decor--drift  { animation: decor-drift 13s var(--ease-io) infinite alternate; }
@keyframes decor-drift { to { transform: translate(16px, -22px) rotate(9deg); } }

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--muted); transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--amber); }
.crumbs span { color: var(--text-2); }
.crumbs svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 1.5; }

/* ---------- price band on service pages ---------- */
.price-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 200% at 0% 50%, rgba(233, 180, 76, 0.09), transparent 60%),
    var(--ink-2);
}
.price-band__num {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.price-band__meta { display: flex; flex-direction: column; gap: 4px; }

/* ---------- next-service nav ---------- */
.next-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* three-up variant — a class, not an inline style, so the responsive
   rules below can still collapse it on narrow screens */
.next-links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.next:hover {
  border-color: rgba(233, 180, 76, 0.32);
  background: var(--surface);
  transform: translateY(-3px);
}
.next:hover h4 { color: var(--amber-soft); }
.next h4 { transition: color 0.3s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .feats, .checks, .next-links { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__n { border-left: 0; padding-left: 0; font-size: 1.15rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .decor { display: none; }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .price-band { flex-direction: column; align-items: flex-start; }
  .bg-spot { display: none; }
}

@media (hover: none) {
  .bg-spot { display: none; }
}

/* ---------- reduced motion ----------
   Deliberately not honoured: animation is the point of this site, and the
   owner chose to play it for everyone. The OS "reduce motion" setting is
   ignored — revisit if this ever becomes a public-service site.
   ------------------------------------- */

/* ---------- print (legal pages) ---------- */
@media print {
  .nav, .footer, .to-top, .bg-layer, .progress, .sheet, .decor { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #222; }
}
