/* Responsive layouts and mobile reading order */
@media (max-width: 1200px) {
  .site-header {
    gap: 18px;
    padding-inline: 30px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .header-actions {
    gap: 14px;
  }
  .hero {
    grid-template-columns: 1fr 0.9fr;
  }
  .hero-copy {
    padding-inline-start: 45px;
  }
  .hero h1 {
    font-size: clamp(64px, 7vw, 105px);
  }
  .hero-gallery {
    min-height: 695px;
  }
  .hero {
    min-height: 695px;
  }
  .hero-body > p:first-child {
    font-size: 17px;
  }
  .content-shell {
    width: calc(100% - 90px);
  }
  .why-layout {
    column-gap: 5%;
  }
}
@media (max-width: 960px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header {
    height: 78px;
  }
  .mobile-nav {
    top: 110px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 65px 7% 76px;
  }
  .hero h1 {
    font-size: clamp(76px, 11vw, 130px);
    margin-top: 40px;
  }
  .hero-body {
    max-width: 610px;
  }
  .hero-bottom {
    margin-top: 38px;
  }
  .hero-gallery {
    min-height: 580px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .photo-slot-one {
    height: 66%;
    width: 36%;
    top: 75px;
    left: 17%;
  }
  .photo-slot-two {
    height: 66%;
    width: 36%;
    bottom: 61px;
    right: 13%;
  }
  .swap-cross {
    top: 47%;
    left: 52%;
  }
  .why-layout {
    grid-template-columns: 1fr 360px;
    gap: 5%;
  }
  .why-layout > .section-meta {
    margin-bottom: 48px;
  }
  .why-photo {
    height: 520px;
  }
  .why-main .display-heading {
    font-size: clamp(60px, 7vw, 100px);
  }
  .why-description {
    margin-top: 50px;
  }
  .chat-layout {
    gap: 5%;
  }
  .chat-photo {
    height: 500px;
  }
  .chat-heading-area .display-heading {
    font-size: clamp(56px, 6.6vw, 90px);
  }
  .faq-layout {
    gap: 6%;
  }
  .download h2 {
    font-size: clamp(85px, 13.2vw, 168px);
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }
  .notice-strip {
    height: 28px;
    padding: 0 20px;
    font-size: 9px;
    gap: 10px;
  }
  .notice-end {
    display: none;
  }
  .notice-divider {
    height: 9px;
  }
  .site-header {
    height: 72px;
    padding-inline: 22px;
  }
  .mobile-nav {
    top: 100px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    height: 33px;
    width: 33px;
  }
  .header-actions {
    gap: 6px;
  }
  .lang-toggle {
    padding: 8px;
  }
  .content-shell {
    width: calc(100% - 42px);
  }
  .hero-copy {
    padding: 54px 24px 47px;
  }
  .hero h1 {
    font-size: clamp(66px, 12.65vw, 103px);
    margin-top: 31px;
    line-height: 0.96;
    letter-spacing: -0.085em;
  }
  .hero-bottom {
    margin-top: 32px;
    padding-top: 0;
  }
  .hero-body > p:first-child {
    font-size: 16px;
    max-width: 490px;
    line-height: 1.52;
  }
  .hero-links {
    margin-top: 25px;
    gap: 23px;
    flex-wrap: wrap;
  }
  .solid-cta {
    min-width: 182px;
    padding: 8px 9px 8px 17px;
    font-size: 14px;
  }
  .cta-icon {
    width: 42px;
    height: 42px;
  }
  .underlined-link {
    font-size: 13px;
  }
  .micro-proof {
    font-size: 9px;
    margin-top: 29px;
  }
  .hero-gallery {
    min-height: 390px;
  }
  .gallery-heading {
    top: 24px;
    inset-inline: 23px;
    font-size: 9px;
  }
  .photo-slot-one {
    width: 43%;
    height: 65%;
    top: 58px;
    left: 11%;
  }
  .photo-slot-two {
    width: 44%;
    height: 65%;
    bottom: 38px;
    right: 10%;
  }
  .swap-cross {
    font-size: 82px;
  }
  .gallery-footnote {
    bottom: 15px;
    inset-inline-start: 23px;
    font-size: 8px;
  }
  .slot-name {
    font-size: 17px;
  }
  .slot-number {
    font-size: 11px;
  }
  .photo-slot-content {
    gap: 11px;
  }
  .photo-slot small {
    font-size: 8px;
  }
  .statement-band {
    height: 70px;
  }
  .statement-scroll {
    font-size: 28px;
  }
  .why {
    padding-block: 85px 95px;
  }
  .why-layout {
    display: block;
  }
  .why-layout > .section-meta {
    margin-bottom: 43px;
  }
  .why-main .display-heading {
    font-size: clamp(60px, 11vw, 95px);
  }
  .why-description {
    margin-top: 36px;
    gap: 18px;
  }
  .why-description p {
    font-size: 17px;
    margin-bottom: 16px;
  }
  .why-photo {
    height: 450px;
    margin-top: 64px;
  }
  .why-photo .slot-name {
    font-size: 20px;
  }
  .how {
    padding-block: 85px 95px;
  }
  .how-head {
    display: block;
    margin: 52px 0 63px;
  }
  .how-head .display-heading {
    font-size: clamp(70px, 12.8vw, 105px);
  }
  .how-head p {
    margin-top: 28px;
    font-size: 16px;
  }
  .step-line {
    grid-template-columns: 55px 1fr 22px;
    gap: 10px 14px;
    align-items: start;
    padding: 28px 0 31px;
  }
  .step-line:hover {
    padding-inline: 0;
  }
  .step-line h3 {
    font-size: clamp(26px, 5.5vw, 40px);
  }
  .step-line p {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    max-width: 365px;
  }
  .step-number {
    font-size: 21px;
    grid-row: 1;
  }
  .step-arrow {
    grid-column: 3;
    grid-row: 1;
    font-size: 21px;
  }
  .chat {
    padding-top: 85px;
  }
  .chat-layout {
    display: block;
    padding-bottom: 75px;
  }
  .chat-heading-area .display-heading {
    font-size: clamp(59px, 11vw, 94px);
    margin-top: 49px;
  }
  .chat-heading-area > p {
    font-size: 17px;
    margin-top: 34px;
  }
  .chat-photo-area {
    padding-top: 70px;
  }
  .chat-photo {
    width: 67%;
    max-width: 360px;
    height: 510px;
    box-shadow: 19px 23px 0 var(--orange);
  }
  .chat-photo-note {
    margin-top: 50px;
    font-size: 11px;
  }
  .chat-tagline {
    font-size: clamp(19px, 5vw, 33px);
    padding: 15px 23px;
  }
  .chat-tagline span:last-child {
    font-size: 34px;
  }
  .faq {
    padding-block: 92px 105px;
  }
  .faq-layout {
    display: block;
  }
  .faq-heading .display-heading {
    font-size: clamp(58px, 10.7vw, 90px);
    margin-top: 50px;
  }
  .faq-list {
    margin-top: 51px;
  }
  .faq-item summary {
    font-size: 16px;
    padding: 23px 0;
  }
  .faq-item p {
    font-size: 14px;
  }
  .download {
    padding-block: 85px 105px;
    min-height: 0;
  }
  .download h2 {
    font-size: clamp(82px, 14vw, 118px);
    margin: 49px 0 43px;
  }
  .download-bottom {
    display: block;
  }
  .download-bottom > p {
    font-size: 18px;
    max-width: 510px;
  }
  .store-area {
    margin-top: 46px;
  }
  .store-links {
    gap: 10px;
  }
  .store-link {
    min-width: 150px;
    padding: 12px;
  }
  .store-link strong {
    font-size: 13px;
  }
  .download-asterisk {
    font-size: 460px;
    top: -70px;
    right: -110px;
  }
  .site-footer {
    padding-block: 60px 35px;
  }
  .footer-top {
    display: block;
    padding-bottom: 62px;
  }
  .footer-logo {
    font-size: clamp(64px, 13vw, 110px);
  }
  .footer-contact {
    margin-top: 53px;
  }
  .footer-contact a {
    font-size: clamp(18px, 5vw, 28px);
  }
  .footer-lower {
    flex-direction: column;
    gap: 28px;
  }
  .footer-nav {
    justify-content: flex-start;
    gap: 13px 20px;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(59px, 12.3vw, 73px);
  }
  .hero-links {
    gap: 18px;
  }
  .hero-gallery {
    min-height: 340px;
  }
  .hero-body > p:first-child {
    font-size: 15px;
  }
  .photo-slot-one,
  .photo-slot-two {
    height: 63%;
  }
  .chat-photo {
    width: 75%;
    height: 450px;
  }
}
[dir="rtl"] .notice-strip {
  direction: rtl;
}
[dir="rtl"] .hero-copy {
  padding: 54px 24px 47px;
}
[dir="rtl"] .hero h1 {
  font-size: clamp(60px, 11.1vw, 103px);
  line-height: 1.16;
}
@media (min-width: 701px) {
  [dir="rtl"] .hero-copy {
    padding: 55px clamp(40px, 6vw, 100px) 60px 25px;
  }
}

/* The narrow top bar is intentionally concise on phones. */
@media (max-width: 700px) {
  .notice-strip > [data-i18n="noticeMessage"],
  .notice-strip > .notice-divider {
    display: none;
  }
  .notice-strip > .notice-end {
    display: block;
  }
  .notice-strip {
    justify-content: space-between;
  }
}

/* Natural letter spacing for all large headings */
.hero h1,
.display-heading,
.step-line h3,
.download h2,
.footer-logo,
.chat-tagline {
  letter-spacing: 0 !important;
}
#downloadTitle {
  scroll-margin-top: 100px;
}
#chatTitle,
#faqTitle,
#howTitle {
  scroll-margin-top: 120px;
}



/* Swarter logo watermark */
.download-asterisk {
  position: absolute;
  width: min(45vw, 620px);
  top: 5px;
  inset-inline-end: -60px;
  font-size: 0;
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.download-asterisk img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(2);
}

/* Mobile */
@media (max-width: 700px) {
  .download-asterisk {
    width: 320px;
    top: -40px;
    inset-inline-end: -90px;
  }
}

.store-links {
  justify-content: flex-end;
}


/* HOW IT WORKS - 3 APP SCREENSHOTS */

.how-head {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: center;
}

.how-visual-area {
  width: 100%;
  text-align: center;
}

.how-showcase {
  position: relative;
  width: 100%;
  height: 430px;
  isolation: isolate;
}

.how-shot {
  position: absolute;
  width: 42%;
  height: auto;
  aspect-ratio: 9 / 19;
  object-fit: contain;
  object-position: top;
  border: 5px solid #383838;
  border-radius: 20px;
  background: #242424;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  animation: howFloat 6s ease-in-out infinite;
}

/* Left screenshot */
.shot-one {
  left: 2%;
  top: 65px;
  transform: rotate(-11deg);
  z-index: 1;
}

/* Center screenshot */
.shot-two {
  left: 29%;
  top: 15px;
  transform: rotate(0deg);
  z-index: 3;
  animation-delay: -2s;
}

/* Right screenshot */
.shot-three {
  right: 2%;
  top: 75px;
  transform: rotate(11deg);
  z-index: 2;
  animation-delay: -4s;
}

/* Subtle floating animation */
@keyframes howFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.how-visual-area p {
  margin-top: 22px;
}

/* Tablet */
@media (max-width: 1050px) {
  .how-head {
    display: block;
  }

  .how-visual-area {
    width: min(100%, 420px);
    margin: 45px auto 0;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .how-showcase {
    height: 360px;
  }

  .how-shot {
    width: 42%;
  }

  .shot-one {
    top: 48px;
  }

  .shot-two {
    top: 10px;
  }

  .shot-three {
    top: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-shot {
    animation: none;
  }
}


/* LANGUAGE SWITCHER */

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 43px;
  padding: 3px;
  border: 1px solid var(--ink);
  background: transparent;
  direction: ltr;
  flex-shrink: 0;
}

.language-switch button {
  min-width: 46px;
  height: 35px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.language-switch button[lang="ar"] {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.language-switch button.is-active {
  background: var(--ink);
  color: white;
}

@media (max-width: 700px) {
  .language-switch {
    height: 37px;
    padding: 2px;
  }

  .language-switch button {
    min-width: 36px;
    height: 31px;
    padding: 0 6px;
    font-size: 11px;
  }

  .menu-toggle {
    padding: 7px;
  }
}


/* CENTER ALL SECTION TITLES & DESCRIPTIONS - MOBILE */

@media (max-width: 700px) {

  /* Section titles */
  .hero h1,
  .why h2,
  .how-head h2,
  .chat-heading-area h2,
  .faq-heading h2,
  .download h2 {
    text-align: center;
  }

  /* Section descriptions */
  .hero-body > p:first-child,
  .why-description p,
  .how-head > p,
  .how-visual-area > p,
  .chat-heading-area > p,
  .download-bottom > p {
    text-align: center;
  }

  /* Center description containers */
  .hero-body,
  .why-description,
  .chat-heading-area > p,
  .download-bottom > p {
    margin-inline: auto;
  }

  /* Remove the side decoration beside Why description */
  .why-description .side-bar {
    display: none;
  }

}

/* MOBILE - CENTER BUTTONS & LINKS */

@media (max-width: 700px) {

  /* Get the app + See how it works */
  .hero-links {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  /* FREE TO JOIN. FREE TO LIST. FREE TO SWAP. */
  .micro-proof {
    justify-content: center;
    text-align: center;
  }

  /* A few things worth knowing */
  .chat-heading-area > a.dark-link {
    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
  }

  /* Google Play + App Store */
  .store-area {
    margin-inline: auto;
    justify-self: center;
  }

  .store-links {
    justify-content: center;
    align-items: center;
  }

}

/* MOBILE NAVIGATION - COMPACT */

@media (max-width: 700px) {

  .mobile-nav {
    padding: 8px 24px 18px;
  }

  .mobile-nav a {
    font-size: 14px;
    line-height: 1.25;
    padding: 8px 0;
    font-weight: 700;
  }

}
