:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #0a0a0b;
  --muted: #6f706d;
  --line: #cfcec8;
  --yellow: #f3cf28;
  --orange: #f07b13;
  --green: #08a66a;
  --magenta: #d01675;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  height: auto;
  min-height: 680px;
  max-height: none;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  border-radius: 6px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}

nav a,
.privacy-link {
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

nav a:hover,
.privacy-link:hover {
  border-color: currentColor;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(460px, 1.1fr);
  gap: 72px;
  align-items: center;
  width: min(1240px, calc(100% - 64px));
  min-height: calc(100svh - 160px);
  padding: 28px 0;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 36px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow span {
  width: 28px;
  height: 4px;
  background: var(--yellow);
}

h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 0.9;
}

h1 strong {
  font-size: 88px;
  font-weight: 1000;
}

h1 span {
  margin-top: 22px;
  font-size: 42px;
  font-weight: 900;
}

.lead {
  margin: 32px 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.summary {
  max-width: 530px;
  margin: 0;
  color: #50514e;
  font-size: 16px;
  line-height: 1.9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.download-button {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 14px;
  width: 286px;
  min-height: 72px;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--yellow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0 var(--yellow);
}

.download-button:focus-visible,
nav a:focus-visible,
.privacy-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.platform-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  border-radius: 6px;
  font-size: 19px;
  font-weight: 1000;
}

.download-button small,
.download-button b {
  display: block;
}

.download-button small {
  margin-bottom: 2px;
  color: #b8b8b4;
  font-size: 10px;
  font-weight: 700;
}

.download-button b {
  font-size: 19px;
}

.download-arrow {
  color: var(--yellow);
  font-size: 26px;
  font-weight: 900;
}

.privacy-link {
  font-size: 14px;
  font-weight: 700;
}

.file-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.file-meta i {
  width: 3px;
  height: 3px;
  background: var(--ink);
  border-radius: 50%;
}

.phone-stage {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.phone {
  position: absolute;
  width: 322px;
  height: 660px;
  padding: 10px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid #2f2f31;
  border-radius: 38px;
  box-shadow: 0 34px 70px rgb(10 10 11 / 24%);
}

.phone-front {
  z-index: 3;
  top: 46px;
  right: 52px;
  transform: rotate(3deg);
}

.phone-back {
  z-index: 1;
  top: 100px;
  right: 312px;
  transform: rotate(-8deg);
}

.phone::before {
  position: absolute;
  z-index: 5;
  top: 17px;
  left: 50%;
  width: 76px;
  height: 18px;
  content: "";
  background: var(--ink);
  border-radius: 12px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #f7f7f4;
  border-radius: 29px;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 22px;
  font-size: 9px;
  font-weight: 800;
}

.app-head {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
}

.app-head img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
}

.app-head b {
  font-size: 14px;
}

.app-head span {
  font-size: 12px;
  font-weight: 900;
}

.search-bar {
  height: 34px;
  margin: 2px 14px 10px;
  padding: 9px 12px;
  color: #8b8b87;
  background: #ecece8;
  border-radius: 6px;
  font-size: 10px;
}

.app-banner {
  position: relative;
  display: flex;
  height: 146px;
  margin: 0 14px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
}

.app-banner::before,
.app-banner::after {
  position: absolute;
  content: "";
}

.app-banner::before {
  top: 16px;
  left: 0;
  width: 8px;
  height: 32px;
  background: var(--orange);
}

.app-banner::after {
  right: 18px;
  bottom: 0;
  width: 9px;
  height: 46px;
  background: var(--magenta);
}

.app-banner div {
  position: relative;
  z-index: 2;
}

.app-banner small {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 800;
}

.app-banner strong {
  display: block;
  margin-top: 11px;
  font-size: 25px;
  line-height: 1.1;
}

.app-banner img {
  position: absolute;
  right: -12px;
  bottom: -2px;
  width: 150px;
  height: 138px;
  object-fit: contain;
}

.entry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px 14px;
}

.entry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 9px;
  background: #fff;
  border: 1px solid #deded9;
  border-radius: 6px;
}

.entry-item span,
.entry-item b,
.entry-item small {
  display: block;
}

.entry-item b {
  font-size: 11px;
}

.entry-item small {
  margin-top: 5px;
  color: #858581;
  font-size: 8px;
}

.entry-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 8px;
}

.section-head b {
  font-size: 13px;
}

.section-head span {
  color: #82827e;
  font-size: 8px;
}

.auction-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 0 14px;
}

.auction-card {
  min-width: 0;
}

.card-image {
  display: grid;
  height: 116px;
  margin-bottom: 6px;
  overflow: hidden;
  place-items: center;
  background: #e9e9e5;
  border: 1px solid #d3d3ce;
  border-radius: 5px;
}

.card-image img {
  width: 80px;
  height: 106px;
  object-fit: contain;
}

.card-image-alt {
  color: #fff;
  background: var(--ink);
}

.card-image-alt span {
  font-size: 23px;
  font-weight: 1000;
  line-height: 0.88;
}

.auction-card small,
.auction-card b,
.auction-card strong {
  display: block;
}

.auction-card small {
  color: var(--green);
  font-size: 7px;
  font-weight: 800;
}

.auction-card b {
  margin: 4px 0 7px;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-card strong {
  font-size: 11px;
}

.tab-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 48px;
  background: #fff;
  border-top: 1px solid #deded9;
  font-size: 8px;
}

.tab-bar b {
  color: var(--green);
}

.dark-screen {
  color: #fff;
  background: var(--ink);
}

.dark-screen::before,
.dark-screen::after {
  position: absolute;
  content: "";
}

.dark-screen::before {
  top: 90px;
  left: 0;
  width: 14px;
  height: 58px;
  background: var(--green);
}

.dark-screen::after {
  right: 0;
  bottom: 118px;
  width: 12px;
  height: 72px;
  background: var(--orange);
}

.dark-brand {
  padding: 72px 30px 0;
  font-size: 31px;
  font-weight: 1000;
}

.dark-brand span {
  color: var(--yellow);
}

.mascot-back {
  position: absolute;
  top: 188px;
  left: 42px;
  width: 260px;
}

.dark-screen p {
  position: absolute;
  bottom: 70px;
  left: 30px;
  margin: 0;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 1000;
  line-height: 0.9;
}

.accent {
  position: absolute;
  z-index: 2;
  display: block;
}

.accent-orange {
  top: 24px;
  right: 410px;
  width: 44px;
  height: 44px;
  border-top: 11px solid var(--orange);
  border-left: 11px solid var(--orange);
}

.accent-green {
  top: 154px;
  right: 6px;
  width: 20px;
  height: 64px;
  background: var(--green);
}

.accent-magenta {
  top: 350px;
  right: 382px;
  width: 36px;
  height: 14px;
  background: var(--magenta);
}

.service-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  min-height: 178px;
  padding: 32px max(32px, calc((100% - 1240px) / 2));
  color: #fff;
  background: var(--ink);
}

.service-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-intro span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.service-intro b {
  font-size: 17px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #4c4c4e;
}

.service-list span {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #4c4c4e;
  font-size: 14px;
  font-weight: 800;
}

.service-list span:last-child {
  border-right: 0;
}

.service-list i {
  color: var(--yellow);
  font-size: 9px;
  font-style: normal;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 max(32px, calc((100% - 1240px) / 2));
  color: #72726e;
  background: #e9e8e3;
  font-size: 12px;
}

@media (max-width: 1279px) {
  .hero-grid {
    grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1.1fr);
    gap: 24px;
  }

  h1 strong {
    font-size: 70px;
  }

  .phone-front {
    right: 0;
  }

  .phone-back {
    display: none;
  }

  .accent-orange {
    right: 325px;
  }

  .accent-magenta {
    right: 300px;
  }
}

@media (max-width: 1024px) {
  .privacy-link {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .site-header {
    width: calc(100% - 48px);
    height: 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(280px, 0.95fr) minmax(230px, 1.05fr);
    gap: 16px;
    width: calc(100% - 48px);
    min-height: calc(100svh - 128px);
    padding: 24px 0;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 0;
  }

  h1 strong {
    font-size: 60px;
  }

  h1 span {
    font-size: 34px;
  }

  .lead {
    font-size: 19px;
  }

  .summary {
    font-size: 14px;
  }

  .download-button {
    width: 260px;
  }

  .phone-front {
    top: 28px;
    right: -16px;
    left: auto;
    transform: scale(0.8) rotate(3deg);
    transform-origin: center right;
  }

  .accent {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    height: calc(100svh - 56px);
    min-height: 512px;
    max-height: none;
  }

  .site-header {
    width: calc(100% - 32px);
    height: 64px;
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  nav {
    gap: 18px;
    font-size: 12px;
  }

  nav a:first-child {
    display: none;
  }

  .hero-grid {
    position: relative;
    display: block;
    width: calc(100% - 32px);
    height: calc(100% - 64px);
    min-height: 0;
    padding-top: 24px;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  h1 strong {
    font-size: 56px;
  }

  h1 span {
    margin-top: 14px;
    font-size: 29px;
  }

  .lead {
    margin: 21px 0 8px;
    font-size: 17px;
  }

  .summary {
    max-width: 440px;
    font-size: 13px;
    line-height: 1.65;
  }

  .actions {
    gap: 16px;
    margin-top: 20px;
  }

  .download-button {
    width: min(268px, calc(100vw - 110px));
    min-height: 62px;
    grid-template-columns: 38px 1fr 20px;
    gap: 11px;
    padding: 8px 14px;
    box-shadow: 6px 6px 0 var(--yellow);
  }

  .platform-mark {
    width: 36px;
    height: 36px;
  }

  .download-button b {
    font-size: 17px;
  }

  .privacy-link {
    display: none;
  }

  .file-meta {
    gap: 8px;
    margin-top: 17px;
    font-size: 10px;
  }

  .phone-stage {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    pointer-events: none;
  }

  .phone-front {
    top: 370px;
    right: 0;
    left: auto;
    transform: scale(0.5) rotate(3deg);
    transform-origin: top right;
  }

  .accent {
    display: none;
  }

  .service-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 220px;
    padding: 28px 20px;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-list span {
    min-height: 52px;
  }

  .service-list span:nth-child(2) {
    border-right: 0;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px 20px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .site-header,
  .hero-grid {
    width: calc(100% - 24px);
  }

  h1 strong {
    font-size: 48px;
  }

  .phone-front {
    top: 350px;
    transform: scale(0.44) rotate(3deg);
    transform-origin: top right;
  }

  .download-button {
    width: calc(100vw - 46px);
  }

  .file-meta span:nth-of-type(2),
  .file-meta i:nth-of-type(2) {
    display: none;
  }
}

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

  .download-button {
    transition: none;
  }
}
