:root {
  --am-ice: #eaf3f4;
  --am-blue: #6bb9c8;
  --am-signal: #85f0b2;
  --am-copper: #bd7a3f;
  --am-deep: #07110c;
}

.module-page {
  background: #f8faf8;
}

.module-page .site-header.scrolled .header-cta {
  background: var(--ink);
  color: var(--paper);
}

.am-hero,
.am-product-hero {
  position: relative;
  min-height: min(900px, 96svh);
  overflow: hidden;
  color: #fff;
  background: var(--am-deep);
}

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

.am-hero-media,
.am-product-hero-media {
  object-fit: cover;
  object-position: center;
}

.am-hero-shade {
  background: linear-gradient(90deg, rgba(3, 10, 7, .88) 0%, rgba(3, 10, 7, .62) 46%, rgba(3, 10, 7, .12) 78%);
}

.am-hero-inner,
.am-product-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(800px, calc(96svh - 104px));
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 150px;
}

.am-hero-inner h1,
.am-product-hero-inner h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 118px);
}

.am-product-hero-inner h1 {
  font-size: clamp(64px, 8vw, 124px);
}

.am-hero-lead,
.am-product-hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.35;
}

.am-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.am-hero-rail,
.am-product-facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  background: rgba(5, 18, 11, .9);
  border-top: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
}

.am-hero-rail > span,
.am-product-facts > div {
  min-height: 112px;
  padding: 24px clamp(20px, 3vw, 54px);
  border-right: 1px solid rgba(255,255,255,.14);
}

.am-hero-rail b,
.am-product-facts dt {
  display: block;
  margin-bottom: 8px;
  color: var(--am-signal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.am-hero-rail strong,
.am-product-facts dd {
  display: block;
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.am-hero-rail small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.66);
}

.am-thesis {
  padding: 92px 0;
  color: #fff;
  background: #0e1a14;
}

.am-thesis-grid {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 80px;
  align-items: start;
}

.am-thesis h2 {
  max-width: 980px;
  margin-bottom: 24px;
}

.am-thesis p:last-child {
  max-width: 780px;
  color: rgba(255,255,255,.68);
  font-size: 19px;
}

.am-index {
  color: var(--am-signal);
  font-weight: 850;
  text-transform: uppercase;
}

.am-choice {
  overflow: hidden;
  background: #fff;
}

.am-choice-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.am-choice-intro {
  position: sticky;
  top: 110px;
}

.am-choice-intro p:last-child {
  color: #5d6d63;
  font-size: 18px;
}

.am-need-tabs {
  border-top: 1px solid var(--line);
}

.am-need-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.am-need-tab > span:first-child {
  color: #7a8b80;
  font-size: 12px;
  font-weight: 850;
}

.am-need-tab strong {
  display: block;
  font-size: clamp(20px, 2.2vw, 28px);
}

.am-need-tab small {
  display: block;
  color: #6b7b70;
  font-size: 14px;
}

.am-need-tab::after {
  content: "+";
  width: 36px;
  height: 36px;
  color: var(--ink);
  font-size: 25px;
  line-height: 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.am-need-tab.is-active {
  padding-inline: 20px;
  background: var(--green-light);
}

.am-need-tab.is-active::after {
  content: "−";
  background: #fff;
}

.am-recommendation {
  margin-top: 28px;
  padding: 26px;
  color: #fff;
  background: var(--ink);
}

.am-recommendation > span {
  color: var(--am-signal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.am-recommendation h3 {
  margin: 10px 0 8px;
  font-size: 34px;
}

.am-recommendation p {
  margin-bottom: 18px;
  color: rgba(255,255,255,.7);
}

.am-product-section {
  background: #edf2ee;
}

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

.am-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd8d1;
  border-radius: 4px;
}

.am-product-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--night);
}

.am-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.am-product-card:hover .am-product-card-media img {
  transform: scale(1.035);
}

.am-product-card-code {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  color: #06110b;
  background: var(--am-signal);
  font-size: 12px;
  font-weight: 900;
}

.am-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.am-product-card h3 {
  margin-bottom: 10px;
  font-size: 38px;
}

.am-product-card-body > p {
  min-height: 74px;
  color: #617066;
}

.am-product-card dl {
  margin: 18px 0 28px;
  border-top: 1px solid var(--line);
}

.am-product-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.am-product-card dt {
  color: #6d7d72;
}

.am-product-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.am-product-card .button {
  margin-top: auto;
}

.am-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.am-compare {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.am-compare th,
.am-compare td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.am-compare thead th {
  color: #fff;
  background: var(--ink);
  font-size: 18px;
}

.am-compare tbody th {
  width: 25%;
  color: #65756a;
  font-size: 14px;
  font-weight: 750;
}

.am-compare td {
  font-weight: 700;
}

.am-flow {
  background: #fff;
}

.am-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.am-flow-step {
  min-height: 260px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.am-flow-step > span {
  display: block;
  margin-bottom: 70px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.am-flow-step h3 {
  font-size: 20px;
}

.am-flow-step p {
  color: #65756a;
  font-size: 14px;
}

.am-control {
  color: #fff;
  background: #101c16;
}

.am-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.am-control h2 {
  max-width: 760px;
}

.am-control-copy > p {
  max-width: 680px;
  color: rgba(255,255,255,.67);
  font-size: 18px;
}

.am-control-console {
  padding: 28px;
  background: #07110c;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.am-console-head,
.am-console-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.am-console-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.am-console-head span {
  color: var(--am-signal);
  font-weight: 900;
}

.am-console-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.am-console-row small {
  display: block;
  color: rgba(255,255,255,.5);
}

.am-console-value {
  font-weight: 850;
}

.am-console-value.ok { color: var(--am-signal); }
.am-console-value.attn { color: #f0c26b; }

.am-ownership {
  background: #eef3ef;
}

.am-ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.am-ownership article {
  min-height: 270px;
  padding: 28px;
  background: #fff;
  border-top: 4px solid var(--ink);
}

.am-ownership article:nth-child(2) { border-color: var(--green); }
.am-ownership article:nth-child(3) { border-color: var(--am-blue); }
.am-ownership article:nth-child(4) { border-color: var(--am-copper); }

.am-ownership span {
  color: #77877c;
  font-size: 12px;
  font-weight: 900;
}

.am-ownership h3 {
  margin-top: 56px;
}

.am-ownership p {
  color: #5f6f65;
  font-size: 15px;
}

.am-disclaimer {
  margin-top: 20px;
  color: #6a796f;
  font-size: 13px;
}

.am-lead {
  color: #fff;
  background: #07110c;
}

.am-lead-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.am-lead-intro {
  position: sticky;
  top: 110px;
}

.am-lead-intro h2 {
  font-size: clamp(42px, 5vw, 70px);
}

.am-lead-intro > p:not(.eyebrow) {
  color: rgba(255,255,255,.68);
  font-size: 18px;
}

.am-lead-proof {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.am-lead-proof span {
  padding: 12px 0;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.am-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  color: var(--ink);
  background: #fff;
}

.am-form label {
  display: grid;
  gap: 7px;
  color: #4d5f53;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.am-form input,
.am-form select,
.am-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfcac2;
  border-radius: 4px;
  text-transform: none;
}

.am-form textarea {
  min-height: 118px;
  resize: vertical;
}

.am-form .am-form-wide,
.am-form .consent-label,
.am-form .button,
.am-form .form-status {
  grid-column: 1 / -1;
}

.am-form .consent-label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  text-transform: none;
}

.am-form .consent-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.am-form .button:disabled {
  opacity: .7;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 750;
}

.form-status.success { color: var(--green-dark); }
.form-status.error { color: var(--red); }

.am-hp {
  position: absolute !important;
  left: -9999px !important;
}

/* Product pages */
.am-product-hero-media { object-position: center; }

.product-mbox .am-product-hero-media { object-position: 58% 50%; }
.product-mnode .am-product-hero-media { object-position: 54% 50%; }
.product-mhub .am-product-hero-media { object-position: 55% 50%; }

.am-product-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 11px;
  color: #06110b;
  background: var(--am-signal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.am-product-intro {
  background: #fff;
}

.am-product-intro-grid,
.am-product-visual-grid,
.am-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.am-product-intro-copy p {
  color: #5d6d63;
  font-size: 18px;
}

.am-fit-list {
  border-top: 1px solid var(--line);
}

.am-fit-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.am-fit-item span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.am-fit-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
}

.am-fit-item p {
  margin: 0;
  color: #64746a;
}

.am-not-fit {
  padding: 28px;
  color: #fff;
  background: #243229;
}

.am-not-fit h3 { color: #f2c679; }
.am-not-fit ul { padding-left: 20px; color: rgba(255,255,255,.72); }

.am-product-visual {
  color: #fff;
  background: #0d1812;
}

.am-product-visual figure {
  position: sticky;
  top: 100px;
  margin: 0;
}

.am-product-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.am-product-visual figcaption {
  padding: 18px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

.am-anatomy-list {
  display: grid;
  gap: 2px;
}

.am-anatomy-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.am-anatomy-item span {
  color: var(--am-signal);
  font-size: 12px;
  font-weight: 900;
}

.am-anatomy-item h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.am-anatomy-item p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.am-package-section { background: #eef3ef; }

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

.am-package {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid #cbd5cd;
}

.am-package.is-featured {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.am-package-tag {
  width: fit-content;
  padding: 6px 9px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.am-package h3 {
  margin-top: 42px;
  font-size: 34px;
}

.am-package > p {
  min-height: 70px;
  color: #627268;
}

.am-package.is-featured > p { color: rgba(255,255,255,.66); }

.am-package ul {
  padding: 0;
  margin: 20px 0 30px;
  list-style: none;
}

.am-package li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.am-package.is-featured li { border-color: rgba(255,255,255,.14); }
.am-package .button { margin-top: auto; }

.am-lifecycle {
  background: #fff;
}

.am-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.am-lifecycle article {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.am-lifecycle article span {
  display: block;
  margin-bottom: 60px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.am-lifecycle article h3 { font-size: 21px; }
.am-lifecycle article p { color: #66766c; font-size: 14px; }

.am-commercial {
  color: #fff;
  background: #101b15;
}

.am-commercial-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
}

.am-commercial-list {
  display: grid;
  gap: 1px;
}

.am-commercial-list article {
  padding: 24px;
  background: rgba(255,255,255,.055);
}

.am-commercial-list h3 {
  color: var(--am-signal);
  font-size: 20px;
}

.am-commercial-list p {
  margin: 0;
  color: rgba(255,255,255,.66);
}

.am-legal-note {
  margin-top: 24px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

.am-crosslinks {
  padding: 62px 0;
  background: #dfe8e1;
}

.am-crosslinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.am-crosslinks a {
  display: flex;
  min-height: 120px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #c8d3ca;
}

.am-crosslinks strong { font-size: 24px; }
.am-crosslinks span { color: var(--green-dark); font-weight: 900; }

@media (max-width: 1080px) {
  .am-product-grid,
  .am-package-grid { grid-template-columns: 1fr; }
  .am-product-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .am-product-card-media { height: 100%; aspect-ratio: auto; }
  .am-product-card-body > p { min-height: 0; }
  .am-flow-grid { grid-template-columns: repeat(3, 1fr); }
  .am-ownership-grid { grid-template-columns: repeat(2, 1fr); }
  .am-lifecycle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .am-hero,
  .am-product-hero { min-height: 800px; }
  .am-hero-inner,
  .am-product-hero-inner { min-height: 670px; padding-bottom: 210px; }
  .am-hero-inner h1,
  .am-product-hero-inner h1 { font-size: clamp(50px, 15vw, 78px); }
  .am-hero-shade { background: linear-gradient(180deg, rgba(3,10,7,.64), rgba(3,10,7,.8)); }
  .am-hero-rail,
  .am-product-facts { grid-template-columns: repeat(2, 1fr); }
  .am-hero-rail > span,
  .am-product-facts > div { min-height: 86px; padding: 15px 18px; }
  .am-hero-rail strong,
  .am-product-facts dd { font-size: 16px; }
  .am-thesis-grid,
  .am-choice-layout,
  .am-control-grid,
  .am-lead-layout,
  .am-product-intro-grid,
  .am-product-visual-grid,
  .am-fit-grid,
  .am-commercial-grid { grid-template-columns: 1fr; gap: 40px; }
  .am-choice-intro,
  .am-lead-intro,
  .am-product-visual figure { position: static; }
  .am-product-card { display: flex; }
  .am-product-card-media { aspect-ratio: 16 / 10; }
  .am-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .am-crosslinks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .am-hero,
  .am-product-hero { min-height: 790px; }
  .am-hero-inner,
  .am-product-hero-inner { min-height: 620px; padding-top: 100px; padding-bottom: 215px; }
  .am-hero-inner h1 { font-size: clamp(46px, 13vw, 54px); }
  .am-product-hero-inner h1 { font-size: clamp(52px, 15vw, 64px); }
  .am-hero-lead,
  .am-product-hero-lead { font-size: 19px; }
  .am-hero-actions { align-items: stretch; flex-direction: column; }
  .am-hero-actions .button,
  .am-hero-actions .text-link { width: 100%; justify-content: center; }
  .am-hero-rail small { display: none; }
  .am-thesis { padding: 68px 0; }
  .am-need-tab { grid-template-columns: 36px 1fr auto; }
  .am-need-tab.is-active { padding-inline: 12px; }
  .am-product-card-body,
  .am-package,
  .am-form { padding: 22px; }
  .am-product-card h3 { font-size: 32px; }
  .am-flow-grid,
  .am-ownership-grid,
  .am-lifecycle-grid { grid-template-columns: 1fr; }
  .am-flow-step,
  .am-lifecycle article { min-height: 0; }
  .am-flow-step > span,
  .am-lifecycle article span { margin-bottom: 28px; }
  .am-form { grid-template-columns: 1fr; }
  .am-form label,
  .am-form .am-form-wide,
  .am-form .consent-label,
  .am-form .button,
  .am-form .form-status { grid-column: 1; }
  .am-crosslinks a { min-height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .am-product-card-media img { transition: none; }
}
