:root {
  --navy: #06235f;
  --blue: #0879f9;
  --blue2: #0b63ce;
  --cyan: #16a6ff;
  --ink: #0a2c68;
  --muted: #5d7090;
  --line: #dcecff;
  --soft: #f3f9ff;
  --soft2: #f1f9ff;
  --white: #fff;
  --danger: #c83b3b;
  --success: #16804a;
  --shadow: 0 14px 38px rgba(7, 67, 139, 0.1);
  --radius: 18px;
  --container: 1180px;
  --header-h: 72px;
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(8, 121, 249, 0.45);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 74, 145, 0.08);
  box-shadow: 0 1px 0 rgba(7, 74, 145, 0.04);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #09275f;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 67, 139, 0.08), 0 4px 12px rgba(7, 67, 139, 0.14);
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1;
}

.brand-text span {
  font-weight: 500;
  color: var(--blue);
}

.footer-brand .brand-mark {
  width: 46px;
  height: 46px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-brand .brand-text span {
  color: #8fd0ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 27px 0;
  color: #1a3f74;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 11px 20px !important;
  border-radius: 30px;
  box-shadow: 0 7px 18px rgba(8, 121, 249, 0.22);
}

.nav-cta:hover {
  background: var(--blue2);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta.active {
  box-shadow: 0 0 0 3px rgba(8, 121, 249, 0.28), 0 7px 18px rgba(8, 121, 249, 0.22);
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ========== Buttons ========== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 30px;
  padding: 13px 21px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 121, 249, 0.2);
}

.button.primary:hover {
  background: var(--blue2);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #91c6ff;
  color: #0754aa;
}

.button.light {
  background: #fff;
  color: #0759b5;
}

.button.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.text-button {
  color: #0879f9;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.kicker {
  margin: 0 0 10px;
  color: #0879f9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========== Hero slider ========== */
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #dfeeff;
}

.hero-slider:focus {
  outline: none;
}

.hero-slider:focus-visible {
  outline: 3px solid rgba(8, 121, 249, 0.55);
  outline-offset: -3px;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(244, 250, 255, 1) 0%,
    rgba(244, 250, 255, 0.97) 48%,
    rgba(244, 250, 255, 0.55) 68%,
    rgba(0, 18, 50, 0.16) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 36px;
  padding-left: 56px;
  padding-right: 56px;
}

.slide h1,
.slide .slide-title {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  max-width: 600px;
  color: #08285f;
  font-weight: 800;
}

.slide h1 em,
.slide .slide-title em {
  font-style: normal;
  color: #0879f9;
}

.slide p:not(.kicker) {
  max-width: 500px;
  font-size: 16px;
  color: #294b79;
  margin: 12px 0;
}

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

.slide-label {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: 9px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 800;
  color: #0759b5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: #0759b5;
  font-size: 26px;
  line-height: 1;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(7, 67, 139, 0.12);
}

.slider-control.prev {
  left: 10px;
}

.slider-control.next {
  right: 10px;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: #0879f9;
  transform: scale(1.25);
}

/* ========== Capability strip ========== */
.capability-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.capability-grid > div {
  padding: 22px 15px;
  text-align: center;
  border-right: 1px solid #e4effa;
}

.capability-grid > div:last-child {
  border-right: 0;
}

.capability-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: #eef7ff;
  color: var(--blue);
  font-weight: 900;
}

.capability-grid strong {
  display: block;
  font-size: 12px;
}

.capability-grid small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

/* ========== Sections ========== */
.section {
  padding: 90px 0;
}

.section-intro h2,
.section-title-row h2,
.page-hero h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 0 0 16px;
  color: var(--navy);
}

.section-intro h2 span,
.section-title-row h2 span,
.page-hero h1 span,
.contact-copy h2 span {
  color: var(--blue);
}

.section-intro > p:not(.kicker),
.section-lead,
.page-hero p {
  color: var(--muted);
  max-width: 580px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 30px;
}

/* Approach */
.approach {
  background: linear-gradient(180deg, #fff, #f4faff);
}

.approach-grid,
.why-grid,
.impact-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: center;
  gap: 35px;
}

.usecase-grid.reverse {
  grid-template-columns: 66% 34%;
}

.usecase-grid.reverse .section-intro {
  order: 2;
}

.process-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #eef8ff;
  border: 1px solid #d8ebfb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.process-card article {
  text-align: center;
  padding: 12px 15px;
  border-right: 1px solid #cfe4f6;
}

.process-card article:last-child {
  border-right: 0;
}

.process-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 22px;
  box-shadow: 0 7px 20px rgba(0, 87, 170, 0.08);
}

.process-card h3 {
  font-size: 14px;
  margin: 0 0 10px;
}

.process-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Products */
.products {
  background: #fff;
}

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

.product-card {
  border: 1px solid #dcecf9;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(5, 71, 140, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(5, 71, 140, 0.13);
}

.product-card > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-body {
  padding: 22px;
}

.product-body h3 {
  font-size: 19px;
  margin: 0 0 9px;
}

.product-body h3 span {
  color: var(--blue);
  float: right;
}

.product-body p {
  color: var(--muted);
  font-size: 13px;
  min-height: 62px;
}

.product-body ul {
  padding: 0;
  margin: 15px 0;
  list-style: none;
  color: #416388;
  font-size: 12px;
}

.product-body li {
  margin: 7px 0;
}

.product-body li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-right: 8px;
}

.product-body a {
  color: #0879f9;
  font-size: 13px;
  font-weight: 800;
}

/* Industries */
.industries {
  background: #f1f9ff;
}

.industry-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dcecf9;
  box-shadow: var(--shadow);
  margin: 0 0 26px;
}

.industry-visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.industry-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid #dcecf9;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(6, 76, 145, 0.05);
  transition: transform 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-3px);
}

.industry-card > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #edf7ff;
  color: var(--blue);
  font-weight: 900;
  flex: 0 0 auto;
  font-size: 14px;
}

.industry-card strong {
  display: block;
  font-size: 13px;
}

.industry-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

/* Use cases */
.usecase {
  background: #fff;
}

.usecase.alt {
  background: #f6fbff;
}

.usecase-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #dcecf9;
}

.usecase-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.usecase-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.usecase-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #304f77;
}

.usecase-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
}

.flow-steps {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #eef8ff;
  border: 1px solid #d8ebfb;
  border-radius: 14px;
}

.flow-steps p {
  margin: 0;
  font-size: 13px;
  color: #304f77;
}

.flow-steps strong {
  color: var(--navy);
}

.note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* Impact */
.impact {
  background: #fff;
}

.impact-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.impact-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}

/* Why */
.why {
  background: #f6fbff;
}

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

.why-cards article {
  background: #fff;
  border: 1px solid #dcecf9;
  border-radius: 15px;
  padding: 20px;
  min-height: 150px;
}

.why-cards article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf7ff;
  color: var(--blue);
  font-weight: 900;
}

.why-cards h3 {
  font-size: 13px;
  margin: 11px 0 5px;
}

.why-cards p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* CTA banner */
.cta {
  background: linear-gradient(120deg, #061f55, #0755ba 55%, #03255f);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: auto -10% -70% 15%;
  height: 220px;
  background: radial-gradient(circle, rgba(23, 176, 255, 0.55), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.7fr;
  align-items: center;
  gap: 30px;
  position: relative;
  padding: 40px 0;
}

.cta .kicker {
  color: #74c8ff;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  margin: 0 0 12px;
}

.cta p:not(.kicker) {
  color: #d9e9ff;
}

.cta-checks p {
  margin: 8px 0;
  font-size: 13px;
}

.cta-inner > img {
  height: 230px;
  width: 100%;
  object-fit: contain;
  align-self: end;
}

/* Contact */
.contact-section {
  padding: 56px 0 90px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--navy);
}

.contact-copy > p:not(.kicker) {
  color: var(--muted);
  max-width: 520px;
}

.contact-details {
  margin-top: 35px;
  display: grid;
  gap: 20px;
}

.contact-details small {
  color: #0879f9;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.contact-details p {
  margin: 5px 0;
  color: #304f77;
  font-size: 14px;
}

.contact-details a {
  color: #0759b5;
  font-weight: 700;
}

.contact-form {
  position: relative;
  padding: 30px;
  border: 1px solid #dcecf9;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-form h3 {
  font-size: 23px;
  margin: 0;
}

.form-intro {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 20px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 13px 0;
  color: #26476f;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #cfe1f2;
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0879f9;
  box-shadow: 0 0 0 3px rgba(8, 121, 249, 0.1);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.error {
  display: block;
  color: var(--danger);
  font-size: 11px;
  font-weight: 500;
  min-height: 14px;
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
}

.form-status.pending {
  color: #0759b5;
}

.form-status.success {
  color: var(--success);
}

.form-status.fail {
  color: var(--danger);
}

.form-note {
  font-size: 12px !important;
  color: #71849c;
  margin-top: 8px;
}

.form-note a {
  color: #0759b5;
  text-decoration: underline;
}

.cta-checks--spaced {
  margin-top: 28px;
  color: #304f77;
}

.section-intro--narrow {
  max-width: 640px;
  margin-bottom: 30px;
}

.section-intro--compact {
  max-width: 640px;
}

.page-cta-row {
  margin-top: 36px;
}

.centered-cta {
  margin-top: 40px;
  text-align: center;
}

/* Inner pages */
.page-hero {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, #f4faff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero .kicker {
  margin-bottom: 12px;
}

.content-block {
  max-width: 720px;
}

.content-block p {
  color: #416388;
  font-size: 15px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid #dcecf9;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 7px 20px rgba(6, 76, 145, 0.05);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 10px;
  color: var(--navy);
}

.legal-content p,
.legal-content li {
  color: #416388;
  font-size: 14px;
}

.legal-content ul {
  padding-left: 18px;
}

/* Footer */
.footer {
  background: #041b43;
  color: #dbeaff;
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.4fr;
  gap: 60px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-grid > div > p {
  color: #9db6d7;
  font-size: 12px;
}

.footer h3 {
  color: #fff;
  font-size: 13px;
  margin: 0 0 12px;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  color: #b6cbe5;
  font-size: 12px;
  margin: 8px 0;
}

.footer-grid > div > a:not(.brand):hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #88a3c4;
  font-size: 11px;
}

.footer-bottom a {
  color: #b9cde4;
  margin-left: 14px;
}

.footer-bottom a:first-child {
  margin-left: 0;
}

/* Reveal — JS adds .js-ready then .visible; without JS stay visible */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .capability-grid > div:nth-child(3) {
    border-right: 0;
  }

  .capability-grid > div:nth-child(n + 4) {
    border-top: 1px solid #e4effa;
  }

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

  .process-card article:nth-child(2) {
    border-right: 0;
  }

  .process-card article:nth-child(n + 3) {
    border-top: 1px solid #cfe4f6;
    margin-top: 8px;
    padding-top: 18px;
  }
}

@media (max-width: 980px) {
  .hero-slider {
    height: 380px;
  }

  .slide-content {
    padding-left: 48px;
    padding-right: 48px;
  }

  .slide h1,
  .slide .slide-title {
    font-size: 36px;
  }

  .approach-grid,
  .why-grid,
  .impact-grid,
  .usecase-grid,
  .usecase-grid.reverse {
    grid-template-columns: 1fr;
  }

  .usecase-grid.reverse .section-intro {
    order: 0;
  }

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

  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cta-inner {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner > img {
    display: none;
  }

  .contact-grid {
    gap: 35px;
  }

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

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    height: var(--header-h);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 20px;
  }

  .menu-button {
    display: block;
  }

  .site-header {
    position: sticky;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) + 4px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    color: var(--blue);
    background: #f3f9ff;
    border-radius: 10px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 5px;
  }

  .hero-slider {
    height: auto;
    min-height: 340px;
  }

  .slides {
    position: relative;
  }

  .slide {
    position: absolute;
    inset: 0;
    min-height: 340px;
  }

  .slide.active {
    position: relative;
  }

  .slide > img {
    object-position: 64% center;
  }

  .slide-overlay {
    background: linear-gradient(
      90deg,
      rgba(244, 250, 255, 0.98) 0%,
      rgba(244, 250, 255, 0.9) 50%,
      rgba(244, 250, 255, 0.15) 100%
    );
  }

  .slide-content {
    justify-content: flex-start;
    padding: 56px 0 48px;
    min-height: 340px;
  }

  .slide h1,
  .slide .slide-title {
    font-size: 28px;
    letter-spacing: -1.2px;
  }

  .slide p:not(.kicker) {
    font-size: 14px;
    max-width: 440px;
  }

  .slide-label {
    right: 14px;
    top: 14px;
    font-size: 10px;
  }

  .slider-control {
    display: none;
  }

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

  .capability-grid > div {
    border-right: 1px solid #e4effa;
    border-top: 0;
    border-bottom: 1px solid #e4effa;
  }

  .capability-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .capability-grid > div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .section {
    padding: 68px 0;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row .text-button {
    display: inline-block;
    margin-top: 8px;
  }

  .process-card {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .process-card article {
    border-right: 0;
    border-bottom: 1px solid #cfe4f6;
  }

  .process-card article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .product-grid,
  .industry-grid,
  .why-cards,
  .contact-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-card > img,
  .usecase-media img {
    height: 190px;
  }

  .industry-visual img {
    height: 140px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    min-height: 360px;
    padding: 55px 0;
  }

  .cta-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin: 6px 0;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .slide h1,
  .slide .slide-title {
    font-size: 26px;
  }

  .actions .button {
    width: 100%;
  }

  .hero-slider,
  .slide,
  .slide-content {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .reveal,
  .product-card,
  .industry-card,
  .button {
    transition: none;
  }

  html.js-ready .reveal,
  html.js-ready .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
