:root {
  --ink: #d5deec;
  --ink-muted: #98a8bd;
  --surface-0: #070c13;
  --surface-1: #0c1623;
  --surface-2: #101d2d;
  --surface-card: #132132;
  --line-strong: #27374b;
  --line-soft: #1a293b;
  --accent: #6ec7dd;
  --accent-strong: #3f9fcb;
  --warm: #f6f3ee;
  --warm-ink: #1d2a37;
  --warm-muted: #4f5e6f;
  --shadow: 0 24px 48px rgba(2, 7, 14, 0.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", "Calibri", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 550px at 12% 0%, #17304a 0%, transparent 58%),
    radial-gradient(900px 440px at 88% 0%, #12374a 0%, transparent 60%),
    linear-gradient(180deg, #050a10 0%, #09101a 58%, #0b1320 100%);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: #05101d;
  padding: 0.65rem 0.85rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  z-index: 100;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 10, 16, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d5edf5 0%, #70c6df 42%, #2f607f 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text {
  letter-spacing: 0.14em;
  font-size: 0.89rem;
  font-weight: 700;
}

.site-nav {
  justify-self: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #e9f5fb;
}

.header-cta {
  text-decoration: none;
  color: #f4fbff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(130, 188, 212, 0.45);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  background: linear-gradient(135deg, rgba(29, 63, 94, 0.9), rgba(20, 45, 72, 0.85));
}

.header-cta:hover,
.header-cta:focus {
  border-color: rgba(172, 217, 234, 0.76);
  background: linear-gradient(135deg, rgba(42, 84, 124, 0.94), rgba(26, 57, 89, 0.9));
}

.hero {
  padding: 4.2rem 0 2.2rem;
}

.hero-shell {
  border: 1px solid rgba(132, 174, 206, 0.22);
  border-radius: var(--radius-xl);
  background: linear-gradient(152deg, rgba(15, 27, 42, 0.95) 0%, rgba(11, 23, 35, 0.98) 54%, rgba(9, 18, 29, 1) 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 2vw + 0.8rem, 2.4rem);
}

.hero-copy-wrap {
  max-width: 64ch;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #8fcbe0;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.79rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-family: "Cambria", "Palatino Linotype", serif;
  font-size: clamp(2rem, 2vw + 1.2rem, 3.15rem);
  margin-bottom: 1rem;
  color: #f3f7fc;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.45rem, 1.1vw + 1rem, 2rem);
  margin-bottom: 0.92rem;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.hero-copy {
  color: #b0c1d5;
  margin-bottom: 0.75rem;
}

.hero-visual {
  border: 1px solid rgba(146, 196, 221, 0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(12, 29, 45, 0.85), rgba(10, 22, 34, 0.92));
  padding: 0.9rem;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual .visual-panel {
  fill: rgba(10, 23, 35, 0.7);
  stroke: rgba(139, 195, 220, 0.22);
}

.hero-visual .grid-lines line {
  stroke: rgba(148, 190, 214, 0.16);
  stroke-width: 1;
}

.hero-visual .trend-line {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 3.2;
}

.hero-visual .trend-line-secondary {
  fill: none;
  stroke: rgba(141, 207, 229, 0.55);
  stroke-width: 2.2;
  stroke-dasharray: 4 6;
}

.hero-visual .points circle {
  fill: #8ed3ea;
  stroke: #123046;
  stroke-width: 1.5;
}

.hero-visual .point-highlight {
  fill: #d9f2fb;
}

.hero-visual .source-channels path {
  fill: none;
  stroke: rgba(140, 207, 229, 0.55);
  stroke-width: 1.8;
}

.hero-visual .source-dot {
  fill: #7dc8e0;
}

.hero-visual .decision-node {
  fill: rgba(126, 198, 223, 0.24);
  stroke: rgba(168, 223, 242, 0.7);
}

.hero-visual .decision-flow {
  fill: none;
  stroke: rgba(172, 220, 237, 0.78);
  stroke-width: 2.2;
}

.process-strip {
  padding: 0 0 2.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-item {
  background: linear-gradient(180deg, rgba(17, 31, 47, 0.96), rgba(12, 23, 36, 0.96));
  border: 1px solid rgba(129, 177, 205, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
}

.process-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(175, 221, 239, 0.9);
  font-size: 1.1rem;
}

.process-item h2 {
  font-size: 1.02rem;
  margin-bottom: 0.38rem;
  color: #e6f3f9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.process-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.section {
  padding: 0 0 2.2rem;
}

.section .container {
  background: var(--warm);
  border: 1px solid #d8d0c4;
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 36px rgba(3, 7, 14, 0.18);
  padding: clamp(1.2rem, 1.2vw + 0.9rem, 2rem);
  color: var(--warm-ink);
}

.section.alt .container {
  background: linear-gradient(180deg, #f1ece2 0%, #f6f2ea 100%);
}

.section p {
  color: var(--warm-muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.capability-card {
  background: #fffdfa;
  border: 1px solid #e2d8ca;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #e8f4f9, #d7edf5);
  border: 1px solid #b8d3df;
  margin-bottom: 0.68rem;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.icon-wrap path {
  fill: none;
  stroke: #2a6989;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.capability-card p {
  margin: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.workflow-step {
  background: #fffdfa;
  border: 1px solid #dfd5c8;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.step-index {
  margin: 0 0 0.4rem;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: #2f6785;
}

.workflow-step p {
  margin-bottom: 0;
}

.responsible-panel {
  background: linear-gradient(160deg, #101f31, #0f1a2b);
  border: 1px solid rgba(149, 193, 217, 0.3);
  border-left: 4px solid #73c4df;
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.responsible-panel p {
  color: #c4d2e2;
}

.responsible-panel p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 1.4rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: end;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #d9e5f3;
  font-size: 0.9rem;
}

.footer-tagline,
.footer-meta,
.footer-links {
  margin: 0;
  color: #91a2b7;
  font-size: 0.92rem;
}

.footer-links a {
  color: #b4cde2;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #dff3fb;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .site-nav {
    justify-self: start;
  }

  .header-cta {
    justify-self: start;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-item:nth-child(2)::after,
  .process-item:nth-child(4)::after {
    display: none;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-shell,
  .section .container {
    border-radius: 16px;
  }

  .nav-list {
    gap: 0.65rem 0.95rem;
  }

  .nav-list a {
    font-size: 0.89rem;
  }

  .header-cta {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
  }

  .hero-copy {
    font-size: 0.97rem;
  }

  .process-grid,
  .capability-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .process-item::after {
    display: none;
  }

  .process-item {
    padding: 0.9rem;
  }

  .capability-card,
  .workflow-step,
  .responsible-panel {
    padding: 0.95rem;
  }

  .site-footer {
    padding-bottom: 1.8rem;
  }
}
