:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --card: #fff;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --green: #40745a;
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 10px 16px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.topbar {
  width: min(1120px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img, .footer-brand img { border-radius: 11px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 13px; color: #424245; }
nav a:hover { color: var(--blue); }
.nav-download { padding: 7px 15px; color: #fff; background: var(--blue); border-radius: 999px; }
.nav-download:hover { color: #fff; background: var(--blue-dark); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 54px;
}
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7vw, 104px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 750;
}
.hero h1 em { color: var(--green); font-style: normal; }
.lede { max-width: 560px; margin: 28px 0 30px; font-size: 21px; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease;
}
.button span { font-size: 12px; opacity: .72; font-weight: 500; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--blue); background: transparent; border-color: var(--blue); }
.button.disabled { color: #86868b; background: #e8e8ed; border-color: transparent; cursor: not-allowed; }
.microcopy { margin-top: 17px; color: #86868b; font-size: 12px; }

.hero-stage {
  position: relative;
  height: 590px;
  overflow: hidden;
  background: linear-gradient(150deg, #fff 10%, #edf3ef 92%);
  border-radius: 46px;
  box-shadow: 0 24px 80px rgba(0,0,0,.08);
}
.stage-glow { position: absolute; width: 500px; height: 500px; top: -260px; right: -110px; border-radius: 50%; background: rgba(183,221,200,.42); filter: blur(2px); }
.desktop { position: absolute; width: 75%; right: 5%; top: 18%; }
.desktop-screen { height: 315px; padding: 9px; background: #171719; border-radius: 19px; box-shadow: 0 35px 60px rgba(0,0,0,.2); transform: perspective(900px) rotateY(-3deg); }
.desktop-camera { position: absolute; z-index: 2; width: 4px; height: 4px; top: 5px; left: 50%; border-radius: 50%; background: #555; }
.window-bar { height: 34px; display: flex; gap: 6px; align-items: center; padding: 0 11px; color: #aaa; font-size: 9px; }
.window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #666; }
.window-bar span { margin-left: auto; }
.window-content { height: calc(100% - 34px); border-radius: 10px; background: #fafafa; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.window-content img { width: 84px; height: 84px; border-radius: 23px; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.window-content strong { margin-top: 17px; font-size: 18px; }
.window-content small { margin-top: 3px; color: var(--muted); }
.desktop-stand { width: 40%; height: 75px; margin: 0 auto; background: linear-gradient(90deg, #afb0b2, #e7e7e8 48%, #aaa); clip-path: polygon(39% 0,61% 0,68% 78%,92% 91%,92% 100%,8% 100%,8% 91%,32% 78%); }
.device { position: absolute; z-index: 3; width: 148px; height: 300px; left: 7%; bottom: 8%; padding: 8px; border-radius: 31px; background: #171719; box-shadow: 0 30px 55px rgba(0,0,0,.27); transform: rotate(-5deg); }
.device-island { position: absolute; z-index: 2; top: 14px; left: 49px; width: 51px; height: 15px; border-radius: 999px; background: #171719; }
.device-content { height: 100%; border-radius: 24px; background: linear-gradient(155deg, #f8f8fa, #e9efeb); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.device-content strong { margin-top: 14px; font-size: 14px; }
.device-content span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.mirror-symbol, .mirror-icon-large { position: relative; }
.mirror-symbol { width: 72px; height: 58px; }
.mirror-symbol i, .mirror-icon-large i { position: absolute; display: block; border: 3px solid var(--blue); border-radius: 7px; background: rgba(255,255,255,.78); }
.mirror-symbol i { width: 50px; height: 35px; }
.mirror-symbol i:first-child { left: 0; bottom: 0; }
.mirror-symbol i:last-child { right: 0; top: 0; }

.trust-strip {
  width: min(850px, calc(100% - 40px));
  margin: 34px auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-strip div { padding: 24px; text-align: center; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip strong { display: block; font-size: 36px; line-height: 1.1; color: var(--green); }
.trust-strip span { color: var(--muted); font-size: 12px; }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 650px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.feature-card { position: relative; min-height: 430px; padding: 42px; overflow: hidden; background: var(--card); border-radius: var(--radius); }
.feature-card.feature-wide { grid-row: span 2; min-height: 878px; background: linear-gradient(155deg, #eaf3ee, #fff); }
.feature-card.dark { color: #f5f5f7; background: #1d1d1f; }
.card-label { margin: 0 0 26px; color: var(--green); font-size: 13px; font-weight: 700; }
.dark .card-label { color: #82b99a; }
.feature-card h3 { margin: 0 0 22px; font-size: clamp(34px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.feature-card > p:last-of-type, .feature-card > div > p { max-width: 460px; color: var(--muted); font-size: 16px; }
.dark > p:last-of-type { color: #a1a1a6; }
.radar { position: absolute; left: 50%; bottom: 55px; width: 420px; height: 420px; transform: translateX(-50%); display: grid; place-items: center; }
.radar i { position: absolute; border: 1px solid rgba(64,116,90,.22); border-radius: 50%; }
.radar i:nth-child(1) { width: 180px; height: 180px; }
.radar i:nth-child(2) { width: 290px; height: 290px; }
.radar i:nth-child(3) { width: 410px; height: 410px; }
.radar b { position: relative; padding: 12px 18px; color: #fff; background: var(--green); border-radius: 999px; font-size: 12px; box-shadow: 0 10px 30px rgba(64,116,90,.2); }
.permission-demo { position: absolute; left: 42px; right: 42px; bottom: 38px; display: flex; justify-content: space-between; align-items: center; padding: 17px 18px; border: 1px solid #e5e5e7; border-radius: 17px; box-shadow: 0 16px 35px rgba(0,0,0,.07); font-size: 13px; }
.permission-demo b { padding: 7px 14px; color: #fff; background: var(--blue); border-radius: 999px; }
.metric-demo { position: absolute; left: 42px; right: 42px; bottom: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-demo span { padding: 14px 8px; color: #86868b; background: #2c2c2e; border-radius: 14px; text-align: center; font-size: 10px; }
.metric-demo b { display: block; color: #fff; font-size: 18px; }

.apple-section { margin-top: 100px; color: #f5f5f7; background: #000; }
.apple-inner { position: relative; width: min(1120px, calc(100% - 40px)); }
.apple-section .eyebrow { color: #82b99a; }
.apple-section .section-heading > p:last-child { color: #a1a1a6; }
.mirror-icon-large { width: 130px; height: 100px; margin: 10px auto 65px; }
.mirror-icon-large i { width: 91px; height: 61px; border-width: 4px; border-radius: 11px; background: #000; }
.mirror-icon-large i:first-child { left: 0; bottom: 0; }
.mirror-icon-large i:last-child { right: 0; top: 0; }
.apple-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guide-card { padding: 38px; background: #1d1d1f; border-radius: var(--radius); }
.device-kicker { margin: 0; color: #82b99a; font-weight: 700; font-size: 13px; }
.guide-card h3 { margin: 10px 0 30px; font-size: 31px; }
.guide-card ol { list-style: none; margin: 0; padding: 0; }
.guide-card li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid #38383a; }
.guide-card li > span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: 13px; font-weight: 700; }
.guide-card li p { margin: 0; color: #a1a1a6; font-size: 14px; }
.guide-card li strong { display: block; margin-bottom: 3px; color: #f5f5f7; font-size: 16px; }
.network-note { margin: 22px 5px 0; color: #86868b; font-size: 13px; }
.network-note strong { color: #f5f5f7; }

.android-guide { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.android-copy h2 { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: 1.05; letter-spacing: -.055em; }
.android-copy > p:last-child { color: var(--muted); font-size: 17px; }
.android-steps { background: #fff; border-radius: var(--radius); padding: 12px 34px; }
.android-steps > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 23px 0; }
.android-steps > div + div { border-top: 1px solid #e5e5e7; }
.android-steps span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 13px; font-weight: 700; }
.android-steps strong { font-size: 16px; }
.android-steps p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.risk-banner { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 26px; margin-bottom: 18px; color: #704a20; background: #fff8ea; border: 1px solid #ead8bd; border-radius: 18px; }
.risk-banner p { margin: 0; font-size: 14px; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px; min-width: 0; padding: 34px; background: #fff; border-radius: var(--radius); }
.download-card .version { color: var(--green); font-size: 12px; font-weight: 700; }
.download-card h3 { margin: 0; font-size: 29px; }
.download-card div > p:last-child { color: var(--muted); font-size: 14px; }
.platform-mark { width: 52px; height: 52px; position: relative; }
.windows-mark { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.windows-mark i { background: var(--blue); }
.android-mark { background: var(--green); border-radius: 13px 13px 18px 18px; margin-top: 5px; }
.android-mark::before { content: ""; position: absolute; width: 34px; height: 17px; left: 9px; top: -8px; border-radius: 20px 20px 4px 4px; background: var(--green); }
.android-mark i { position: absolute; width: 4px; height: 4px; top: 4px; border-radius: 50%; background: #fff; }
.android-mark i:first-child { left: 17px; }
.android-mark i:last-child { right: 17px; }
.hash { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; min-width: 0; padding: 14px; background: var(--paper); border-radius: 12px; }
.hash span { color: #7b847e; font-size: 10px; }
.hash code { grid-row: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.copy-hash { grid-column: 2; grid-row: 1 / 3; border: 0; color: var(--blue); background: none; cursor: pointer; }
.pending-note { margin: 0; padding: 14px; color: var(--muted); background: var(--paper); border-radius: 12px; font-size: 12px; }
.secondary-downloads { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font-size: 13px; }
.secondary-downloads a { color: var(--blue-dark); }

.changelog-section { border-top: 1px solid var(--line); }
.release { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 28px 0; border-top: 1px solid var(--line); }
.release-meta { display: flex; flex-direction: column; }
.release-meta span { color: var(--muted); font-size: 12px; }
.release ul { margin: 0; padding-left: 20px; color: var(--muted); }
.release li + li { margin-top: 7px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; cursor: pointer; list-style: none; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 12px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 800px; margin: -5px 0 24px; color: var(--muted); }

footer { width: min(1120px, calc(100% - 40px)); margin: 30px auto 0; padding: 50px 0 34px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin: 30px 0 18px; }
.footer-links a { color: var(--muted); font-size: 13px; }
footer > p { color: #9a9a9f; font-size: 11px; }
.toast { position: fixed; z-index: 50; bottom: 22px; left: 50%; opacity: 0; transform: translate(-50%, 20px); padding: 10px 17px; color: #fff; background: var(--ink); border-radius: 999px; pointer-events: none; transition: .2s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stage { height: 520px; }
  .feature-grid, .apple-guide-grid, .android-guide { grid-template-columns: 1fr; }
  .feature-card.feature-wide { grid-row: auto; min-height: 650px; }
  .android-guide { gap: 40px; }
  .android-copy { text-align: center; }
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .topbar, .hero, .section, footer { width: min(100% - 28px, 1120px); }
  .topbar { height: 64px; }
  nav a:not(.nav-download) { display: none; }
  .hero { padding-top: 42px; margin-top: 0; min-height: 0; gap: 40px; }
  .hero h1 { font-size: 56px; }
  .lede { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-stage { height: 365px; border-radius: 28px; }
  .desktop { width: 82%; right: 1%; top: 17%; }
  .desktop-screen { height: 205px; }
  .window-content img { width: 55px; height: 55px; border-radius: 16px; }
  .window-content strong { font-size: 13px; margin-top: 10px; }
  .device { width: 95px; height: 196px; left: 5%; bottom: 7%; border-radius: 22px; }
  .device-island { left: 31px; width: 34px; height: 10px; }
  .device-content { border-radius: 16px; }
  .device-content strong { font-size: 10px; }
  .mirror-symbol { width: 48px; height: 39px; }
  .mirror-symbol i { width: 34px; height: 24px; border-width: 2px; }
  .trust-strip { width: calc(100% - 28px); margin: 42px auto 60px; }
  .trust-strip div { padding: 17px 4px; }
  .trust-strip strong { font-size: 28px; }
  .trust-strip span { font-size: 10px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 44px; }
  .section-heading > p:last-child { font-size: 16px; }
  .feature-card, .guide-card, .download-card { padding: 25px; border-radius: 23px; }
  .feature-card { min-height: 390px; }
  .feature-card.feature-wide { min-height: 560px; }
  .radar { width: 310px; height: 310px; bottom: 35px; }
  .radar i:nth-child(1) { width: 130px; height: 130px; }
  .radar i:nth-child(2) { width: 215px; height: 215px; }
  .radar i:nth-child(3) { width: 300px; height: 300px; }
  .permission-demo, .metric-demo { left: 25px; right: 25px; bottom: 25px; }
  .apple-section { margin-top: 60px; }
  .mirror-icon-large { margin-bottom: 45px; }
  .guide-card h3 { font-size: 27px; }
  .android-copy h2 { font-size: 43px; }
  .android-steps { padding: 8px 22px; }
  .risk-banner { grid-template-columns: 1fr; gap: 6px; }
  .release { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
