
.home-app-clean {
  padding: 10px 8px 4px;
}

.home-screen {
  position: relative;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(74, 54, 32, 0.10);
  background: #f3ecdf;
}

.home-screen__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  filter: none;
}

.home-screen__overlay {
  position: absolute;
  inset: 0;
  padding: 34px 16px 10px;
}

.home-screen__copy {
  max-width: 100%;
}

.home-screen__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(29px, 7.8vw, 40px);
  line-height: 0.94;
  letter-spacing: -0.054em;
  font-weight: 760;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.home-screen__title span {
  display: block;
}

.home-screen__title .is-gold {
  background: linear-gradient(180deg, #fff4c9 0%, #f0d27a 28%, #d4a63d 58%, #9f6f1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(82, 55, 18, 0.18)) drop-shadow(0 -1px 0 rgba(255,255,255,0.24));
}

.home-screen__title-rule {
  width: 245px;
  height: 1px;
  margin: 13px 0 13px;
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.54) 70%, rgba(255,255,255,0.12) 100%);
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}

.home-screen__lead {
  margin: 0;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -0.016em;
  font-weight: 720;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.home-screen__how {
  margin: 13px 0 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-size: 13.8px;
  line-height: 1;
  font-weight: 670;
  letter-spacing: -0.006em;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-screen__how::after {
  content: "";
  position: absolute;
}

.home-screen__how span:first-child {
  border-bottom: 1px solid rgba(255,255,255,0.58);
  padding-bottom: 3px;
}

.home-screen__how-arrow {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,0.30), rgba(255,255,255,0.12));
  border: 1px solid rgba(255,255,255,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 6px 14px rgba(36, 26, 18, 0.10);
  font-size: 14px;
  line-height: 1;
}

.home-screen__grid {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-card {
  position: relative;
  min-height: 164px;
  padding: 15px 14px 42px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.24) 56%, rgba(255,255,255,0.17) 100%);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow:
    0 10px 26px rgba(58, 42, 26, 0.09),
    0 0 0 1px rgba(255,255,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(24px) saturate(136%);
  -webkit-backdrop-filter: blur(24px) saturate(136%);
}

.home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 36%),
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.22), transparent 28%);
  pointer-events: none;
}

.home-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.home-card h2 {
  margin: 0;
  color: #281e17;
  font-size: clamp(17px, 4.7vw, 21px);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-weight: 740;
}

.home-card p {
  margin: 0;
  color: rgba(43, 33, 26, 0.92);
  font-size: 12.7px;
  line-height: 1.17;
  letter-spacing: -0.004em;
  max-width: 98%;
}

.home-card__number {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.62), rgba(255,255,255,0) 28%),
    linear-gradient(145deg, #f7e9b8 0%, #e2bd62 42%, #c99935 74%, #9f6d1f 100%);
  color: #241b14;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.56),
    inset 0 -4px 8px rgba(121,78,20,.18),
    0 9px 18px rgba(94,68,26,.22);
}

.home-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.home-modal[aria-hidden="false"] {
  display: flex;
}

.home-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(78vh, 680px);
  overflow: auto;
  padding: 22px 20px 20px;
  border-radius: 30px;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(255,255,255,0.66);
  box-shadow: 0 24px 54px rgba(43, 31, 22, 0.22);
  color: #241a14;
}

.home-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #241a14;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-modal__eyebrow {
  margin: 0 0 8px;
  color: #a27b2e;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.home-modal h2 {
  margin: 0;
  max-width: 300px;
  font-size: 26px;
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 760;
}

.home-modal__steps {
  margin: 16px 0 0;
  padding-left: 20px;
}

.home-modal__steps li {
  margin: 0 0 11px;
  color: rgba(52, 41, 32, 0.88);
  font-size: 13.6px;
  line-height: 1.28;
  letter-spacing: -.006em;
}

.home-modal__steps strong {
  color: #241a14;
  font-weight: 820;
}

.home-modal__note {
  margin: 14px 0 0;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(212, 175, 91, 0.14);
  color: rgba(52, 41, 32, 0.92);
  font-size: 13.2px;
  line-height: 1.28;
}

.home-modal-open {
  overflow: hidden;
}

@media (max-width: 380px) {
  .home-app-clean {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 2px;
  }

  .home-screen {
    border-radius: 30px;
  }

  .home-screen__photo {
    border-radius: 30px;
  }

  .home-screen__overlay {
    padding: 32px 14px 9px;
  }

  .home-screen__title {
    font-size: clamp(28px, 7.5vw, 37px);
    max-width: 232px;
  }

  .home-screen__lead {
    max-width: 248px;
    font-size: 17px;
    line-height: 1.09;
  }

  .home-screen__title-rule {
    width: 230px;
    margin: 12px 0 12px;
  }

  .home-screen__how {
    font-size: 13.2px;
  }

  .home-screen__grid {
    left: 12px;
    right: 12px;
    bottom: 52px;
    gap: 10px;
  }

  .home-card {
    min-height: 156px;
    padding: 14px 12px 39px;
    border-radius: 26px;
  }

  .home-card h2 {
    font-size: 15px;
    max-width: 106px;
  }

  .home-card p {
    font-size: 12.2px;
    max-width: 100%;
  }

  .home-card__number {
    left: 11px;
    bottom: 9px;
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .home-modal {
    padding: 12px;
  }

  .home-modal__panel {
    border-radius: 26px;
    padding: 20px 18px 18px;
  }

  .home-modal h2 {
    font-size: 24px;
  }
}
