:root {
  color-scheme: light dark;
  --ground: #F0F1F5;
  --surface: #FFFFFF;
  --ink: #14161A;
  --body: #454A54;
  --muted: #5A606B;
  --line: #E3E5EB;
  --line-strong: #D3D7E0;
  --cobalt: #2440E6;
  --cobalt-soft: #E8ECFE;
  --cobalt-lift: #9DAAFF;
  --fill: #2440E6;        /* cobalt under white text */
  --fill-hover: #1B33C4;
  --night: #14161A;       /* always-dark surfaces: the privacy band, the phone's bezel, the header pill */
  --night-line: #2E3038;
  --dot: #DADDE5;
  --shadow: rgba(20, 22, 26, 0.18);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E0F13;
    --surface: #17181D;
    --ink: #F2F3F7;
    --body: #B9BEC9;
    --muted: #8E94A2;
    --line: #26282F;
    --line-strong: #353842;
    --cobalt: #8C9DFF;
    --cobalt-soft: #1C2452;
    --fill: #3350F0;
    --fill-hover: #4663FF;
    --night: #17181D;
    --night-line: #2E3038;
    --dot: #2A2C34;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--cobalt); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.head { display: flex; flex-direction: column; gap: 10px; }
.tag { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.tag.blue { color: var(--cobalt); }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; }

/* Header */
.top { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav .lang { color: var(--muted); }
.pill { height: 44px; padding: 0 18px; border-radius: 22px; background: var(--fill); color: #FFFFFF; font-weight: 600; display: flex; align-items: center; }
.pill:hover { color: #FFFFFF; background: var(--fill-hover); }

/* Buttons */
.btn { height: 56px; padding: 0 26px; border-radius: 20px; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; }
.btn.primary { background: var(--fill); color: #FFFFFF; }
.btn.primary:hover { background: var(--fill-hover); color: #FFFFFF; }
.btn.ghost { background: var(--surface); border-color: var(--line-strong); }
.btn.soon { background: var(--surface); border-color: var(--line-strong); color: var(--muted); cursor: default; }
.btn small { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--cobalt); background: var(--cobalt-soft); border-radius: 999px; padding: 4px 9px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero > * { flex: 1 1 420px; min-width: 0; }
.pitch { display: flex; flex-direction: column; gap: 22px; }
.pitch .tag { display: flex; align-items: center; gap: 10px; }
.pitch .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 18%, transparent); }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.lede { font-size: 19px; color: var(--body); max-width: 520px; }
.fine { font-size: 14px; color: var(--muted); }

.scene { display: flex; flex-direction: column; gap: 20px; }
.dots { background-color: var(--surface); background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 18px 18px; border: 1px solid var(--line); }
.mac { position: relative; height: 190px; border-radius: 24px; overflow: hidden; }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 62%; height: 54px; background: #000; border-radius: 0 0 20px 20px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.notch b { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--cobalt-lift); }
.notch span { font-size: 13px; font-weight: 600; color: #F2F3F7; white-space: nowrap; }
.mac svg { position: absolute; left: 58%; top: 108px; animation: drift 7s ease-in-out infinite; }
.mac .tag { position: absolute; left: 18px; bottom: 16px; font-size: 10px; background: var(--surface); padding: 0 4px; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-90px, 18px); } 70% { transform: translate(40px, -26px); } }
.hands { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.phone { width: 220px; max-width: 60%; padding: 10px; background: #14161A; box-shadow: 0 0 0 1px var(--night-line); border-radius: 40px; }
.phone > div { height: 250px; padding: 14px; background: var(--ground); border-radius: 30px; display: flex; flex-direction: column; gap: 8px; }
.pad svg circle:first-child { fill: var(--surface); }
.pad svg { stroke: var(--muted); }
.pad { flex-grow: 1; border-radius: 22px; background-size: 14px 14px; display: flex; justify-content: center; align-items: center; }
.keys { display: grid; grid-template-columns: 3fr 2fr 3fr; gap: 6px; height: 38px; }
.keys span { border-radius: 12px; background: var(--line); }
.keys span:first-child { background: var(--fill); }
.keys span:last-child { background: var(--surface); border: 1px solid var(--line); }
.watch { width: 116px; padding: 8px; background: #1A1B1F; border-radius: 34px; }
.watch > div { height: 124px; padding: 8px; background: #000; border-radius: 26px; display: flex; flex-direction: column; gap: 5px; }
.watch .pad { background-color: #121317; background-image: radial-gradient(#2A2C34 1px, transparent 1.2px); background-size: 10px 10px; border: 1px solid #26282F; border-radius: 14px; }
.watch .pad i { width: 9px; height: 9px; border-radius: 50%; background: #5B74FF; }
.watch .keys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; height: 24px; }
.watch .keys span, .watch .keys span:first-child, .watch .keys span:last-child { border-radius: 8px; background: #15161A; border: 1px solid #26282F; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 15px; color: var(--body); }
.card.step { background: var(--ground); }
.card.step .tag { color: var(--cobalt); letter-spacing: 0.12em; }
.card.feature { background: var(--surface); border: 1px solid var(--line); }
.card.feature .tag { font-size: 11px; display: flex; align-items: center; justify-content: space-between; }
.chip { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--body); background: var(--ground); border-radius: 999px; padding: 4px 10px; }
.chip.pro { color: var(--cobalt); background: var(--cobalt-soft); }

/* Privacy band */
.dark { background: var(--night); color: #F2F3F7; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.dark .section { flex-direction: row; flex-wrap: wrap; gap: 40px; }
.dark .section > * { flex: 1 1 360px; min-width: 0; }
.dark .head { gap: 14px; }
.dark .tag { color: var(--cobalt-lift); }
.dark h2 { color: #F2F3F7; }
.dark .head p { font-size: 16px; color: #C9CDD6; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; align-content: start; }
.facts li { border: 1px solid var(--night-line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.facts b { font-size: 17px; font-weight: 600; }
.facts span { font-size: 14px; color: #A0A6B4; }

/* Pricing */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.pro { border: 2px solid var(--fill); padding: 27px; }
.plan.pro .tag { color: var(--cobalt); }
.plan .tag { font-size: 11px; }
.plan header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan header > div { display: flex; flex-direction: column; gap: 6px; }
.price { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.share { font-size: 12px; font-weight: 600; color: var(--cobalt); background: var(--cobalt-soft); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.plan ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.plan.pro li::before { background: var(--fill); }
.plan .fine { font-size: 13px; }

/* FAQ */
.narrow { max-width: 820px; }
.faq { gap: 28px; }
.faq dl { margin: 0; border-bottom: 1px solid var(--line); }
.faq dl > div { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.faq dt { font-size: 18px; font-weight: 600; }
.faq dd { margin: 0; font-size: 15px; color: var(--body); }

/* Download */
.get { align-items: center; text-align: center; gap: 22px; }
.get img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 10px 30px var(--shadow); }
.get .row { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); padding: 4px 0; }
.foot a:hover { color: var(--cobalt); }

/* Privacy / terms */
.doc { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin-top: 18px; }
.doc p, .doc li { font-size: 16px; color: var(--body); }
.doc ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .nav a:not(.pill):not(.lang) { display: none; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 24px; padding-bottom: 56px; gap: 36px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mac svg { animation: none; }
}
