:root {
  color-scheme: light;
  --ink: #13202f;
  --muted: #5e6a78;
  --line: #e4e8ee;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --tint: #eef5f6;
  --navy: #111827;
  --charcoal: #1b2430;
  --accent: #49b6b0;
  --accent-strong: #2d817e;
  --gold: #c5a86a;
  --shadow: 0 24px 70px rgba(19, 32, 47, 0.12);
  --radius: 8px;
  --container: 1120px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(73, 182, 176, 0.55);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(20px, calc((100vw - var(--container)) / 2));
  color: #ffffff;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(17, 24, 39, 0.94);
  box-shadow: 0 12px 34px rgba(5, 10, 18, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  font-size: 0.93rem;
  line-height: 1;
}

.logo-frame {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 1.8;
}

.logo-cut,
.logo-grid,
.logo-axis,
.logo-node {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.logo-cut,
.logo-node {
  stroke: var(--accent);
  stroke-width: 2.2;
}

.logo-grid {
  stroke: rgba(255, 255, 255, 0.56);
  stroke-width: 1.5;
}

.logo-axis {
  stroke: var(--accent);
  stroke-width: 1.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px 0 78px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 15%, rgba(73, 182, 176, 0.26), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(197, 168, 106, 0.2), transparent 24%),
    linear-gradient(135deg, #0d1420 0%, #182331 52%, #101722 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 86%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 120px;
  background: rgba(73, 182, 176, 0.16);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: 80px;
  background: rgba(197, 168, 106, 0.13);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(3.2rem, 5.8vw, 5.45rem);
  font-weight: 850;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 650;
}

.hero-text {
  max-width: 690px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #071215;
}

.button-primary:hover {
  background: #61cbc5;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 82px 0;
  background: var(--paper);
}

.section-light {
  background: var(--soft);
}

.section-tint {
  background:
    linear-gradient(135deg, rgba(73, 182, 176, 0.12), rgba(197, 168, 106, 0.08)),
    var(--tint);
}

.split,
.name-layout,
.compact-layout,
.details-layout,
.responsible-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.section h2 {
  max-width: 580px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 820;
}

.lead,
.name-copy,
.compact-copy,
.responsible-box > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.name-copy p,
.compact-copy p {
  margin: 0 0 16px;
}

.name-copy p:last-child,
.compact-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(19, 32, 47, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 182, 176, 0.34);
  box-shadow: var(--shadow);
}

.card-icon {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 182, 176, 0.92), rgba(197, 168, 106, 0.9)),
    var(--accent);
  margin-bottom: 28px;
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
}

.card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.labels span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 750;
}

.details-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.details-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.details-list dt {
  color: var(--muted);
  font-weight: 750;
}

.details-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.details-list a {
  color: var(--accent-strong);
}

.details-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  padding: 30px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.footer a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .split,
  .name-layout,
  .compact-layout,
  .details-layout,
  .responsible-box {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    min-height: auto;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 18px 16px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.82rem;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand-wordmark {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .hero {
    padding: 126px 0 68px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 64px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    display: block;
  }

  .nav {
    margin-top: 14px;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 2.56rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
