/* V39 local refinement: integrated brand marks, product cards, technical evidence and compact footers. */

/* Payment marks: remove the extra white "card inside a card" and let the vector mark sit in the panel. */
.v37-payment-trust .v37-badge-group {
  background:
    radial-gradient(circle at 100% 0, rgba(58, 126, 238, .13), transparent 34%),
    linear-gradient(145deg, rgba(10, 29, 53, .98), rgba(7, 23, 42, .98));
}
.v37-payment-trust .v37-logo-grid { gap: 12px; align-items: center; }
.v37-payment-trust .v37-logo-tile {
  position: relative;
  display: grid;
  height: 82px;
  margin: 0;
  padding: 12px 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(133, 178, 240, .18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 49, 79, .74), rgba(13, 34, 59, .5));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}
.v37-payment-trust .v37-logo-tile::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(100, 160, 255, .11), transparent 72%);
  pointer-events: none;
}
.v37-payment-trust .v37-logo-tile img {
  position: relative;
  z-index: 1;
  width: min(118px, 86%) !important;
  max-width: min(128px, 92%);
  height: 50px !important;
  max-height: 52px;
  object-fit: contain;
  image-rendering: auto;
}
.v37-payment-trust .v37-logo-grid--wallets .v37-logo-tile { height: 82px; }
.v37-payment-trust .v37-logo-grid--wallets .v37-logo-tile img {
  width: min(126px, 86%) !important;
  max-width: min(138px, 90%);
  height: 48px !important;
  max-height: 48px;
}
.v37-payment-trust .v37-logo-tile img[src$="apple_pay.svg"] { filter: invert(1) brightness(1.2); }

/* Product family cards: make the render and copy one continuous surface. */
body.v20-page-lineup .familygrid a {
  display: flex !important;
  flex-direction: column !important;
  border-color: #d4dbe3;
  background: #eceef0 !important;
  box-shadow: 0 18px 45px rgba(24, 38, 58, .07);
}
body.v20-page-lineup .familygrid img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 2 / 1 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #e1e2e4 !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 91%, transparent 100%);
}
body.v20-page-lineup .familygrid a > div {
  position: relative;
  z-index: 1;
  min-height: 160px;
  margin-top: -10px;
  background: transparent !important;
}
body.v20-page-lineup .v39-roadmap-visual {
  display: flex;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0;
  padding: 28px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(111, 156, 226, .18) 48% 49%, transparent 49%),
    radial-gradient(circle at 76% 22%, rgba(47, 110, 205, .24), transparent 27%),
    #0d1b2d;
  color: #fff;
}
body.v20-page-lineup .v39-roadmap-visual span { color: #78a9ff; font-size: 12px; letter-spacing: .16em; }
body.v20-page-lineup .v39-roadmap-visual b { margin-top: 8px; color: #fff; font-size: 25px; }
body.v20-page-lineup .v39-roadmap-visual small { margin-top: 8px; color: #aebed2; font-size: 12px; }
body.v20-page-lineup .v39-roadmap-visual + div { margin-top: 0; }

/* Patent/application evidence: real filed-material drawings, readable on dark UI. */
.v39-tech-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
  text-align: left;
}
.v39-tech-intro .v39-tech-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #79aaff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}
.v39-tech-intro h2 { margin: 0; max-width: 780px; }
.v39-tech-intro > p {
  margin: 0;
  color: #b8c7da;
  font-size: 15px;
  line-height: 1.85;
}
.v39-tech-proofbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}
.v39-tech-proofbar div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(119, 168, 235, .22);
  border-radius: 14px;
  background: rgba(16, 39, 67, .74);
  text-align: left;
}
.v39-tech-proofbar b { display: block; color: #fff; font-size: 18px; line-height: 1.25; }
.v39-tech-proofbar span { display: block; margin-top: 7px; color: #9fb2ca; font-size: 12px; line-height: 1.55; }
.v39-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}
.v39-tech-card {
  position: relative;
  min-height: 260px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(126, 174, 239, .26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(46, 113, 218, .18), transparent 36%),
    linear-gradient(145deg, rgba(20, 43, 72, .96), rgba(10, 27, 47, .98));
}
.v39-tech-card::before {
  content: attr(data-index);
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(132, 180, 246, .38);
  border-radius: 12px;
  background: rgba(82, 139, 231, .14);
  color: #83adff;
  font-size: 14px;
  font-weight: 900;
}
.v39-tech-card h3 { margin: 0; color: #fff; font-size: 23px; line-height: 1.25; }
.v39-tech-card p { margin: 12px 0 0; color: #b8c6d8; font-size: 14px; line-height: 1.75; }
.v39-tech-card .v39-consumer-value {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(64, 126, 224, .15);
  color: #9fc0ff;
  font-size: 12px;
  font-weight: 750;
}
.v39-tech-stage {
  position: relative;
  min-height: 560px;
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid rgba(119, 168, 235, .27);
  border-radius: 24px;
  background: #041020;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.v39-tech-stage picture,
.v39-tech-stage img { display: block; width: 100%; height: 100%; }
.v39-tech-stage img { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.v39-tech-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 12, 25, .96) 0%, rgba(3, 12, 25, .78) 42%, rgba(3, 12, 25, .08) 70%);
  pointer-events: none;
}
.v39-tech-stage-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(54%, 610px);
  min-height: 560px;
  padding: clamp(30px, 5vw, 62px);
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.v39-tech-stage-copy > span { color: #78a9ff; font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.v39-tech-stage-copy h2 { margin: 15px 0 18px; color: #fff; font-size: clamp(38px, 5vw, 67px); line-height: 1.02; letter-spacing: -.045em; }
.v39-tech-stage-copy h2 em { color: #71a6ff; font-style: normal; }
.v39-tech-stage-copy p { margin: 0; color: #bac9db; font-size: 16px; line-height: 1.85; }
.v39-tech-stage-copy strong { display: block; margin-top: 22px; color: #fff; font-size: 17px; line-height: 1.55; }
.v39-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  counter-reset: v39-journey;
}
.v39-journey-card {
  counter-increment: v39-journey;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(121, 171, 239, .23);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(22, 48, 80, .94), rgba(9, 27, 48, .98));
  text-align: left;
}
.v39-journey-card::before {
  content: "0" counter(v39-journey);
  display: block;
  margin-bottom: 30px;
  color: #73a5fb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}
.v39-journey-card h3 { margin: 0; color: #fff; font-size: 20px; line-height: 1.3; }
.v39-journey-card p { margin: 12px 0 0; color: #adbed2; font-size: 13px; line-height: 1.72; }
.v39-journey-card b { display: block; margin-top: 16px; color: #dce9ff; font-size: 12px; line-height: 1.6; }
.v39-breadth {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 26px;
}
.v39-breadth-copy,
.v39-audience-grid {
  padding: 26px;
  border: 1px solid rgba(122, 172, 239, .22);
  border-radius: 19px;
  background: rgba(13, 34, 59, .78);
  text-align: left;
}
.v39-breadth-copy span { color: #79aaff; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.v39-breadth-copy h3 { margin: 12px 0; color: #fff; font-size: 30px; line-height: 1.15; }
.v39-breadth-copy p { margin: 0; color: #afc0d4; font-size: 14px; line-height: 1.8; }
.v39-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v39-audience-grid div { padding: 16px; border-radius: 13px; background: rgba(72, 126, 207, .1); }
.v39-audience-grid b { display: block; color: #fff; font-size: 15px; }
.v39-audience-grid span { display: block; margin-top: 7px; color: #aebfd3; font-size: 12px; line-height: 1.55; }
.v39-tech-credentials {
  display: flex;
  margin-top: 20px;
  padding: 17px 19px;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid rgba(129, 177, 241, .24);
  color: #9fb1c8;
  text-align: left;
}
.v39-tech-credentials b { flex: 0 0 auto; color: #e8a444; }
.v39-tech-credentials p { margin: 0; font-size: 12px; line-height: 1.7; }
.v39-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.v39-evidence-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(129, 177, 241, .28);
  border-radius: 18px;
  background: #f6f8fb;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
}
.v39-evidence-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}
.v39-evidence-card figcaption {
  min-height: 100px;
  padding: 15px 16px;
  color: #41536a;
  background: linear-gradient(#fff, #f1f4f8);
  font-size: 12px;
  line-height: 1.6;
}
.v39-evidence-card figcaption b { display: block; margin-bottom: 5px; color: #152337; font-size: 14px; }
.v39-application-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(240, 165, 62, .34);
  border-radius: 16px;
  background: rgba(124, 78, 14, .13);
  text-align: left;
}
.v39-application-note b { color: #f1a83d; }
.v39-application-note p { margin: 0; color: #b8c7da; font-size: 13px; line-height: 1.7; }

/* Footer cleanup after repeated site-navigation rows are removed. */
footer .fcols > div:first-child > p:first-child { max-width: 620px; color: #6d7a8b; line-height: 1.7; }
.v39-footer-compact .fcols { padding-top: 38px; padding-bottom: 30px; }
.v39-footer-compact .fbottom { min-height: 96px; }

@media (max-width: 820px) {
  .v37-payment-trust .v37-logo-tile,
  .v37-payment-trust .v37-logo-grid--wallets .v37-logo-tile { height: 70px; padding: 10px; border-radius: 13px; }
  .v37-payment-trust .v37-logo-tile img { width: min(96px, 84%) !important; height: 44px !important; max-width: min(108px, 88%); max-height: 44px; }
  body.v20-page-lineup .familygrid a { background: #eceef0 !important; }
  body.v20-page-lineup .familygrid img { min-height: 0; aspect-ratio: 2 / 1 !important; }
  body.v20-page-lineup .familygrid a > div { min-height: 0; background: transparent !important; }
  .v39-tech-intro { grid-template-columns: 1fr; gap: 16px; }
  .v39-tech-proofbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v39-tech-grid { grid-template-columns: 1fr; }
  .v39-tech-card { min-height: 0; padding: 21px; }
  .v39-tech-stage { min-height: 720px; border-radius: 18px; }
  .v39-tech-stage img { object-position: center; }
  .v39-tech-stage::after { background: linear-gradient(180deg, rgba(3, 12, 25, .97) 0%, rgba(3, 12, 25, .88) 36%, rgba(3, 12, 25, .08) 68%); }
  .v39-tech-stage-copy { width: 100%; min-height: 440px; padding: 28px 24px; justify-content: flex-start; }
  .v39-tech-stage-copy h2 { font-size: clamp(36px, 11vw, 52px); }
  .v39-tech-stage-copy p { font-size: 14px; }
  .v39-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v39-breadth { grid-template-columns: 1fr; }
  .v39-evidence-grid { grid-template-columns: 1fr; }
  .v39-evidence-card img { aspect-ratio: 16 / 10; }
  .v39-application-note { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 420px) {
  .v37-payment-trust .v37-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v37-payment-trust .v37-logo-grid--wallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v39-tech-proofbar { grid-template-columns: 1fr; }
  .v39-tech-intro > p { font-size: 14px; }
  .v39-tech-card h3 { font-size: 21px; }
  .v39-tech-stage { min-height: 680px; }
  .v39-journey-grid { grid-template-columns: 1fr; }
  .v39-journey-card { min-height: 0; }
  .v39-audience-grid { grid-template-columns: 1fr; }
  .v39-tech-credentials { flex-direction: column; gap: 6px; }
}
