:root {
  --red: #e30613;
  --red-dark: #9d020b;
  --ink: #07111f;
  --muted: #5d6878;
  --line: #dfe5ee;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 17, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 186px;
  max-width: 42vw;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(560px, 0.92fr) minmax(420px, 0.62fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  min-height: min(780px, calc(100vh - 70px));
  padding: clamp(42px, 6vw, 78px) clamp(34px, 6vw, 92px) clamp(48px, 6vw, 78px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(227, 6, 19, 0.3), transparent 34%),
    linear-gradient(135deg, #03050a 0%, #07111f 58%, #130206 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(720px, 48vw);
  height: min(520px, 58vh);
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(227, 6, 19, 0.2) 45% 46%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 76px);
  mask-image: radial-gradient(circle at 64% 58%, #000 0 52%, transparent 72%);
  opacity: 0.55;
  content: "";
}

#meshCanvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-content {
  align-self: center;
  max-width: 860px;
}

.hero-logo {
  width: min(690px, 42vw);
  min-width: 470px;
  margin: 0 0 34px -10px;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(48px, 4.55vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.26);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-panel {
  align-self: center;
  justify-self: stretch;
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 96px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 24px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
}

.hero-panel span {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(30px, 2.1vw, 42px);
  font-weight: 950;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.section,
.architecture,
.capability-section,
.process,
.advisor,
.partner,
.contact {
  padding: clamp(62px, 8vw, 105px) clamp(22px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.partner p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.partner-card,
.score-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 30px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 27px;
}

.service-card p {
  color: #303b49;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "•";
}

.icon {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.15), rgba(227, 6, 19, 0.02)),
    var(--soft);
  position: relative;
}

.icon::after {
  position: absolute;
  inset: 17px;
  border: 3px solid var(--red);
  border-radius: 5px;
  content: "";
}

.icon.cloud::after {
  border-radius: 999px 999px 8px 8px;
  border-bottom-width: 0;
}

.icon.recovery::after {
  border-radius: 50%;
}

.architecture,
.process,
.partner {
  background: var(--soft);
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 38px;
}

.flow-node {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #101722;
  color: #fff;
  font-weight: 900;
}

.flow-node.active span {
  background: var(--red);
}

.flow-node strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

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

.flow-line {
  height: 2px;
  background: #101722;
  position: relative;
}

.flow-line::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: inherit;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.flow-line.red {
  background: var(--red);
  color: var(--red);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.07);
  font-size: 17px;
  font-weight: 750;
}

.capability-grid span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fff 0 12%, var(--red) 13% 100%);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.timeline div {
  min-width: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #101722;
  color: #fff;
  font-weight: 900;
}

.timeline strong {
  display: block;
  min-height: 48px;
  font-size: 16px;
  text-transform: uppercase;
}

.timeline p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.advisor-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 24px;
}

.toggles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.choice {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.06);
}

.choice.active {
  border-color: rgba(227, 6, 19, 0.45);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.score-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 57%, transparent 58%),
    conic-gradient(var(--red) var(--score), #e9edf3 0);
}

.score-ring strong {
  font-size: 34px;
  line-height: 1;
}

.score-ring span {
  margin-top: -32px;
  color: var(--muted);
  font-size: 13px;
}

.score-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.score-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.partner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.partner-card {
  padding: 30px;
}

.partner-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(227, 6, 19, 0.26), transparent 30%),
    #050811;
}

.contact p,
.contact .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.contact a:not(.button) {
  color: #fff;
}

@media (max-width: 1050px) {
  .hero,
  .partner,
  .advisor-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo {
    width: min(650px, 88vw);
    min-width: 0;
  }

  .hero-panel {
    max-width: none;
    margin-top: 8px;
  }

  .service-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-line {
    width: 2px;
    height: 34px;
    margin-left: 36px;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-inline: 22px;
  }

  h1 {
    font-size: 40px;
  }

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

  .score-card,
  .contact {
    grid-template-columns: 1fr;
  }
}
