@font-face {
  font-family: Manrope;
  src: url("fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #061420;
  --navy: #07182c;
  --panel: #0c2740;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #146063;
  --cyan: #37d7be;
  --cyan-deep: #1aa890;
  --paper: #f3efe6;
  --cream: #f7f1e8;
  --rose: #8d3d55;
  --muted: #8ea0ae;
  --text: #e7eef2;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 500;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(20, 96, 99, 0.55), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(28, 54, 190, 0.28), transparent 55%),
    linear-gradient(160deg, #050d17 0%, var(--navy) 46%, #0a3036 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  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='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(55, 215, 190, 0.16), transparent 68%);
  transform: translate(70vw, 40px) translate(-50%, -50%);
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--cyan);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 7vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 20, 32, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.bar.is-scrolled {
  background: rgba(7, 20, 32, 0.86);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #d5e4ea;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.is-current { color: var(--cyan); }

.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }

main {
  position: relative;
  z-index: 1;
  padding: 0 7vw 80px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 48px;
  align-items: end;
  padding: 72px 0 36px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.96;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.h1-mark {
  color: var(--cyan);
}

.lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: #c5d4dc;
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #67efd6; }
.btn-ghost { border-color: var(--line); color: white; }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-ink { background: var(--ink); color: var(--cyan); }
.btn-line { border-color: rgba(6, 20, 32, 0.2); color: var(--ink); }

.ticket {
  background:
    linear-gradient(180deg, rgba(55, 215, 190, 0.16), transparent 32%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #071420;
  top: 58px;
}

.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stamp {
  color: var(--ink);
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.kinds,
.mode {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.kinds button,
.mode button,
.service-list button {
  font: inherit;
  cursor: pointer;
}

.kinds button,
.mode button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}

.kinds button[aria-selected="true"] {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}

.mode button {
  color: #2a1c18;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(42, 28, 24, 0.14);
}

.mode button[aria-selected="true"] {
  background: #2a1c18;
  color: var(--cream);
  border-color: #2a1c18;
}

.ticket dl { margin: 8px 0 0; }

.ticket dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ticket dt { color: var(--muted); font-size: 14px; }
.ticket dd { margin: 0; font-weight: 700; transition: color 0.2s ease; }

.ticket-foot {
  margin: 16px 0 0;
  color: #b7c8d1;
  font-size: 14px;
  line-height: 1.45;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 64px 0 22px;
}

.index {
  margin: 0;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 760;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.stage {
  position: relative;
  min-height: 320px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(280px 160px at 80% 0%, rgba(55, 215, 190, 0.18), transparent 70%),
    rgba(12, 39, 64, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock { display: none; }
.stage[data-active="site"] .mock[data-mock="site"],
.stage[data-active="bot"] .mock[data-mock="bot"],
.stage[data-active="lead"] .mock[data-mock="lead"],
.stage[data-active="parser"] .mock[data-mock="parser"],
.stage[data-active="python"] .mock[data-mock="python"],
.stage[data-active="sheet"] .mock[data-mock="sheet"] {
  display: grid;
  gap: 12px;
  animation: rise 0.35s ease;
}

.chrome, .mock-fields, .sheet, .tidy, .file, .tg-card {
  border: 1px solid var(--line);
  background: rgba(5, 16, 28, 0.45);
  border-radius: 16px;
}

.chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
}

.chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.chrome span:first-child { background: #e07a8a; }
.chrome em, .file em {
  margin-left: 8px;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

.mock-hero {
  height: 92px;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(55, 215, 190, 0.85), rgba(20, 96, 99, 0.3) 55%, transparent),
    #123048;
}

.mock-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 12px;
  align-items: center;
}

.mock-fields i {
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-fields b, .tg-card strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
}

.bubble {
  margin: 0;
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.4;
}

.bubble.in {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}

.bubble.out {
  justify-self: end;
  background: var(--cyan);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  font-weight: 700;
}

.tg-kicker, .mock-caption {
  margin: 0;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 750;
}

.tg-card, .file {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.tg-card span, .file span { color: #d5e4ea; }

.sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.sheet span {
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sheet .fill {
  background: rgba(55, 215, 190, 0.85);
  animation: cell 1.6s ease infinite;
}

.tidy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.tidy div { display: grid; gap: 8px; }
.tidy b { font-size: 13px; color: var(--muted); }
.tidy i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}
.tidy .short { width: 62%; }
.tidy .row { background: var(--cyan); }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list li { border-bottom: 1px solid var(--line); }

.service-list button {
  width: 100%;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  padding: 16px 12px 16px 16px;
}

.service-list button[aria-pressed="true"] {
  border-left-color: var(--cyan);
  background: rgba(55, 215, 190, 0.08);
}

.service-list button:hover { background: rgba(255, 255, 255, 0.03); }

.service-list span {
  display: block;
  font-weight: 760;
  font-size: 18px;
  margin-bottom: 6px;
}

.service-list p {
  margin: 0;
  color: #b7c7d0;
  line-height: 1.45;
}

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-story { padding: 36px 36px 32px; }
.case-pudra .case-story { background: var(--cream); color: #2a1c18; }

.case-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 750;
  color: var(--rose);
}

.case h3 {
  margin: 0;
  font-size: clamp(42px, 4vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-weight: 780;
}

.case-lead, .case-story li, .case-for { line-height: 1.5; }
.case-lead { margin: 16px 0; font-size: 17px; }
.case-story ul { margin: 0; padding-left: 18px; }
.case-story li { margin: 8px 0; }
.case-for { margin: 18px 0 0; font-weight: 750; }

.bench {
  background:
    radial-gradient(420px 240px at 70% 20%, rgba(244, 215, 228, 0.7), transparent 60%),
    #efe4d4;
  color: #2a1c18;
  padding: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: 12px;
  align-items: center;
}

.bench-label,
.mode { grid-column: 1 / -1; }

.bench-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8a6d62;
}

.cake-wrap, .sweet-wrap { text-align: center; }

.cake {
  position: relative;
  width: 150px;
  margin: 8px auto 0;
  transform-origin: center bottom;
  transition: transform 0.35s ease;
}

.cake-top {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 22px solid var(--coat, #f4d7e4);
  filter: brightness(1.05);
  transition: border-bottom-color 0.35s ease;
}

.layer {
  height: 22px;
  border-radius: 8px 8px 4px 4px;
  margin: -2px auto 0;
}

.coat {
  position: relative;
  width: 118px;
  height: 34px;
  background: var(--coat, #f4d7e4);
  border-radius: 16px 16px 8px 8px;
  transition: background-color 0.35s ease;
}

.coat::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 16px 4px 0 rgba(255, 255, 255, 0.7), 34px -1px 0 rgba(141, 61, 85, 0.35), 52px 6px 0 rgba(255, 255, 255, 0.8);
}

.icing {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 16px;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #6d3144;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cream {
  width: 108px;
  height: 14px;
  background: var(--fill, #fff6ea);
  transition: background-color 0.35s ease;
}

.sponge {
  width: 124px;
  height: 26px;
  background: #e7c39a;
}

.plate {
  width: 150px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: #d9cfc2;
  box-shadow: 0 10px 16px rgba(90, 58, 42, 0.16);
}

.cake-title {
  margin: 10px 0 0;
  font-weight: 750;
}

.sweets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  min-height: 148px;
  align-content: center;
  margin: 8px auto 0;
  max-width: 180px;
  padding: 10px;
  border-radius: 20px;
}

.sweets.is-wrapped {
  outline: 2px dashed rgba(141, 61, 85, 0.45);
  background: rgba(255, 255, 255, 0.35);
}

.sweet {
  display: block;
  background: #e8b4c8;
}

.sweet-macaron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(141, 61, 85, 0.25);
}

.sweet-profiterole {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3e6c8;
  box-shadow: inset 0 -4px 0 rgba(140, 96, 48, 0.25);
}

.sweet-eclair {
  width: 30px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(#d9c4a8, #f7f1e8 55%, #d9c4a8);
}

.controls, .route { display: grid; gap: 12px; }
.controls[hidden],
.cake-wrap[hidden],
.sweet-wrap[hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; }

legend {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #8a6d62;
}

.pills, .swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label, .swatches label, .check { position: relative; cursor: pointer; }
.pills input, .swatches input, .check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}

.pills span {
  display: inline-block;
  border: 1px solid rgba(42, 28, 24, 0.15);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 14px;
}

.pills label:has(input:checked) span {
  background: #2a1c18;
  color: #f7f1e8;
  border-color: #2a1c18;
}

.pills label:has(input:focus-visible) span,
.swatches label:has(input:focus-visible) span,
.check:has(input:focus-visible) span,
.kinds button:focus-visible,
.mode button:focus-visible,
.service-list button:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 2px;
}

.swatches span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(42, 28, 24, 0.2);
}

.swatches label:has(input:checked) span { box-shadow: 0 0 0 2px #2a1c18; }

.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.field-top { display: flex; justify-content: space-between; gap: 8px; }
.field output { font-variant-numeric: tabular-nums; }

.field input[type="text"] {
  font: inherit;
  font-weight: 600;
  border: 1px solid rgba(42, 28, 24, 0.16);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  color: inherit;
}

.range {
  --p: 10%;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2a1c18 var(--p), rgba(42, 28, 24, 0.18) var(--p));
  color: #2a1c18;
}

.range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  cursor: pointer;
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  cursor: pointer;
}

.price {
  margin: 4px 0 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.discount {
  margin: 0;
  color: var(--rose);
  font-size: 13px;
  font-weight: 750;
}

.case-vezem { margin-top: 22px; }

.bench-dark {
  background:
    radial-gradient(380px 220px at 20% 0%, rgba(55, 215, 190, 0.22), transparent 60%),
    #0c2438;
  color: #e7eef2;
  grid-template-columns: 1fr;
  align-items: start;
}

.bench-dark .bench-label,
.bench-dark legend { color: #8fb8b4; }

.pills-dark span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.pills-dark label:has(input:checked) span {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}

.bench-dark .range {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--cyan) var(--p), rgba(255, 255, 255, 0.16) var(--p));
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.check span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
}

.check-light span {
  border-color: rgba(42, 28, 24, 0.16);
  color: #2a1c18;
}

.check:has(input:checked) span,
.check-light:has(input:checked) span {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}

.check-light:has(input:checked) span {
  background: #2a1c18;
  color: var(--cream);
  border-color: #2a1c18;
}

.split {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

.split li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.split span { color: #8fb8b4; font-size: 12px; }
.split strong { font-size: 14px; font-variant-numeric: tabular-nums; }

.route-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.route-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.route-line i {
  position: relative;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(55, 215, 190, 0.15) 80%);
}

#mover {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 16px;
  height: 12px;
  border-radius: 4px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: left 0.35s ease, width 0.25s ease;
}

#mover.is-van { width: 26px; }
#mover.has-loaders::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: white;
}

section, article { scroll-margin-top: 84px; }

.price-cyan { color: var(--cyan); }

.price-note {
  margin: 0;
  color: #b7c9d2;
  font-size: 14px;
  line-height: 1.45;
}

.story-light { background: #10283a; }
.story-light .case-kicker { color: var(--cyan); }

.story-kalibr { background: #161411; color: #f4efe6; }
.story-kalibr .case-kicker { color: #e23c12; }
.bench-kalibr {
  background:
    radial-gradient(380px 180px at 80% 0%, rgba(226, 60, 18, 0.22), transparent 60%),
    #1c1916;
  color: #f4efe6;
  grid-template-columns: 1fr;
}
.bench-kalibr .bench-label,
.bench-kalibr legend { color: #c4b2a4; }
.part-card, .bay-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.part-card b, .bay-card b { font-size: 28px; letter-spacing: -0.03em; }
.part-card p, .bay-card p { margin: 0; line-height: 1.45; color: #e7d7cc; }
.bench-kalibr .pills-dark label:has(input:checked) span {
  background: #e23c12;
  color: white;
  border-color: #e23c12;
}

.story-elki { background: #10241c; color: #f3efe4; }
.story-elki .case-kicker { color: #e0b56a; }
.bench-elki {
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(224, 181, 106, 0.2), transparent 62%),
    #0c1c16;
  color: #f3efe4;
  grid-template-columns: 1fr;
}
.bench-elki .bench-label,
.bench-elki legend { color: #b7c7b4; }
.bench-elki .range {
  color: #e0b56a;
  background: linear-gradient(90deg, #e0b56a var(--p), rgba(255, 255, 255, 0.16) var(--p));
}
.bench-elki .pills-dark label:has(input:checked) span {
  background: #e0b56a;
  color: #10241c;
  border-color: #e0b56a;
}
.room-mini {
  position: relative;
  height: 180px;
  border-radius: 18px;
  background:
    linear-gradient(#d7ecf4, #d7ecf4 18%, #efe6d4 18%, #efe6d4);
  overflow: hidden;
}
.room-mini .ceiling {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 12px;
  font-weight: 750;
  color: #3d5a66;
}
.fir {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 86px;
  height: var(--tree, 64%);
  transform: translateX(-50%);
  background:
    linear-gradient(#1f6b45, #1f6b45) center bottom / 8px 18% no-repeat,
    linear-gradient(#2f8f58, #174a32);
  clip-path: polygon(50% 0, 78% 38%, 64% 38%, 92% 72%, 72% 72%, 100% 100%, 0 100%, 28% 72%, 8% 72%, 36% 38%, 22% 38%);
  transition: height 0.25s ease, filter 0.25s ease;
}
.fir.is-pine { filter: hue-rotate(18deg) saturate(0.8); }
.fir.is-cast { filter: grayscale(0.35) brightness(0.85); }

.story-vice { background: #120816; color: #f6eefe; }
.story-vice .case-kicker { color: #ff4fa3; }
.bench-vice {
  background:
    radial-gradient(420px 200px at 90% 0%, rgba(255, 79, 163, 0.28), transparent 55%),
    radial-gradient(320px 180px at 0% 100%, rgba(55, 215, 190, 0.16), transparent 60%),
    #160a22;
  color: #f6eefe;
  grid-template-columns: 1fr;
}
.bench-vice .bench-label,
.bench-vice legend { color: #d7b6d4; }
.bench-vice .pills-dark label:has(input:checked) span {
  background: #ff4fa3;
  color: #1a0614;
  border-color: #ff4fa3;
}
.bay-card span {
  color: var(--cyan);
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}
.bay-card p { color: #f0d7ea; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 215, 190, 0.45);
  background: rgba(55, 215, 190, 0.06);
}

.steps li:hover::before { transform: scaleX(1); }

.steps span { color: var(--cyan); font-weight: 800; }
.steps h3 { margin: 10px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: #c5d4dc; line-height: 1.45; }

.contact {
  margin-top: 64px;
  padding: 40px 36px;
  border-radius: 32px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 255, 255, 0.35), transparent 50%),
    var(--cyan);
  color: var(--ink);
}

.contact .eyebrow { color: #0c5c50; }
.contact .eyebrow::before { background: #0c5c50; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); max-width: 14ch; }
.contact p { margin: 10px 0 0; max-width: 460px; font-size: 17px; }

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 7vw 32px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes cell {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero,
  .case,
  .steps,
  .bench,
  .service-layout { grid-template-columns: 1fr; }
  .case-vezem .bench-dark,
  .case-elki .bench-elki { order: 2; }
  .nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 40px; }
  main { padding-bottom: 48px; }
  .bar { flex-wrap: wrap; }
  .stage { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .cake,
  .btn,
  .steps li,
  #mover,
  .mock,
  .sheet .fill { animation: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  .glow { display: none; }
}
