:root {
  color-scheme: dark;
  --black: #030405;
  --matte: #070809;
  --matte-2: #0d0f11;
  --panel: rgba(10, 12, 14, 0.86);
  --panel-strong: rgba(16, 18, 21, 0.94);
  --line: rgba(225, 231, 238, 0.16);
  --line-strong: rgba(238, 242, 246, 0.32);
  --text: #f5f7f9;
  --silver: #d8dee5;
  --muted: #a4adb6;
  --soft: #747d86;
  --green: #aee7bd;
  --amber: #e5d19b;
  --red: #e7aaa2;
  --max: 1180px;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(180deg, #030405 0%, #08090a 52%, #040506 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 31%, rgba(255, 255, 255, 0.04) 31.1%, transparent 31.35% 62%, rgba(255, 255, 255, 0.035) 62.1%, transparent 62.35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%, rgba(255, 255, 255, 0.02));
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 64px 22px 42px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.94) 0%, rgba(3, 4, 5, 0.74) 46%, rgba(3, 4, 5, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.1) 0%, rgba(3, 4, 5, 0.88) 100%),
    url("../visiitkaart.png");
  background-position: center;
  background-size: cover;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 19%, rgba(255, 255, 255, 0.07) 19.08%, transparent 19.18% 45%, rgba(255, 255, 255, 0.04) 45.08%, transparent 45.18%),
    linear-gradient(58deg, transparent 0 64%, rgba(255, 255, 255, 0.05) 64.08%, transparent 64.2%);
  opacity: 0.62;
}

.hero-grid,
.section-grid,
.clarity-band,
.closing-panel,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: 5.2rem;
  line-height: 0.9;
  font-weight: 880;
}

.subtitle {
  margin: 16px 0 0;
  color: var(--silver);
  font-size: 1.58rem;
  line-height: 1.18;
  font-weight: 720;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--silver);
  font-size: 1.15rem;
  line-height: 1.66;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.tagline span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  font-size: 1rem;
  font-weight: 780;
}

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

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 780;
  white-space: nowrap;
}

.primary-action {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #ffffff, #d7dde3 58%, #8c98a4);
  color: #050607;
  box-shadow: 0 18px 46px rgba(255, 255, 255, 0.12);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--silver);
}

.command-surface {
  min-width: 0;
}

.card-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--matte);
  box-shadow: var(--shadow);
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.card-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.dashboard-panel {
  position: relative;
  margin: -42px 22px 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(4, 5, 6, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

.panel-topline strong {
  color: var(--green);
  font-weight: 780;
  text-align: right;
}

.radar-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.radar {
  position: relative;
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.2) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.2) 50%, transparent 50.5%),
    repeating-radial-gradient(circle, transparent 0 27px, rgba(255, 255, 255, 0.14) 28px, transparent 29px),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.radar::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: conic-gradient(from 260deg, transparent 0deg, rgba(174, 231, 189, 0.06) 38deg, rgba(174, 231, 189, 0.28) 47deg, transparent 54deg);
  animation: radar-sweep 6s linear infinite;
}

.radar::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: calc(50% - 4px);
  top: calc(50% - 4px);
  border-radius: 50%;
  background: var(--silver);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.75);
}

.radar span {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(174, 231, 189, 0.8);
}

.radar span:nth-child(1) {
  top: 32%;
  left: 67%;
}

.radar span:nth-child(2) {
  top: 63%;
  left: 31%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(229, 209, 155, 0.72);
}

.radar span:nth-child(3) {
  top: 48%;
  left: 78%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(231, 170, 162, 0.7);
}

.pulse-list {
  margin: 0;
}

.pulse-list div {
  display: grid;
  grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.pulse-list div:last-child {
  border-bottom: 0;
}

.pulse-list dt {
  color: #fff;
  font-size: 0.96rem;
  font-weight: 820;
}

.pulse-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.decision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.decision-strip span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.decision-strip strong {
  color: var(--silver);
  font-size: 0.96rem;
  text-align: right;
}

.signal-band,
.clarity-band,
.closing-band {
  padding: 76px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.signal-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.015);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.section-copy h2,
.wide-copy h2,
.closing-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 2.32rem;
  line-height: 1.08;
  font-weight: 820;
}

.section-copy p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.signal-matrix {
  border-top: 1px solid var(--line-strong);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(190px, 1fr) minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.matrix-row span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.matrix-row span:first-child {
  color: #fff;
  font-weight: 790;
}

.matrix-head {
  min-height: 42px;
  padding: 0 0 11px;
}

.matrix-head span {
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.wide-copy {
  max-width: 860px;
}

.clarity-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.clarity-rail div {
  min-height: 190px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--line);
}

.clarity-rail div + div {
  padding-left: 24px;
}

.clarity-rail div:last-child {
  border-right: 0;
}

.clarity-rail span {
  display: block;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 840;
}

.clarity-rail strong {
  display: block;
  color: #fff;
  font-size: 1.14rem;
  line-height: 1.25;
}

.clarity-rail p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.closing-band {
  background: rgba(255, 255, 255, 0.018);
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.closing-panel h2 {
  max-width: 820px;
}

.footer {
  padding: 34px 22px 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--soft);
  font-size: 0.92rem;
}

.footer a {
  color: var(--silver);
}

@keyframes radar-sweep {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .radar::before {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .command-surface {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 86svh;
    padding: 58px 18px 38px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 4, 5, 0.88) 0%, rgba(3, 4, 5, 0.68) 42%, rgba(3, 4, 5, 0.92) 100%),
      url("../visiitkaart.png");
    background-position: 58% center;
    background-size: cover;
  }

  h1 {
    font-size: 3.7rem;
    line-height: 0.94;
  }

  .subtitle {
    font-size: 1.26rem;
  }

  .lead {
    font-size: 1.03rem;
  }

  .radar-layout,
  .section-grid,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .radar-layout {
    justify-items: start;
  }

  .signal-band,
  .clarity-band,
  .closing-band {
    padding: 58px 18px;
  }

  .section-copy h2,
  .wide-copy h2,
  .closing-panel h2 {
    font-size: 1.74rem;
  }

  .signal-matrix {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .matrix-row {
    min-width: 690px;
  }

  .clarity-rail {
    grid-template-columns: 1fr;
  }

  .clarity-rail div {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .clarity-rail div + div {
    padding-left: 0;
  }

  .clarity-rail div:last-child {
    border-bottom: 0;
  }

  .clarity-rail span {
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.74rem;
  }

  .subtitle {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .dashboard-panel {
    margin: -24px 10px 0;
  }

  .command-surface {
    display: none;
  }

  .panel-topline,
  .decision-strip,
  .pulse-list div {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-topline strong,
  .decision-strip strong {
    text-align: left;
  }

  .radar {
    width: 150px;
  }

  .radar-layout {
    padding: 16px;
  }

  .signal-matrix {
    overflow-x: visible;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
    padding: 18px 0;
  }

  .matrix-row span {
    font-size: 0.93rem;
  }

  .matrix-row span:first-child {
    font-size: 1rem;
  }
}
