:root {
  color-scheme: light;
  --blue: #087ff5;
  --blue-deep: #005ec4;
  --sky: #edf6fd;
  --ink: #152b3c;
  --muted: #627687;
  --line: #cbdde9;
  --paper: #fcfeff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2 { overflow-wrap: break-word; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -70px;
  left: 16px;
  z-index: 20;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 800; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-note { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  color: var(--blue-deep);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.button span { font-size: 12px; font-weight: 500; }
.button:hover { color: #fff; background: var(--blue-deep); transform: translateY(-2px); }
.button-fill { color: #fff; background: var(--blue); }
.button-fill:hover { background: var(--blue-deep); }
.header-download { min-width: 88px; justify-content: center; min-height: 46px; }

.hero { padding-top: 72px; text-align: center; }
.hero-index { margin: 0 0 22px; color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 0 auto; font-size: clamp(48px, 6.5vw, 82px); line-height: 1.12; letter-spacing: -.06em; text-wrap: balance; }
.hero-lede { max-width: 680px; margin: 26px auto 56px; color: var(--muted); font-size: 18px; line-height: 1.9; text-wrap: balance; }

.device-stage {
  position: relative;
  padding: 62px 48px 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--sky);
  background-image: linear-gradient(rgba(8, 127, 245, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 127, 245, .055) 1px, transparent 1px);
  background-size: 48px 48px;
}
.device-stage::before {
  content: "MINTARIA / TWO SCREENS";
  position: absolute;
  top: 19px;
  left: max(24px, calc((100% - 1160px) / 2));
  color: #557a95;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .16em;
}
.device-line { display: flex; align-items: flex-end; justify-content: center; max-width: 960px; margin: auto; }
.laptop { width: min(730px, calc(100% - 185px)); min-width: 0; }
.laptop-screen {
  aspect-ratio: 1440 / 990;
  padding: 8px;
  border: 1px solid #28475e;
  border-radius: 12px;
  background: #17364e;
  box-shadow: 18px 22px 42px rgba(33, 75, 105, .16);
}
.laptop-screen img { width: 100%; height: 100%; border-radius: 6px; object-fit: contain; }
.laptop-base {
  position: relative;
  width: 106%;
  height: 14px;
  margin-left: -3%;
  border: 1px solid #9eb4c3;
  border-radius: 0 0 12px 12px;
  background: #d9e5ec;
  box-shadow: 12px 14px 24px rgba(33, 75, 105, .1);
}
.laptop-base::after { content: ""; display: block; width: 17%; height: 4px; margin: 0 auto; border-radius: 0 0 4px 4px; background: #a6b9c6; }

.phone {
  container-type: inline-size;
  position: relative;
  z-index: 2;
  flex: none;
  width: 184px;
  margin-left: -32px;
  margin-bottom: 24px;
  padding: 7px;
  border: 1px solid #28475e;
  border-radius: 27px;
  background: #17364e;
  box-shadow: 18px 22px 42px rgba(33, 75, 105, .2);
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 18.4;
  overflow: hidden;
  border-radius: 20px;
  color: #12344e;
  background: linear-gradient(165deg, #eef8ff 0%, #b9e1ff 42%, #63b6fb 100%);
  text-align: left;
}
.phone-notch { position: absolute; top: 3.5cqw; left: 50%; width: 32cqw; height: 7cqw; transform: translateX(-50%); border-radius: 5cqw; background: #17364e; }
.phone-seg {
  position: absolute;
  top: 16cqw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1cqw;
  padding: 2cqw;
  border-radius: 12cqw;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
  white-space: nowrap;
}
.phone-seg span { height: 15cqw; display: inline-flex; align-items: center; padding: 0 8cqw; border-radius: 9cqw; color: #345b76; font-size: 6.2cqw; line-height: 1; }
.phone-seg .on { color: #fff; background: var(--blue-deep); font-weight: 700; }
.phone-voice { position: absolute; top: 40cqw; left: 10cqw; right: 10cqw; display: flex; align-items: center; gap: 7cqw; }
.phone-voice img { width: 19cqw; height: 19cqw; border: 1.2cqw solid rgba(255, 255, 255, .8); border-radius: 50%; object-fit: cover; }
.phone-voice strong { display: block; font-size: 8cqw; line-height: 1.35; }
.phone-voice small { display: block; color: #3c6886; font-size: 5.5cqw; line-height: 1.5; }
.phone-line { position: absolute; top: 70cqw; left: 10cqw; right: 10cqw; margin: 0; font-size: 8.8cqw; font-weight: 550; line-height: 1.55; }
.phone-line b { font-weight: 800; }
.phone-play { width: 20cqw; height: 20cqw; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; border-radius: 50%; color: var(--blue-deep); background: rgba(255, 255, 255, .9); box-shadow: 0 2cqw 5cqw rgba(25, 93, 143, .12); }
.phone-play svg { width: 9cqw; height: 9cqw; }
.phone-pills { position: absolute; left: 9cqw; right: 9cqw; bottom: 12cqw; display: flex; flex-wrap: wrap; gap: 4cqw; }
.phone-pills span { min-height: 16cqw; display: inline-flex; align-items: center; padding: 0 6cqw; border-radius: 9cqw; color: #16496d; background: rgba(255, 255, 255, .68); font-size: 5.8cqw; line-height: 1; }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.platform { min-width: 0; padding: 64px 52px 58px; scroll-margin-top: 24px; }
.platform + .platform { border-left: 1px solid var(--line); }
.section-no { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; color: var(--blue-deep); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.section-no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.platform h2 { margin: 0 0 28px; font-size: clamp(34px, 4vw, 48px); line-height: 1.2; letter-spacing: -.045em; text-wrap: balance; }
.features { list-style: none; margin: 0 0 34px; padding: 0; counter-reset: feature; }
.features li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-top: 1px solid #e0eaf0; color: #405c70; font-size: 15px; counter-increment: feature; }
.features li::before { content: counter(feature, decimal-leading-zero); color: var(--blue-deep); font-size: 10px; font-weight: 800; line-height: 2.6; }
.downloads { display: grid; gap: 10px; }
.download-notes { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.download-notes p { margin: 0; }
.download-notes p + p { margin-top: 5px; }
.prices { margin: 0 0 20px; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price span { color: var(--muted); font-size: 14px; }
.price strong { font-size: 25px; letter-spacing: -.03em; }
.note { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.android-download { width: 100%; }

.fengma { display: flex; align-items: center; justify-content: center; gap: 26px; padding-block: 48px; text-align: left; }
.fengma > img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.fengma p { margin: 0; font-size: 18px; font-weight: 650; text-wrap: balance; }
.fengma small { display: block; margin-bottom: 3px; color: var(--blue-deep); font-size: 10px; letter-spacing: .18em; }
.footer { border-top: 1px solid var(--line); background: var(--sky); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-deep); text-underline-offset: 4px; }
.footer-inner > span > a { display: inline; min-height: 0; }

.error-page { min-height: 65vh; display: grid; align-content: center; justify-items: start; padding-block: 80px; }
.error-code { margin: 0 0 18px; color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.error-page h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); }
.error-page p:not(.error-code) { max-width: 520px; margin: 24px 0 34px; color: var(--muted); font-size: 17px; }
.error-page .button { min-width: 130px; justify-content: center; }

@media (max-width: 900px) {
  .device-stage { padding-inline: 28px; }
  .platform { padding: 48px 32px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 70px; }
  .brand { gap: 9px; font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .brand-note { display: none; }
  .header-download { min-width: 76px; min-height: 44px; padding: 9px 18px; }
  .hero { padding-top: 48px; }
  .hero-index { margin-bottom: 18px; font-size: 11px; }
  h1 { font-size: clamp(43px, 12.5vw, 60px); }
  .hero-lede { margin: 22px auto 40px; font-size: 16px; line-height: 1.85; }
  .device-stage { padding: 48px 12px 30px; }
  .device-stage::before { top: 15px; left: 18px; font-size: 8px; }
  .laptop { width: calc(100% - 72px); }
  .laptop-screen { padding: 4px; border-radius: 7px; box-shadow: 10px 14px 26px rgba(33, 75, 105, .14); }
  .laptop-screen img { border-radius: 3px; }
  .laptop-base { height: 9px; border-radius: 0 0 7px 7px; }
  .laptop-base::after { height: 3px; }
  .phone { width: 86px; margin-left: -22px; margin-bottom: 12px; padding: 3px; border-radius: 13px; box-shadow: 10px 14px 26px rgba(33, 75, 105, .18); }
  .phone-screen { border-radius: 10px; }
  .platforms { grid-template-columns: 1fr; }
  .platform { padding: 42px 0; }
  .platform + .platform { border-left: 0; border-top: 1px solid var(--line); }
  .platform h2 { font-size: 38px; }
  .button { min-height: 50px; }
  .fengma { align-items: flex-start; gap: 18px; padding-block: 38px; }
  .fengma > img { width: 62px; height: 62px; }
  .fengma p { font-size: 16px; }
  .footer-inner { min-height: 110px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding-block: 18px; }
  .error-page { min-height: 62vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
