:root {
  --ink: #0b111c;
  --ink-soft: #111b2c;
  --paper: #f6f7f4;
  --paper-warm: #fbfaf7;
  --white: #ffffff;
  --muted: #677286;
  --line: #d9dee6;
  --accent: #cf2434;
  --accent-dark: #a91e2c;
  --gold: #b8995d;
  --green: #637a6a;
  --blue: #35566f;
  --shadow: 0 24px 70px rgba(11, 17, 28, 0.12);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: #202a38;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 16px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  z-index: 10;
}

.skip:focus {
  left: 16px;
}

.nav {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(8, 13, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  min-width: 0;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 19px;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo-wrap {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #0f1726;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: inline-block;
  color: #ffffff;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  gap: 8px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  opacity: 0.86;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  display: grid;
  align-items: center;
  justify-items: start;
  overflow: hidden;
  color: var(--white);
}

.hero-img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 9, 16, 0.98) 0%, rgba(8, 13, 22, 0.82) 38%, rgba(8, 13, 22, 0.34) 72%, rgba(8, 13, 22, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 9, 16, 0.86) 0%, rgba(5, 9, 16, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 36px));
  margin-left: calc((100vw - min(var(--content), calc(100vw - 36px))) / 2);
  padding-top: 88px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14.6ch;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: #d7dfeb;
  font-size: clamp(17px, 1.8vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 780;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.primary {
  background: var(--accent);
  color: var(--white);
}

.primary:hover {
  background: var(--accent-dark);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.ghost:hover,
.ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  color: #e8eef7;
  font-size: 13px;
  font-weight: 740;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.signal,
.tabbed,
.engagements,
.assurance,
.contact {
  padding: 92px clamp(18px, 6vw, 84px);
  scroll-margin-top: 86px;
}

.center-head,
.section-intro {
  width: min(780px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(var(--content), 100%);
  align-items: start;
  margin-bottom: 34px;
  text-align: left;
}

.section-intro h2 {
  max-width: 15.8ch;
  margin-bottom: 0;
}

.section-intro > p {
  max-width: 570px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.compact {
  margin-top: 52px;
}

.center-head h2,
.contact h2,
.assurance h2 {
  margin-left: auto;
  margin-right: auto;
}

.center-head p:not(.kicker) {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

h2 {
  max-width: 16.8ch;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--content);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.route span {
  position: relative;
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 16px 22px;
  background: var(--paper-warm);
  color: #354053;
  font-size: 14px;
  font-weight: 780;
  text-align: center;
  overflow: hidden;
}

.route span::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--paper-warm);
  transform: translateY(-50%) rotate(45deg);
}

.route span:last-child::after {
  display: none;
}

.signal-grid,
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--content);
  margin: 0 auto;
  background: transparent;
}

.signal-grid article,
.engagement-grid article {
  min-height: 220px;
  padding: 30px 26px;
  border: 1px solid rgba(217, 222, 230, 0.95);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 16px 42px rgba(11, 17, 28, 0.06);
}

.signal-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f2e9dd;
  color: var(--accent);
  font-size: 13px;
  font-weight: 860;
}

.signal-grid p,
.engagement-grid p {
  color: var(--muted);
}

.tabbed {
  background:
    radial-gradient(circle at 18% 2%, rgba(207, 36, 52, 0.22), rgba(207, 36, 52, 0) 32%),
    linear-gradient(135deg, #0b111c 0%, #111b2c 58%, #182319 100%);
  color: var(--white);
}

.tabbed h2,
.tabbed h3,
.light p:not(.kicker) {
  color: var(--white);
}

.light p:not(.kicker) {
  opacity: 0.78;
}

.tabs {
  max-width: var(--content);
  margin: 0 auto;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.tab-button {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #d8e0ee;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tab-button:hover,
.tab-button.active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(207, 36, 52, 0.92);
  color: var(--white);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(400px, 1.16fr);
  gap: 18px;
  align-items: stretch;
  min-height: 500px;
}

.tab-panel[hidden] {
  display: none;
}

.panel-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
}

.panel-copy h3 {
  max-width: 14ch;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.1vw, 42px);
}

.panel-copy p {
  color: #c2ccda;
  font-size: 17px;
}

.panel-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.panel-copy li {
  position: relative;
  padding-left: 22px;
  color: #ecf2fb;
}

.panel-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tab-panel img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

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

.engagement-grid article {
  min-height: 176px;
  text-align: left;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--paper-warm);
}

.assurance-copy {
  max-width: 620px;
  justify-self: end;
}

.assurance-copy h2 {
  margin-left: 0;
  margin-right: 0;
}

.assurance-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
}

.assurance-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.assurance-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 28, 0.02), rgba(11, 17, 28, 0.24));
}

.assurance-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 17, 28, 0.97), rgba(18, 28, 39, 0.9)),
    url("assets/hero.png") center / cover;
  text-align: center;
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact h2 {
  max-width: 17ch;
  color: var(--white);
}

.contact p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #c7d0df;
  font-size: 18px;
}

.contact .button {
  margin-top: 12px;
}

.linkedin {
  display: block;
  margin-top: 18px;
  color: #dce5f2;
  font-weight: 760;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 6vw, 84px);
  color: #9aa6b7;
  background: #070b12;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .signal-grid,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-intro,
  .assurance {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-intro h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .section-intro > p,
  .assurance-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .assurance-copy {
    justify-self: center;
  }

  .assurance-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

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

  .route span {
    min-height: 58px;
  }

  .route span::after {
    right: 50%;
    top: auto;
    bottom: -9px;
    transform: translateX(50%) rotate(135deg);
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .tab-panel img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 68px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 10px;
    padding: 6px 10px 6px 6px;
    font-size: 18px;
  }

  .brand-logo-wrap {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 9, 16, 0.92), rgba(5, 9, 16, 0.54)),
      linear-gradient(0deg, rgba(5, 9, 16, 0.98) 0%, rgba(5, 9, 16, 0.58) 66%, rgba(5, 9, 16, 0.12) 100%);
  }

  .hero-content {
    width: calc(100vw - 36px);
    margin-left: 18px;
    padding-right: 18px;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  h1 {
    max-width: 13.5ch;
    font-size: clamp(38px, 11vw, 48px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .signal-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-proof span {
    min-height: 32px;
    justify-content: center;
    padding: 7px 10px;
    font-size: 12px;
    text-align: center;
  }

  .hero-proof span:last-child {
    grid-column: 1 / -1;
  }

  .button {
    width: 100%;
  }

  .signal,
  .tabbed,
  .engagements,
  .assurance,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-intro {
    margin-bottom: 28px;
  }

  .center-head {
    margin-bottom: 30px;
  }

  h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  h3 {
    font-size: 20px;
  }

  .tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    padding: 6px;
  }

  .tab-button {
    min-width: 0;
    min-height: 46px;
  }

  .panel-copy {
    padding: 26px;
  }

  .panel-copy h3 {
    font-size: 30px;
  }

  .tab-panel img {
    min-height: 260px;
  }

  .assurance-image,
  .assurance-image img {
    min-height: 300px;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin-bottom: 8px;
  }
}

/* Video Section */
.simulation {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 6vw, 84px);
  background: var(--ink);
  color: var(--white);
}
.simulation .center-head h2 {
  color: var(--white);
}
.simulation .center-head p:not(.kicker) {
  color: #c7d0df;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.video-container {
  max-width: 960px;
  margin: 40px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
}
.video-container video {
  width: 100%;
  display: block;
  border-radius: 12px;
}
