@font-face {
  font-family: "Blu Persian Punctuation";
  src: url("../font/woff2/YekanBakh-VF.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+00AB, U+00BB;
}
/* =========================================================
   AML banking — Figma 23317:5415
   Base / navigation / hero / education / security / FAQ / footer
   ========================================================= */
@font-face {
  font-family: "Yekan Bakh VF";
  src: url("../font/woff2/YekanBakh-VF.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Blu AML Design";
  src: url("../font/woff/BluAML-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blu AML Design";
  src: url("../font/woff/BluAML-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blu AML Design";
  src: url("../font/woff/BluAML-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blu AML Design";
  src: url("../font/woff/BluAML-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blu AML Design";
  src: url("../font/woff/BluAML-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blu-bg: #1b2028;
  --blu-surface: #2b3340;
  --blu-text: #e4eaec;
  --blu-secondary: #a2b5be;
  --blu-muted: #718e9c;
  --blu-blue: #75aaeb;
  --blu-blue-light: #93bcf0;
  --blu-border: #343e4c;
  --blu-radius: 16px;
  --blu-container: 1128px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--blu-bg);
  color: var(--blu-text);
  font-family: "Blu Persian Punctuation", "Blu AML Design", "Yekan Bakh VF", sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
}
body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blu-blue-light);
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blu-blue);
  outline-offset: 5px;
}
.container {
  width: calc(100% - 48px);
  max-width: var(--blu-container);
  padding: 0;
}
.section-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.btn-white {
  background: #fff;
  color: #4e91e6;
  padding: 16px 24px;
  line-height: 22px;
}
.btn-white:hover {
  /* Figma's brand state layer: 5% blue over the white surface. */
  background: linear-gradient(rgb(78 145 230 / 5%), rgb(78 145 230 / 5%)), #fff;
  color: #4e91e6;
}
.btn-blue {
  background: var(--blu-blue);
  color: var(--blu-bg);
}
.btn-blue:hover {
  /* Keep the base fill and apply the on-primary hover state layer. */
  background: linear-gradient(rgb(237 244 252 / 5%), rgb(237 244 252 / 5%)), var(--blu-blue);
  color: var(--blu-bg);
}
.btn-outline {
  background: var(--blu-bg);
  color: var(--blu-blue);
  border: 1px solid #253035;
}
.btn-outline:hover {
  background: linear-gradient(rgb(117 170 235 / 5%), rgb(117 170 235 / 5%)), var(--blu-bg);
  border-color: #253035;
  color: var(--blu-blue);
}
.asset-icon {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 0;
}
.asset-icon img {
  display: block;
}
.mask-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  flex: 0 0 auto;
}

/* Local icon assets. URLs resolve from this stylesheet. */

.icon-play {
  --icon: url("../icons/play.svg");
}
.icon-notice {
  --icon: url("../aml/23317-5517-ColorTrailing.svg");
}
.icon-card-more {
  --icon: url("../aml/23317-5416-ColorTrailing.svg");
}
.icon-carousel-next {
  --icon: url("../aml/23317-5416-ColorTrailing1.svg");
}
.icon-carousel-previous {
  --icon: url("../aml/23317-5416-ColorTrailing2.svg");
}
.icon-faq-all {
  --icon: url("../aml/23317-5589-ColorTrailing2.svg");
}
.icon-faq-toggle {
  --icon: url("../aml/23317-5589-ColorTrailing1.svg");
}
.icon-location {
  --icon: url("../icons/deep-dive/footer-pin.svg");
}
.icon-phone {
  --icon: url("../icons/deep-dive/footer-call.svg");
}
.icon-android {
  --icon: url("../icons/deep-dive/footer-android.svg");
}
.icon-web {
  --icon: url("../icons/deep-dive/footer-web.svg");
}
.icon-aparat {
  --icon: url("../aml/social-aparat.svg");
}
.icon-instagram {
  --icon: url("../aml/social-ig.svg");
}
.icon-x {
  --icon: url("../aml/social-x.svg");
}
.icon-youtube {
  --icon: url("../aml/social-youtube.svg");
}
.icon-linkedin {
  --icon: url("../aml/social-linkedin.svg");
}
.icon-telegram {
  --icon: url("../aml/social-telegram.svg");
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -80px;
  right: 24px;
  background: #fff;
  color: #1b2028;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}

/* Navigation */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  height: 64px;
  z-index: 5;
}
.site-header .navbar {
  height: 64px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 24px;
}
.navbar-brand {
  margin: 0;
  padding: 0;
  line-height: 0;
}



.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-actions .btn {
  height: 40px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 20px;
}



/* Hero — the illustration and the bottom fade are separate Figma layers. */
.hero {
  height: 800px;
  background: #000;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}
.hero-copy {
  align-self: start;
  margin-top: 242px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 900;
}
.hero-subtitle {
  font-size: 40px;
  line-height: 48px;
  font-weight: 300;
  color: var(--blu-secondary);
  margin-top: 8px;
}
.hero-description {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  margin-top: 40px;
}
.hero-copy .btn {
  margin-top: 40px;
  min-width: 147px;
  height: 54px;
}
.hero-visual {
  position: relative;
  align-self: stretch;
}
.hero-visual img {
  position: absolute;
  top: 134px;
  left: 57px;
  width: 465px;
  height: 666px;
  object-fit: cover;
}
.hero-fade {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  pointer-events: none;
}
/* Increasing blur bands are masked independently; color stays edge to edge. */
.progressive-blur { pointer-events: none; }
.progressive-blur > span {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(transparent, #000 65%);
  -webkit-mask-image: linear-gradient(transparent, #000 65%);
}
.progressive-blur > span:nth-child(2) {
  top: 25%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.progressive-blur > span:nth-child(3) {
  top: 50%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 8.333%, rgba(6, 6, 6, 0));
}

/* Notice banner */
.notice-banner {
  position: relative;
  z-index: 3;
  margin-top: -100px;
  height: 200px;
  border-radius: var(--blu-radius);
  overflow: hidden;
  background: #307fe2;
  display: flex;
  align-items: center;
  padding: 24px 80px;
}
.notice-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.notice-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  mask: url("../aml/23317-5517-Color.svg") center / cover;
  -webkit-mask: url("../aml/23317-5517-Color.svg") center / cover;
}
.notice-background > img {
  position: absolute;
  top: 0;
  left: 0;
}
.notice-art {
  position: relative;
  width: 218.418px;
  height: 218.418px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notice-art img {
  width: 193.386px;
  height: 193.386px;
  transform: rotate(-8deg);
  object-fit: cover;
}
.notice-copy {
  position: relative;
  color: #fff;
  flex: 1;
  margin-right: -16px;
}
.notice-copy h2 {
  font-size: 32px;
  line-height: 32px;
  font-weight: 900;
}
.notice-copy p {
  font-size: 24px;
  line-height: 31px;
  font-weight: 500;
  margin-top: 12px;
}
.notice-banner .btn {
  position: relative;
  height: 56px;
  padding: 16px 24px 16px 16px;
}

/* Carousels — RTL, with the next card extending to the left edge. */
.fraud-section {
  margin-top: 120px;
}
.section-description {
  color: var(--blu-secondary);
  font-size: 24px;
  line-height: 31px;
  margin-top: 8px;
  font-weight: 400;
}
.carousel-shell {
  margin-top: 64px;
}
.carousel-window {
  overflow-x: auto;
  overflow-y: hidden;
  direction: rtl;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin-left: calc((var(--blu-container) - 100vw) / 2);
  padding-left: max(24px, calc((100vw - var(--blu-container)) / 2));
}
.carousel-window::-webkit-scrollbar {
  display: none;
}
.carousel-window {
  user-select: none;
  -webkit-user-select: none;
}
.carousel-window img, .carousel-window video {
  -webkit-user-drag: none;
}
.card-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.fraud-card {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  height: 500px;
  padding: 32px 24px 24px;
  border: 0;
  border-radius: var(--blu-radius);
  background: var(--blu-surface);
  overflow: hidden;
  scroll-snap-align: start;
}
.fraud-card-label {
  font-size: 14px;
  line-height: 14px;
  color: var(--blu-blue-light);
  font-weight: 900;
}
.fraud-card h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.fraud-card-visual {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  height: 350px;
  background: radial-gradient(
    ellipse at center,
    rgba(147, 188, 240, 0.2),
    rgba(147, 188, 240, 0) 70%
  );
}
.art-crop {
  position: absolute;
  overflow: hidden;
}
.art-crop img {
  position: absolute;
  max-width: none;
}
.art-hook {
  width: 205px;
  height: 206px;
  left: 61px;
  top: 76.28px;
  transform: rotate(-4.69deg);
}
.art-hook img {
  width: 114.15%;
  height: 113.87%;
  left: -14.15%;
  top: -5.96%;
}
.art-money {
  width: 163px;
  height: 209px;
  left: 85px;
  top: 71px;
}
.art-money img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-ban {
  position: absolute;
  width: 90px;
  height: 90px;
  left: 72px;
  top: 91px;
  object-fit: cover;
}
.art-identity {
  width: 230px;
  height: 186px;
  left: 45px;
  top: 72px;
}
.art-identity img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-receipt {
  width: 161px;
  height: 206px;
  left: 79px;
  top: 72px;
}
.art-receipt img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: bottom;
}
.art-phone {
  width: 142px;
  height: 198px;
  left: 94px;
  top: 73px;
  transform: rotate(170.31deg) scaleY(-1);
}
.art-phone img {
  width: 100%;
  height: 100%;
  object-position: bottom;
}
.art-account {
  width: 216px;
  height: 216px;
  left: 52px;
  top: 62px;
}
.art-account img {
  width: 115.71%;
  height: 115.33%;
  left: -10.95%;
  top: -7.67%;
}
.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  width: 32px;
  height: 32px;
  background: var(--blu-blue);
  color: var(--blu-bg);
}
.round-button:hover {
  background: var(--blu-blue-light);
}
.card-more {
  position: absolute;
  bottom: 24px;
  left: 24px;
}
.carousel-controls {
  direction: ltr;
  display: flex;
  align-items: center;
  margin-top: 40px;
  height: 40px;
}
.carousel-control {
  border: 0;
  padding: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  color: var(--blu-muted);
}
.carousel-control:hover {
  color: var(--blu-secondary);
}
.carousel-control:disabled {
  opacity: 0.5;
  cursor: default;
}
.carousel-control .mask-icon {
  width: 40px;
  height: 40px;
  display: block;
}

/* Four security reminders and their original connector layers. */
.security-section {
  margin-top: 80px;
  height: 558px;
}
.security-section .section-title {
  text-align: center;
}
.security-layout {
  direction: ltr;
  position: relative;
  width: 840px;
  height: 440px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: 240px 360px 240px;
  grid-template-rows: 200px 200px;
  gap: 40px 0;
}
.security-tip {
  direction: rtl;
  position: relative;
  border: 1px solid var(--blu-surface);
  border-radius: var(--blu-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.security-tip p {
  width: 202px;
  font-size: 16px;
  line-height: 24px;
}
.security-tip::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    var(--tip-direction, 270deg),
    var(--tip-color),
    transparent
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.tip-payment {
  --tip-color: #ff627f29;
}
.tip-transfer {
  --tip-color: #307fe233;
}
.tip-key {
  --tip-color: #7b70bc4d;
  --tip-direction: 90deg;
}
.tip-card {
  --tip-color: #00bd9233;
  --tip-direction: 90deg;
}
.tip-payment {
  grid-area: 1 / 1;
  align-items: flex-start;
}
.tip-transfer {
  grid-area: 2 / 1;
  align-items: flex-start;
}
.tip-key {
  grid-area: 1 / 3;
  align-items: flex-end;
}
.tip-card {
  grid-area: 2 / 3;
  align-items: flex-end;
}
.security-tip img {
  width: 40px;
  height: 40px;
}
.shield-visual {
  position: absolute;
  left: 245px;
  top: 45px;
  width: 350px;
  height: 350px;
  pointer-events: none;
}
.shield-crop {
  position: absolute;
  width: 180px;
  height: 219px;
  left: 85px;
  top: 66px;
  overflow: hidden;
}
.shield-crop img {
  position: absolute;
  width: 142.86%;
  height: 117.07%;
  max-width: none;
  left: -21.43%;
  top: -7.8%;
}
.shield-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.connector {
  position: absolute;
  left: -9px;
  top: 51px;
}
.connector-top-right {
  left: 175px;
  transform: rotate(180deg) scaleY(-1);
}
.connector-bottom-left {
  top: 174px;
  transform: scaleY(-1);
}
.connector-bottom-right {
  top: 174px;
  left: 175px;
  transform: rotate(180deg);
}

/* Security feature videos */
.features-section {
  margin-top: 160px;
}
.features-section .section-title {
  text-align: center;
}
.feature-card {
  clip-path: inset(0 round var(--blu-radius));
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  height: 500px;
  overflow: hidden;
  border-radius: var(--blu-radius);
  scroll-snap-align: start;
  background: var(--blu-surface);
}
.feature-card > .feature-media {
  position: absolute;
  width: 400px;
  height: 500px;
  left: -40px;
  top: 0;
  object-fit: cover;
}
.feature-fade {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
}
.feature-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, var(--blu-surface) 90%);
}
.feature-card-footer {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-card h3 {
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
}
.play-button {
  background: var(--blu-text);
  color: #253035;
}
.play-button:hover { background: #fff; }

/* FAQ — Bootstrap collapse handles keyboard and expanded state. */
.faq-section {
  margin-top: 80px;
  min-height: 610px;
  display: grid;
  grid-template-columns: 455px 552px;
  grid-template-areas: "intro list" "action list";
  grid-template-rows: auto 1fr;
  justify-content: space-between;
  align-items: start;
}
.faq-intro { grid-area: intro; }
.faq-intro > p {
  margin-top: 64px;
  color: var(--blu-secondary);
  font-size: 24px;
  line-height: 31px;
}
.faq-all {
  grid-area: action;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blu-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 14px 0;
  margin-top: 10px;
}
.faq-list {
  grid-area: list;
  min-width: 0;
}
.faq-item + .faq-item {
  margin-top: 40px;
}
.faq-question {
  padding: 3px 0;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: right;
  font-weight: 900;
  font-size: 20px;
  line-height: 30px;
}
.faq-question .mask-icon {
  color: var(--blu-secondary);
  margin: 6px;
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"] .mask-icon {
  color: var(--blu-blue);
  transform: rotate(180deg);
}
.faq-answer-inner {
  padding-top: 32px;
  font-size: 16px;
  line-height: 24px;
}
.faq-item:not(:last-child):has(.faq-question[aria-expanded="true"]) {
  padding-bottom: 40px;
  box-shadow: inset 0 -1px #343e4c;
}
.faq-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.faq-steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.faq-step-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}
.faq-steps p {
  flex: 1;
}
.faq-answer a {
  color: var(--blu-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Download and footer spacing follow the desktop frame. */
.download-section {
  margin-top: 160px;
  height: 420px;
  position: relative;
}
.download-curve {
  position: absolute;
  z-index: -1;
  top: 180px;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: max(2000px, 150vw);
  height: auto;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--blu-surface);
}
.download-section {
  isolation: isolate;
  overflow-x: clip;
}
.download-banner {
  position: relative;
  height: 420px;
}
.download-banner-base {
  position: absolute;
  inset: 106px 0 0;
  border-radius: 24px;
  overflow: hidden;
  background: #307fe2 url("../aml/download-pattern.svg") center center / 1128px
    auto no-repeat;
}
.download-art {
  position: absolute;
  left: 0;
  top: 0;
  width: 532px;
  height: 420px;
  object-fit: cover;
}
.download-copy {
  position: absolute;
  right: 80px;
  top: 171px;
  text-align: right;
  color: #fff;
}
.download-copy h2 {
  font-size: 40px;
  line-height: 56px;
  font-weight: 900;
}
.download-copy p {
  font-size: 18px;
  line-height: 32px;
  margin-top: 16px;
}
.download-copy .btn {
  margin-top: 24px;
  border-radius: 10px;
  height: 56px;
  font-size: 16px;
  font-weight: 900;
  padding: 12px 20px;
}
/* Dialog states from the AML modal frames. */
#detail-modal.fade .modal-dialog { transform: translateY(-50%); }
.modal {
  --bs-modal-bg: var(--blu-surface);
  --bs-modal-color: var(--blu-text);
  --bs-modal-border-color: var(--blu-border);
  --bs-modal-border-radius: 24px;
}
#detail-modal .modal-dialog {
  top: 50%;
  width: fit-content;
  max-width: min(936px, calc(100% - 48px));
  margin: 0 auto;
  height: auto;
  max-height: min(960px, calc(100vh - 48px));
  max-height: min(960px, calc(100dvh - 48px));
}
.modal-backdrop {
  --bs-backdrop-bg: rgba(27, 32, 40, 0.8);
  --bs-backdrop-opacity: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal-content {
  border: 0;
}
.modal-header {
  align-items: flex-start;
  border-bottom: 0;
  padding: 32px 40px 0;
  gap: 24px;
}
.modal-title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 900;
}
.dialog-close {
  background: transparent;
  border: 1px solid var(--blu-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 32px;
  color: var(--blu-muted);
}
.dialog-close:hover {
  color: var(--blu-text);
}
.modal-body {
  padding: 24px 40px 40px;
}
#detail-modal { overflow: hidden; }
#detail-modal .modal-content {
  max-height: inherit;
  overflow: hidden;
  border-radius: 24px;
}
#detail-modal .modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--blu-muted) transparent;
  flex: 0 1 auto;
}
#detail-modal .modal-scroll:focus-visible {
  outline: 2px solid var(--blu-blue);
  outline-offset: -4px;
}
#detail-modal .modal-header {
  display: block;
  padding: 64px 64px 40px;
}
#detail-modal .modal-heading {
  min-width: 0;
}
#detail-modal .modal-title {
  font-size: 32px;
  line-height: 38px;
  font-weight: 900;
}
/* The close control stays inside the panel, outside its scrolling content. */
#detail-modal .dialog-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
}
#detail-modal .dialog-close img { display: block; transition: filter 150ms ease; }
#detail-modal .dialog-close:hover { background: transparent; }
#detail-modal .dialog-close:hover img { filter: brightness(1.15); }
#detail-modal .modal-body {
  padding: 0 64px 64px;
}
.modal-category {
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  color: var(--blu-secondary);
  margin-bottom: 24px;
}
.modal-description {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  margin-top: 24px;
  white-space: pre-line;
}
#detail-modal[data-mode="feature"] .modal-category,
#detail-modal[data-mode="feature"] .modal-description {
  display: none;
}
.modal-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.modal-tip {
  min-width: 0;
  min-height: var(--tip-min-height);
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--blu-bg);
  border-radius: 16px;
}
.modal-tip-icon {
  display: block;
  align-self: flex-start;
  flex: 0 0 auto;
}
.modal-tip-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-top: 40px;
}
.modal-tip h3 {
  font-size: 24px;
  line-height: var(--tip-title-leading, 24px);
  font-weight: 700;
}
.modal-tip-wide {
  grid-column: 1 / -1;
}
.modal-tip-wide .modal-tip-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.modal-tip-wide .modal-tip-copy,
.modal-tip-wide .modal-recommendation {
  flex: 1;
  min-width: 0;
}
.modal-tip-wide .modal-recommendation {
  margin-top: 0;
}
.modal-tip p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.modal-tip-copy > p {
  margin-top: 16px;
  color: var(--blu-muted);
}
.modal-recommendation {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  margin-top: 24px;
  padding: 16px;
  background: var(--blu-surface);
  border-radius: 8px;
}
.modal-recommendation::before {
  content: "";
  align-self: stretch;
  flex: 0 0 4px;
  background: #ff627f;
  border-radius: 8px;
}
.modal-recommendation-copy {
  flex: 1;
  min-width: 0;
}
.modal-recommendation h4 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}
.modal-recommendation p {
  color: var(--blu-secondary);
}
.feature-preview {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(560px, calc(100vh - 240px));
  max-height: min(560px, calc(100dvh - 240px));
  margin-inline: auto;
  object-fit: contain;
  border-radius: 8px;
}
#detail-modal[data-mode="feature"] .modal-dialog {
  max-width: min(608px, calc(100% - 48px));
}
.form-control {
  background: var(--blu-bg);
  color: var(--blu-text);
  border-color: var(--blu-border);
}
.form-control:focus {
  background: var(--blu-bg);
  color: var(--blu-text);
  border-color: var(--blu-blue);
  box-shadow: none;
}
.form-control::placeholder {
  color: var(--blu-muted);
}
body {
  overflow-x: clip;
}

/* Small screens keep the same artwork, content and section order. */
@media (max-width: 1199.98px) {
  .carousel-window {
    margin-left: -24px;
    padding-left: 24px;
  }
  .hero h1,
  .hero-subtitle {
    font-size: 34px;
  }
  .hero-visual img {
    left: 0;
    max-width: 100%;
    object-fit: contain;
  }
  .notice-banner {
    padding-inline: 40px;
  }
  .notice-copy p {
    font-size: 21px;
  }
  .section-title {
    font-size: 34px;
  }
  .faq-section {
    grid-template-columns: 40% 49%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Mobile AML frame (393px): the same content arranged in its Figma order. */

@media (max-width: 767.98px) {
  .container {
    width: calc(100% - 40px);
  }
  .section-title {
    font-size: 28px;
    line-height: 38px;
  }
  .site-header,
  .site-header .navbar {
    height: 64px;
  }
  .nav-main {
    gap: 14px;
  }
  .nav-actions .btn-outline {
    display: none;
  }
  .nav-actions .btn {
    height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }




  .hero {
    height: 990px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero-copy {
    margin-top: 128px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .hero-subtitle {
    font-size: 26px;
    line-height: 38px;
  }
  .hero-description {
    margin-top: 32px;
    font-size: 16px;
    line-height: 26px;
  }
  .hero-copy .btn {
    margin-top: 32px;
  }
  .hero-visual {
    flex: 1;
    width: 100%;
    min-height: 450px;
  }
  .hero-visual img {
    width: 350px;
    height: 501px;
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
    top: 32px;
  }
  .hero-fade {
    height: 160px;
  }
  .notice-banner {
    margin-top: -48px;
    height: auto;
    min-height: 242px;
    padding: 24px;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px 0;
  }
  .notice-art {
    width: 104px;
    height: 104px;
    margin-right: -12px;
  }
  .notice-art img {
    width: 100px;
    height: 100px;
  }
  .notice-copy {
    margin: 0;
  }
  .notice-copy h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .notice-copy p {
    font-size: 18px;
    line-height: 28px;
    margin-top: 8px;
  }
  .notice-banner .btn {
    grid-column: 2;
    justify-self: start;
    height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .fraud-section {
    margin-top: 80px;
  }
  .section-description {
    font-size: 18px;
    line-height: 28px;
    margin-top: 16px;
  }
  .carousel-shell {
    margin-top: 40px;
  }
  .carousel-window {
    margin-left: -20px;
    padding-left: 20px;
  }
  .card-track {
    gap: 16px;
  }
  .fraud-card,
  .feature-card {
    flex-basis: 280px;
    width: 280px;
  }
  .fraud-card h3 {
    font-size: 22px;
  }
  .fraud-card-visual {
    left: -20px;
  }
  .carousel-controls {
    margin-top: 24px;
  }
  .security-section {
    margin-top: 80px;
    height: auto;
  }
  .security-layout {
    width: 100%;
    height: auto;
    margin-top: 40px;
    padding-top: 270px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .security-tip {
    min-height: 220px;
    padding: 16px;
    align-items: flex-start;
  }
  .security-tip p {
    width: auto;
    font-size: 14px;
    line-height: 24px;
  }
  .tip-payment {
    grid-area: 1 / 1;
  }
  .tip-transfer {
    grid-area: 2 / 1;
  }
  .tip-key {
    grid-area: 1 / 2;
  }
  .tip-card {
    grid-area: 2 / 2;
  }
  .shield-visual {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
  }
  .connector {
    display: none;
  }
  .features-section {
    margin-top: 100px;
  }
  .feature-card > .feature-media {
    left: -60px;
  }
  .feature-card h3 {
    font-size: 21px;
  }
  .faq-section {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 0;
  }
  .faq-intro > p {
    font-size: 18px;
    line-height: 28px;
    margin-top: 24px;
  }
  .faq-all {
    margin-top: 8px;
  }
  .faq-list {
    width: 100%;
  }
  .faq-question {
    font-size: 18px;
    line-height: 28px;
  }
  .faq-item + .faq-item {
    margin-top: 32px;
  }
  .faq-steps li {
    gap: 12px;
  }
  .download-section {
    margin-top: 100px;
    height: auto;
    min-height: 600px;
  }
  .site-footer {
    margin-top: 64px;
  }
  .download-curve {
    top: 250px;
    bottom: -64px;
    width: 150%;
    height: auto;
  }
  .download-banner {
    height: 600px;
  }
  .download-banner-base {
    top: 0;
    border-radius: 16px;
    background-size: auto 100%;
  }
  .download-art {
    width: 380px;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .download-copy {
    left: 24px;
    right: 24px;
    top: 40px;
    text-align: center;
  }
  .download-copy h2 {
    font-size: 28px;
    line-height: 42px;
  }
  .download-copy p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 28px;
  }
  .download-copy .btn {
    margin-top: 20px;
  }
  .modal-header {
    padding: 24px 24px 0;
  }
  .modal-body {
    padding: 24px;
  }
  .modal-title {
    font-size: 24px;
    line-height: 34px;
  }
  .modal-tip-grid {
    grid-template-columns: 1fr;
  }
  #detail-modal .modal-dialog {
    max-width: calc(100% - 24px);
    max-height: min(960px, calc(100vh - 24px));
    max-height: min(960px, calc(100dvh - 24px));
  }
  #detail-modal[data-mode="feature"] .modal-dialog {
    max-width: min(608px, calc(100% - 24px));
  }
  #detail-modal .dialog-close {
    top: 12px;
    left: 12px;
  }
  #detail-modal .modal-header {
    padding: 72px 24px 32px;
  }
  #detail-modal .modal-body {
    padding: 0 24px 24px;
  }
  #detail-modal .modal-title {
    font-size: 24px;
    line-height: 29px;
  }
  #detail-modal .modal-description {
    font-size: 12px;
    line-height: 19px;
    white-space: normal;
  }
  .modal-tip {
    min-height: var(--tip-mobile-min-height, 0);
    order: var(--tip-mobile-order, 0);
  }
  .modal-tip h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .modal-tip p {
    font-size: 12px;
    line-height: 19px;
  }
  .modal-recommendation h4 {
    font-size: 14px;
    line-height: 24px;
  }
  .modal-tip-wide .modal-tip-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .modal-tip-wide .modal-tip-copy {
    flex: 0 0 auto;
  }
  .modal-tip-wide .modal-recommendation {
    margin-top: 0;
  }

  .container {
    width: calc(100% - 48px);
  }
  .site-header .navbar {
    padding-top: 12px;
  }
  .nav-actions {
    direction: ltr;
  }

  .nav-actions .btn-blue {
    order: 1;
    background: var(--blu-surface);
    color: var(--blu-blue);
    height: 40px;
    font-size: 14px;
    padding: 10px 16px;
  }

  .hero {
    height: 950px;
  }
  .hero-copy {
    margin-top: 152px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 42px;
  }
  .hero-subtitle {
    font-size: 28px;
    line-height: 42px;
    margin-top: -4px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 24px;
    margin-top: 24px;
  }
  .hero-copy .btn {
    margin-top: 24px;
    height: 40px;
    min-width: 119px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 20px;
  }
  .hero-visual {
    position: absolute;
    left: 0;
    right: 0;
    top: 475px;
    height: 438px;
    min-height: 0;
  }
  .hero-visual img {
    width: 305px;
    height: 438px;
    top: 0;
    left: 50%;
  }
  .hero-fade {
    height: 200px;
  }
  .notice-banner {
    margin-top: -70px;
    height: 140px;
    min-height: 0;
    padding: 20px;
    display: block;
  }
  .notice-art {
    position: absolute;
    top: 4px;
    left: 0;
    width: 140px;
    height: 140px;
    margin: 0;
  }
  .notice-art img {
    width: 132px;
    height: 132px;
  }
  .notice-copy {
    position: relative;
    margin: 0;
  }
  .notice-copy h2 {
    font-size: 20px;
    line-height: 26px;
  }
  .notice-copy p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0;
  }
  .notice-banner .btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    height: 28px;
    padding: 6px 10px;
    font-size: 10px;
    gap: 2px;
  }
  .notice-banner .btn .mask-icon {
    width: 16px;
    height: 16px;
  }
  .fraud-section {
    margin-top: 120px;
  }
  .section-title {
    font-size: 28px;
    line-height: 42px;
  }
  .section-description {
    font-size: 20px;
    line-height: 30px;
    margin-top: 8px;
  }
  .carousel-shell {
    margin-top: 64px;
  }
  .carousel-window {
    margin-left: -24px;
    padding-left: 24px;
  }
  .card-track {
    gap: 24px;
  }
  .fraud-card,
  .feature-card {
    height: 450px;
    flex-basis: 280px;
    width: 280px;
  }
  .fraud-card h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .fraud-card-visual {
    bottom: -25px;
    transform: scale(0.875);
    transform-origin: center center;
  }
  .carousel-controls {
    margin-top: 40px;
  }
  .security-section {
    margin-top: 120px;
  }
  .security-layout {
    height: 606px;
    padding: 0;
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 143px 1fr 143px;
    gap: 0 17px;
  }
  .security-tip {
    min-height: 0;
    height: 143px;
    padding: 14px;
    align-items: flex-start;
  }
  .security-tip p {
    font-size: 12px;
    line-height: 19px;
  }
  .security-tip > img {
    width: 32px;
    height: 32px;
  }
  .tip-key {
    grid-area: 1 / 2;
  }
  .tip-transfer {
    grid-area: 1 / 1;
  }
  .tip-payment {
    grid-area: 3 / 2;
  }
  .tip-card {
    grid-area: 3 / 1;
  }
  .shield-visual {
    top: 161px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    transform-origin: top center;
  }
  .features-section {
    margin-top: 120px;
  }
  .features-section .section-title {
    line-height: 36px;
  }
  .feature-card > .feature-media {
    width: 360px;
    height: 450px;
    left: -40px;
  }
  .feature-card h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .faq-section {
    margin-top: 120px;
    min-height: 0;
    gap: 64px;
  }
  .faq-intro > p {
    font-size: 20px;
    line-height: 30px;
    margin-top: 40px;
  }
  .faq-all {
    margin-top: 8px;
    padding: 8px 0;
  }
  .faq-question {
    font-size: 18px;
    line-height: 27px;
  }
  .faq-answer-inner {
    font-size: 14px;
    line-height: 24px;
  }
  .faq-item + .faq-item {
    margin-top: 40px;
  }
  .download-section {
    margin-top: 80px;
    min-height: 0;
    height: 519px;
  }
  .download-banner {
    height: 519px;
  }
  .download-art {
    width: 345px;
    height: 273px;
  }
  .download-copy {
    top: 32px;
  }
  .site-footer {
    margin-top: 14px;
  }

  .download-section {
    overflow-x: clip;
    overflow-y: visible;
  }
}
@media (max-width: 359.98px) {
  .nav-actions .btn-blue {
    font-size: 12px;
    padding-inline: 10px;
  }
  .notice-copy p {
    max-width: 170px;
    font-size: 11px;
    margin-right: auto;
  }
  .hero h1,
  .hero-subtitle {
    font-size: 25px;
  }
  .security-tip {
    padding: 10px;
  }
  .security-tip p {
    font-size: 11px;
    line-height: 18px;
  }
}

/* Whole-card pointer controls retain the native button's keyboard access. */
.fraud-card, .feature-card { cursor: pointer; }
.fraud-card:focus-within, .feature-card:focus-within {
  outline: 2px solid var(--blu-blue);
  outline-offset: -2px;
}
.mobile-connector { display: none; }

/* Compact footer based on blubank.com/deep-dive, using this page's dark palette. */
.site-footer {
  margin-top: 85px;
  padding: 40px 0 28px;
  background: var(--blu-surface);
  color: var(--blu-secondary);
  position: relative;
}
.footer-contact-row,
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-contact-row { padding-bottom: 28px; }
.footer-contact-row address,
.footer-contact-row address p { display: flex; align-items: center; gap: 12px; margin: 0; }
.footer-contact-row address { font-style: normal; font-size: 12px; flex-wrap: wrap; gap: 20px; }
.footer-contact-row address p:first-child { order: 1; }
.footer-contact-row address a { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.footer-contact-row .mask-icon { width: 22px; height: 22px; flex-shrink: 0; }
.contact-divider,
.footer-separator,
.policy-links span { width: 1px; height: 12px; background: #455461; flex-shrink: 0; }
.footer-bottom-row { border-top: 1px solid #34404c; padding-top: 24px; font-size: 11px; }
.copyright { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copyright strong { color: var(--blu-blue); font-weight: 700; }
.copyright p[dir="ltr"] { font-family: Arial, sans-serif; }
.social-links,
.policy-links { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.social-links a { display: flex; padding: 4px; border-radius: 6px; }
.social-links .mask-icon { width: 20px; height: 20px; }
.policy-links { gap: 20px; }

@media (max-width: 767px) {
  .mobile-connector { display: block; position: absolute; pointer-events: none; z-index: 1; }
  /* The SVGs include 2 px of space for the complete circle strokes. */
  .mobile-connector-top-left { top: 137px; left: calc(25% - 10.25px); }
  .mobile-connector-top-right { top: 137px; right: calc(25% - 10.25px); }
  .mobile-connector-bottom-left { bottom: 137px; left: calc(25% - 10.25px); }
  .mobile-connector-bottom-right { bottom: 137px; right: calc(25% - 10.25px); }
  .tip-card, .tip-key { --tip-direction: 0deg; }
  .tip-transfer, .tip-payment { --tip-direction: 180deg; }
  .tip-card { grid-area: 1 / 1; }
  .tip-transfer { grid-area: 3 / 1; }
  .site-footer { margin-top: 64px; padding: 32px 0; }
  .footer-contact-row,
  .footer-bottom-row { flex-direction: column; gap: 24px; }
  .footer-contact-row address { flex-direction: column; font-size: 12px; gap: 16px; }
  .footer-contact-row address p { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-contact-row address p:first-child { order: 0; }
  .copyright { justify-content: center; text-align: center; gap: 10px; }
  .copyright p[dir="ltr"] { order: 2; flex-basis: 100%; }
  .footer-separator { display: none; }
  .policy-links { order: -1; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .footer-contact-row { align-items: flex-start; }
  .footer-contact-row address { flex-direction: column; align-items: flex-start; }
  .footer-bottom-row { flex-wrap: wrap; }
}

/* Responsive marketing exports retain descriptive links and intrinsic dimensions. */
.marketing-banner { padding: 0; display: block; height: auto; min-height: 0; background: transparent; }
.marketing-banner picture, .marketing-banner img, .marketing-banner > a { display: block; width: 100%; }
.marketing-banner img { height: auto; }
.marketing-banner > a { border-radius: 16px; }
.carousel-window {
  /* Keep the cards aligned with the container, with overflow to both edges. */
  --carousel-gutter: max(24px, calc((100vw - var(--blu-container)) / 2));
  margin-inline: calc(-1 * var(--carousel-gutter));
  padding-inline: var(--carousel-gutter);
  scroll-padding-inline: var(--carousel-gutter);
}
@media (min-width: 768px) {
  .download-section { height: auto; }
}
@media (max-width: 767.98px) {
  .feature-fade { height: 120px; }
  .faq-section { gap: 64px; min-height: 0; }
  .faq-intro > p { font-size: 24px; line-height: 1.3; color: var(--blu-text); }
  .faq-question { font-size: 20px; line-height: 30px; }
  .faq-answer-inner { font-size: 16px; line-height: 24px; }
  .faq-steps li { gap: 24px; }
  .faq-all {
    margin: 0;
    padding: 12px 24px;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: var(--blu-surface);
    color: var(--blu-blue-light);
    font-size: 16px;
    line-height: 24px;
  }
  .faq-all:hover { background: #34404c; }
  .faq-all .mask-icon { width: 24px; height: 24px; }
  .download-section { height: auto; }
}
