:root {
  --am-blue: #075da8;
  --am-blue-deep: #0a3156;
  --am-blue-soft: #eaf4fc;
  --am-sky: #dff2ff;
  --am-ink: #13212d;
  --am-muted: #617180;
  --am-line: #dbe5ee;
  --am-bg: #f6f9fc;
  --am-white: #ffffff;
  --am-yellow: #ffc400;
  --am-orange: #f67f0b;
  --am-green: #53a76a;
  --am-radius-lg: 30px;
  --am-radius-md: 20px;
  --am-shadow: 0 24px 70px rgba(10, 49, 86, 0.10);
  --am-shadow-sm: 0 12px 34px rgba(10, 49, 86, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--am-ink);
  background: var(--am-white);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body, p, li, a, button, input, textarea, select {
  letter-spacing: 0;
}

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

a:hover {
  color: var(--am-blue);
  text-decoration: none;
}

main {
  overflow: hidden;
}

/* ---------- Navigation ---------- */
.am-navbar-shell {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.am-navbar {
  min-height: 82px;
  background: transparent !important;
  padding: 0;
}

.am-navbar .container {
  min-height: 82px;
}

.am-brand {
  display: inline-flex;
  align-items: center;
  max-width: 208px;
  padding: 10px 0;
}

.am-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.am-navbar .navbar-nav {
  align-items: center;
  gap: 3px;
}

.am-navbar .nav-link {
  position: relative;
  margin: 0;
  color: #354655 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .035em;
  padding: 30px 11px 27px !important;
}

.am-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--am-blue);
  transform: scaleX(0);
  transition: transform .22s ease;
}

.am-navbar .nav-link:hover,
.am-navbar .nav-link.active {
  color: var(--am-blue) !important;
  background: none !important;
}

.am-navbar .nav-link:hover::after,
.am-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.am-navbar .am-lang {
  display: block;
  flex-shrink: 0;
  margin: 0 0 0 10px !important;
  padding: 30px 4px 27px !important;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--am-blue-deep) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.am-navbar .am-lang::after {
  left: 4px !important;
  right: 4px !important;
  bottom: 21px !important;
  width: auto !important;
}

.am-navbar .am-lang:hover {
  color: var(--am-blue) !important;
}

.am-navbar .navbar-toggler {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border: 1px solid var(--am-line);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: none !important;
}

.am-menu-icon {
  display: grid;
  width: 22px;
  gap: 4px;
}

.am-menu-icon span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--am-blue-deep);
  transition: transform .2s ease, opacity .2s ease;
}

.navbar-toggler[aria-expanded="true"] .am-menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .am-menu-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .am-menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Common home helpers ---------- */
.am-home {
  background: var(--am-white);
}

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

.am-section {
  padding: 104px 0;
}

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

.am-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--am-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.am-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--am-blue), var(--am-yellow));
}

.am-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.am-section-title {
  max-width: 780px;
  margin: 0;
  color: var(--am-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-transform: none;
}

.am-section-copy {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--am-muted);
  font-size: 18px;
  line-height: 1.72;
}

.am-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--am-blue);
  font-weight: 800;
  white-space: nowrap;
}

.am-text-link .bi {
  transition: transform .2s ease;
}

.am-text-link:hover .bi {
  transform: translateX(4px);
}

.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.am-btn-primary {
  background: var(--am-blue);
  color: var(--am-white);
  box-shadow: 0 12px 28px rgba(7, 93, 168, .22);
}

.am-btn-primary:hover {
  color: var(--am-white);
  background: #064f8e;
  box-shadow: 0 16px 34px rgba(7, 93, 168, .28);
}

.am-btn-secondary {
  border-color: var(--am-line);
  background: var(--am-white);
  color: var(--am-blue-deep);
}

.am-btn-secondary:hover {
  color: var(--am-blue-deep);
  border-color: #bad5e8;
  background: #fafdff;
}

/* ---------- Hero ---------- */
.am-hero {
  position: relative;
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 13% 18%, rgba(223, 242, 255, .95), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(255, 196, 0, .09), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.am-hero::after {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  right: -160px;
  top: -160px;
  border: 1px solid rgba(7, 93, 168, .08);
  border-radius: 50%;
}

.am-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: 66px;
}

.am-hero-copy {
  position: relative;
  z-index: 2;
}

.am-hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--am-ink);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 750;
  line-height: .99;
  letter-spacing: -0.055em;
  text-transform: none;
}

.am-hero-title .accent {
  color: var(--am-blue);
}

.am-hero-lead {
  max-width: 720px;
  margin: 27px 0 0;
  color: #526574;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

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

.am-hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid #e5edf4;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--am-shadow);
}

.am-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.am-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.10) 36%, rgba(255,255,255,0) 70%);
}

.am-hero-badge {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 270px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 30px rgba(10,49,86,.12);
  backdrop-filter: blur(10px);
}

.am-hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  font-size: 18px;
}

.am-hero-badge strong {
  display: block;
  color: var(--am-blue-deep);
  font-size: 13px;
}

.am-hero-badge span {
  display: block;
  margin-top: 2px;
  color: var(--am-muted);
  font-size: 12px;
  line-height: 1.35;
}

.am-trustbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  background: rgba(255,255,255,.84);
}

.am-trust-item {
  min-height: 92px;
  padding: 22px 24px;
}

.am-trust-item + .am-trust-item {
  border-left: 1px solid var(--am-line);
}

.am-trust-item strong {
  display: block;
  color: var(--am-blue-deep);
  font-size: 15px;
}

.am-trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--am-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ---------- Capability cards ---------- */
.am-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.am-cap-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius-md);
  background: var(--am-white);
  box-shadow: 0 8px 24px rgba(10,49,86,.04);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.am-cap-card:hover {
  transform: translateY(-5px);
  border-color: #c6dfef;
  box-shadow: var(--am-shadow-sm);
}

.am-cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  border-radius: 15px;
  background: var(--am-blue-soft);
  color: var(--am-blue);
  font-size: 22px;
}

.am-cap-card:nth-child(2) .am-cap-icon {
  background: #fff5dc;
  color: #c88400;
}

.am-cap-card:nth-child(3) .am-cap-icon {
  background: #eef8f1;
  color: #33884d;
}

.am-cap-card h3 {
  margin: 0 0 12px;
  color: var(--am-ink);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.am-cap-card p {
  margin: 0;
  color: var(--am-muted);
  font-size: 16px;
  line-height: 1.68;
}

/* ---------- Platform ---------- */
.am-platform {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #0a3156 0%, #08243f 70%, #071d32 100%);
}

.am-platform::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,142,219,.20), rgba(26,142,219,0) 68%);
}

.am-platform-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 72px;
  align-items: center;
}

.am-platform .am-eyebrow {
  color: #92d5ff;
}

.am-platform .am-section-title {
  color: #fff;
}

.am-platform .am-section-copy {
  color: #b9c8d4;
}

.am-platform-media {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  overflow: hidden;
  background: #0c2943;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.am-platform-media img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .94;
}

.am-platform-media .am-platform-thumb {
  cursor: pointer;
}

.am-platform-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.am-platform-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.am-platform-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: flex-start;
}

.am-platform-point i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(64,174,239,.12);
  color: #79cbfa;
}

.am-platform-point strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 15px;
}

.am-platform-point span {
  display: block;
  margin-top: 3px;
  color: #aebfcd;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Pipeline / focus cards ---------- */
.am-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.am-focus-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--am-line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.am-focus-card::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -58px;
  bottom: -60px;
  border-radius: 50%;
  background: var(--am-blue-soft);
}

.am-focus-card:nth-child(2)::after {
  background: #fff3d1;
}

.am-focus-card:nth-child(3)::after {
  background: #eef7f0;
}

.am-focus-kicker {
  color: var(--am-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.am-focus-card h3 {
  margin: 14px 0 12px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.am-focus-card p {
  margin: 0;
  color: var(--am-muted);
  font-size: 16px;
  line-height: 1.65;
}

.am-focus-card .am-text-link {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 28px;
}

/* ---------- Partner CTA ---------- */
.am-partner {
  padding: 46px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 24%, rgba(255,196,0,.18), transparent 28%),
    linear-gradient(135deg, #edf7ff 0%, #f7fbff 68%, #fffaf0 100%);
  border: 1px solid #dcebf5;
}

.am-partner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.am-partner h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: none;
}

.am-partner p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--am-muted);
  font-size: 17px;
  line-height: 1.68;
}

/* ---------- News ---------- */
.am-news-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 22px;
}

.am-news-feature,
.am-news-item {
  display: block;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.am-news-feature:hover,
.am-news-item:hover {
  transform: translateY(-4px);
  border-color: #c9dfed;
  box-shadow: var(--am-shadow-sm);
}

.am-news-image {
  height: 280px;
  background-color: #eef3f7;
  background-position: center;
  background-size: cover;
}

.am-news-body {
  padding: 26px;
}

.am-news-date {
  color: #7a8995;
  font-size: 13px;
  font-weight: 700;
}

.am-news-feature h3,
.am-news-item h3 {
  margin: 10px 0 0;
  color: var(--am-ink);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.am-news-stack {
  display: grid;
  gap: 14px;
}

.am-news-item {
  display: grid;
  grid-template-columns: 138px 1fr;
  min-height: 126px;
}

.am-news-item .am-news-image {
  height: 100%;
  min-height: 126px;
}

.am-news-item .am-news-body {
  padding: 18px 20px;
}

.am-news-item h3 {
  font-size: 18px;
  line-height: 1.34;
}

.am-news-empty {
  padding: 42px;
  border: 1px dashed #cfdde8;
  border-radius: 22px;
  color: var(--am-muted);
  background: #fbfdff;
}

/* ---------- Footer ---------- */
.am-footer {
  position: relative;
  padding: 68px 0 24px;
  color: #c6d3dd;
  background: #071f34;
}

.am-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 44px;
}

.am-footer-brand img {
  width: 210px;
  height: auto;
  max-width: 100%;
}

.am-footer-brand p {
  max-width: 360px;
  margin: 20px 0 0;
  color: #9fb2c1;
  font-size: 14px;
  line-height: 1.7;
}

.am-footer-follow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.am-footer-follow img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.am-footer-follow span {
  color: #9fb2c1;
  font-size: 14px;
}

.am-footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.am-footer-links {
  display: grid;
  gap: 10px;
}

.am-footer-sublabel {
  margin-top: 6px;
  color: #6f8495;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.am-footer-links a {
  color: #aebfcb;
  font-size: 14px;
}

.am-footer-links a:hover {
  color: #fff;
}

.am-footer-contact {
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.am-footer-contact div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.am-footer-contact i {
  color: #72c7f5;
}

.am-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #8197a7;
  font-size: 12px;
}

.am-footer-bottom a {
  color: #9fb2c1;
}

/* ---------- Gentle restyle of legacy inner pages ---------- */
.single-banner {
  padding-top: 28px;
  background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}

.single-banner .banner-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid #e4ecf2;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(10,49,86,.07);
}

.single-banner .banner-text {
  color: var(--am-blue-deep) !important;
}

.section-padding,
.section-padding-science {
  padding-top: 84px !important;
  padding-bottom: 84px !important;
}

.about-info,
.industry-news-section,
.careers-cus-bg {
  background-color: #f7fafc !important;
}

.about-detail-content,
.science-tab-content-item,
.custom-form,
.careers-thumb,
.industry-news-section .bg-white {
  border-radius: 18px;
}

.form-control {
  border-color: #d9e4ec;
  border-radius: 12px;
  min-height: 48px;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: #90c5e7;
}

.submit-btn,
.online-connect {
  border-radius: 999px !important;
  background: var(--am-blue) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .am-hero-grid {
    grid-template-columns: 1fr 440px;
    gap: 38px;
  }

  .am-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .am-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .am-navbar .container {
    min-height: 72px;
  }

  .am-brand {
    max-width: 176px;
  }

  .am-navbar .navbar-collapse {
    padding: 14px 0 20px;
    border-top: 1px solid var(--am-line);
  }

  .am-navbar .navbar-nav {
    align-items: stretch;
  }

  .am-navbar .nav-link {
    padding: 12px 5px !important;
  }

  .am-navbar .nav-link::after {
    left: 5px;
    right: auto;
    bottom: 8px;
    width: 36px;
  }

  .am-navbar .am-lang {
    margin: 0 !important;
    padding: 7px 4px !important;
  }

  .am-navbar .am-lang::after {
    bottom: 6px !important;
  }

  .am-hero {
    padding-top: 58px;
  }

  .am-hero-grid,
  .am-platform-grid,
  .am-news-grid,
  .am-partner-grid {
    grid-template-columns: 1fr;
  }

  .am-hero-visual {
    min-height: 430px;
  }

  .am-hero-visual img {
    min-height: 430px;
  }

  .am-card-grid,
  .am-focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .am-platform-grid {
    gap: 44px;
  }

  .am-partner-grid {
    align-items: start;
  }
}

@media (max-width: 767.98px) {
  .am-container {
    width: min(100% - 28px, 1180px);
  }

  .am-section {
    padding: 78px 0;
  }

  .am-hero-title {
    font-size: clamp(43px, 12vw, 62px);
  }

  .am-hero-lead {
    font-size: 18px;
  }

  .am-trustbar,
  .am-card-grid,
  .am-focus-grid,
  .am-footer-grid {
    grid-template-columns: 1fr;
  }

  .am-trust-item + .am-trust-item {
    border-left: 0;
    border-top: 1px solid var(--am-line);
  }

  .am-section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .am-hero-visual {
    min-height: 360px;
    border-radius: 28px;
  }

  .am-hero-visual img {
    min-height: 360px;
  }

  .am-partner {
    padding: 32px 26px;
  }

  .am-news-item {
    grid-template-columns: 112px 1fr;
  }

  .am-footer-brand {
    grid-column: auto;
  }

  .am-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .am-hero {
    padding-top: 44px;
  }

  .am-hero-actions .am-btn {
    width: 100%;
  }

  .am-hero-visual {
    min-height: 315px;
  }

  .am-hero-visual img {
    min-height: 315px;
  }

  .am-hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .am-news-item {
    grid-template-columns: 1fr;
  }

  .am-news-item .am-news-image {
    min-height: 170px;
  }
}
