:root {
  --navy: #071b35;
  --navy2: #0a2f5c;
  --blue: #086bd8;
  --cyan: #17c6ef;
  --ink: #10213c;
  --muted: #56667b;
  --soft: #f5f8fc;
  --line: #e4eaf2;
  --white: #fff;
  --shadow: 0 22px 60px rgba(7, 27, 53, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1180px, 92%);
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: clamp(78px, 7vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(10px, 1vw, 14px);
}
.brand img {
  width: auto;
  height: clamp(42px, 4vw, 48px);
  object-fit: contain;
  flex: none;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}
.brand-name {
  display: block;
  color: var(--navy);
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.11em;
}
.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: clamp(9px, 0.75vw, 10px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  padding: 5px;
  background: #f5f8fc;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.nav-links > a,
.nav-dropdown-link {
  padding: 8px 12px;
  border-radius: 9px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 3px 10px rgba(7, 27, 53, 0.07);
}
.nav-links > a.is-section-active,
.nav-dropdown.is-current,
.nav-dropdown.is-section-active {
  color: #075ebd;
  background: #fff;
  box-shadow: 0 3px 12px rgba(7, 27, 53, 0.09);
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 9px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-dropdown:hover,
.nav-dropdown:focus-within {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 3px 10px rgba(7, 27, 53, 0.07);
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  padding-right: 5px;
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: transparent;
  box-shadow: none;
}
.nav-dropdown-toggle {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0 9px 9px 0;
  cursor: pointer;
}
.nav-dropdown-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-current > .nav-dropdown-toggle,
.nav-dropdown.is-section-active > .nav-dropdown-toggle {
  color: var(--blue);
  background: transparent;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  width: 270px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(7, 27, 53, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--ink);
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.25;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--blue);
  background: #f2f7fd;
}
.nav-dropdown-menu a.is-current {
  color: #075ebd;
  background: #e9f4ff;
  font-weight: 900;
}
.nav-dropdown-menu a.is-current::after {
  content: "Current";
  margin-left: 12px;
  color: #4480bc;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown.is-open .nav-dropdown-toggle::before {
  transform: translateY(2px) rotate(225deg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn.primary {
  background: linear-gradient(135deg, var(--blue), #0955b6);
  color: #fff;
  box-shadow: 0 10px 26px rgba(8, 107, 216, 0.22);
}
.btn.secondary {
  border-color: #9fc9ff;
  color: #0d5eb8;
  background: #fff;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 84% 20%,
      rgba(23, 198, 239, 0.15),
      transparent 27%
    ),
    linear-gradient(180deg, #fff, #fbfdff);
}
.hero-grid {
  padding: 78px 0 80px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
h1 span {
  color: var(--blue);
}
.hero p {
  font-size: 19px;
  color: #4d5d73;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #44536a;
  font-size: 14px;
  font-weight: 700;
}
.pill:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e7f5ff;
  color: var(--blue);
  margin-right: 7px;
}
.product-shot {
  background: linear-gradient(145deg, #07182f, #0a305e);
  padding: 18px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.product-shot img {
  border-radius: 14px;
}
.section {
  padding: 86px 0;
}
.section.soft {
  background: var(--soft);
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 45px;
}
.section-head h2,
.dark h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  #research-development .research-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}
.research-card {
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 16px 42px rgba(7, 27, 53, 0.08);
}
.research-card .icon {
  width: 54px;
  height: 54px;
  font-size: 17px;
  font-weight: 900;
}
.research-card h3 {
  font-size: 24px;
}
.research-card p {
  font-size: 15px;
}
.project-funding {
  background: #fff;
}
.research-funding-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
}
.research-funding-logos a {
  display: block;
  max-width: 100%;
}
.research-funding-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
.research-funding {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(103, 221, 255, 0.3);
  border-radius: 14px;
  background: rgba(6, 26, 52, 0.45);
  color: #d8e4f1;
  text-align: center;
}
.research-infographic-layout {
  width: min(1280px, 92%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
}
.research-infographic-intro {
  min-width: 0;
  text-align: left;
}
.research-infographic-layout .product-shot {
  padding: clamp(8px, 1.3vw, 18px);
}
.research-infographic-layout .product-shot img {
  width: 100%;
  height: auto;
}
@media (max-width: 980px) {
  .research-infographic-layout {
    grid-template-columns: 1fr;
  }
  .research-infographic-layout .product-shot {
    width: 100%;
    max-width: 682px;
    margin: 0 auto;
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  background: #fff;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eaf4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.card a {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  margin-top: 12px;
}
.dark {
  background: linear-gradient(135deg, #061a34, #0b2f5d);
  color: #fff;
}
.dark-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.dark p {
  color: #c7d4e4;
}
.checks,
.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.check:before {
  content: "✓";
  color: #67ddff;
  margin-right: 8px;
  font-weight: 900;
}
.feature-list li:before {
  content: "•";
  color: var(--blue);
  font-weight: 900;
  margin-right: 10px;
}
.media-frame {
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}
.media-frame img {
  border-radius: 12px;
}
.media-frame--infographic {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, #07182f, #0a305e);
}
.media-frame--infographic img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
#about .media-frame {
  width: 100%;
  max-width: 500px;
  justify-self: center;
}
@media (min-width: 981px) {
  #about .dark-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
  }
  #about .media-frame { justify-self: end; }
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
  background: var(--soft);
}
.industry span {
  color: var(--muted);
  font-size: 14px;
}
.industry strong {
  display: block;
  margin-bottom: 7px;
}
.cta {
  background: linear-gradient(135deg, #0a315f, #0870da);
  color: #fff;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 52px 0;
}
.cta h2 {
  font-size: 36px;
  line-height: 1.08;
  margin: 0 0 8px;
}
.cta p {
  margin: 0;
  color: #dcecff;
}
.footer {
  background: #061a31;
  color: #d7e1ed;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
}
.footer .footer-heading {
  font-size: 16px;
  color: #fff;
  margin: 0 0 13px;
}
.footer a {
  display: block;
  color: #b7c6d7;
  font-size: 14px;
  margin: 8px 0;
}
.footer .brand {
  display: inline-flex;
  margin: 0 0 18px;
}
.footer .brand-name {
  color: #fff;
}
.footer .brand-copy small {
  color: #9fb1c5;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  margin-top: 34px;
  font-size: 13px;
  color: #8fa4ba;
}
.page-hero {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff, #f6faff);
}
.page-hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
}
.breadcrumb {
  font-size: 13px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 12px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.screenshot-grid img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(7, 27, 53, 0.08);
}
.notice {
  background: #fff7e8;
  border: 1px solid #f7d79a;
  border-radius: 12px;
  padding: 14px 16px;
  color: #7a5b22;
  font-size: 13px;
  margin-top: 18px;
}
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 76px;
  background:
    radial-gradient(circle at 8% 12%, rgba(23, 198, 239, 0.1), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(8, 107, 216, 0.11), transparent 30%),
    linear-gradient(180deg, #fbfdff, #f4f8fd);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  gap: clamp(48px, 6vw, 76px);
  align-items: start;
}
.contact-intro {
  padding-top: 20px;
}
.contact-intro h1 {
  max-width: 620px;
  margin-bottom: 20px;
}
.contact-intro > p {
  max-width: 570px;
  margin: 0;
  color: #56667b;
  font-size: 18px;
}
.contact-details {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid #dce6f1;
}
.contact-details h2 {
  margin: 0 0 18px;
  font-size: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin: 15px 0;
}
.contact-method-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  color: #0863c6;
  background: #e8f3ff;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 900;
}
.contact-method small,
.contact-method strong {
  display: block;
}
.contact-method small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-method strong {
  color: var(--ink);
  font-size: 15px;
}
.contact-method:hover strong,
.contact-method:focus-visible strong {
  color: var(--blue);
}
.contact-card {
  width: 100%;
  max-width: 520px;
  padding: clamp(25px, 3vw, 34px);
  justify-self: end;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 22px;
  box-shadow: 0 28px 75px rgba(7, 27, 53, 0.12);
}
.contact-card-head > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-card-head h2 {
  margin: 7px 0 7px;
  font-size: clamp(25px, 2.5vw, 31px);
  line-height: 1.15;
}
.contact-card-head p {
  margin: 0 0 21px;
  color: var(--muted);
}
.contact-form,
.contact-form label {
  display: grid;
}
.contact-form {
  gap: 13px;
}
.contact-form label {
  gap: 7px;
  color: #243750;
  font-size: 13px;
  font-weight: 800;
}
.contact-form label small {
  color: var(--muted);
  font-weight: 600;
}
.multi-select-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.multi-select-field legend {
  margin-bottom: 7px;
  padding: 0;
  color: #243750;
  font-size: 13px;
  font-weight: 800;
}
.multi-select-field legend small {
  color: var(--muted);
  font-weight: 600;
}
.multi-select {
  position: relative;
}
.multi-select summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #ced9e6;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
.multi-select summary::-webkit-details-marker {
  display: none;
}
.multi-select summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 2px 0 12px;
  border-right: 2px solid #50627a;
  border-bottom: 2px solid #50627a;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.multi-select[open] summary {
  background: #fff;
  border-color: #4a96e8;
  box-shadow: 0 0 0 4px rgba(8, 107, 216, 0.1);
}
.multi-select[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
.multi-select-options {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 9px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 11px;
  box-shadow: 0 16px 35px rgba(7, 27, 53, 0.16);
}
.contact-form .multi-select-options label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 7px 8px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
.contact-form .multi-select-options label:hover {
  color: var(--blue);
  background: #f1f7fe;
}
.contact-form .multi-select-options input {
  width: 16px;
  height: 16px;
  flex: none;
  padding: 0;
  accent-color: var(--blue);
  box-shadow: none;
}
.field-error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}
.field-error:empty {
  display: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #ced9e6;
  border-radius: 9px;
  outline: none;
  font: inherit;
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #4a96e8;
  box-shadow: 0 0 0 4px rgba(8, 107, 216, 0.1);
}
.contact-submit {
  width: 100%;
  margin-top: 3px;
  cursor: pointer;
}
.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.form-status:not(:empty) {
  color: #075ebd;
  font-weight: 700;
}
@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 12px;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 0;
  }
  .hero-grid,
  .dark-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-intro {
    padding-top: 0;
  }
}
@media (max-width: 620px) {
  .nav {
    min-height: 72px;
    gap: 10px;
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: auto;
    height: 40px;
  }
  .brand-name {
    font-size: 16px;
  }
  .site-header .brand-copy small {
    display: none;
  }
  .solution-grid,
  .industry-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-top: 52px;
  }
  .contact-hero {
    padding: 48px 0 60px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .multi-select-options {
    grid-template-columns: 1fr;
    max-height: 230px;
    overflow-y: auto;
  }
  .contact-method strong {
    font-size: 14px;
  }
}
.story-section {
  background: #f7faff;
}

.story-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.story-viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 18px;
}

.story-track {
  display: flex;
  gap: 22px;
  transition: transform 0.5s ease;
  will-change: transform;
  touch-action: pan-y;
}

.story-slide {
  position: relative;
  display: grid;
  background: #fff;
  border: 1px solid rgba(12, 40, 78, 0.08);
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 24px 60px rgba(8, 35, 75, 0.08);
  flex: 0 0 calc(100% - 160px);
  max-width: calc(100% - 160px);
  opacity: 0.75;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.story-slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 28px 70px rgba(8, 35, 75, 0.12);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.story-copy-full {
  width: 100%;
  min-height: 100%;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin-bottom: 18px;
}

.story-company {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c5ebd;
}

.story-category {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 107, 216, 0.08);
  color: #1d4d7d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #0c1a2e;
}

.story-copy p {
  margin: 0 0 12px;
  color: #5a697d;
  font-size: 15px;
  line-height: 1.7;
}

.story-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.story-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.story-link:hover::after {
  transform: translateX(3px);
}

.story-nav {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(12, 40, 78, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0b2b4f;
  font-size: 24px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(10, 26, 49, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.story-nav:hover,
.story-nav:focus-visible {
  background: #fff;
  border-color: rgba(8, 107, 216, 0.22);
  transform: translateY(-1px);
}

.story-progress {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.story-index-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #163a63;
  font-weight: 800;
}

.story-index {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.story-divider,
.story-total {
  font-size: 14px;
  opacity: 0.8;
}

.story-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story-dot {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(15, 51, 86, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #0a63d6);
}

.story-dot:focus-visible,
.story-slide:focus-visible,
.story-nav:focus-visible {
  outline: 2px solid #0b5eb8;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .story-slide {
    flex-basis: calc(100% - 60px);
    max-width: calc(100% - 60px);
  }

  .story-copy {
    padding: 28px 24px;
  }
}

@media (max-width: 760px) {
  .story-carousel {
    grid-template-columns: 1fr;
  }

  .story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
  }

  .story-prev {
    left: 10px;
  }

  .story-next {
    right: 10px;
  }

  .story-viewport {
    padding: 8px 0 14px;
  }

  .story-slide {
    flex-basis: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .story-copy h3 {
    font-size: 26px;
  }

  .story-progress {
    margin-top: 0;
  }
}

.testimonial {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(8, 35, 75, 0.06);
}

.quote {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Shared refinements retain the existing static layout and visual identity. */
[hidden] { display: none !important; }
img { height: auto; }
.brand img { height: clamp(42px, 4vw, 48px); }
:focus-visible { outline: 3px solid #086bd8; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 4%; z-index: 100; padding: 10px 16px; background: #fff; color: #075ebd; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
section[id], main[id] { scroll-margin-top: 150px; }
.hero-grid > *, .split > *, .dark-grid > *, .footer-grid > * { min-width: 0; }
.feature-list { list-style: none; padding: 0; margin-bottom: 26px; }
.solution-lead { font-size: 21px; color: #344861; font-weight: 650; }
.solution-context { color: var(--muted); }
.connected-copy { max-width: 800px; margin: 0 0 28px; color: var(--muted); }
.connected-copy a, .form-note a, noscript a { color: #075ebd; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { text-decoration: underline; }
.nav-dropdown-toggle { width: 36px; height: 40px; }
.story-track { position: relative; }
.story-dot { width: 24px; height: 24px; border: 7px solid #f7faff; }
.story-dot.is-active { width: 40px; }
@media (max-width: 980px) {
  .contact-card { justify-self: start; max-width: 620px; }
  .nav-dropdown-menu { left: 0; transform: translate(0, 10px); max-width: calc(92vw - 70px); }
  .nav-dropdown.is-open .nav-dropdown-menu { transform: translate(0, 0); }
}
@media (max-width: 620px) {
  .nav-links { font-size: 12px; }
  .nav-links > a, .nav-dropdown-link { padding: 8px; }
  .brand img { height: 40px; }
  .page-hero { padding: 48px 0; }
}
@media (max-width: 760px) {
  .story-carousel { grid-template-columns: 1fr 1fr; }
  .story-viewport { grid-column: 1 / -1; grid-row: 1; }
  .story-nav { position: static; transform: none; grid-row: 2; }
  .story-prev { justify-self: start; }
  .story-next { justify-self: end; }
  .story-progress { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.header-demo {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
}
@media (max-width: 1200px) {
  .nav { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: space-between; }
  .header-demo { margin-left: auto; }
}
@media (max-width: 620px) {
  .header-demo { font-size: 12px; padding: 10px 12px; }
}

/* Space between customer stories on the homepage. */
.use-case-entry { margin-top: 48px; }

.footer-link-group { margin-top: 28px; }

.use-case-visual { border-radius: 24px; overflow: hidden; }
.use-case-visual a { display: block; }
.use-case-visual img { display: block; width: 100%; height: auto; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.header-partner { white-space: nowrap; font-size: 14px; border: 1px solid #147c98; color: #075775; }
.partner-opportunities { margin-top: 32px; }
.partner-opportunities h2 { font-size: 22px; }
.partner-opportunities h3 { margin: 22px 0 8px; font-size: 17px; }
.partner-opportunities p { font-size: 15px; }
/* Keep the full desktop navigation and both actions on one compact row. */
@media (min-width: 1100px) {
  .site-header .nav { width: min(1180px, 92%); min-height: 80px; flex-wrap: nowrap; gap: 12px; padding-block: 10px; }
  .site-header .nav-links { order: 0; width: auto; flex-wrap: nowrap; justify-content: center; gap: 2px; padding: 3px; font-size: 14px; margin-left: auto; }
  .site-header .nav-links > a { padding: 7px 6px; white-space: nowrap; }
  .site-header .nav-dropdown-link { padding: 7px 2px 7px 6px; white-space: nowrap; }
  .site-header .nav-dropdown-toggle { width: 26px; height: 36px; }
  .site-header .header-actions { gap: 6px; margin-left: 0; }
  .site-header .header-actions .btn { font-size: 13px; padding: 10px 11px; margin-left: 0; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { height: 46px; }
  .site-header .brand-name { font-size: 18px; }
}
@media (max-width: 620px) {
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; margin-left: 0; padding: 10px 8px; font-size: 12px; }
}

.footer a.footer-linkedin { display: inline-flex; align-items: center; gap: 8px; }
.linkedin-icon { flex-shrink: 0; }
