/* Отдельные системы — MaybeSmart */

.os-page {
  --os-accent: #7f6bff;
  --os-accent-2: #5548aa;
  --os-text: #eef0f6;
  --os-muted: rgba(238, 240, 246, 0.7);
  --os-border: rgba(255, 255, 255, 0.1);
  --os-card: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Hero — static photo, no video */
.os-hero-full {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 600px;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #eef0f6;
  background: #0e1018 center / cover no-repeat;
}

.os-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 10, 16, 0.82) 0%,
    rgba(8, 10, 16, 0.55) 48%,
    rgba(8, 10, 16, 0.35) 100%
  );
  z-index: 1;
}

.os-hero-in {
  position: relative;
  z-index: 2;
  width: 1600px;
  max-width: 88%;
  margin: 0 auto;
  padding: 0 20px;
}

.os-hero-title {
  margin: 0 0 18px;
  max-width: 860px;
  font: 600 clamp(30px, 5vw, 48px) / 1.12 VelaSans, system-ui, sans-serif;
  letter-spacing: -0.6px;
  color: #fff;
}

.os-hero-lead {
  margin: 0 0 34px;
  max-width: 660px;
  font: 400 clamp(17px, 2vw, 24px) / 1.3 VelaSans, system-ui, sans-serif;
  color: #c8c8d2;
}

.os-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.os-hero-actions .btn {
  padding: 15px 28px !important;
  min-width: 210px;
  justify-content: center;
}

/* Cards */
.os-h2 {
  margin: 0 0 20px;
  font: 700 clamp(22px, 3vw, 32px) / 1.2 VelaSans, system-ui, sans-serif;
  color: var(--os-text);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.os-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  padding: 22px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.os-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 12, 15, 0.2) 0%,
    rgba(11, 12, 15, 0.5) 55%,
    rgba(11, 12, 15, 0.9) 100%
  );
  z-index: 0;
  transition: background 0.2s ease;
}

.os-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 107, 255, 0.55);
}

.os-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(11, 12, 15, 0.25) 0%,
    rgba(85, 72, 170, 0.35) 60%,
    rgba(11, 12, 15, 0.92) 100%
  );
}

.os-card > * {
  position: relative;
  z-index: 1;
}

.os-ic {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(127, 107, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.os-ic svg {
  width: 24px;
  height: 24px;
}

.os-cap {
  transition: transform 0.2s ease;
}

.os-card:hover .os-cap {
  transform: translateY(-3px);
}

.os-card h3 {
  margin: 0;
  font: 600 19px / 1.28 VelaSans, system-ui, sans-serif;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.os-more {
  display: inline-block;
  margin: 8px 0 0;
  font: 600 14px / 1 VelaSans, system-ui, sans-serif;
  color: #c7bcff;
}

/* Plank */
.os-plank {
  height: 28px;
  display: flex;
  align-items: center;
}

.os-plank__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(127, 107, 255, 0.45),
    transparent
  );
}

/* Path block — start with one system */
.os-path {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(127, 107, 255, 0.28);
  background:
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(127, 107, 255, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateY(18px);
}

.os-path__eyebrow {
  margin: 0 0 8px;
  font: 600 12px / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b8cff;
}

.os-path__title {
  margin: 0;
  font: 700 clamp(22px, 3vw, 30px) / 1.2 VelaSans, system-ui, sans-serif;
  color: var(--os-text);
}

.os-path__text {
  margin: 12px 0 20px;
  max-width: 460px;
  font: 400 15px / 1.55 VelaSans, system-ui, sans-serif;
  color: var(--os-muted);
}

.os-path__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.os-path__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.45);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.os-path__item:hover,
.os-path__item:focus-visible {
  border-color: rgba(127, 107, 255, 0.45);
  outline: none;
}

.os-path__item.is-active {
  border-color: rgba(127, 107, 255, 0.65);
  background: rgba(127, 107, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(127, 107, 255, 0.2), 0 10px 28px rgba(127, 107, 255, 0.12);
}

.os-path__num {
  flex: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font: 700 13px / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  background: linear-gradient(135deg, #7f6bff, #5548aa);
}

.os-path__item strong {
  display: block;
  font: 600 16px / 1.3 VelaSans, system-ui, sans-serif;
  color: #fff;
}

.os-path__item span {
  display: block;
  margin-top: 2px;
  font: 400 13px / 1.4 VelaSans, system-ui, sans-serif;
  color: rgba(238, 240, 246, 0.62);
place-content: center;
	    text-align: center;
}

.os-path__stage {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.os-path__svg {
  width: 100%;
  max-height: 400px;
  height: auto;
  flex: 1;
  display: block;
}

.os-path__svg .os-stroke {
  fill: none;
  stroke: rgba(210, 204, 255, 0.9);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.os-path__svg .os-stroke-soft {
  fill: none;
  stroke: rgba(185, 174, 255, 0.35);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
}

.os-path__svg .os-fill {
  fill: #141622;
  stroke: none;
}

.os-path__svg .os-accent {
  fill: none;
  stroke: #9b8cff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.os-path__svg .os-dot {
  fill: #7f6bff;
  transform-box: fill-box;
  transform-origin: center;
}

.os-path__svg .os-label-strong {
  fill: #eef0f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.os-path__part {
  transform-box: fill-box;
  transform-origin: center;
}

.os-path__callout {
  opacity: 0;
}

.os-path__ghost {
  opacity: 0.22;
}

.os-path__rail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-path__rail-label {
  flex: none;
  font: 600 11px / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 240, 246, 0.5);
}

.os-path__track {
  position: relative;
  flex: 1;
  height: 28px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0 1px,
    transparent 1px 10px
  );
  overflow: hidden;
}

.os-path__playhead {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: #7f6bff;
  box-shadow: 0 0 12px rgba(127, 107, 255, 0.8);
}

.os-path__status {
  flex: none;
  min-width: 100px;
  text-align: right;
  font: 600 11px / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #b9aeff;
}

/* Why */
.os-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.os-why {
  background: var(--os-card);
  border: 1px solid var(--os-border);
  border-radius: 16px;
  padding: 22px;
}

.os-why__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font: 700 15px / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  background: linear-gradient(135deg, #7f6bff, #5548aa);
}

.os-why h4 {
  margin: 14px 0 0;
  font: 600 17px / 1.3 VelaSans, system-ui, sans-serif;
  color: var(--os-text);
}

.os-why p {
  margin: 8px 0 0;
  font: 400 14px / 1.5 VelaSans, system-ui, sans-serif;
  color: rgba(238, 240, 246, 0.68);
}

/* CTA */
.os-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(127, 107, 255, 0.16), rgba(85, 72, 170, 0.1));
  border: 1px solid rgba(127, 107, 255, 0.3);
}

.os-cta h3 {
  margin: 0;
  font: 700 22px / 1.2 VelaSans, system-ui, sans-serif;
  color: var(--os-text);
}

.os-cta p {
  margin: 8px 0 0;
  max-width: 540px;
  font: 400 15px / 1.55 VelaSans, system-ui, sans-serif;
  color: rgba(238, 240, 246, 0.74);
}

.os-btn {
  flex: none;
  cursor: pointer;
  white-space: nowrap;
  font: 600 16px / 1 VelaSans, system-ui, sans-serif;
  color: #fff;
  border: 0;
  padding: 16px 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, #7f6bff, #5548aa);
  box-shadow: 0 8px 24px rgba(127, 107, 255, 0.35);
}

.os-btn:hover {
  filter: brightness(1.06);
}

@media (max-width: 980px) {
  .os-path {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .os-path__stage {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .os-grid,
  .os-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .os-hero-full {
    height: auto;
    min-height: 0;
    padding: 96px 0 64px;
  }

  .os-hero-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .os-grid,
  .os-why-grid {
    grid-template-columns: 1fr;
  }

  .os-card {
    min-height: 220px;
  }

  .os-path {
    padding: 18px;
  }

  .os-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-path,
  .os-path__callout,
  .os-path__ghost {
    opacity: 1 !important;
    transform: none !important;
  }
}
