:root {
  --am-ink: #07111f;
  --am-panel: #0c1a2d;
  --am-panel-soft: #11253a;
  --am-text: #f4f8fc;
  --am-muted: #a9bdce;
  --am-cyan: #65d8ff;
  --am-lime: #c7f43d;
  --am-coral: #ff8b68;
  --am-line: rgba(161, 211, 238, 0.22);
  --am-radius: 28px;
  --am-shadow: 0 30px 80px rgba(0, 8, 20, 0.32);
}

body.am-ai-solutions-active {
  background: var(--am-ink);
  color: var(--am-text);
}

body.am-ai-solutions-active #main-content,
body.am-ai-solutions-active .et_pb_section,
body.am-ai-solutions-active .container,
body.am-ai-solutions-active article.page,
body.am-ai-solutions-active article.page .entry-content {
  background: transparent;
}

body.am-ai-solutions-active #main-content > .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

body.am-ai-solutions-active #left-area {
  float: none;
  padding: 0;
  width: 100%;
}

body.am-ai-solutions-active #sidebar,
body.am-ai-solutions-active .entry-title,
body.am-ai-solutions-active #main-content .container::before {
  display: none;
}

.am-ai-page,
.am-ai-page * {
  box-sizing: border-box;
}

.am-ai-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(101, 216, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 10% 43%, rgba(199, 244, 61, 0.08), transparent 25rem),
    var(--am-ink);
  color: var(--am-text);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  line-height: 1.65;
  overflow: hidden;
  width: 100%;
}

.am-ai-page a {
  color: inherit;
}

.am-ai-page h1,
.am-ai-page h2,
.am-ai-page h3,
.am-ai-page p,
.am-ai-page ul {
  margin-top: 0;
}

.am-ai-page h1,
.am-ai-page h2,
.am-ai-page h3 {
  color: var(--am-text);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.am-ai-page h1 {
  font-size: clamp(2.65rem, 6.2vw, 6.6rem);
  max-width: 11ch;
}

.am-ai-page h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  max-width: 14ch;
}

.am-ai-page h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.am-wrap {
  margin: 0 auto;
  max-width: 1280px;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
  width: 100%;
}

.am-subnav {
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.88);
  border-bottom: 1px solid var(--am-line);
  position: sticky;
  top: 0;
  z-index: 99;
}

.admin-bar .am-subnav {
  top: 32px;
}

.am-subnav .am-wrap {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 64px;
}

.am-subnav a {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.am-subnav-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-transform: uppercase;
}

.am-subnav-brand i {
  background: var(--am-lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(199, 244, 61, 0.75);
  height: 9px;
  width: 9px;
}

.am-subnav .am-wrap > div {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
}

.am-subnav-cta {
  align-items: center !important;
  background: var(--am-lime);
  border-radius: 999px;
  color: #101b10 !important;
  display: inline-flex !important;
  min-height: 44px !important;
  padding: 10px 18px;
}

.am-hero {
  min-height: 750px;
  padding: clamp(70px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  position: relative;
}

.am-hero::before {
  background-image: linear-gradient(rgba(101, 216, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 216, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
  position: absolute;
}

.am-hero .am-wrap {
  align-items: center;
  display: grid;
  gap: clamp(38px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  position: relative;
  z-index: 1;
}

.am-kicker {
  align-items: center;
  color: var(--am-cyan);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.am-kicker::before {
  background: var(--am-coral);
  content: "";
  height: 2px;
  width: 30px;
}

.am-hero-lede,
.am-hero-copy > p {
  color: #d5e1eb;
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  max-width: 650px;
}

.am-hero-actions,
.am-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}

.am-button {
  align-items: center;
  background: var(--am-lime);
  border: 2px solid var(--am-lime);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(199, 244, 61, 0.14);
  color: #0b180b !important;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 18px;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.am-button:hover,
.am-button:focus-visible {
  box-shadow: 0 16px 36px rgba(199, 244, 61, 0.25);
  transform: translateY(-2px);
}

.am-button-ghost {
  background: transparent;
  border-color: var(--am-line);
  box-shadow: none;
  color: var(--am-text) !important;
}

.am-button-light {
  background: #fff;
  border-color: #fff;
  color: var(--am-ink) !important;
}

.am-hero-note {
  color: var(--am-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  max-width: 620px;
}

.am-hero-art {
  position: relative;
}

.am-hero-art::after {
  background: linear-gradient(120deg, var(--am-cyan), var(--am-lime));
  border-radius: var(--am-radius);
  content: "";
  inset: 16px -16px -16px 16px;
  opacity: 0.72;
  position: absolute;
  z-index: -1;
}

.am-hero-art img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.am-outcome-card {
  backdrop-filter: blur(18px);
  background: rgba(12, 26, 45, 0.9);
  border: 1px solid var(--am-line);
  border-radius: 18px;
  bottom: -32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  left: -42px;
  max-width: 340px;
  padding: 22px 24px;
  position: absolute;
}

.am-outcome-card span {
  color: var(--am-lime);
  display: block;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.am-outcome-card p {
  color: #dbe8f1;
  font-size: 0.9rem;
  margin: 0;
}

.am-section {
  padding: clamp(72px, 9vw, 125px) 0;
  position: relative;
}

.am-section-intro,
.am-section-head {
  align-items: end;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 46px;
}

.am-section-intro p,
.am-section-head > p {
  color: var(--am-muted);
  max-width: 520px;
}

.am-solutions,
.am-find {
  background: #f2f6f4;
  color: var(--am-ink);
}

.am-solutions h2,
.am-solutions h3,
.am-find h2,
.am-find h3 {
  color: var(--am-ink);
}

.am-solutions .am-kicker,
.am-find .am-kicker {
  color: #176983;
}

.am-solutions .am-section-intro p,
.am-solutions .am-section-head > p,
.am-find .am-section-head > p {
  color: #435769;
}

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

.am-solution-card {
  background: #fff;
  border: 1px solid #d9e4e8;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(15, 37, 52, 0.07);
  color: var(--am-ink) !important;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
  position: relative;
  text-decoration: none !important;
  transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.am-solution-card:hover,
.am-solution-card:focus-visible {
  border-color: var(--am-cyan);
  box-shadow: 0 18px 48px rgba(15, 37, 52, 0.13);
  transform: translateY(-5px);
}

.am-solution-card > span:first-child {
  align-items: center;
  background: var(--am-panel);
  border-radius: 14px;
  color: var(--am-cyan);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 42px;
  width: 50px;
}

.am-solution-card p {
  color: #506273;
  flex: 1;
}

.am-card-link {
  color: #0e6785;
  font-size: 0.83rem;
  font-weight: 900;
}

.am-related {
  background: #eef4f3;
  color: var(--am-ink);
}

.am-related h2,
.am-related h3 {
  color: var(--am-ink);
}

.am-related .am-kicker {
  color: #176983;
}

.am-related .am-section-head > p {
  color: #435769;
}

.am-problem-grid,
.am-cap-list,
.am-flow-grid,
.am-faq-grid {
  display: grid;
  gap: 18px;
}

.am-problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.am-problem-grid article {
  background: linear-gradient(145deg, var(--am-panel), #0b2030);
  border: 1px solid var(--am-line);
  border-radius: 22px;
  min-height: 210px;
  padding: 30px;
}

.am-problem-grid article > span {
  color: var(--am-coral);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 32px;
}

.am-problem-grid article p,
.am-two-col p,
.am-flow-grid p,
.am-proof-card p,
.am-faq p {
  color: var(--am-muted);
}

.am-how,
.am-flow,
.am-proof,
.am-faq {
  background: #f2f6f4;
  color: var(--am-ink);
}

.am-how h2,
.am-how h3,
.am-flow h2,
.am-flow h3,
.am-proof h2,
.am-proof h3,
.am-faq h2,
.am-faq h3 {
  color: var(--am-ink);
}

.am-two-col {
  align-items: start;
  display: grid;
  gap: clamp(35px, 8vw, 120px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

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

.am-cap-list article {
  background: var(--am-panel);
  border: 1px solid var(--am-line);
  border-radius: 20px;
  padding: 26px;
}

.am-cap-list article span {
  color: var(--am-lime);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 26px;
}

.am-cap-list article p {
  margin-bottom: 0;
}

.am-flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.am-flow-grid article {
  background: #fff;
  border: 1px solid #d9e4e8;
  border-radius: 20px;
  min-height: 220px;
  padding: 28px;
  position: relative;
}

.am-flow-grid article > span {
  color: #0c718f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 35px;
}

.am-flow-grid article p {
  color: #435769;
  margin-bottom: 0;
}

.am-proof-card {
  background: linear-gradient(135deg, #0a192a, #112d3e 60%, #1b392d);
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  color: var(--am-text);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  position: relative;
}

.am-proof-card::after {
  background: var(--am-coral);
  border-radius: 50%;
  content: "";
  filter: blur(80px);
  height: 190px;
  opacity: 0.16;
  position: absolute;
  right: -60px;
  top: -70px;
  width: 190px;
}

.am-proof-card h2,
.am-proof-card h3 {
  color: var(--am-text);
}

.am-check-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.am-check-list li {
  border-bottom: 1px solid var(--am-line);
  color: #d8e5ed;
  padding: 12px 8px 15px 28px;
  position: relative;
}

.am-check-list li::before {
  color: var(--am-lime);
  content: "\2713";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.am-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.am-faq details {
  background: #fff;
  border: 1px solid #d6e2e7;
  border-radius: 18px;
  padding: 22px 24px;
}

.am-faq summary {
  align-items: center;
  color: var(--am-ink);
  cursor: pointer;
  display: flex;
  font-weight: 900;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
}

.am-faq summary::-webkit-details-marker {
  display: none;
}

.am-faq summary span {
  color: #0c718f;
  font-size: 1.4rem;
}

.am-faq details[open] summary span {
  transform: rotate(45deg);
}

.am-faq details p {
  color: #435769;
  margin: 18px 0 2px;
}

.am-sources {
  border-bottom: 1px solid var(--am-line);
  border-top: 1px solid var(--am-line);
  padding: 26px 0;
}

.am-sources .am-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.am-sources span {
  color: var(--am-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.am-sources a {
  color: var(--am-cyan);
  font-size: 0.8rem;
  text-underline-offset: 4px;
}

.am-final-cta {
  background:
    radial-gradient(circle at 95% 20%, rgba(255, 139, 104, 0.25), transparent 26rem),
    linear-gradient(115deg, #167795, #22494e 55%, #5d6e20);
}

.am-final-cta .am-wrap {
  align-items: center;
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.am-final-cta h2 {
  max-width: 18ch;
}

.am-final-cta p {
  color: #e7f6fa;
  max-width: 700px;
}

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

.am-case-card {
  background: var(--am-panel);
  border: 1px solid var(--am-line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 32px;
}

.am-case-card > span {
  color: var(--am-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 46px;
  text-transform: uppercase;
}

.am-case-card p {
  color: var(--am-muted);
  flex: 1;
}

.am-case-card ul {
  border-top: 1px solid var(--am-line);
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
}

.am-case-card li {
  color: #dce8ee;
  font-size: 0.82rem;
  padding: 5px 0 5px 18px;
  position: relative;
}

.am-case-card li::before {
  color: var(--am-lime);
  content: "\2022";
  left: 0;
  position: absolute;
}

.am-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.am-trustline span,
.am-chip-row span {
  background: rgba(101, 216, 255, 0.08);
  border: 1px solid var(--am-line);
  border-radius: 999px;
  color: #d9e8ef;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 11px;
}

.am-art-label {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.9);
  border: 1px solid var(--am-line);
  border-radius: 14px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  left: 18px;
  padding: 12px 14px;
  position: absolute;
  right: 18px;
}

.am-art-label span {
  color: var(--am-cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.am-art-label b {
  font-size: 0.7rem;
}

.am-numbered {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.am-numbered li {
  align-items: start;
  border-top: 1px solid var(--am-line);
  display: grid;
  gap: 22px;
  grid-template-columns: 44px 1fr;
  padding: 25px 0;
}

.am-numbered li > span {
  color: var(--am-lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.am-numbered strong {
  color: var(--am-text);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.am-numbered p {
  color: var(--am-muted);
  margin: 0;
}

.am-sticky-title {
  position: sticky;
  top: 105px;
}

.am-cases .am-section-head {
  margin-bottom: 52px;
}

.am-case {
  align-items: start;
  border-top: 1px solid var(--am-line);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  padding: 42px 0;
}

.am-case-index {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.am-case-index strong {
  color: var(--am-lime);
  font-size: 1.8rem;
}

.am-case-index span {
  color: var(--am-cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.am-case-copy {
  max-width: 850px;
}

.am-case-copy p {
  color: var(--am-muted);
}

.am-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .am-hero {
    min-height: 0;
  }

  .am-hero .am-wrap,
  .am-two-col,
  .am-proof-card {
    grid-template-columns: 1fr;
  }

  .am-hero-art {
    margin-top: 20px;
  }

  .am-outcome-card {
    bottom: -24px;
    left: 18px;
  }

  .am-solution-grid,
  .am-problem-grid,
  .am-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 782px) {
  .admin-bar .am-subnav {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .am-subnav .am-wrap {
    min-height: 58px;
  }

  .am-subnav .am-wrap > div > a:not(.am-subnav-cta) {
    display: none;
  }

  .am-subnav-cta {
    min-height: 44px !important;
    padding: 10px 15px;
  }

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

  .am-ai-page h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .am-ai-page h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .am-hero-actions,
  .am-actions,
  .am-final-cta .am-wrap,
  .am-section-intro,
  .am-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .am-button {
    width: 100%;
  }

  .am-hero-art::after {
    inset: 9px -8px -9px 9px;
  }

  .am-outcome-card {
    bottom: auto;
    left: auto;
    margin: 14px 0 0;
    max-width: none;
    position: relative;
  }

  .am-solution-grid,
  .am-problem-grid,
  .am-cap-list,
  .am-flow-grid,
  .am-faq-grid,
  .am-case-grid,
  .am-check-list {
    grid-template-columns: 1fr;
  }

  .am-solution-card,
  .am-case-card {
    min-height: 0;
  }

  .am-solution-card > span:first-child,
  .am-case-card > span {
    margin-bottom: 25px;
  }

  .am-section {
    padding-bottom: 76px;
    padding-top: 76px;
  }

  .am-art-label {
    align-items: flex-start;
    flex-direction: column;
    position: static;
  }

  .am-sticky-title {
    position: static;
  }

  .am-case {
    gap: 18px;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .am-ai-page *,
  .am-ai-page *::before,
  .am-ai-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.am-ai-solutions-active .footer-col h3.am-footer-title {
  color: rgb(115, 115, 115);
  font-family: Geist, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.72px;
  line-height: 15.6px;
  margin: 0 0 14px;
  text-transform: uppercase;
}
