:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #eef2f8;
}

html.theme-red-page,
html.theme-red-page body {
  background: #ffecec;
}

html.theme-green-page,
html.theme-green-page body {
  background: #ecffed;
}

body {
  display: grid;
  justify-items: center;
  overflow-x: hidden;
  color: #000;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.detail-stage {
  position: relative;
  width: 440px;
  height: 1162px;
  overflow: hidden;
}

.detail-design {
  --accent: #ff4550;
  --soft: #feeded;
  --soft-strong: #ffd6d6;
  --bubble: #feece5;
  --hero-top: #ffecec;
  --hero-mid: #fff6f6;
  position: absolute;
  top: 0;
  left: 0;
  width: 750px;
  height: 1980px;
  overflow: hidden;
  border-radius: 0;
  background: #f7f9fe;
  transform-origin: top left;
}

.detail-design.theme-green {
  --accent: #00a83b;
  --soft: #e9ffea;
  --soft-strong: #d7fdd9;
  --bubble: #e6fee7;
  --hero-top: #ecffed;
  --hero-mid: #f7faf2;
}

.hero-top {
  position: absolute;
  inset: 0 0 auto;
  height: 176px;
  background: var(--hero-top);
}

.hero-gradient {
  position: absolute;
  top: 176px;
  left: 0;
  width: 750px;
  height: 300px;
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 60%, #f7f9fe 100%);
}

.hero-chart {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.theme-red .hero-chart {
  top: 176px;
  left: 0;
  width: 729px;
  height: 340px;
}

.theme-green .hero-chart {
  top: 108px;
  left: 74px;
  width: 676px;
  height: 304px;
}

.status-time {
  display: none;
}

.status-icons {
  display: none;
}

.cellular {
  width: 34px;
  height: 22px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.cellular i {
  display: block;
  width: 5px;
  border-radius: 4px;
  background: #000;
}

.cellular i:nth-child(1) { height: 7px; }
.cellular i:nth-child(2) { height: 11px; }
.cellular i:nth-child(3) { height: 16px; }
.cellular i:nth-child(4) { height: 21px; }

.wifi {
  position: relative;
  width: 31px;
  height: 23px;
  overflow: hidden;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 4px solid #000;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.wifi::before {
  top: 1px;
  width: 25px;
  height: 25px;
}

.wifi::after {
  top: 10px;
  width: 9px;
  height: 9px;
}

.battery {
  position: relative;
  width: 49px;
  height: 23px;
  padding: 3px;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 5px;
}

.battery::before {
  content: "";
  display: block;
  width: 37px;
  height: 13px;
  border-radius: 2px;
  background: #000;
}

.battery::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -5px;
  width: 3px;
  height: 10px;
  border-radius: 0 3px 3px 0;
  background: rgba(0, 0, 0, 0.5);
}

.back-button {
  position: absolute;
  top: 94px;
  left: 19px;
  z-index: 8;
  width: 76px;
  height: 76px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.back-button::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 26px;
  width: 25px;
  height: 25px;
  border-left: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(45deg);
}

.listen-pill,
.more-pill {
  position: absolute;
  top: 99px;
  z-index: 6;
  height: 64px;
  display: flex;
  align-items: center;
  border: 0.5px solid rgba(151, 151, 151, 0.2);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.6);
}

.listen-pill {
  left: 372px;
  width: 174px;
  gap: 16px;
  padding: 0 25px 0 12px;
  font-size: 26px;
}

.listen-play {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid rgba(20, 30, 45, 0.08);
  border-radius: 50%;
  background: #fff;
}

.listen-play::before {
  content: "";
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #02070c;
}

.more-pill {
  right: 13px;
  width: 173px;
  justify-content: space-around;
  padding: 0 13px 0 19px;
}

.detail-ellipsis {
  display: flex;
  gap: 7px;
}

.detail-ellipsis i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
}

.more-divider {
  width: 1px;
  height: 38px;
  background: rgba(0, 0, 0, 0.1);
}

.target-dot {
  width: 33px;
  height: 33px;
  border: 5px solid #000;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #fff;
  background: #000;
}

.security-title {
  position: absolute;
  top: 197px;
  left: 40px;
  z-index: 4;
  height: 60px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.security-title strong {
  font-size: 40px;
  font-weight: 500;
  line-height: 60px;
}

.security-title span {
  color: #575757;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
}

.stats {
  position: absolute;
  top: 309px;
  left: 37px;
  z-index: 4;
  width: 573px;
  height: 105px;
}

.stat {
  position: absolute;
  top: 0;
}

.stat.one { left: 0; }
.stat.two { left: 271px; }
.stat.three { left: 451px; }

.stat-value {
  height: 61px;
  display: flex;
  align-items: center;
  color: #000;
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 61px;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.stat.one .stat-value {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -2px;
}

.stat.two .stat-value {
  color: var(--accent);
}

.stat-label {
  color: #757575;
  font-size: 24px;
  line-height: 36px;
  white-space: nowrap;
}

.review-card,
.facts-card,
.deep-card {
  position: absolute;
  left: 28px;
  width: 701px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
}

.review-card {
  top: 461px;
  height: 508px;
  padding: 25px 24px 20px;
  background: linear-gradient(180deg, var(--soft-strong) 0%, #fff 100%);
}

.review-kicker {
  height: 56px;
  color: var(--accent);
  font-size: 32px;
  font-weight: 400;
  line-height: 56px;
}

.review-headline {
  position: relative;
  z-index: 2;
  width: 560px;
  margin-top: 9px;
  color: var(--accent);
  font-size: 46px;
  font-weight: 680;
  line-height: 1.45;
  letter-spacing: -1.6px;
}

.review-copy {
  position: absolute;
  top: 265px;
  left: 24px;
  width: 653px;
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: -0.3px;
  white-space: pre-line;
}

.quote-mark {
  position: absolute;
  top: 27px;
  right: 31px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 122px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.09;
}

.facts-card {
  top: 1001px;
  height: 609px;
  background: #fff;
}

.card-heading {
  position: absolute;
  top: 25px;
  left: 24px;
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 52px;
}

.card-rule {
  position: absolute;
  top: 114px;
  left: 24px;
  width: 653px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.fact-row {
  position: absolute;
  left: 24px;
  width: 653px;
  height: 106px;
}

.fact-row.row-one { top: 143px; }
.fact-row.row-two { top: 306px; }
.fact-row.row-three { top: 469px; }

.fact-row.row-one::after,
.fact-row.row-two::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -29px;
  width: 653px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.number-bubble,
.hash-bubble {
  position: absolute;
  top: 15px;
  left: 0;
  width: 77px;
  height: 77px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bubble);
  color: color-mix(in srgb, var(--accent) 58%, white);
  font-family: Arial, sans-serif;
  font-size: 45px;
  font-weight: 700;
  line-height: 1;
}

.number-bubble::after,
.hash-bubble::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 31px;
  height: 29px;
  background: var(--bubble);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.fact-copy,
.deep-copy {
  position: absolute;
  top: 0;
  left: 106px;
}

.fact-copy strong,
.deep-copy strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 48px;
  white-space: nowrap;
}

.fact-copy span,
.deep-copy span {
  display: block;
  font-size: 28px;
  font-weight: 300;
  line-height: 52px;
  white-space: nowrap;
}

.deep-card {
  top: 1642px;
  height: 269px;
  background: #fff;
}

.deep-card .card-rule {
  top: 99px;
  width: 649px;
}

.deep-row {
  position: absolute;
  top: 134px;
  left: 24px;
  width: 653px;
  height: 106px;
}

.hash-bubble {
  top: 11px;
  font-family: "PingFang SC", sans-serif;
  font-size: 46px;
}

.row-chevron {
  position: absolute;
  top: 34px;
  right: 2px;
  width: 30px;
  height: 48px;
}

.row-chevron::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 25px;
  height: 25px;
  border-top: 4px solid #cfcfcf;
  border-right: 4px solid #cfcfcf;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .detail-design {
    scroll-behavior: auto;
  }
}
