/* ==========================================================================
   mDL / mPassport page — DynaCast + Store & Forward pattern parity
   ========================================================================== */

.mdl-panel {
  margin: 0;
  padding: 2rem 0;
}

#what-is-mdl,
#verification-journey,
#use-cases,
#scenario-retail,
#win-win-benefits,
#supported-devices,
#contact-cta {
  scroll-margin-top: 9rem;
}

/* ==========================================================================
   Proof strip (DynaCast parity)
   ========================================================================== */

.mdl-page .mdl-proof-strip {
  position: relative;
  margin: 2.2rem 0 0;
  padding: 2.4rem 0;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1628 0%, #11243e 56%, #0a1628 100%);
}

.mdl-page .mdl-proof-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mdl-proof-grid" width="26" height="26" patternUnits="userSpaceOnUse"><path d="M 26 0 L 0 0 0 26" fill="none" stroke="rgba(210,18,66,0.14)" stroke-width="0.6"/><circle cx="0" cy="0" r="1.2" fill="rgba(210,18,66,0.22)"/><circle cx="26" cy="26" r="1.2" fill="rgba(210,18,66,0.22)"/></pattern></defs><rect width="100" height="100" fill="url(%23mdl-proof-grid)"/></svg>');
}

.mdl-page .mdl-proof-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(210, 18, 66, 0.16), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(59, 130, 246, 0.17), transparent 40%);
}

.mdl-page .mdl-proof-strip .container {
  position: relative;
  z-index: 1;
}

.mdl-page .mdl-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.mdl-page .mdl-proof-item {
  position: relative;
  min-height: 18rem;
  padding: 2rem 1.4rem 1.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(210, 18, 66, 0.22);
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.72) 0%, rgba(0, 0, 0, 0.58) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mdl-page .mdl-proof-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(210, 18, 66, 0.34);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mdl-page .mdl-proof-item:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 18, 66, 0.45);
  box-shadow: 0 14px 30px rgba(22, 54, 96, 0.38);
}

.mdl-page .mdl-proof-item:hover::before {
  opacity: 1;
}

.mdl-page .mdl-proof-item h3 {
  margin: 0 0 0.76rem;
  color: #fff;
  font-size: clamp(2rem, 2.25vw, 2.55rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mdl-page .mdl-proof-item p {
  margin: 0;
  max-width: 30ch;
  align-self: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.7;
}

/* ==========================================================================
   Definition band (Store & Forward parity)
   ========================================================================== */

.mdl-page .mdl-define-band {
  padding: clamp(3.6rem, 6.5vw, 5.5rem) 0 clamp(3.6rem, 6.5vw, 5.5rem);
  position: relative;
  overflow: hidden;
  background: var(--cr-surface-alt, #f8fafc);
  border-top: 1px solid var(--cr-border-subtle, rgba(38, 60, 80, 0.08));
}

.mdl-page .mdl-define-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.mdl-page .mdl-define-band > .container {
  position: relative;
  z-index: 1;
}

.mdl-page .mdl-define-layout {
  align-items: start;
}

.mdl-page .mdl-define-layout .cr-value-band__head {
  max-width: none;
  margin-bottom: 2rem;
}

.mdl-page .mdl-define-layout .cr-value-band__eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--cr-font-eyebrow, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magtek-red, #d21242);
}

.mdl-page .mdl-define-layout .cr-value-band__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 2.1rem + 1.1vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.mdl-page .mdl-define-layout .cr-value-band__subtitle {
  margin: 0;
  font-size: var(--font-size-large, 1.8rem);
  line-height: 1.7;
  color: #64748b;
  max-width: 48ch;
}

.mdl-page .mdl-define-layout .cr-value-band__subtitle + .cr-value-band__subtitle {
  margin-top: 1.25rem;
}

.mdl-page .mdl-define-layout .cr-value-band__subtitle a,
.mdl-page .mdl-feature__body a {
  color: var(--magtek-red, #d21242);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.mdl-page .mdl-define-layout .cr-value-band__subtitle a:hover,
.mdl-page .mdl-define-layout .cr-value-band__subtitle a:focus,
.mdl-page .mdl-feature__body a:hover,
.mdl-page .mdl-feature__body a:focus {
  color: #a00e34;
}

.mdl-page .mdl-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mdl-page .mdl-check-list__item {
  position: relative;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin: 0 0 1.4rem;
  padding: 1.6rem 1.8rem;
  font-size: var(--font-size-large, 1.8rem);
  line-height: 1.7;
  color: var(--text-primary, #263c50);
  background: #ffffff;
  border: 1px solid var(--cr-border-subtle, rgba(38, 60, 80, 0.08));
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.mdl-page .mdl-check-list__item:last-child {
  margin-bottom: 0;
}

.mdl-page .mdl-check-list__item a {
  color: var(--magtek-red, #d21242);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.mdl-page .mdl-check-list__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(210, 18, 66, 0.1);
  color: var(--magtek-red, #d21242);
  font-size: 1.2rem;
}

/* ==========================================================================
   Verification journey (DynaCast checkout-flow parity)
   ========================================================================== */

.mdl-journey-shell {
  padding-top: 0.2rem;
}

.mdl-journey-flow {
  position: relative;
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  margin-top: var(--space-xs, 0.5rem);
}

.mdl-journey-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 5.4rem;
  height: 2px;
  background: linear-gradient(90deg, #d5e0eb 0%, #bfd0df 46%, #d5e0eb 100%);
}

.mdl-journey-flow > [class*="col-"] {
  display: flex;
  margin-bottom: var(--space-xs, 0.5rem);
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.mdl-journey-step-visual-wrap {
  position: relative;
  min-height: 11rem;
  margin-bottom: var(--space-xs, 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mdl-journey-step-icon {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(47, 95, 149, 0.12) 0%, rgba(210, 18, 66, 0.08) 100%);
  border: 1px solid #dbe7f3;
  color: #2f5f95;
  font-size: 2.8rem;
  box-shadow: 0 8px 18px rgba(26, 58, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mdl-journey-flow-arrow {
  position: absolute;
  right: -2.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #cfdae6;
  color: #2a5f93;
  box-shadow: 0 8px 16px rgba(26, 58, 92, 0.12);
}

.mdl-journey-step-number {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--magtek-red, #d21242);
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
}

.mdl-journey-step h4 {
  margin: 0.68rem 0 0.42rem;
  min-height: 4.1rem;
  color: #243b53;
  font-size: var(--font-size-h4, 2rem);
  line-height: 1.32;
  font-weight: 700;
}

.mdl-journey-step p {
  margin: 0;
  max-width: 28ch;
  min-height: 5.2rem;
  color: #43576d;
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.mdl-journey-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  padding: 0.2rem 0.15rem 0.55rem;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.mdl-journey-step:hover,
.mdl-journey-step:focus-within {
  transform: translateY(-2px);
  background-color: rgba(47, 95, 149, 0.035);
  box-shadow: 0 8px 18px rgba(24, 54, 87, 0.1);
}

.mdl-journey-step:hover h4,
.mdl-journey-step:focus-within h4 {
  color: #1f4f82;
}

.mdl-journey-step:hover .mdl-journey-step-number,
.mdl-journey-step:focus-within .mdl-journey-step-number {
  box-shadow: 0 6px 14px rgba(207, 36, 79, 0.28);
}

.mdl-journey-step:hover .mdl-journey-step-icon,
.mdl-journey-step:focus-within .mdl-journey-step-icon {
  transform: scale(1.04);
}

.mdl-trust-note {
  margin: 2.4rem auto 0;
  max-width: 86rem;
  padding: 1.8rem 2.2rem;
  border-left: 4px solid var(--magtek-red, #d21242);
  background: rgba(210, 18, 66, 0.04);
  border-radius: 0 12px 12px 0;
}

.mdl-trust-note__label {
  margin: 0 0 0.6rem;
  font-size: var(--cr-font-eyebrow, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magtek-red, #d21242);
}

.mdl-trust-note p:last-child {
  margin: 0;
  font-size: var(--font-size-large, 1.8rem);
  line-height: 1.7;
  color: var(--text-primary, #263c50);
  max-width: 68ch;
}

/* ==========================================================================
   Use cases (DynaCast parity)
   ========================================================================== */

.mdl-usecases-layout {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mdl-usecases-layout > [class*="col-"] {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mdl-usecases-kicker {
  margin: 0 0 0.55rem;
  color: #2f5f95;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdl-usecases-intro h3 {
  margin: 0 0 0.8rem;
  color: var(--text-primary, #263c50);
  font-size: var(--font-size-h1, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
}

.mdl-usecases-intro > p:last-of-type {
  margin: 0;
  color: #4f6176;
  font-size: var(--font-size-large, 1.8rem);
  line-height: 1.7;
}

.mdl-usecases-actions {
  margin-top: 1.2rem;
}

.mdl-usecases-grid {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mdl-usecases-grid > [class*="col-"] {
  margin-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mdl-usecase-card {
  min-height: 13rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs, 0.5rem);
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(26, 58, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mdl-usecase-icon {
  width: 5.5rem;
  height: 5.5rem;
  flex: 0 0 5.5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 95, 149, 0.08);
  color: #2f5f95;
  font-size: 2.2rem;
  transition: transform 0.2s ease;
}

.mdl-usecase-copy h4 {
  margin: 0 0 0.3rem;
  color: #1f3146;
  font-size: var(--font-size-h4, 2rem);
  line-height: 1.25;
}

.mdl-usecase-copy p {
  margin: 0;
  color: #52667e;
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mdl-usecase-card:hover,
.mdl-usecase-card:focus-within {
  transform: translateY(-2px);
  border-color: #c8d9ec;
  box-shadow: 0 14px 26px rgba(24, 54, 87, 0.14);
}

.mdl-usecase-card:hover .mdl-usecase-icon,
.mdl-usecase-card:focus-within .mdl-usecase-icon {
  transform: scale(1.04);
}

/* ==========================================================================
   Scenario feature (Store & Forward parity)
   ========================================================================== */

.mdl-page .mdl-band {
  padding: var(--space-xxl, 10rem) 0;
}

.mdl-page .mdl-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
}

.mdl-page .mdl-feature__media {
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--cr-border-subtle, rgba(38, 60, 80, 0.08));
  background: #0f172a;
  aspect-ratio: 16 / 10;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 36px rgba(15, 23, 42, 0.07);
}

.mdl-page .mdl-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdl-page .mdl-feature__copy .section-title {
  text-align: left;
  margin: 0 0 1.5rem;
  padding-bottom: 2rem;
  font-size: var(--font-size-h1, 3.6rem);
}

.mdl-page .mdl-feature__copy .section-title::after {
  left: 0;
  transform: none;
}

.mdl-page .mdl-feature__lead {
  text-align: left;
  margin: 0;
  max-width: 42ch;
  padding-bottom: 0;
}

.mdl-page .mdl-feature__body {
  margin: 1.75rem 0 0;
  font-size: var(--font-size-large, 1.8rem);
  line-height: 1.7;
  color: var(--text-primary, #263c50);
  max-width: 54ch;
}

.mdl-page .mdl-situation-label + .mdl-feature__body {
  margin-top: 0;
}

.mdl-page .mdl-situation-label {
  margin: 2rem 0 0.75rem;
  font-size: var(--cr-font-eyebrow, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magtek-red, #d21242);
}

/* ==========================================================================
   Win-Win (DynaCast parity)
   ========================================================================== */

.mdl-winwin-grid {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mdl-winwin-grid > [class*="col-"] {
  margin-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mdl-winwin-column h3 {
  margin: 0 0 0.6rem;
  color: var(--text-primary, #263c50);
  font-size: var(--font-size-h3, 2.8rem);
}

.mdl-winwin-column-subtitle {
  margin: 0 0 0.95rem;
  color: #5c6f84;
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.65;
}

.mdl-winwin-card {
  margin-bottom: 0.9rem;
  padding: 1rem 1rem 0.92rem;
  display: flex;
  gap: 0.95rem;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mdl-winwin-column--merchant .mdl-winwin-card {
  border-left: 4px solid #2f5f95;
}

.mdl-winwin-column--consumer .mdl-winwin-card {
  border-left: 4px solid var(--magtek-red, #d21242);
}

.mdl-winwin-icon {
  width: 4.4rem;
  height: 4.4rem;
  flex: 0 0 4.4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 95, 149, 0.08);
  color: #2f5f95;
  font-size: 2rem;
}

.mdl-winwin-column--consumer .mdl-winwin-icon {
  background: rgba(210, 18, 66, 0.08);
  color: var(--magtek-red, #d21242);
}

.mdl-winwin-copy h4 {
  margin: 0 0 0.3rem;
  color: #1f2f43;
  font-size: var(--font-size-h4, 2rem);
  line-height: 1.25;
}

.mdl-winwin-copy p {
  margin: 0;
  color: #4b5c6e;
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mdl-winwin-card:hover,
.mdl-winwin-card:focus-within {
  transform: translateY(-2px);
  border-color: #c8d9ec;
  box-shadow: 0 14px 26px rgba(24, 54, 87, 0.14);
}

.mdl-crosslink {
  margin: 2rem 0 0;
  text-align: center;
  color: #5c6f84;
  font-size: var(--font-size-body, 1.6rem);
}

.mdl-crosslink a {
  color: var(--magtek-red, #d21242);
  font-weight: 700;
  text-decoration: none;
}

.mdl-crosslink a:hover,
.mdl-crosslink a:focus {
  text-decoration: underline;
}

/* ==========================================================================
   Supported devices (DynaCast parity)
   ========================================================================== */

.mdl-supported-grid {
  margin-left: -1rem;
  margin-right: -1rem;
  align-items: stretch;
}

.mdl-supported-grid > [class*="col-"] {
  display: flex;
  margin-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: stretch;
}

.mdl-supported-card-link {
  display: flex;
  position: relative;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.mdl-supported-card {
  width: 100%;
  min-height: 34rem;
  height: 100%;
  padding: 1.15rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #d3dfeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(24, 54, 87, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mdl-supported-image {
  width: 100%;
  max-width: 22rem;
  height: 13.5rem;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.mdl-supported-card h3 {
  margin: 0 0 0.35rem;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #253b52;
  font-size: var(--font-size-h4, 2rem);
  line-height: 1.3;
}

.mdl-supported-desc {
  margin: 0;
  min-height: 6.8rem;
  max-width: 26ch;
  color: #5a6e83;
  font-size: var(--font-size-body, 1.6rem);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.mdl-supported-cta {
  margin-top: auto;
  padding-top: 0.9rem;
  color: #2f5f95;
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mdl-supported-cta i {
  transition: transform 0.2s ease;
}

.mdl-supported-card-link:hover .mdl-supported-card,
.mdl-supported-card-link:focus-visible .mdl-supported-card {
  transform: translateY(-4px);
  border-color: #2f5f95;
  box-shadow: 0 18px 34px rgba(24, 54, 87, 0.18);
}

.mdl-supported-card-link:hover .mdl-supported-cta,
.mdl-supported-card-link:focus-visible .mdl-supported-cta {
  color: #1f4f82;
}

.mdl-supported-card-link:hover .mdl-supported-cta i,
.mdl-supported-card-link:focus-visible .mdl-supported-cta i {
  transform: translateX(3px);
}

.mdl-supported-card-link:focus-visible {
  outline: 2px solid #2f5f95;
  outline-offset: 3px;
}

/* ==========================================================================
   Final CTA (DynaCast parity)
   ========================================================================== */

.mdl-page .cr-final-cta {
  background: linear-gradient(140deg, #14263b 0%, #0f172a 55%, #1b2f47 100%);
  padding: 5.2rem 0 5.6rem;
  position: relative;
  overflow: hidden;
}

.mdl-page .cr-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(210, 18, 66, 0.18) 0, rgba(210, 18, 66, 0) 44%),
    radial-gradient(circle at 82% 76%, rgba(59, 130, 246, 0.2) 0, rgba(59, 130, 246, 0) 48%);
  pointer-events: none;
}

.mdl-page .cr-final-cta__panel {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.mdl-page .cr-final-cta__eyebrow {
  margin: 0 0 1.2rem;
  color: #9db4d3;
  text-transform: none;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  font-weight: 700;
}

.mdl-page .cr-final-cta__title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  line-height: 1.18;
}

.mdl-page .cr-final-cta__lead {
  margin: 0;
  max-width: 82ch;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.75rem;
  line-height: 1.65;
}

.mdl-page .cr-final-cta__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.mdl-page .cr-final-cta__actions .btn-primary.btn-md,
.mdl-page .cr-final-cta__actions .btn-learn-more.btn-md {
  min-height: 44px;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.mdl-page .back-to-top-btn {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 40;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--magtek-red, #d21242);
  color: #fff;
  box-shadow: 0 10px 24px rgba(210, 18, 66, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mdl-page .back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mdl-page .back-to-top-btn:hover,
.mdl-page .back-to-top-btn:focus {
  background: var(--magtek-red-dark, #b01035);
  outline: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .mdl-journey-flow::before,
  .mdl-journey-flow-arrow {
    display: none;
  }

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

  .mdl-proof-item {
    min-height: 16rem;
  }
}

@media (max-width: 991px) {
  .mdl-panel {
    padding-top: 1.7rem;
    padding-bottom: 1.7rem;
  }

  .mdl-usecases-intro h3 {
    font-size: var(--font-size-h2, 3rem);
  }

  .mdl-journey-step h4 {
    min-height: 0;
  }

  .mdl-journey-step p {
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-winwin-column h3,
  .mdl-winwin-column-subtitle {
    text-align: center;
  }

  .mdl-page .mdl-feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mdl-page .mdl-feature__copy .section-title,
  .mdl-page .mdl-feature__lead {
    text-align: center;
  }

  .mdl-page .mdl-feature__copy .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .mdl-page .mdl-feature__body {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .mdl-page section > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mdl-proof-strip {
    margin: 1rem 0 0;
    padding: 1.2rem 0;
  }

  .mdl-proof-grid {
    grid-template-columns: 1fr;
  }

  .mdl-proof-item {
    min-height: 0;
    padding: 1.45rem 1.05rem 1.32rem;
  }

  .mdl-proof-item h3,
  .mdl-proof-item p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-journey-step {
    text-align: center;
    padding: 0.4rem 0.2rem 0.8rem;
  }

  .mdl-journey-step h4,
  .mdl-journey-step p {
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-usecases-intro {
    text-align: center;
    margin-bottom: 0.7rem;
  }

  .mdl-usecases-actions {
    display: flex;
    justify-content: center;
  }

  .mdl-usecase-card {
    min-height: 0;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.15rem 1rem 1.05rem;
  }

  .mdl-supported-grid > [class*="col-"] {
    display: block;
    margin-bottom: 1.1rem;
  }

  .mdl-supported-card {
    min-height: 0;
    padding: 1.05rem 0.9rem 0.95rem;
  }

  .mdl-supported-image {
    max-width: 20rem;
    height: 11.8rem;
  }

  .mdl-supported-card h3 {
    min-height: 0;
  }

  .mdl-supported-desc {
    min-height: 0;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-page .cr-final-cta {
    padding: 4.2rem 0 4.5rem;
  }

  .mdl-page .cr-final-cta__title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .mdl-page .cr-final-cta__lead {
    font-size: 1.6rem;
    line-height: 1.58;
  }

  .mdl-page .back-to-top-btn {
    right: 1.6rem;
    bottom: 1.6rem;
  }
}

@media (max-width: 575px) {
  .mdl-usecases-actions .btn-primary {
    width: 100%;
    max-width: 32rem;
    text-align: center;
  }

  .mdl-page .cr-final-cta__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .mdl-page .cr-final-cta__actions .btn-primary.btn-md,
  .mdl-page .cr-final-cta__actions .btn-learn-more.btn-md {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdl-journey-step,
  .mdl-journey-step-icon,
  .mdl-usecase-card,
  .mdl-usecase-icon,
  .mdl-winwin-card,
  .mdl-supported-card,
  .mdl-supported-cta i,
  .mdl-proof-item,
  .mdl-page .back-to-top-btn {
    transition: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .mdl-journey-step:hover,
  .mdl-usecase-card:hover,
  .mdl-winwin-card:hover,
  .mdl-supported-card-link:hover .mdl-supported-card,
  .mdl-proof-item:hover {
    transform: none;
  }
}

/* Keep product casing (mDL / mPassport); shared eyebrow style forces uppercase. */
.mdl-page .split-hero-eyebrow {
  text-transform: none;
}

/* Stacked hero: center copy, CTAs, and artwork. */
@media (max-width: 991px) {
  .mdl-page .split-hero .split-hero-copy {
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
  }

  .mdl-page .split-hero .split-hero-copy-inner {
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-page .split-hero-eyebrow,
  .mdl-page .split-hero h1,
  .mdl-page .split-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .mdl-page .split-hero-actions {
    justify-content: center;
  }

  .mdl-page .split-hero .split-hero-media {
    text-align: center;
  }

  .mdl-page .split-hero .split-hero-media-inner {
    justify-content: center;
  }

  .mdl-page .split-hero .split-hero-media img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Shield hero sits a step smaller than the shared split-hero photo size. */
.mdl-page .split-hero .split-hero-media img {
  width: min(100%, 740px);
  max-width: 740px;
  max-height: clamp(24rem, 50vh, 52rem);
}

@media (min-width: 1600px) {
  .mdl-page .split-hero .split-hero-media img {
    width: min(100%, 800px);
    max-width: 800px;
  }
}

@media (max-width: 1199px) {
  .mdl-page .split-hero .split-hero-media img {
    width: min(100%, 60rem);
    max-width: 60rem;
  }
}

@media (max-width: 991px) {
  .mdl-page .split-hero .split-hero-media img {
    width: min(100%, 460px);
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .mdl-page .split-hero .split-hero-media img {
    width: min(100%, 300px);
    max-width: 300px;
  }
}
