/* Сэйв Технологии — медтех / wellbeing / tech: светлая, спокойная система */
:root {
  --bg: #f0f3f6;
  --bg-page: #e8edf2;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --border: #d8e0e8;
  --border-strong: #c5d0dc;
  --text: #14212b;
  --text-secondary: #3d4f5f;
  --muted: #5c6b7a;
  --muted-light: #8a97a3;
  --teal: #0f6b63;
  --teal-hover: #0c5751;
  --teal-soft: #e4f2f0;
  --teal-muted: rgba(15, 107, 99, 0.12);
  --blue: #2c5282;
  --blue-soft: #e8eef6;
  --well: #9a6b45;
  --well-soft: #f5ebe3;
  --gold-muted: #b79264;
  --gold-soft: #f6efe6;
  --rose-muted: #b87074;
  --rose-soft: #f8ecec;
  --sci: #4a5568;
  --sci-soft: #edf0f4;
  --ok: #2d6a4f;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-sm: 0 1px 3px rgba(20, 33, 43, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 33, 43, 0.08);
  --shadow-card: 0 4px 24px rgba(20, 33, 43, 0.06);
  --glow: 0 0 0 1px rgba(15, 107, 99, 0.14), 0 16px 40px rgba(15, 107, 99, 0.12);
  --lux-shadow: 0 20px 60px rgba(16, 37, 53, 0.12);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  background-image: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 32%, var(--bg-page) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

abbr[title] {
  text-decoration: none;
  border-bottom: 1px dotted var(--muted-light);
  cursor: help;
}

.wrap {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.logo__muted {
  font-weight: 600;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.header__cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 82, 130, 0.28);
  color: var(--blue);
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.07), rgba(15, 107, 99, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

@media (max-width: 768px) {
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 58px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border-bottom: none;
  }

  .nav a:hover {
    background: var(--surface-2);
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 107, 99, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 107, 99, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  animation: grid-shift 20s linear infinite;
}

.hero__orb {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}

.hero__orb--teal {
  top: -12rem;
  right: -7rem;
  background: radial-gradient(circle, rgba(15, 107, 99, 0.55), transparent 65%);
  animation: float-orb 9s ease-in-out infinite;
}

.hero__orb--blue {
  bottom: -15rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.45), transparent 65%);
  animation: float-orb 12s ease-in-out infinite reverse;
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.hero__copy {
  position: relative;
}

.hero__copy::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 0.6rem;
  width: 1px;
  height: 80%;
  background: linear-gradient(180deg, transparent, rgba(15, 107, 99, 0.18), transparent);
}

@media (max-width: 900px) {
  .hero__copy::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal);
  border: 1px solid rgba(15, 107, 99, 0.15);
}

.tag--neutral {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--border);
}

.hero__tags .tag:nth-child(2) {
  color: var(--gold-muted);
  border-color: rgba(183, 146, 100, 0.25);
  background: var(--gold-soft);
}

.hero__tags .tag:nth-child(3) {
  color: var(--rose-muted);
  border-color: rgba(184, 112, 116, 0.25);
  background: var(--rose-soft);
}

.hero__title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text);
  max-width: 20ch;
}

@media (min-width: 901px) {
  .hero__title {
    max-width: none;
  }
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.12s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.99);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 107, 99, 0.25);
}

.btn--primary:hover {
  background: var(--teal-hover);
  box-shadow: 0 8px 24px rgba(15, 107, 99, 0.35);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-140%);
}

.btn:hover::after {
  animation: btn-shine 0.9s ease;
}

/* Signal card (tech / monitoring) */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem 1rem;
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.signal-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.signal-card__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-card__pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.12);
  color: var(--ok);
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.signal-card__pill.is-low {
  color: #256f4f;
  background: rgba(37, 111, 79, 0.12);
}

.signal-card__pill.is-mid {
  color: #916426;
  background: rgba(154, 107, 69, 0.14);
}

.signal-card__pill.is-high {
  color: #a33f3f;
  background: rgba(163, 63, 63, 0.14);
}

.signal-card.level-low {
  border-color: rgba(37, 111, 79, 0.28);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 1px rgba(37, 111, 79, 0.14), 0 14px 34px rgba(37, 111, 79, 0.15);
}

.signal-card.level-mid {
  border-color: rgba(154, 107, 69, 0.33);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 1px rgba(154, 107, 69, 0.16), 0 14px 34px rgba(154, 107, 69, 0.16);
}

.signal-card.level-high {
  border-color: rgba(163, 63, 63, 0.35);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 1px rgba(163, 63, 63, 0.2), 0 14px 34px rgba(163, 63, 63, 0.18);
}

.signal-card__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 107, 99, 0.1) 50%, transparent 80%);
  transform: translateY(-120%);
  animation: scanline 4.4s linear infinite;
  pointer-events: none;
}

.signal-card__chart {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(15, 107, 99, 0.08);
}

.signal-card__line {
  stroke-linejoin: round;
  animation: drawline 2.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 4px rgba(15, 107, 99, 0.24));
}

@keyframes drawline {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 1;
  }
}

.signal-card__chips {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.signal-card__chips span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.stress-scale {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.stress-scale__item {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.26rem 0.3rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface-2);
}

.stress-scale__item--low {
  border-color: rgba(37, 111, 79, 0.28);
}

.stress-scale__item--mid {
  border-color: rgba(154, 107, 69, 0.28);
}

.stress-scale__item--high {
  border-color: rgba(163, 63, 63, 0.28);
}

.stress-scale__item.is-active {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(20, 33, 43, 0.2);
}

.stress-scale__item--low.is-active {
  background: linear-gradient(135deg, #2d7c59, #256f4f);
}

.stress-scale__item--mid.is-active {
  background: linear-gradient(135deg, #b27b3b, #916426);
}

.stress-scale__item--high.is-active {
  background: linear-gradient(135deg, #bf4b4b, #a33f3f);
}

.signal-card__metrics {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.hero__facts li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.hero__facts li:last-child {
  border-bottom: none;
}

.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold-muted);
}

.hero__facts strong {
  color: var(--text);
  font-weight: 600;
}

/* Metrics strip */
.metrics {
  margin-top: -1.2rem;
  margin-bottom: 0.5rem;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 980px) {
  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .metrics__grid {
    grid-template-columns: 1fr;
  }
}

.metric {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 253, 0.9));
  box-shadow: var(--lux-shadow);
  border-top: 2px solid rgba(183, 146, 100, 0.22);
}

.metric::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(15, 107, 99, 0.12), transparent);
  animation: metric-sweep 6s ease-in-out infinite;
}

.metric__label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.metric__value {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.metric__suffix {
  margin-left: 0.2rem;
  font-size: 0.8rem;
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 500;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section--muted {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 700px;
}

.section__kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.section__title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.section__subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .cards--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md), var(--glow);
  border-color: var(--border-strong);
  transform: translateY(-5px);
}

.card__symbol {
  color: var(--gold-muted);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tile--wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .tiles {
    grid-template-columns: 1fr;
  }

  .tile--wide {
    grid-column: auto;
  }
}

.tile {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-left-width: 4px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tile__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.tile__icon {
  font-size: 0.65rem;
  color: var(--gold-muted);
  line-height: 1;
}

.tile__badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.tile__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.6;
}

.tile--accent {
  border-left-color: var(--teal);
  background: linear-gradient(135deg, var(--surface) 0%, var(--teal-soft) 100%);
}

.tile--well {
  border-left-color: var(--well);
  background: linear-gradient(135deg, var(--surface) 0%, var(--rose-soft) 100%);
}

.tile--sci {
  border-left-color: var(--blue);
  background: linear-gradient(135deg, var(--surface) 0%, var(--blue-soft) 100%);
}

/* Split + panel */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__lead {
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.split__panel {
  display: grid;
  gap: 1rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-muted), var(--rose-muted));
  opacity: 0.85;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(15, 107, 99, 0.12) 50%, transparent 80%);
  animation: panel-sweep 8s ease-in-out infinite;
}

.panel__title {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.panel__row:last-of-type {
  border-bottom: none;
}

.panel__k {
  color: var(--muted);
}

.panel__v {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.panel__v--ok {
  color: var(--ok);
  font-weight: 500;
}

.panel__chart {
  margin-top: 1rem;
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.panel__chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(15, 107, 99, 0.2));
  opacity: 0.75;
  animation: bars 1.2s ease-in-out infinite alternate;
}

.panel__chart span:nth-child(odd) {
  height: 38%;
}
.panel__chart span:nth-child(even) {
  height: 68%;
}

.panel__chart span:nth-child(2) {
  animation-delay: 0.1s;
}
.panel__chart span:nth-child(3) {
  animation-delay: 0.2s;
}
.panel__chart span:nth-child(4) {
  animation-delay: 0.15s;
}
.panel__chart span:nth-child(5) {
  animation-delay: 0.25s;
}
.panel__chart span:nth-child(6) {
  animation-delay: 0.05s;
}
.panel__chart span:nth-child(7) {
  animation-delay: 0.2s;
}
.panel__chart span:nth-child(8) {
  animation-delay: 0.12s;
}

@keyframes bars {
  from {
    opacity: 0.45;
    transform: scaleY(0.92);
  }
  to {
    opacity: 0.95;
    transform: scaleY(1);
  }
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-light);
  flex-shrink: 0;
}

.pill__dot--blue {
  background: var(--blue);
}
.pill__dot--teal {
  background: var(--teal);
}
.pill__dot--slate {
  background: var(--sci);
}

.sensor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 980px) {
  .sensor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sensor-grid {
    grid-template-columns: 1fr;
  }
}

.sensor-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 146, 100, 0.22);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.sensor-card__k {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--gold-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sensor-card__v {
  font-size: 0.95rem;
  line-height: 1.3;
}

.sensor-card__d {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* CTA */
.cta {
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

.cta__inner {
  text-align: center;
  padding: clamp(2.25rem, 5vw, 3.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cta__inner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow);
}

.cta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
}

.cta__text {
  margin: 0 auto 1.35rem;
  max-width: 48ch;
  color: var(--text-secondary);
  font-size: 1rem;
}

.cta__contact {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--text);
}

.cta__contact a {
  color: var(--teal);
  font-weight: 600;
}

.cta__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.35rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--surface-2);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--gold-muted);
}

.footer__legal {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-light);
}

/* Demo modal */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 43, 0.45);
  backdrop-filter: blur(4px);
}

.demo-modal__dialog {
  position: relative;
  width: min(560px, 92vw);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md), 0 20px 50px rgba(20, 33, 43, 0.2);
  padding: 1.35rem 1.2rem 1.15rem;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s ease;
}

.demo-modal.is-open .demo-modal__dialog {
  transform: translateY(0) scale(1);
}

.demo-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.demo-modal__title {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.demo-modal__text {
  margin: 0;
  color: var(--text-secondary);
}

.demo-modal__text a {
  color: var(--teal);
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--d1 {
  transition-delay: 0.06s;
}
.reveal--d2 {
  transition-delay: 0.12s;
}
.reveal--d3 {
  transition-delay: 0.18s;
}

.tech-card {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes grid-shift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes btn-shine {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(140%);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(120%);
  }
}

@keyframes panel-sweep {
  0%,
  70%,
  100% {
    transform: translateX(0);
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  90% {
    transform: translateX(220%);
    opacity: 0;
  }
}

@keyframes metric-sweep {
  0%,
  80%,
  100% {
    transform: translateX(0);
    opacity: 0;
  }
  86% {
    opacity: 1;
  }
  96% {
    transform: translateX(340%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .signal-card__line,
  .panel__chart span,
  .hero__bg,
  .hero__orb,
  .signal-card__scan,
  .panel::before,
  .btn::after,
  .metric::after {
    animation: none;
  }

  .tech-card,
  .tech-card:hover {
    transform: none;
  }
}
