.lp-hero {
  position: relative;
  padding-bottom: 94px;
  overflow: hidden;
  background: var(--stage-900);
  color: var(--surface);
}

.lp-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
}

.lp-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.lp-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 5, 46, 0.55) 0%, rgba(26, 5, 46, 0.1) 40%, rgba(26, 5, 46, 0.85) 85%, var(--stage-900) 100%);
}

.lp-hero__inner {
  position: relative;
  padding-top: 240px;
}

.lp-worries {
  position: absolute;
  top: 92px;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.thought {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-thought);
  background: var(--thought-solid);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.thought::before,
.thought::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--thought-solid);
}

.thought::before {
  right: -6px;
  bottom: -2px;
  width: 9px;
  height: 9px;
}

.thought::after {
  right: -15px;
  bottom: -8px;
  width: 5px;
  height: 5px;
}

.thought--2 {
  display: none;
}

.thought--3::before {
  top: -2px;
  bottom: auto;
}

.thought--3::after {
  top: -8px;
  bottom: auto;
}

.lp-hero__title {
  margin-top: 14px;
  font-size: min(34px, 9.4vw);
  font-weight: 900;
  line-height: 1.3;
}

html:lang(zh-Hant) .lp-hero__title {
  text-indent: -0.5em;
}

.lp-hero__lead {
  margin-top: 14px;
  color: var(--purple-50);
  font-size: 15px;
  line-height: 1.85;
}

.lp-hero__stores {
  margin-top: 22px;
}

@media (min-width: 768px) {
  .lp-hero__media {
    height: 440px;
  }

  .lp-hero__inner {
    padding-top: 300px;
  }

  .lp-worries {
    top: 104px;
  }

  .lp-hero__copy {
    max-width: 640px;
  }

  .lp-hero__title {
    font-size: 44px;
  }

  .lp-hero__lead {
    font-size: 17px;
  }
}

@media (min-width: 1024px) {
  .lp-hero {
    min-height: 580px;
    padding-bottom: 70px;
  }

  .lp-hero__media {
    inset: 0;
    height: auto;
  }

  .lp-hero__photo {
    object-position: 70% 35%;
  }

  .lp-hero__shade {
    background:
      linear-gradient(180deg, rgba(26, 5, 46, 0) calc(100% - 180px), var(--stage-900) 100%),
      linear-gradient(90deg, rgba(26, 5, 46, 0.96) 0%, rgba(26, 5, 46, 0.86) calc(50% - 180px), rgba(26, 5, 46, 0.12) calc(50% + 307px), rgba(26, 5, 46, 0) calc(50% + 640px));
  }

  .lp-hero__inner {
    min-height: 510px;
    padding-top: 140px;
  }

  .lp-worries {
    inset: 0;
    display: block;
  }

  .thought {
    position: absolute;
    padding: 10px 18px;
    font-size: 15px;
  }

  .thought::before {
    width: 12px;
    height: 12px;
  }

  .thought::after {
    width: 7px;
    height: 7px;
  }

  .thought--1 {
    top: 296px;
    left: max(47.66%, 524px);
  }

  .thought--1::before {
    top: -3px;
    right: -8px;
    bottom: auto;
  }

  .thought--1::after {
    top: -11px;
    right: -20px;
    bottom: auto;
  }

  .thought--2 {
    display: block;
    top: 456px;
    right: 40px;
  }

  .thought--2::before {
    top: -3px;
    right: auto;
    bottom: auto;
    left: -8px;
  }

  .thought--2::after {
    top: -11px;
    right: auto;
    bottom: auto;
    left: -20px;
  }

  .thought--3 {
    top: 136px;
    right: 40px;
  }

  .thought--3::before {
    top: auto;
    right: auto;
    bottom: -3px;
    left: -8px;
  }

  .thought--3::after {
    top: auto;
    right: auto;
    bottom: -11px;
    left: -20px;
  }

  .lp-hero__copy {
    position: relative;
    max-width: 576px;
  }

  @media (max-width: 1199px) {
    .thought--1 {
      top: 236px;
    }

    .thought--2 {
      right: 16px;
    }

    .thought--3 {
      top: 112px;
      right: 16px;
    }
  }

  .lp-hero .benefit-bar {
    margin-bottom: 18px;
  }

  .lp-hero__title {
    margin-top: 0;
    font-size: clamp(50px, 4.53vw, 58px);
    line-height: 1.22;
    letter-spacing: 0.01em;
  }

  .lp-hero__lead {
    margin-top: 22px;
    font-size: 19px;
  }

  .lp-hero__stores {
    margin-top: 30px;
  }
}

.lp-karte {
  position: relative;
  background: linear-gradient(180deg, var(--stage-900) 0, var(--stage-900) 110px, var(--bg) 110px);
}

.karte-card {
  padding: 20px;
  border-radius: var(--radius-card-large);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  color: var(--text);
}

.karte-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title pill" "note note";
  align-items: center;
  column-gap: var(--space-md);
}

.karte-card__title {
  grid-area: title;
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.karte-card__note {
  grid-area: note;
  margin-top: var(--space-xs);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.karte-card__pill {
  grid-area: pill;
}

.karte-card__body {
  display: flex;
  flex-direction: column;
}

.karte-card__col {
  display: contents;
}

.karte-stats {
  order: 1;
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: 14px;
}

.karte-stat__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.karte-stat__note {
  margin-top: 2px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.karte-stat__sub {
  margin-top: var(--space-xs);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.karte-stat--low .karte-stat__label,
.karte-stat--low .karte-stat__note {
  color: var(--blue-ink);
}

.karte-stat--high {
  text-align: right;
}

.karte-stat--high .karte-stat__label,
.karte-stat--high .karte-stat__note {
  color: var(--pink-ink);
}

.karte-keys {
  order: 2;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

.karte-rows {
  order: 3;
  margin: 10px 0 0;
  border-top: 1px solid var(--hairline);
}

.karte-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--space-md);
  padding: 10px 0;
}

.karte-row + .karte-row {
  border-top: 1px solid var(--hairline);
  padding-bottom: 0;
}

.karte-row dt {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}

.karte-row dd {
  margin: 0;
}

.karte-row__value {
  margin-left: auto !important;
  color: var(--heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

.karte-num {
  font-size: 19px;
  line-height: 1;
}

.karte-num--high {
  color: var(--pink-ink);
}

.karte-row__hint {
  flex-basis: 100%;
  margin-top: 2px !important;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.karte-hint-num {
  color: var(--heading);
  font-weight: 600;
}

.karte-more {
  order: 4;
  margin-top: var(--space-lg);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.karte-chips {
  order: 5;
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  .lp-karte {
    background: linear-gradient(180deg, var(--stage-900) 0, var(--stage-900) 120px, var(--bg) 120px);
  }

  .karte-card {
    padding: 28px 40px 30px;
  }

  .karte-card__head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "title note pill";
    align-items: baseline;
    column-gap: 14px;
  }

  .karte-card__title {
    font-size: 18px;
  }

  .karte-card__note {
    margin-top: 0;
    font-size: 13px;
  }

  .karte-card__pill {
    align-self: center;
  }

  .karte-stats {
    margin-top: 22px;
  }

  .karte-stat__label,
  .karte-stat__sub {
    font-size: 13px;
  }

  .karte-stat__note {
    font-size: 52px;
  }

  .karte-stat__sub {
    margin-top: 6px;
  }

  .karte-keys {
    margin-top: 22px;
  }

  .karte-rows {
    margin-top: 20px;
  }

  .karte-row {
    padding: 12px 0;
  }

  .karte-row dt,
  .karte-row__hint {
    font-size: 13px;
  }

  .karte-row__hint {
    margin-top: 4px !important;
  }

  .karte-row__value {
    font-size: 15px;
  }

  .karte-num {
    font-size: 22px;
  }

  .karte-more {
    margin-top: 22px;
    font-size: 13px;
  }

  .karte-chips {
    margin-top: 10px;
  }
}

@media (min-width: 1024px) {
  .lp-karte {
    background: linear-gradient(180deg, var(--stage-900) 0, var(--stage-900) 140px, var(--bg) 140px);
  }

  .karte-card__body {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    margin-top: 22px;
  }

  .karte-card__col {
    display: block;
  }

  .karte-stats,
  .karte-keys {
    margin-top: 0;
  }
}

.lp-section {
  padding: var(--space-section-sp) 0;
}

@media (min-width: 1024px) {
  .lp-section {
    padding: var(--space-section-pc) 0;
  }
}

.phone {
  position: relative;
  flex: none;
  width: 132px;
  overflow: hidden;
  border: 4px solid var(--heading);
  border-bottom: 0;
  border-radius: var(--radius-phone-sm) var(--radius-phone-sm) 0 0;
  background: var(--heading);
}

.phone__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.feature-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: 18px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-md);
  min-height: 240px;
  padding: 18px var(--space-lg) 0;
  border-radius: var(--radius-card-large);
  background: var(--surface);
  color: var(--text);
}

.feature__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 18px;
  font-size: 13px;
  line-height: 1.7;
}

.feature__title {
  margin-top: var(--space-sm);
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: wrap;
}

.feature__text > p {
  margin-top: 6px;
}

.feature__text > p + p {
  margin-top: var(--space-xs);
}

.feature__phone {
  --phone-w: 132px;
  --phone-b: 4px;
  --phone-show: 0.9;
  align-self: end;
  width: var(--phone-w);
  height: 100%;
  max-height: calc((var(--phone-w) - 2 * var(--phone-b)) * 2.174 * var(--phone-show) + var(--phone-b));
  border-width: var(--phone-b) var(--phone-b) 0;
}

@media (max-width: 359px) {
  .feature {
    padding-right: 12px;
    padding-left: 14px;
  }

  .feature__phone {
    --phone-w: 104px;
    border-radius: 14px 14px 0 0;
  }

  .feature__title {
    font-size: 16px;
  }
}

main p,
main h3 {
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .feature-grid {
    gap: var(--space-xl);
    margin-top: 36px;
  }

  .feature {
    gap: 20px;
    min-height: 380px;
    padding: 36px var(--space-xxl) 0;
  }

  .feature__text {
    padding-bottom: var(--space-xxl);
    font-size: 15px;
    line-height: 1.8;
  }

  .feature__title {
    margin-top: 14px;
    font-size: 22px;
    line-height: 1.45;
  }

  .feature__text > p {
    margin-top: var(--space-md);
  }

  .feature__text > p + p {
    margin-top: var(--space-sm);
  }

  .feature {
    min-height: 320px;
  }

  .feature__chips {
    margin-top: var(--space-lg) !important;
  }

  .feature__phone {
    --phone-w: 212px;
    --phone-b: 6px;
    border-radius: var(--radius-phone) var(--radius-phone) 0 0;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    min-height: 380px;
  }

  .feature__chips {
    margin-top: auto !important;
    padding-top: var(--space-lg);
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .feature {
    padding-right: 28px;
    padding-left: 28px;
  }

  .feature__title {
    font-size: 20px;
  }

  .feature__phone {
    --phone-w: 162px;
    border-radius: 24px 24px 0 0;
  }
}

.lp-how {
  padding-bottom: 0;
  background: var(--surface);
}

.steps {
  margin-top: 18px;
}

.step {
  padding: 12px 0;
}

.step + .step {
  border-top: 1px solid var(--hairline);
}

.step__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.step__num {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--surface);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.step__text {
  margin: 3px 0 0 42px;
  font-size: 13px;
  line-height: 1.7;
}

.how-shot {
  margin-top: var(--space-md);
  padding-top: 22px;
  border-radius: var(--radius-card-large) var(--radius-card-large) 0 0;
  background: var(--bg);
}

.how-shot__phone {
  width: 212px;
  height: 248px;
  margin: 0 auto;
  border-width: 6px;
  border-radius: var(--radius-phone) var(--radius-phone) 0 0;
}

@media (min-width: 768px) {
  .lp-how {
    padding-bottom: var(--space-section-sp);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--space-lg);
    margin-top: 32px;
  }

  .step {
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 24px 16px 0;
    overflow: hidden;
    border-radius: var(--radius-card-large);
    background: var(--bg);
  }

  .step + .step {
    border-top: 0;
  }

  .step__title {
    align-items: center;
    gap: 10px;
    font-size: 16px;
  }

  .step__num {
    margin-top: 0;
  }

  .step__text {
    margin: 10px 0 0 38px;
    font-size: 14px;
    line-height: 1.8;
  }

  .step__phone {
    flex: 0 0 300px;
    width: min(252px, 100%);
    margin: auto auto 0;
    padding-top: 0;
    border-width: 6px;
    border-radius: var(--radius-phone) var(--radius-phone) 0 0;
  }

  .step__text {
    margin-bottom: 24px;
  }

  @supports (grid-template-rows: subgrid) {
    .steps {
      grid-template-rows: auto auto minmax(300px, 1fr);
      row-gap: 0;
    }

    .step {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      min-height: 0;
    }

    .step__title {
      align-self: start;
    }

    .step__text {
      align-self: start;
    }

    .step__phone {
      justify-self: center;
      margin: 0;
    }
  }
}

@media (min-width: 1024px) {
  .lp-how {
    padding-bottom: var(--space-section-pc);
  }

  .steps {
    column-gap: var(--space-xxl);
    margin-top: 40px;
  }

  .step {
    min-height: 508px;
    padding: 28px var(--space-xl) 0;
  }

  .step__title {
    gap: var(--space-md);
    font-size: clamp(18px, 1.72vw, 22px);
  }

  .step__num {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .step__text {
    margin-left: 48px;
    font-size: 15px;
    line-height: 1.85;
  }

  .step__text {
    margin-bottom: 28px;
  }

  .step__phone {
    flex-basis: 378px;
  }

  @supports (grid-template-rows: subgrid) {
    .steps {
      grid-template-rows: auto auto minmax(378px, 1fr);
    }

    .step {
      min-height: 0;
    }
  }
}

.lp-guide__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
}

.lp-guide__all {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--min-tap);
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: -6px;
}

.guide-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: 18px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--radius-card-large);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  color: var(--text);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.guide-card:hover .guide-card__title {
  color: var(--purple);
}

.guide-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  margin-bottom: 14px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--stage-900);
}

.guide-card__title {
  margin-top: var(--space-sm);
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.guide-card--lead .guide-card__title {
  font-size: 18px;
}

.guide-card__text {
  margin-top: var(--space-xs);
  font-size: 13px;
  line-height: 1.7;
}

.lp-guide__more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  border: 1.5px solid var(--purple);
  border-radius: var(--radius-pill);
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.lp-guide {
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  .lp-guide {
    padding-bottom: var(--space-section-sp);
  }
}

@media (min-width: 1024px) {
  .lp-guide {
    padding-bottom: var(--space-section-pc);
  }
}

.lp-guide__more:hover {
  background: var(--purple-50);
  color: var(--purple);
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .guide-card {
    padding: var(--space-xl);
  }

  .guide-card--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: var(--space-xl);
    align-items: start;
  }

  .guide-card--lead .pill {
    justify-self: start;
  }

  .guide-card--lead .guide-card__thumb {
    grid-row: 1 / -1;
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
    border-radius: 14px;
  }

  .guide-card__title {
    margin-top: var(--space-md);
    font-size: 18px;
  }

  .guide-card--lead .guide-card__title {
    font-size: 22px;
    line-height: 1.45;
  }

  .guide-card__text {
    margin-top: var(--space-sm);
    line-height: 1.75;
  }

  .guide-card--lead .guide-card__text {
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (min-width: 1024px) {
  .guide-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(210px, auto));
    margin-top: 40px;
  }

  .guide-card--lead {
    grid-column: auto;
    grid-row: span 2;
    display: flex;
  }

  .guide-card--lead .guide-card__thumb {
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-card,
  .guide-card:hover {
    transform: none;
    transition: none;
  }
}
