/* Homepage composition based on the approved phone mockup references. */
:root {
  --bg: #f8fbff;
  --ink: #08204c;
  --muted: #587096;
  --accent: #0879f4;
}
body {
  background: linear-gradient(115deg, #fff 0%, #f4f9ff 60%, #eaf4ff 100%);
}
.site {
  padding-inline: 32px;
  overflow: hidden;
}
.wrap {
  max-width: 1440px;
}
header.top {
  position: relative;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.top .wrap {
  min-height: 112px;
  direction: ltr;
  gap: 28px;
  justify-content: space-between;
}
.brand img {
  width: 250px;
  height: 92px;
  object-fit: contain;
  border-radius: 0;
}
nav.links {
  margin: 0;
  direction: rtl;
  gap: 36px;
}
nav.links a {
  font-size: 18px;
  font-weight: 700;
  padding: 14px 0;
  color: #536d97;
}
nav.links a[aria-current] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.top .actions {
  margin: 0;
  direction: rtl;
}
.top .btn-primary {
  min-width: 156px;
  min-height: 54px;
  border-radius: 22px;
  font-size: 19px;
  background: #0879ef;
}
.hero {
  direction: ltr;
  position: relative;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  padding-block: 20px 34px;
  min-height: 700px;
}
.hero-copy {
  direction: rtl;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-block: 30px;
}
.hero .eyebrow {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 !important;
  color: #08204c;
  font-size: clamp(44px, 4.7vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 em {
  color: #0879f4;
}
.hero .lead {
  max-width: 620px;
  margin: 24px auto 0;
  color: #587096;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.65;
}
.hero .store-badges {
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
}
.store-badge,
.store-badge.pending {
  background: #050505;
  color: #fff;
  border: 1px solid #272727;
  border-radius: 13px;
  min-height: 76px;
  min-width: 226px;
  padding: 12px 20px;
  gap: 14px;
  text-align: left;
}
.store-badge svg {
  width: 38px;
  height: 38px;
  flex: none;
}
.store-badge small {
  font-size: 12px;
}
.store-badge strong {
  font-size: 29px;
  line-height: 1.15;
}
a.store-badge:hover {
  box-shadow: 0 10px 24px #08204c22;
  transform: translateY(-2px);
}
.hero .actions {
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}
.hero .actions .btn {
  background: none;
  border: 0;
  color: #3c6095;
  box-shadow: none;
  padding: 0;
  min-height: 32px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero .fine {
  font-size: 12px;
  color: #647995;
  margin-top: 14px;
}
.phone-stage {
  direction: ltr;
  position: relative;
  height: 650px;
  margin: 0;
  width: 100%;
  isolation: isolate;
}
.phone-stage::before {
  content: '';
  position: absolute;
  z-index: -2;
  width: 114%;
  height: 90%;
  top: 2%;
  left: -4%;
  border-radius: 46% 54% 50% 44%;
  background: linear-gradient(140deg, #e4f1ff, #bcddff);
  transform: rotate(12deg);
}
.phone-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 95%;
  height: 54%;
  right: -8%;
  bottom: 5%;
  border-radius: 60% 40% 44% 56%;
  background: linear-gradient(140deg, #b2d6ff80, #6fb7ff60);
  transform: rotate(-17deg);
}
.phone-frame {
  position: absolute;
  background: #edf1f7;
  border: 7px solid #151c26;
  border-radius: 42px;
  padding: 23px 3px 7px;
  box-shadow:
    inset 0 0 0 2px #637081,
    0 20px 34px #08204c30;
  overflow: hidden;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 15px;
  background: #151c26;
  border-radius: 0 0 12px 12px;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.phone-left {
  width: 39%;
  max-width: 244px;
  left: 4%;
  bottom: 70px;
  transform: rotate(-8deg);
  z-index: 1;
}
.phone-right {
  width: 39%;
  max-width: 244px;
  right: 4%;
  bottom: 65px;
  transform: rotate(8deg);
  z-index: 1;
}
.phone-front {
  width: 48%;
  max-width: 294px;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  z-index: 3;
}
.phone-stage figcaption {
  position: absolute;
  bottom: -6px;
  width: 100%;
  text-align: center;
  direction: rtl;
  font-size: 12px;
  color: #587096;
}
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  position: relative;
  padding: 30px 12px;
  border-radius: 40px 40px 0 0;
}
.benefit-strip > div {
  text-align: center;
  padding: 0 18px;
}
.benefit-strip > div + div {
  border-inline-start: 1px solid #d8e7fa;
}
.benefit-strip svg {
  width: 62px;
  height: 62px;
  color: var(--accent);
  padding: 16px;
  background: #edf6ff;
  border-radius: 50%;
  margin-bottom: 8px;
}
.benefit-strip b {
  display: block;
  font-size: 19px;
  font-weight: 800;
}
.benefit-strip span {
  color: #587096;
  font-size: 14px;
}
.facts {
  margin-top: 36px;
  box-shadow: none;
  background: #f5f9ff;
}
#features {
  padding-top: 70px;
}
#features .head {
  text-align: center;
  justify-items: center;
}
.features {
  gap: 24px;
}
.feature,
.feature:not(:nth-child(3n + 1)) {
  padding: 28px;
  border-radius: 24px;
}
.real-phones {
  background: linear-gradient(140deg, #e4f1ff, #c6e0ff);
}
.cta .btn-primary {
  background: #fff;
  color: #0879ef;
}
@media (max-width: 1100px) {
  .top .wrap {
    gap: 16px;
  }
  nav.links {
    gap: 18px;
  }
  nav.links a {
    font-size: 15px;
  }
  .brand img {
    width: 200px;
  }
  .hero {
    gap: 16px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero .lead {
    font-size: 18px;
  }
  .phone-stage {
    height: 560px;
  }
  .store-badge,
  .store-badge.pending {
    min-width: 186px;
    min-height: 66px;
    padding: 10px 14px;
  }
  .store-badge strong {
    font-size: 24px;
  }
  .hero .store-badges {
    gap: 12px;
  }
}
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 12px 20px;
  }
  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
    padding-block: 20px 4px;
  }
  .hero h1 {
    font-size: clamp(40px, 7vw, 64px);
  }
  .phone-stage {
    max-width: 600px;
    height: 640px;
    margin-inline: auto;
  }
  .top .wrap {
    min-height: 86px;
  }
  .top .btn-primary {
    min-width: 124px;
    min-height: 48px;
    font-size: 16px;
  }
  nav.links {
    display: none;
  }
  .benefit-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }
  .benefit-strip > div:nth-child(3) {
    border-inline-start: 0;
  }
}
@media (max-width: 600px) {
  .site {
    padding-inline: 18px;
  }
  .brand img {
    width: 170px;
    height: 64px;
  }
  .top .wrap {
    gap: 12px;
    min-height: 78px;
  }
  .top .btn-primary {
    min-width: 96px;
    min-height: 43px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 16px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.18;
    letter-spacing: -0.04em;
  }
  .hero .lead {
    margin-top: 18px;
    font-size: 16px;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .store-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero .store-badges {
    gap: 10px;
    margin-top: 24px;
  }
  .store-badge,
  .store-badge.pending {
    min-width: 0;
    min-height: 62px;
    padding: 10px 12px;
    gap: 9px;
  }
  .store-badge strong {
    font-size: 20px;
  }
  .store-badge small {
    font-size: 10px;
  }
  .store-badge svg {
    width: 25px;
    height: 25px;
  }
  .hero .actions {
    gap: 16px;
  }
  .hero .actions .btn {
    font-size: 14px;
  }
  .hero .fine {
    font-size: 12px;
  }
  .phone-stage {
    height: clamp(380px, 114vw, 600px);
    margin-top: 16px;
  }
  .phone-frame {
    border-width: 5px;
    border-radius: 30px;
    padding: 17px 2px 5px;
  }
  .phone-frame::before {
    height: 11px;
  }
  .phone-frame img {
    border-radius: 15px;
  }
  .phone-front {
    width: 49%;
    bottom: 22px;
  }
  .phone-left {
    bottom: 52px;
  }
  .phone-right {
    bottom: 48px;
  }
  .benefit-strip {
    padding: 24px 0;
    border-radius: 28px 28px 0 0;
  }
  .benefit-strip > div {
    padding: 0 10px;
  }
  .benefit-strip b {
    font-size: 15px;
  }
  .benefit-strip span {
    font-size: 12px;
  }
  .benefit-strip svg {
    width: 54px;
    height: 54px;
    padding: 14px;
  }
  #features {
    padding-top: 48px;
  }
}

/* A landscape tablet with two visibly different mobile device frames. */
.device-stage { height: 560px; }
.tablet-frame {
  position: absolute; top: 45px; left: 1%; width: 98%;
  padding: 12px 17px; background: #172132; border: 2px solid #687789;
  border-radius: 26px; transform: rotate(-4deg);
  box-shadow: 0 26px 46px #08204c30, inset 0 0 0 2px #090f19;
}
.tablet-frame::before {
  content: ''; position: absolute; left: 5px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: #62728b;
}
.tablet-frame img { display: block; width: 100%; border-radius: 12px; }
.device-stage .phone-frame { width: 29%; bottom: 28px; z-index: 3; }
.iphone-frame { left: 5%; transform: rotate(-8deg); }
.android-frame { right: 4%; transform: rotate(7deg); }
.device-stage .android-frame {
  border-color: #384353; border-radius: 24px; padding-top: 18px;
  box-shadow: inset 0 0 0 2px #8390a1, 0 20px 34px #08204c30;
}
.android-frame::before {
  width: 7px; height: 7px; top: 5px; border-radius: 50%; background: #0a111d;
}
.device-stage .android-frame img { border-radius: 9px; }
@media (max-width: 1100px) { .device-stage { height: 470px; } }
@media (max-width: 920px) { .device-stage { height: 540px; max-width: 600px; } }
@media (max-width: 600px) {
  .device-stage { height: clamp(300px, 94vw, 500px); }
  .tablet-frame { top: 24px; padding: 7px 11px; border-radius: 17px; }
  .tablet-frame img { border-radius: 7px; }
  .device-stage .phone-frame { width: 31%; bottom: 28px; border-width: 4px; }
  .device-stage .iphone-frame { border-radius: 22px; }
  .device-stage .android-frame { border-radius: 16px; padding-top: 14px; }
}
.tablet-frame img { height: auto; }
