/* Layout corrections requested against the supplied reference. */
.hero {
  height: 855px;
}

.hero-content {
  height: calc(100% - 238px);
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  width: max-content;
  max-width: 100%;
  overflow: visible;
  background: none;
  color: #fff;
  font-size: clamp(74px, 7vw, 104px);
  line-height: .91;
  letter-spacing: -.025em;
}

.hero h1 .express {
  display: inline-block;
  padding-right: .12em;
  background: linear-gradient(180deg, #ffe8b9 5%, #f1b86a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -.015em;
}

.hero-script {
  left: 32%;
  top: 0;
  width: clamp(210px, 19vw, 260px);
}

.hero-arrow {
  left: 49%;
  top: 8%;
}

.hero-benefits {
  height: 150px;
  padding-bottom: 65px;
}

/* One continuous image underneath the cards and personal section. */
.cream-flow {
  background: linear-gradient(#ffffff2b, #ffffff2b),
    #fbf9f6 url('assets/light-flow.png') center top / 100% 100% no-repeat;
}

.cream-flow .accounts,
.cream-flow .features,
.cream-flow .personal-feature {
  background: transparent;
}

.personal-visual {
  height: 510px;
}

.personal-visual .showcase-phone {
  width: 61%;
  right: 14%;
  top: -28px;
}

.personal-visual .showcase-card {
  width: 37%;
  right: 2%;
  bottom: 0;
  transform: rotate(-10deg);
}

.personal-visual img.pay-badge {
  position: absolute;
  z-index: 3;
  display: block;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(2px 11px 10px #57463633);
}

.personal-visual .apple-badge {
  width: 151px;
  left: 9%;
  top: 48%;
  transform: perspective(500px) rotateY(-14deg) rotateZ(-11deg);
}

.personal-visual .google-badge {
  width: 145px;
  left: 13%;
  top: 66%;
  transform: perspective(500px) rotateY(-11deg) rotateZ(-8deg);
}

.dashboard-visual {
  display: block;
  height: 500px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #0b1012;
  box-shadow: 0 22px 48px #000b;
}

.dashboard-visual img.dashboard-render {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.global-section {
  background: #faf8f5;
}

.global-inner {
  min-height: 265px;
}

.global-inner > img.world-map-art {
  width: 85%;
  height: 100%;
  right: -2%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  opacity: 1;
}

.global-copy {
  width: 63%;
  background: linear-gradient(90deg, #faf8f5 0%, #faf8f5 53%, #faf8f500 100%);
}

.merchant-logos {
  gap: 16px;
  min-height: 32px;
}

.merchant-logos img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 75px;
  object-fit: contain;
}

.merchant-logos img.brand-google {
  height: 23px;
  width: 67px;
}

.merchant-logos small {
  color: #727478;
}

.security-section {
  background: radial-gradient(ellipse at 15% 86%, #38230e88, transparent 33%),
    linear-gradient(90deg, #070b0ded, #070b0df7),
    url('assets/hero-composite.png') center 64% / cover no-repeat;
}

.security-inner {
  grid-template-columns: 23% 37% 40%;
  min-height: 265px;
  gap: 0;
}

.security-inner > img.security-art {
  width: 100%;
  height: 265px;
  object-fit: contain;
  object-position: bottom left;
  transform: scale(1.2);
  transform-origin: bottom left;
}

.security-copy {
  padding-left: 10px;
}

.security-grid {
  gap: 12px;
  padding-left: 10px;
}

.security-grid span {
  gap: 12px;
  min-height: 78px;
  border: 1px solid #343538;
  border-radius: 8px;
  background: radial-gradient(circle at 90% 0, #4e382331, transparent 60%),
    linear-gradient(125deg, #171d20, #101619);
  box-shadow: inset 0 1px 0 #ffffff0c, 0 2px 12px #0003;
  color: #e5e7e8;
  font-size: 13px;
  line-height: 1.25;
}

.security-grid svg {
  width: 27px;
  height: 27px;
  flex: none;
  fill: none;
  stroke: #e8b351;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-grid a:not(.brand),
.footer-grid div > span:not(.brand-mark) {
  line-height: 1.85;
}

.footer-grid a:not(.brand) {
  transition: color .18s ease;
}

.footer-grid div > span:not(.brand-mark) {
  transition: color .18s ease;
}

.footer-grid a:not(.brand):hover,
.footer-grid div > span:not(.brand-mark):hover {
  color: #f0c078;
}

.socials {
  gap: 17px;
  align-items: center;
}

.socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform .18s ease, filter .18s ease;
}

.socials img:hover {
  transform: translateY(-2px);
  filter: brightness(1.3);
}

@media (max-width: 1150px) {
  .hero-script { left: 35%; width: 210px; }
  .hero-arrow { left: 55%; }
  .merchant-logos { gap: 11px; }
  .merchant-logos img { height: 22px; max-width: 59px; }
  .merchant-logos img.brand-google { height: 19px; width: 56px; }
}

@media (max-width: 800px) {
  .hero { height: auto; min-height: 815px; }
  .hero-content { height: auto; min-height: 570px; }
  .hero-benefits {
    height: auto;
    min-height: 170px;
    padding: 12px 0 48px;
    align-items: center;
  }
  .hero h1 { font-size: clamp(67px, 10vw, 84px); }
  .hero-script { left: auto; right: 0; top: 8px; width: 185px; }
  .cream-flow { background-size: 100% 100%; }
  .personal-visual .showcase-phone { width: 60%; right: 19%; top: -18px; }
  .personal-visual .showcase-card { width: 39%; right: 2%; bottom: 1%; }
  .personal-visual .apple-badge { left: 12%; top: 48%; width: 133px; }
  .personal-visual .google-badge { left: 15%; top: 66%; width: 125px; }
  .dashboard-visual { height: 425px; }
  .global-inner { min-height: 315px; }
  .global-copy { width: 82%; }
  .security-inner { grid-template-columns: 25% 1fr; gap: 12px; padding-block: 20px; }
  .security-inner > img.security-art { height: 175px; transform: scale(1.05); }
  .security-grid { grid-column: 1 / -1; padding-left: 0; }
}

@media (max-width: 530px) {
  .hero { min-height: 795px; }
  .hero-content { min-height: 535px; }
  .hero h1 { font-size: clamp(52px, 11.5vw, 70px); letter-spacing: -.02em; }
  .hero-script, .hero-arrow { display: none; }
  .hero-benefits { min-height: 170px; padding-bottom: 48px; }
  .personal-visual { height: 365px; }
  .personal-visual .showcase-phone { width: 77%; right: 13%; top: -8px; }
  .personal-visual .showcase-card { width: 43%; right: 0; bottom: 1%; }
  .personal-visual .apple-badge { width: 99px; left: 2%; top: 46%; }
  .personal-visual .google-badge { width: 91px; left: 5%; top: 65%; }
  .dashboard-visual { height: 330px; }
  .global-inner { min-height: 370px; align-items: start; }
  .global-copy {
    width: 100%;
    padding: 30px 0 185px;
    background: linear-gradient(#faf8f5 0%, #faf8f5ea 65%, transparent);
  }
  .global-inner > img.world-map-art {
    width: 100%;
    height: 185px;
    top: auto;
    bottom: 0;
    right: 0;
    object-position: 74% center;
  }
  .merchant-logos { gap: 11px; }
  .merchant-logos img { height: 21px; max-width: 42px; }
  .merchant-logos img.brand-google { height: 17px; width: 51px; }
  .security-inner { grid-template-columns: 108px 1fr; gap: 8px; }
  .security-inner > img.security-art { height: 155px; transform: scale(1.05); }
  .security-copy { padding-left: 0; }
  .security-grid { gap: 8px; }
  .security-grid span { min-height: 68px; padding: 8px; gap: 7px; font-size: 11px; }
  .security-grid svg { width: 22px; height: 22px; }
}

/* The pale texture is shared by the account, feature and personal sections. */
.cream-flow {
  background-image: linear-gradient(#fbf9f69c, #fbf9f69c), url('assets/light-flow.png');
}

.personal-visual .showcase-phone {
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
}

.personal-visual .showcase-card {
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

.personal-visual img.pay-badge {
  height: auto;
  object-fit: contain;
  filter: none;
}

.personal-visual .apple-badge {
  transform: rotate(-9deg);
}

.personal-visual .google-badge {
  transform: rotate(-6deg);
}

/* One faint map texture spans the strip at every viewport width. */
.global-section {
  position: relative;
  isolation: isolate;
  background: #faf8f5;
}

.global-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('assets/world-map-refined.png') right center / cover no-repeat;
  opacity: .17;
  pointer-events: none;
}

.global-inner {
  z-index: 1;
  min-height: 285px;
}

.global-copy {
  width: 70%;
  background: none;
}

/* Keep the complete shield and its rocky base inside the section. */
.security-inner {
  min-height: 275px;
  align-items: end;
}

.security-inner > img.security-art {
  display: block;
  width: clamp(140px, 33vw, 440px);
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: bottom left;
  align-self: end;
  transform: none;
  margin-left: 0;
  margin-bottom: -8px;
}

.security-copy, .security-grid {
  align-self: center;
}

.drawer-heading, .drawer-actions, .nav-backdrop {
  display: none;
}

@media (max-width: 900px) and (min-width: 600px) {
  .personal-feature .split {
    grid-template-columns: 52% 48%;
    gap: 8px;
    min-height: 480px;
    width: min(100% - 52px, 900px);
  }

  .personal-feature .section-copy {
    padding: 48px 0;
  }

  .personal-feature .section-copy h2 {
    font-size: clamp(32px, 4vw, 42px);
  }

  .personal-visual {
    height: 405px;
    min-width: 0;
  }

  .personal-visual .showcase-phone {
    width: 80%;
    right: 12%;
    top: 0;
  }

  .personal-visual .showcase-card {
    width: 49%;
    right: 0;
    bottom: 5%;
  }

  .personal-visual .apple-badge {
    width: 103px;
    left: 0;
    top: 47%;
  }

  .personal-visual .google-badge {
    width: 98px;
    left: 5%;
    top: 64%;
  }
}

@media (max-width: 1180px) {
  body.drawer-open {
    overflow: hidden;
  }

  .nav {
    z-index: 70;
  }

  .nav-actions {
    margin-right: 25px;
  }

  .nav-actions > .button {
    display: none;
  }

  .nav-actions .language-switcher {
    margin: 0;
  }

  .nav-actions .lang {
    min-height: 44px;
    padding: 7px 4px;
    gap: 8px;
    font-size: 14px;
  }

  .nav-actions .lang svg {
    width: 20px;
    height: 20px;
  }

  .nav-actions .lang .lang-chevron {
    width: 13px;
    height: 13px;
  }

  .menu-toggle {
    display: flex;
    z-index: 72;
    position: relative;
    flex: none;
    order: 3;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px;
    background: #0b1010ba;
    border: 1px solid #6b6356;
    border-radius: 6px;
  }

  .menu-toggle span {
    display: block;
    flex: none;
    width: 21px;
    height: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links,
  .nav-links.open {
    display: flex;
    position: fixed;
    z-index: 71;
    inset: 0 0 0 auto;
    width: min(86vw, 390px);
    height: 100vh;
    height: 100dvh;
    padding: 83px 27px 30px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(160deg, #11191c 0%, #080c0f 70%);
    box-shadow: -22px 0 70px #0009;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 17px;
    font-weight: 400;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(102%);
    transition: transform .32s ease, visibility .32s ease;
  }

  .nav-links.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links a:not(.button) {
    padding: 16px 3px;
    border-bottom: 1px solid #ffffff20;
  }

  .drawer-heading {
    display: block;
    margin-bottom: 19px;
    color: #e7bb75;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
  }

  .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 29px;
  }

  .drawer-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    z-index: 60;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #020405ad;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-open .nav .brand,
  .drawer-open .nav-actions {
    pointer-events: none;
  }
}

@media (max-width: 800px) {
  .global-inner {
    min-height: 340px;
  }

  .global-copy {
    width: 100%;
    padding: 34px 0 140px;
    background: none;
  }

}

@media (max-width: 530px) {
  .nav-actions {
    margin-right: 24px;
  }

  .nav-actions .lang {
    font-size: 14px;
    gap: 7px;
  }

  .nav-actions .lang svg {
    width: 19px;
    height: 19px;
  }

  .global-inner {
    min-height: 375px;
  }

  .global-copy {
    padding: 30px 0 182px;
    background: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  .nav-links, .nav-backdrop, .menu-toggle span {
    transition-duration: .01ms;
  }
}

/* Each dark section has its own artwork, separate from the hero. */
.business-feature {
  background: #080b0d url('assets/business-terrain.png') center center / cover no-repeat;
}

.business-feature::before {
  background: linear-gradient(90deg, #080b0ded 0%, #080b0dcf 51%, #080b0dc2 100%);
}

.security-section {
  background: #070b0d url('assets/security-texture.png') center center / cover no-repeat;
}

.footer::before {
  background: url('assets/footer-ridges.png') center center / cover no-repeat;
  opacity: .92;
  filter: none;
}

.footer::after {
  background: linear-gradient(90deg, #070b0de6 0%, #070b0dca 48%, #070b0d77 100%);
}

@media (max-width: 1180px) {
  .nav-links .drawer-actions .button-dark {
    background: #263137;
    border-color: #67737a;
    color: #fff;
  }

  .nav-links .drawer-actions .button-dark:hover {
    background: #303c42;
    color: #fff;
  }

  .nav-links .drawer-actions .button-gold,
  .nav-links .drawer-actions .button-gold:hover {
    color: #171511;
    background: linear-gradient(135deg, #fff0c5, #e9ad5c 82%);
  }
}

@media (max-width: 800px) {
  .global-section::before {
    opacity: .075;
  }

  .global-inner {
    z-index: 1;
    min-height: 285px;
  }

  .global-copy {
    width: 100%;
    padding: 34px 0;
    background: none;
  }
}

@media (max-width: 599px) {
  .personal-feature .split {
    grid-template-columns: minmax(0, 1fr) clamp(68px, 29vw, 160px);
    align-items: stretch;
    min-height: 0;
    gap: 0;
  }

  .personal-feature .section-copy {
    padding: 48px 0 55px;
  }

  .personal-feature .section-copy h2 {
    font-size: clamp(26px, 6.2vw, 35px);
  }

  .personal-visual {
    height: auto;
    min-height: 100%;
    margin: 0;
    align-self: stretch;
  }

  .personal-visual .showcase-phone {
    width: clamp(230px, 58vw, 320px);
    height: 440px;
    right: clamp(-168px, -30vw, -105px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .personal-visual .showcase-card {
    width: clamp(155px, 43vw, 220px);
    right: -85px;
    bottom: 22%;
  }

  .personal-visual .apple-badge {
    width: 94px;
    left: -4px;
    top: 50%;
  }

  .personal-visual .google-badge {
    width: 88px;
    left: 5px;
    top: 62%;
  }
}

@media (max-width: 530px) {
  .global-inner {
    min-height: 0;
  }

  .global-copy {
    padding: 34px 0;
  }
}

@media (max-width: 360px) {
  .personal-feature .split {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .personal-visual .showcase-phone {
    right: -168px;
  }

  .personal-visual .showcase-card {
    right: -96px;
  }

  .personal-visual .apple-badge {
    width: 83px;
    left: -2px;
  }

  .personal-visual .google-badge {
    width: 78px;
    left: 3px;
  }
}

/* Keep the left side dark so the rocky base meets the section floor. */
.security-section {
  position: relative;
  isolation: isolate;
  background: #070b0d;
}

.security-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('assets/security-texture.png') center center / cover no-repeat;
  transform: scaleX(-1);
  opacity: .18;
  pointer-events: none;
}

.security-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.security-inner > img.security-art {
  margin-bottom: -8px;
}

@media (max-width: 1180px) {
  .nav-links .drawer-actions .button-dark {
    color: #f5cb8d;
    background: transparent;
    border: 1px solid #cf995c;
    box-shadow: inset 0 1px 0 #f4cb8b1c;
  }

  .nav-links .drawer-actions .button-dark:hover {
    color: #ffe0ad;
    background: #c48b451b;
    border-color: #e2b276;
  }

  .nav-links .drawer-actions .button-gold,
  .nav-links .drawer-actions .button-gold:hover {
    color: #151311;
    border: 0;
    background: linear-gradient(to top, #d88d42 0%, #f2c587 58%, #ffedc2 100%);
  }
}

@media (max-width: 800px) {
  .global-section::before {
    opacity: .075;
  }

  .global-copy > p:not(.eyebrow) {
    color: #303438;
  }

  .security-inner {
    padding-bottom: 0;
  }

  .security-inner > img.security-art {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .security-grid {
    padding-bottom: 26px;
  }
}

@media (max-width: 599px) {
  .personal-visual .showcase-card,
  .personal-visual img.pay-badge {
    display: none;
  }
}

.faq-heading > div {
  min-width: 0;
}

.faq-heading > a {
  flex-shrink: 0;
  white-space: nowrap;
}
