/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #05132d;
  line-height: 1.4;
  overflow-x: hidden;
  padding-top: 1.4rem
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

/* ===== Fixed navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 1.4rem;
  padding: .24rem 1.2rem 0;
  background: #fff
}

.nav-card {
  height: .96rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .18rem 0 .3rem;
  background: #fff;
  border: 1px solid #edf2f8;
  border-radius: .24rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .12rem
}

.brand-logo {
  width: .41984rem;
  height: .41984rem;
  object-fit: cover
}

.brand-name {
  font-size: .27rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #05132d;
  white-space: nowrap
}

.nav-links{
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: .18rem;
  font-weight: 400;
  color: #05132d;
  white-space: nowrap;
  transition: color .2s
}

.nav-link:hover {
  color: #0d77fd
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 9.8rem;
  padding: 1.7rem 1.6rem 0;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(149.5deg, #fff 14.286%, #edf6ff 85.714%);
  overflow: hidden
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .34rem
}

.hero-label {
  display: inline-flex;
  padding: .1rem .15rem;
  border-radius: .1rem;
  background: #eef5ff;
  color: #0d77fd;
  font-size: .19rem;
  font-weight: 500;
  white-space: nowrap
}

.hero-title {
  font-size: .8rem;
  line-height: .94rem;
  font-weight: 600;
  letter-spacing: -.05em;
  color: #05132d
}

.hero-title em {
  font-style: normal;
  color: #126bff
}

.hero-actions {
  height: 1rem
}

/* Download button (icon only, as in design) */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  height: 1rem;
  padding: .23rem .3rem;
  border-radius: .16rem;
  background: #0d77fd;
  transition: background .2s
}

.btn-download img {
  width: .24rem;
  height: .24rem
}

.btn-download:hover {
  background: #0a66dd
}

/* Hero visual: exported at 2x of a 949x966 design box, right edge aligned to 1760px */
.hero-visual {
  position: absolute;
  top: .2rem;
  right: 1.6rem;
  width: 9.49rem;
  pointer-events: none
}

.hero-visual img {
  width: 100%;
  height: auto
}

/* ===== File categories ribbon ===== */
.ribbon {
  height: 1.3rem;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 1px solid #e8eff8;
  border-bottom: 1px solid #e8eff8;
  color: #5a687b;
  font-size: .26rem;
  font-weight: 500;
  white-space: nowrap
}

/* ===== Photos And Videos ===== */
.features {
  padding: 1.15rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: #fff
}

.features-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem
}

.features-head h2 {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #05132d
}

.features-head p {
  font-size: .24rem;
  line-height: .35rem;
  color: #5a687b;
  text-align: right
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem
}

.feature-visual {
  width: 9.6rem;
  flex: none
}

.feature-visual img {
  width: 100%;
  height: auto;
  border-radius: .36rem
}

.feature-copy {
  width: 5.4rem;
  padding-top: .8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .32rem
}

.eyebrow {
  font-size: .16rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: #0d77fd
}

.feature-copy h3 {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #05132d
}

.chips {
  display: flex;
  gap: .1rem
}

.chip {
  padding: .1rem .16rem;
  border-radius: .08rem;
  background: #f0f6ff;
  color: #0d77fd;
  font-size: .16rem;
  font-weight: 500;
  white-space: nowrap
}

/* Recovery tiles */
.tile {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333
}

.tile--photo {
  width: 4.18rem;
  height: 1.584rem;
  gap: .132rem;
  padding: .264rem;
  border-radius: .264rem;
  background: #ffe092
}

.tile--photo .tile-text {
  width: 2.288rem
}

.tile--photo strong {
  display: block;
  font-size: .242rem;
  font-weight: 700;
  line-height: .264rem
}

.tile--photo span {
  display: block;
  font-size: .143rem;
  font-weight: 400;
  line-height: .264rem;
  white-space: nowrap
}

.tile--photo img {
  height: 1.062rem;
  width: auto;
  object-fit: contain
}

.tile--video {
  width: 3.68rem;
  height: 2.08rem;
  gap: .24rem;
  padding: .32rem;
  border-radius: .48rem;
  background: #f9f9f9
}

.tile--video img {
  width: .88rem;
  height: .88rem;
  object-fit: contain;
  flex: none
}

.tile--video .tile-text {
  width: 1.92rem;
  font-size: .32rem;
  font-weight: 700;
  line-height: .48rem
}

/* ===== Local Recovery Steps ===== */
.steps {
  padding: .86rem 0 1.09rem;
  background: linear-gradient(154.3deg, #f8fbff 14.286%, #f0f5fc 85.714%)
}

.steps-head {
  margin-left: 1.28rem;
  padding-left: .32rem;
  display: flex;
  flex-direction: column;
  gap: .24rem
}

.steps-head h2 {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #05132d
}

.steps-head p {
  font-size: .25rem;
  color: #5a687b
}

.steps-panel {
  margin: .54rem auto 0;
  width: 16.64rem;
  padding: .22rem .32rem;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5edf8;
  border-radius: .32rem
}

.stage {
  position: relative;
  width: 3.76rem;
  height: 3.8rem;
  flex: none
}

.stage-num {
  position: absolute;
  left: .28rem;
  top: .27rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #0d77fd
}

.stage-title {
  position: absolute;
  left: .28rem;
  top: 1.15rem;
  width: 3.2rem;
  font-size: .24rem;
  font-weight: 600;
  line-height: .32rem;
  color: #05132d
}

.stage-box {
  position: absolute;
  left: .28rem;
  top: 1.92rem;
  width: 3.2rem;
  height: 1.5rem;
  border-radius: .18rem;
  background: #f1f7ff;
  overflow: hidden
}

.stage-arrow {
  width: .32rem;
  height: .2rem;
  flex: none
}

/* Stage 1 chips */
.stage-chip {
  position: absolute;
  padding: .12rem .14rem;
  border-radius: .12rem;
  background: #fff;
  color: #24334d;
  font-size: .16rem;
  font-weight: 500;
  white-space: nowrap
}

.stage-chip.is-active {
  background: #147cff;
  color: #fff
}

.stage-chip--a {
  left: .18rem;
  top: .2rem
}

.stage-chip--b {
  left: 1.65rem;
  top: .2rem
}

.stage-chip--c {
  left: .18rem;
  top: .86rem
}

.stage-chip--d {
  left: 1.65rem;
  top: .86rem
}

/* Stage 2 scan */
.stage-label {
  position: absolute;
  left: .24rem;
  top: .26rem;
  font-size: .18rem;
  font-weight: 500;
  color: #24334d
}

.stage-rail {
  position: absolute;
  left: .24rem;
  top: .74rem;
  width: 2.72rem;
  height: .12rem;
  border-radius: .06rem;
  background: #d9e8fb
}

.stage-progress {
  position: absolute;
  left: .24rem;
  top: .74rem;
  width: 1.86rem;
  height: .12rem;
  border-radius: .06rem;
  background: #147cff
}

.stage-note {
  position: absolute;
  left: .24rem;
  top: 1.1rem;
  font-size: .14rem;
  font-weight: 500;
  color: #6a7a91;
  white-space: pre
}

/* Stage 4 confirm */
.stage-check {
  position: absolute;
  left: .2rem;
  top: .22rem;
  width: .24rem;
  height: .24rem
}

.stage-selected {
  position: absolute;
  left: .58rem;
  top: .25rem;
  font-size: .17rem;
  font-weight: 500;
  color: #24334d
}

.stage-confirm {
  position: absolute;
  left: .2rem;
  top: .79rem;
  width: 2.8rem;
  height: .48rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .12rem;
  background: #147cff;
  color: #fff;
  font-size: .17rem;
  font-weight: 500
}

/* Stage 3 review strip */
.stage-strip {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ===== Start With RecoverLune ===== */
.start {
  position: relative;
  height: 7.5rem;
  background: linear-gradient(155.7deg, #fff 14.286%, #deedff 85.714%);
  overflow: hidden
}

.start-copy {
  position: relative;
  z-index: 1;
  margin-left: 1.6rem;
  padding-top: 1.2rem;
  width: 8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem
}

.start-copy h2 {
  font-size: .76rem;
  line-height: .86rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #05132d
}

.start-copy p {
  font-size: .25rem;
  line-height: .36rem;
  color: #5a687b
}

.start-visual {
  position: absolute;
  top: 0;
  right: 1.6rem;
  width: 8rem;
  pointer-events: none
}

.start-visual img {
  width: 100%;
  height: auto
}

/* ===== Footer ===== */
.footer {
  height: 1.3rem;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff
}

.footer-brand {
  font-size: .28rem;
  font-weight: 600;
  color: #05132d
}

.footer-meta {
  font-size: .19rem;
  color: #5a687b
}

/* ===== Mobile (<=768px): px units ===== */
@media (max-width:768px) {
  body {
    padding-top: 64px
  }

  .nav {
    height: 64px;
    padding: 8px 16px 0
  }

  .nav-card {
    height: 48px;
    padding: 0 8px 0 12px;
    border-radius: 14px
  }

  .brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: -.02em
  }

  .nav-link {
    font-size: 12px
  }

  .hero {
    height: auto;
    padding: 24px 20px 0;
    flex-direction: column;
    align-items: flex-start
  }

  .hero-copy {
    width: 100%;
    gap: 16px
  }

  .hero-label {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px
  }

  .hero-title {
    font-size: 34px;
    line-height: 42px;
    letter-spacing: -.02em
  }

  .hero-title br {
    display: none
  }

  .hero-actions {
    height: 0
  }

  .hero-visual {
    position: static;
    width: 118%;
    margin: 16px 0 -6% -9%;
    align-self: center
  }

  .ribbon {
    height: 56px;
    padding: 0 20px;
    font-size: 15px;
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }

  .ribbon::-webkit-scrollbar {
    display: none
  }

  .features {
    padding: 40px 20px;
    gap: 32px
  }

  .features-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
  }

  .features-head h2 {
    font-size: 30px;
    letter-spacing: -.02em
  }

  .features-head p {
    font-size: 15px;
    line-height: 22px;
    text-align: left
  }

  .feature {
    flex-direction: column;
    gap: 20px
  }

  .feature-visual {
    order: -1;
    width: 100%
  }

  .feature-visual img {
    border-radius: 22px
  }

  .feature-copy {
    width: 100%;
    padding-top: 0;
    gap: 16px
  }

  .eyebrow {
    font-size: 12px
  }

  .feature-copy h3 {
    font-size: 28px;
    letter-spacing: -.02em
  }

  .chip {
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px
  }

  .tile--photo {
    width: 100%;
    max-width: 330px;
    height: auto;
    gap: 10px;
    padding: 18px;
    border-radius: 20px
  }

  .tile--photo .tile-text {
    width: auto;
    flex: 1
  }

  .tile--photo strong {
    font-size: 18px;
    line-height: 24px
  }

  .tile--photo span {
    font-size: 12px;
    line-height: 18px;
    white-space: normal
  }

  .tile--photo img {
    width: 56px;
    height: 76px
  }

  .tile--video {
    width: 100%;
    max-width: 290px;
    height: auto;
    gap: 16px;
    padding: 22px;
    border-radius: 32px
  }

  .tile--video img {
    width: 64px;
    height: 64px
  }

  .tile--video .tile-text {
    width: auto;
    font-size: 22px;
    line-height: 32px
  }

  .steps {
    padding: 40px 20px
  }

  .steps-head {
    margin-left: 0;
    padding-left: 0;
    gap: 10px
  }

  .steps-head h2 {
    font-size: 30px;
    letter-spacing: -.02em
  }

  .steps-head p {
    font-size: 15px;
    line-height: 22px
  }

  .steps-panel {
    margin-top: 24px;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    border-radius: 24px
  }

  .stage {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px
  }

  .stage-num {
    position: static;
    font-size: 36px;
    letter-spacing: -.02em
  }

  .stage-title {
    position: static;
    width: auto;
    font-size: 18px;
    line-height: 24px
  }

  .stage-box {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden
  }

  .stage-arrow {
    display: none
  }

  .stage-chip {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13px
  }

  .stage-box--chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    height: auto;
    min-height: 150px;
    align-content: center
  }

  .stage-box--chips .stage-chip {
    position: static;
    left: auto;
    top: auto;
    text-align: center
  }

  .stage-label {
    left: 20px;
    top: 22px;
    font-size: 15px
  }

  .stage-rail {
    left: 20px;
    top: 62px;
    width: calc(100% - 40px);
    height: 10px;
    border-radius: 5px
  }

  .stage-progress {
    left: 20px;
    top: 62px;
    width: 55%;
    height: 10px;
    border-radius: 5px
  }

  .stage-note {
    left: 20px;
    top: 92px;
    font-size: 12px
  }

  .stage-check {
    left: 16px;
    top: 18px;
    width: 20px;
    height: 20px
  }

  .stage-selected {
    left: 48px;
    top: 20px;
    font-size: 14px
  }

  .stage-confirm {
    left: 16px;
    top: 60px;
    width: calc(100% - 32px);
    height: 44px;
    border-radius: 10px;
    font-size: 14px
  }

  .start {
    height: auto;
    padding: 40px 20px 0;
    display: block
  }

  .start-copy {
    margin-left: 0;
    padding-top: 0;
    width: 100%;
    gap: 16px
  }

  .start-copy h2 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -.02em
  }

  .start-copy p {
    font-size: 15px;
    line-height: 24px
  }

  .start-copy p br {
    display: none
  }

  .btn-download {
    height: 64px;
    padding: 14px 20px;
    border-radius: 14px
  }

  .btn-download img {
    width: 22px;
    height: 22px
  }

  .start-visual {
    position: static;
    width: 112%;
    margin: 8px 0 -4% -6%;
    align-self: center
  }

  .footer {
    height: auto;
    padding: 20px;
    gap: 12px
  }

  .footer-brand {
    font-size: 16px
  }

  .footer-meta {
    font-size: 12px
  }
}

@media (max-width:360px) {
  .hero-title {
    font-size: 29px;
    line-height: 37px
  }

  .features-head h2,
  .steps-head h2 {
    font-size: 26px
  }

  .start-copy h2 {
    font-size: 31px;
    line-height: 39px
  }
}