/* Walyo home page sections. `.motion` is set by site.js when animation runs; without it (no
   JavaScript, or prefers-reduced-motion) every section is a plain, readable stacked layout. */

/* ---------- 3.1 hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: 30vh;
  padding-top: 30svh;
  text-align: center;
  overflow: hidden;
}
.hero__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.hero__sur {
  max-width: none;
}
.hero__line {
  position: relative;
}
.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font: inherit;
  letter-spacing: inherit;
}
.hero__w {
  display: block;
}
.hero__w1 {
  padding-right: 8rem;
  margin-right: -8rem;
}
.hero__w2 {
  padding-left: 8rem;
  margin-left: -8rem;
}
.hero__logo {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--ink);
}
/* The Walyo mark alone, in the text's ink, as the logo in the menu: sized
   to the letters' cap height so it reads as part of the line. */
.hero__logo svg {
  display: block;
  height: 0.9em;
  width: auto;
}
.hero__dot {
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
}
.motion .hero__dot,
.motion .hero__w,
.motion .hero__sur,
.motion .hero__logo {
  visibility: hidden;
}
.no-motion .hero__dot {
  display: none;
}
.hero__spacer {
  height: 6rem;
}
@media (min-width: 769px) {
  .hero__wrap {
    gap: 5rem;
  }
  .hero__title {
    gap: 3rem;
  }
  .hero__sur {
    max-width: none;
  }
}

/* ---------- 3.2 pinned app screens ---------- */
.how {
  position: relative;
  z-index: 2;
}
.motion .how {
  height: 450vh;
  margin-top: -20svh;
}
@media (orientation: portrait) {
  .motion .how {
    margin-top: -50svh;
  }
}
@media (min-width: 1600px) {
  .motion .how {
    margin-top: -30svh;
  }
}
/* The section slides over the hero: its blob layer fades in from the top
   instead of starting on a hard line. */
.how .blobs {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 30%,
    #000 calc(100% - 12rem),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 30%,
    #000 calc(100% - 12rem),
    transparent
  );
}
.how__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how__wrap {
  display: flex;
  gap: 5.6rem;
  align-items: stretch;
}
.how__titles {
  width: 38.8rem;
  height: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.how__box {
  position: relative;
  flex: none;
  height: 38.5rem;
  border-radius: 2rem;
  padding: 2.4rem 3rem;
  overflow: hidden;
}
.how__box h3 {
  padding-right: 6rem;
}
.how__box-txt {
  display: none;
  margin-top: 1rem;
  color: var(--text-2);
}
.how__ic {
  position: absolute;
  right: 2.6rem;
  top: 3.1rem;
  width: 3.8rem;
  height: 3.8rem;
}
.how__tag {
  position: absolute;
  left: 3rem;
  bottom: 3.2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}
.how__phone {
  position: relative;
  container-type: size;
  flex: none;
  height: min(71.5rem, 100svh - 22rem);
  aspect-ratio: 1 / 1.5217;
  border: 3px solid var(--ink);
  border-radius: 2rem;
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.how__texts {
  position: relative;
  width: 38.8rem;
}
.how__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: max-content;
  margin: auto 0;
  padding: 3rem;
  border-radius: 2rem;
}
.how__text .obj {
  width: 11rem;
  margin: 3rem 0 0 -1.4rem;
}
.how__text:first-child .obj {
  width: 15rem;
}
@media (min-width: 769px) {
  .how__tag {
    font-size: 2rem;
  }
  /* Desktop motion: each step card sits at its collapsed slot (10rem tall + 3rem gap) and is
     pushed down by a transform (yPercent, home.js) while the cards above it are still open.
     A card collapses through --k0/--k1 (0 open, 1 collapsed, tweened by home.js on
     .how__titles); its tag hangs from the top and moves by `translate`. So a shrinking card
     never pushes the cards below or its own tag through layout, which counted as layout shift
     on every scroll frame. */
  .motion .how__titles {
    position: relative;
  }
  .motion .how__box {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--i) * 13rem);
    height: calc(38.5rem - var(--k) * 28.5rem);
  }
  .motion .how__box .how__tag {
    top: calc(38.5rem - 3.2rem - 2px);
    bottom: auto;
    translate: 0 calc(-100% - var(--k) * 28.5rem);
  }
  .motion .how__box:nth-child(1) {
    --i: 0;
    --k: var(--k0, 0);
  }
  .motion .how__box:nth-child(2) {
    --i: 1;
    --k: var(--k1, 0);
  }
  .motion .how__box:nth-child(3) {
    --i: 2;
    --k: 0;
  }
}
@media (max-width: 768px) {
  .motion .how {
    height: 480vh;
  }
  .how__sticky {
    align-items: stretch;
  }
  .how__wrap {
    flex-direction: column;
    width: 100%;
    padding: 8.4rem 2rem 9.4rem;
    gap: 1.6rem;
  }
  .how__phone {
    order: -1;
    align-self: center;
    height: calc(100svh - 37rem);
    width: auto;
  }
  .how__titles {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 15rem;
  }
  .how__box {
    position: absolute;
    inset: 0;
    height: auto;
    padding: 2rem 2.4rem;
  }
  .how__box h3 {
    font-size: 2.2rem;
  }
  .how__box-txt {
    display: block;
    font-size: 1.5rem;
    line-height: 1.4;
    padding-right: 4rem;
  }
  .how__ic {
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
  }
  .how__tag {
    display: none;
  }
  .how__texts {
    display: none;
  }
}
/* static layout: the three steps as a list */
html:not(.motion) .how {
  padding: 4rem 0 9rem;
}
html:not(.motion) .how__sticky {
  position: static;
  height: auto;
  display: block;
}
html:not(.motion) .how__wrap {
  display: grid;
  gap: 2rem;
  width: calc(100% - 4rem);
  margin: 0 auto;
  padding: 0;
}
html:not(.motion) .how__phone,
html:not(.motion) .how__texts {
  display: none;
}
html:not(.motion) .how__titles {
  display: contents;
}
html:not(.motion) .how__box {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 22rem;
  padding-bottom: 9rem;
}
html:not(.motion) .how__box-txt {
  display: block;
}
html:not(.motion) .how__tag {
  display: block;
}
@media (min-width: 769px) {
  html:not(.motion) .how__wrap {
    grid-template-columns: repeat(3, 1fr);
    width: 130rem;
    max-width: calc(100% - 16rem);
    gap: 3rem;
  }
  html:not(.motion) .how__box-txt {
    font-size: 2.2rem;
    line-height: 1.35;
  }
}

/* phone screens (drawn in HTML, our own app UI). Sizes are in --u, a 470th of the phone's own
   width, so the screen scales with the phone at every viewport. */
.scr {
  --u: calc(100cqw / 47);
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  font-size: calc(1.6 * var(--u));
  will-change: transform;
}
.motion .scr + .scr {
  transform: translateY(100%);
}
.scr__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(1.8 * var(--u)) calc(2.4 * var(--u)) 0;
  font-size: calc(1.3 * var(--u));
  font-weight: 700;
}
.scr__bar i {
  display: block;
  width: calc(5.2 * var(--u));
  height: calc(1.2 * var(--u));
  border-radius: calc(1 * var(--u));
  background: currentColor;
  opacity: 0.85;
}
.scr__h {
  padding: calc(2.6 * var(--u)) calc(2.6 * var(--u)) 0;
  font-size: calc(2.6 * var(--u));
  font-weight: 700;
  letter-spacing: -0.03em;
}
.scr__sub {
  padding: calc(0.8 * var(--u)) calc(2.6 * var(--u)) 0;
  font-size: calc(1.5 * var(--u));
  color: var(--text-2);
}

/* 0: intro */
.scr--intro {
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.scr--intro .scr__mark {
  position: relative;
  z-index: 2;
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
  border-radius: calc(3.2 * var(--u));
  /* the Walyo mark alone, in ink, as the logo in the menu */
  color: var(--ink);
  display: grid;
  place-items: center;
}
.scr--intro .scr__mark svg {
  width: 100%;
}
.scr--intro .scr__name {
  position: relative;
  z-index: 2;
  margin-top: calc(2.4 * var(--u));
  font-size: calc(3.2 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
}
.scr__orbit {
  position: absolute;
  width: calc(15 * var(--u));
}
.scr__orbit--1 {
  left: 2%;
  top: 8%;
  width: calc(17 * var(--u));
}
.scr__orbit--2 {
  right: -4%;
  top: 14%;
  width: calc(14 * var(--u));
}
.scr__orbit--3 {
  left: -3%;
  bottom: 9%;
  width: calc(15 * var(--u));
}
.scr__orbit--4 {
  right: 4%;
  bottom: 5%;
  width: calc(16 * var(--u));
}

/* 1: scanner */
.scr--scan {
  background: #121725;
  color: var(--white);
}
.scr--scan .scr__sub {
  color: #c2c9d6;
}
.scan__view {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
}
.scan__frame {
  position: relative;
  width: 64%;
  aspect-ratio: 1;
}
.scan__frame::before,
.scan__frame::after,
.scan__frame span::before,
.scan__frame span::after {
  content: '';
  position: absolute;
  width: 22%;
  height: 22%;
  border: calc(0.5 * var(--u)) solid var(--white);
}
.scan__frame::before {
  left: 0;
  top: 0;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: calc(2.4 * var(--u));
}
.scan__frame::after {
  right: 0;
  top: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: calc(2.4 * var(--u));
}
.scan__frame span::before {
  left: 0;
  bottom: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: calc(2.4 * var(--u));
}
.scan__frame span::after {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: calc(2.4 * var(--u));
}
.scan__qr {
  position: absolute;
  inset: 16%;
  border-radius: calc(1.4 * var(--u));
  background: var(--white);
  padding: 7%;
}
.scan__qr svg {
  width: 100%;
  height: 100%;
}
/* The box spans the whole frame and moves by transform (yPercent, see home.js); the visible
   line is its ::before at 12%, so the sweep never triggers layout. */
.scan__line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scan__line::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 12%;
  height: calc(0.4 * var(--u));
  border-radius: calc(1 * var(--u));
  background: var(--accent);
}
.scan__foot {
  display: flex;
  justify-content: center;
  padding: 0 0 calc(4 * var(--u));
}
.scan__torch {
  width: calc(6.4 * var(--u));
  height: calc(6.4 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.scan__torch svg {
  width: calc(2.8 * var(--u));
  height: calc(2.8 * var(--u));
}

/* 2: review */
.scr--review {
  background: var(--surface);
}
.rv__merchant {
  display: flex;
  align-items: center;
  gap: calc(1.4 * var(--u));
  margin: calc(2.4 * var(--u)) calc(2.4 * var(--u)) 0;
  padding: calc(1.8 * var(--u));
  border-radius: calc(2 * var(--u));
  background: var(--white);
}
.rv__logo {
  width: calc(5.2 * var(--u));
  height: calc(5.2 * var(--u));
  border-radius: calc(1.4 * var(--u));
  background: var(--p-mint);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: calc(2 * var(--u));
}
.rv__merchant b {
  display: block;
  font-size: calc(1.8 * var(--u));
  font-weight: 700;
}
.rv__merchant small {
  font-size: calc(1.3 * var(--u));
  color: var(--text-2);
}
.rv__amount {
  padding: calc(3 * var(--u)) calc(2.4 * var(--u)) 0;
  text-align: center;
}
.rv__amount small {
  display: block;
  font-size: calc(1.4 * var(--u));
  color: var(--text-2);
}
.rv__amount b {
  display: block;
  margin-top: calc(0.4 * var(--u));
  font-size: calc(5.6 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
}
.rv__methods {
  margin: calc(2.6 * var(--u)) calc(2.4 * var(--u)) 0;
  border-radius: calc(2 * var(--u));
  background: var(--white);
  padding: calc(0.6 * var(--u)) calc(1.8 * var(--u));
}
.rv__methods li {
  display: flex;
  align-items: center;
  gap: calc(1.2 * var(--u));
  padding: calc(1.4 * var(--u)) 0;
  font-size: calc(1.6 * var(--u));
  font-weight: 600;
}
.rv__methods li + li {
  border-top: 1px solid var(--surface-2);
}
.rv__methods i {
  width: calc(4 * var(--u));
  height: calc(2.8 * var(--u));
  border-radius: calc(0.6 * var(--u));
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: calc(1 * var(--u));
  font-weight: 800;
}
.rv__methods li em {
  margin-left: auto;
  width: calc(2.2 * var(--u));
  height: calc(2.2 * var(--u));
  border-radius: 50%;
  border: 2px solid var(--line);
}
.rv__methods li.is-on em {
  border: calc(0.7 * var(--u)) solid var(--ink);
}
.rv__pay {
  position: relative;
  margin: auto calc(2.4 * var(--u)) calc(3 * var(--u));
  height: calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: calc(1.7 * var(--u));
}
.tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(4.4 * var(--u));
  height: calc(4.4 * var(--u));
  margin: calc(-2.2 * var(--u)) 0 0 calc(-2.2 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

/* 3: done */
.scr--done {
  background: var(--white);
}
.dn__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(3 * var(--u)) calc(2.4 * var(--u)) 0;
  text-align: center;
}
.dn__top .obj {
  width: calc(14 * var(--u));
}
.dn__top b {
  margin-top: calc(1.2 * var(--u));
  font-size: calc(2.4 * var(--u));
  font-weight: 700;
  letter-spacing: -0.03em;
}
.dn__top small {
  margin-top: calc(0.4 * var(--u));
  font-size: calc(1.4 * var(--u));
  color: var(--text-2);
}
.dn__hist {
  margin: calc(3 * var(--u)) calc(2.4 * var(--u)) 0;
}
.dn__hist h4 {
  font-size: calc(1.5 * var(--u));
  font-weight: 700;
  margin-bottom: calc(1 * var(--u));
}
.dn__hist li {
  display: flex;
  align-items: center;
  gap: calc(1.2 * var(--u));
  padding: calc(1.2 * var(--u)) 0;
  border-top: 1px solid var(--surface-2);
  font-size: calc(1.4 * var(--u));
}
.dn__hist li i {
  width: calc(4 * var(--u));
  height: calc(4 * var(--u));
  border-radius: calc(1.2 * var(--u));
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.dn__hist li span {
  flex: 1;
  font-weight: 600;
}
.dn__hist li small {
  display: block;
  font-weight: 500;
  color: var(--text-2);
  font-size: calc(1.2 * var(--u));
}
.dn__hist li b {
  font-weight: 700;
}
.dn__btn {
  margin: auto calc(2.4 * var(--u)) calc(3 * var(--u));
  height: calc(5.6 * var(--u));
  border-radius: calc(4 * var(--u));
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: calc(1.6 * var(--u));
}

/* ---------- 3.3 wheel ---------- */
.wsec {
  position: relative;
  z-index: 3;
  /* ground: the fading surface gradient in site.css */
  overflow: hidden;
  padding-top: 8rem;
}
.wsec__content {
  width: calc(100% - 4rem);
  margin: 0 auto;
}
.wsec__content .txt-1 {
  margin-top: 2rem;
  max-width: 42.5rem;
}
.wsec__wheel {
  position: relative;
  height: 35rem;
  margin-top: 4rem;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}
.wsec__wheel:active {
  cursor: grabbing;
}
.wsec__list {
  position: absolute;
  inset: 0;
}
.witem {
  position: absolute;
  top: 50%;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: -2.2rem;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.witem__ic {
  flex: none;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.7s var(--e-out);
}
.witem__ic svg {
  width: 55%;
  height: 55%;
}
.witem__name {
  font-size: 2.8rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition:
    transform 0.7s var(--e-out) 0.1s,
    color 0.7s var(--e-out);
  transform-origin: 0 50%;
}
.witem.is-selected .witem__ic {
  transform: scale(1.12);
}
.witem.is-selected .witem__name {
  transform: translateX(0.6rem) scale(1.06);
}
.search {
  position: relative;
  margin-top: 3rem;
  max-width: 52rem;
}
.search input {
  width: 100%;
  height: 5rem;
  padding: 0 6.5rem 0 2.4rem;
  border: var(--border);
  border-radius: 4rem;
  background: var(--surface-2);
  font: inherit;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.search input::placeholder {
  color: var(--ink);
  opacity: 0.45;
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search > svg {
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.search__list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 1rem);
  padding: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 3rem;
  background: var(--white);
}
.search__list[hidden] {
  display: none;
}
.search__list li {
  padding: 1rem 2.4rem;
  font-size: 1.8rem;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.5s var(--e-out);
}
.search__list li[aria-selected='true'],
.search__list li:hover {
  color: var(--ink);
}
@media (min-width: 769px) {
  .wsec {
    display: flex;
    height: 100vh;
    min-height: 72rem;
    padding: 0;
  }
  .wsec__content {
    width: 50%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 12rem 0 6rem;
  }
  .wsec__content .txt-1 {
    margin-top: 3rem;
  }
  .wsec__wheel {
    width: 50%;
    height: 100%;
    margin: 0;
  }
  .witem {
    left: 4rem;
    gap: 3rem;
    margin-top: -4rem;
  }
  .witem__ic {
    width: 8rem;
    height: 8rem;
  }
  .witem__name {
    font-size: 6rem;
  }
  .search {
    margin-top: 6rem;
  }
  .search input {
    height: 8rem;
    padding: 0 6.5rem 0 4rem;
    font-size: 2.6rem;
  }
  .search > svg {
    right: 3rem;
    width: 3.2rem;
    height: 3.2rem;
  }
  .search__list li {
    font-size: 2.2rem;
    padding: 1rem 4rem;
  }
}
@media (min-width: 1080px) {
  .wsec__content {
    padding-left: 9rem;
  }
}
@media (min-width: 1600px) {
  .wsec__content {
    padding-left: 29.5rem;
  }
}
html:not(.motion) .wsec {
  height: auto;
  padding: 8rem 0;
}
html:not(.motion) .wsec__wheel {
  height: auto;
  overflow: visible;
  cursor: auto;
}
html:not(.motion) .wsec__list {
  position: static;
  display: grid;
  gap: 1.6rem;
}
html:not(.motion) .witem {
  position: static;
  margin: 0;
}
html:not(.motion) .witem[aria-hidden='true'] {
  display: none;
}
html:not(.motion) .search {
  display: none;
}
@media (min-width: 769px) {
  html:not(.motion) .wsec {
    padding: 16rem 0;
  }
  html:not(.motion) .wsec__list {
    gap: 2.4rem;
  }
}

/* ---------- 3.4 big title + vertical cards ---------- */
.vsec {
  position: relative;
  z-index: 3;
  background: var(--white);
  padding: 7rem 0 9rem;
}
.sec-title {
  max-width: 100%;
}
.vsec__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 5rem;
}
.vcard {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem 3.6rem 4rem;
  border-radius: 2rem;
}
.vcard__txt .txt-1 {
  margin-top: 2.4rem;
  max-width: 57.4rem;
}
.vcard__txt .alink {
  margin-top: 3rem;
}
.vcard .obj {
  flex: none;
  width: 26rem;
  align-self: center;
}
@media (min-width: 769px) {
  .vsec {
    padding: 24.6rem 0 22.5rem;
  }
  .vsec__list {
    gap: 5rem;
    margin-top: 7rem;
  }
  .vcard {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 8rem 8rem 13.5rem;
  }
  .vcard h3 {
    max-width: 64rem;
  }
  .vcard__txt .txt-1 {
    margin-top: 3rem;
  }
  .vcard__txt .alink {
    margin-top: 4rem;
  }
  .vcard .obj {
    width: 40.8rem;
  }
}

/* ---------- 3.5 pastel grid ---------- */
.gsec {
  position: relative;
  z-index: 3;
  /* ground: the fading surface gradient in site.css */
  padding: 7rem 0 9rem;
}
.gsec__head {
  text-align: center;
}
.gsec__head .sec-title {
  max-width: 120rem;
  margin: 0 auto;
}
.gsec__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 6rem;
}
.gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50rem;
  padding-top: 5rem;
  border-radius: 4rem;
  overflow: hidden;
}
.gcard__txt {
  padding: 0 3rem;
}
.gcard__art {
  position: relative;
  height: 26rem;
  margin-top: 4rem;
}
.gcard__art .obj {
  position: absolute;
  z-index: 0;
  width: 21rem;
}
.gcard__art .chip,
.gcard__art .otp {
  z-index: 2;
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 4.6rem;
  padding: 0 1.8rem 0 0.8rem;
  border-radius: 4rem;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip i {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: var(--border);
  background: var(--c, var(--p-mint));
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
}
.chip i svg {
  width: 60%;
  height: 60%;
}
.otp {
  position: absolute;
  display: flex;
  gap: 0.8rem;
}
.otp span {
  width: 4.6rem;
  height: 5.6rem;
  border-radius: 1.4rem;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
}
@media (min-width: 769px) {
  .gsec {
    padding: 15.8rem 0 16.9rem;
  }
  .gsec__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 11.5rem;
  }
  .gcard {
    min-height: 64.6rem;
    padding-top: 6rem;
  }
  .gcard__txt {
    padding: 0 5rem;
  }
  .gcard__art {
    height: 32rem;
  }
  .gcard__art .obj {
    width: 25rem;
  }
  .chip {
    height: 5.2rem;
    font-size: 1.7rem;
  }
  .chip i {
    width: 3.4rem;
    height: 3.4rem;
  }
  .otp span {
    width: 5rem;
    height: 6.2rem;
  }
}

/* ---------- 3.6 sticky horizontal cards ---------- */
.hsec {
  position: relative;
  z-index: 3;
  background: var(--white);
}
.hsec__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 7rem 0 9rem;
  overflow: hidden;
}
.hsec__list {
  display: flex;
  gap: 2rem;
  margin-top: 6rem;
}
.hcard {
  position: relative;
  flex: none;
  width: 30rem;
  height: 52rem;
  padding: 4rem 3rem;
  border-radius: 3rem;
  overflow: hidden;
}
.hcard .txt-5 {
  margin-top: 2rem;
}
.hcard__art {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  aspect-ratio: 16 / 15;
  border-radius: 3rem 3rem 0 0;
  background: var(--c, var(--p-blue));
  display: grid;
  place-items: center;
}
.hcard__art .obj {
  width: 70%;
}
.hcard--cta {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.hcard--cta .txt-5 {
  color: #d3d9e3;
}
.hcard--cta .btn {
  margin-top: auto;
  align-self: flex-start;
}
.hcard--cta .btn--light {
  border-color: var(--white);
}
@media (min-width: 769px) {
  .hsec__sticky {
    padding: 13rem 0 9rem;
  }
  .hsec__list {
    margin-top: 12rem;
  }
  .hcard {
    width: 38rem;
    height: 64rem;
    padding: 4rem 3rem;
  }
  .hcard .txt-5 {
    margin-top: 3rem;
  }
}
html:not(.motion) .hsec__sticky {
  position: static;
  height: auto;
  overflow: visible;
}
html:not(.motion) .hsec__list {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}
html:not(.motion) .hcard {
  scroll-snap-align: start;
}

/* ---------- 3.7 FAQ ---------- */
.fsec {
  position: relative;
  z-index: 3;
  /* ground: the fading surface gradient in site.css */
  padding: 7rem 0 9rem;
}
.fsec .faq-list {
  margin-top: 6rem;
}
.fsec__more {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}
@media (min-width: 769px) {
  .fsec {
    padding: 13rem 0 16rem;
  }
  .fsec__more {
    margin-top: 9.2rem;
  }
}

/* ---------- video tiles inside the home sections ---------- */
.gcard__art {
  margin: 4rem 1.2rem 1.2rem;
  border-radius: 3rem;
  overflow: hidden;
}
.gcard__art .obj--tile {
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: inherit;
  z-index: 0;
}
.gcard__art .obj--tile img,
.gcard__art .obj--tile video {
  object-position: 50% 30%;
}
.hcard__art .obj--tile {
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: inherit;
}
.how__text .obj--tile {
  width: 11rem;
  margin: 3rem 0 0;
  border-radius: 1.6rem;
}
.vcard .obj--tile {
  border-radius: 2rem;
}
@media (min-width: 769px) {
  .gcard__art {
    margin: 4rem 1.6rem 1.6rem;
  }
}
