* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #102d3b;
  --muted: #4d656d;
  --mint: #a8f3d9;
  --paper: #f7faf9;
  --gutter: clamp(20px, 5.4vw, 78px);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.6; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #dd920f; outline-offset: 4px; }
.skip { position: absolute; z-index: 5; top: 6px; left: 6px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100%, 1200px); padding-inline: var(--gutter); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid #dfebe8; }
.header-inner, .brand, nav, .download-row, .preview-controls, .tabs, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: 74px; gap: 16px; }
.brand { gap: 11px; font-weight: 750; font-size: 1.32rem; letter-spacing: -.04em; white-space: nowrap; }
.brand img { border-radius: 11px; }
.brand-divider { width: 1px; height: 23px; background: #cfdad7; }
.wordmark { width: 80px; height: auto; }
nav { margin-left: auto; gap: clamp(16px, 2.6vw, 36px); font-size: .9375rem; }
nav a, .footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #f4fbf7;
  background: radial-gradient(ellipse at 78% 50%, #184e56 0, transparent 49%), linear-gradient(110deg, #101f34 1%, #102e3e 57%, #123640);
}
.grid-paper {
  position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .48;
  background-image: linear-gradient(#83c5bc28 1px, transparent 1px), linear-gradient(90deg, #83c5bc28 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 76% 55%, #000, transparent 66%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: clamp(20px, 5vw, 76px);
  align-items: center; padding-block: clamp(34px, 4.2vw, 56px);
}
.intro { padding-block: 20px; }
.hero h1 { font-size: clamp(3.6rem, 6.3vw, 5.6rem); line-height: 1.12; letter-spacing: -.055em; margin: 0 0 25px; font-weight: 760; }
.lead { margin: 0; color: #d0e0e4; line-height: 1.9; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.download-row { gap: 22px; margin-top: 34px; scroll-margin-top: 22px; }
.download {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 12px 23px;
  color: #10382e; background: var(--mint); border-radius: 12px; font-weight: 750;
  box-shadow: 0 8px 24px #061f284d;
}
.download:hover { background: #c5ffe9; }
.android-mark { position: relative; width: 20px; height: 12px; margin-top: 2px; background: currentColor; border-radius: 12px 12px 3px 3px; }
.android-mark::before, .android-mark::after { content: ""; position: absolute; width: 1.6px; height: 6px; top: -4px; background: currentColor; border-radius: 2px; }
.android-mark::before { left: 4px; transform: rotate(-31deg); }
.android-mark::after { right: 4px; transform: rotate(31deg); }
.android-mark i { position: absolute; top: 6px; left: 5px; height: 2px; width: 2px; border-radius: 50%; background: var(--mint); box-shadow: 8px 0 var(--mint); }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin: 15px 0 0; font-size: .875rem; color: #c4d5d8; font-variant-numeric: tabular-nums; }
.release-meta span + span::before { content: "·"; margin-right: 10px; color: #a5babd; }
.scan { position: relative; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.scan summary { display: flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: underline; text-decoration-color: #7d9e9e; text-underline-offset: 5px; }
.scan-card { position: absolute; z-index: 3; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; width: 188px; padding: 12px; color: var(--ink); background: white; border-radius: 14px; box-shadow: 0 12px 34px #07181e59; font-size: .875rem; }
.scan-card img { width: 164px; height: 164px; }

.showcase { margin: 0; display: grid; justify-items: center; position: relative; }
.screen-frame {
  width: clamp(210px, 18vw, 242px); padding: 5px; border: 1px solid #b5d5d2; border-radius: 26px;
  background: linear-gradient(140deg,#d5e1df,#4c6d71 18%,#223d45 76%,#abcac5);
  box-shadow: 0 20px 58px #03172480, 0 1px 1px #ffffff61 inset;
  transform: rotate(2deg);
}
.screen-frame [role="tabpanel"] { border-radius: 20px; overflow: hidden; background: #f5f8fa; }
.screen { width: 100%; height: auto; }
.preview-controls { margin-top: 19px; gap: 12px; justify-content: center; }
.preview-label { color: #c0d1d3; font-size: .875rem; white-space: nowrap; }
.tabs { padding: 3px; border: 1px solid #a1c4bd4f; border-radius: 22px; background: #08242e; }
.tabs button { font-size: .875rem; line-height: 1.25; border: 0; background: none; border-radius: 20px; padding: 6px 11px; min-height: 34px; color: #d6e7e5; }
.tabs button[aria-selected="true"] { color: #0e3c35; font-weight: 700; background: #c6eee0; }
.tabs button:hover:not([aria-selected="true"]) { background: #245058; }

.features { padding-block: clamp(37px, 5vw, 66px) 30px; scroll-margin-top: 16px; }
.features h2 { margin: 0 0 28px; font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.04em; line-height: 1.25; }
.features-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,3vw,40px); }
.features article { border-top: 2px solid #9ebfb5; padding-top: 16px; }
.features h3 { margin: 0 0 7px; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.5; }
.features p { color: var(--muted); margin: 0; line-height: 1.85; }
.install { margin-top: 30px; border-top: 1px solid #dbe5e0; }
.install summary { min-height: 48px; display: inline-flex; gap: 9px; align-items: center; color: #305a54; font-weight: 600; }
.install summary::before { content:"+"; font: 500 1.1rem/1 monospace; }
.install[open] summary::before { content:"−"; }
.install p { max-width: 56em; padding-bottom: 8px; }
footer { border-top: 1px solid #dae4df; }
.footer-inner { min-height: 68px; justify-content: space-between; gap: 16px; font-size: .875rem; color: #566c70; }
@media(max-width: 740px) {
  .header-inner { gap: 9px; min-height: 62px; }
  .brand { font-size: 1.1rem; gap: 7px; }
  .brand img { width: 33px; height: 33px; }
  .wordmark { width: 60px; }
  .brand-divider { height: 19px; }
  nav { gap: 16px; font-size: .875rem; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 36px 28px; }
  .intro { padding: 0; }
  .hero h1 { font-size: clamp(2.7rem, 10.7vw, 4rem); margin-bottom: 14px; }
  .lead { font-size: 1rem; }
  .desktop-break { display: none; }
  .download-row { margin-top: 22px; }
  .release-meta { margin-top: 11px; }
  .scan { display: none; }
  .screen-frame { width: clamp(194px, 60vw, 230px); transform: rotate(1deg); }
  .preview-controls { margin-top: 14px; gap: 10px; }
  .features-grid { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .features h2 { margin-bottom: 22px; }
  .features article { padding-top: 12px; }
  .features { padding-bottom: 18px; }
}
@media(max-width: 360px) { .brand-divider,.wordmark {display:none;} }
@media(max-height: 580px) and (min-width: 741px) { .scan-card { bottom: auto; top: calc(100% + 4px); } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
