:root {
  --accent: #526ff4;
  --accent-strong: #304fe0;
  --background: #f7f8fc;
  --ink: #101427;
  --muted: #667085;
  --line: #dde2ee;
  --surface: #fff;
  --surface-2: #eef1f8;
  --product: #0d6b63;
  --product-soft: #e4f2f0;
  --product-ink: #f4fffd;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

:root[data-theme="dark"] {
  --background: #0b1020;
  --ink: #f4f6fb;
  --muted: #aeb6ca;
  --line: #293249;
  --surface: #121a2d;
  --surface-2: #1a243b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--background); color: var(--ink); margin: 0; min-width: 320px; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.shell { margin-inline: auto; max-width: 1180px; padding-inline: 32px; width: 100%; }
.site-header { backdrop-filter: blur(16px); background: color-mix(in srgb, var(--background) 88%, transparent); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav { align-items: center; display: flex; justify-content: space-between; min-height: 76px; }
.brand { align-items: center; display: inline-flex; font-size: 20px; font-weight: 800; gap: 11px; text-decoration: none; }
.brand img { height: 38px; width: 38px; }
.nav-links { align-items: center; display: flex; gap: 10px; }
.nav-links > a { color: var(--muted); font-size: 14px; font-weight: 700; padding: 10px 12px; text-decoration: none; }
.nav-links > a:hover { color: var(--ink); }
.round-button { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 750; height: 42px; justify-content: center; min-width: 42px; padding: 0 14px; }
.round-button:hover { background: var(--surface-2); }
.hero { display: grid; gap: 66px; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); padding-block: 88px 64px; }
.breadcrumb { color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 32px; }
.breadcrumb a { text-decoration: none; }
.eyebrow { align-items: center; color: var(--product); display: flex; font-size: 12px; font-weight: 800; gap: 9px; letter-spacing: .13em; margin: 0 0 22px; text-transform: uppercase; }
.eyebrow::before { background: var(--product); border-radius: 50%; content: ""; height: 8px; width: 8px; }
h1 { font-size: clamp(56px, 6.5vw, 92px); letter-spacing: -.075em; line-height: .88; margin: 0; }
.lead { color: var(--muted); font-size: clamp(18px, 2.1vw, 22px); line-height: 1.62; margin: 30px 0 0; max-width: 760px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { align-items: center; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; font-size: 15px; font-weight: 800; gap: 9px; justify-content: center; min-height: 50px; padding: 0 20px; text-decoration: none; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary { background: var(--surface); }
.button.secondary:hover { background: var(--surface-2); }
.hero-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 15px 0 0; }
.app-card { align-self: end; background: var(--product-soft); border: 1px solid color-mix(in srgb, var(--product) 16%, var(--line)); border-radius: 26px; overflow: hidden; padding: 32px; position: relative; }
.app-card::after { border: 1px solid color-mix(in srgb, var(--product) 28%, transparent); border-radius: 50%; content: ""; height: 300px; position: absolute; right: -120px; top: -130px; width: 300px; }
.app-icon { border-radius: 26%; box-shadow: 0 24px 54px color-mix(in srgb, var(--product) 28%, transparent); display: block; height: 130px; object-fit: cover; position: relative; width: 130px; z-index: 1; }
.app-card h2 { color: #10211f; font-size: 31px; letter-spacing: -.045em; margin: 30px 0 8px; position: relative; z-index: 1; }
.app-card p { color: #405d58; line-height: 1.55; margin: 0; position: relative; z-index: 1; }
.facts { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 27px 26px; }
.fact:not(:last-child) { border-right: 1px solid var(--line); }
.fact span { color: var(--muted); display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-bottom: 7px; text-transform: uppercase; }
.fact strong { display: block; font-size: 15px; line-height: 1.45; }
.section { padding-block: 86px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 26px; grid-template-columns: .65fr 1.35fr; margin-bottom: 45px; }
.section-label { color: var(--product); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.section-intro { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; max-width: 720px; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-height: 210px; padding: 28px; }
.feature b { align-items: center; background: var(--product-soft); border-radius: 10px; color: var(--product); display: inline-flex; font-size: 13px; height: 34px; justify-content: center; margin-bottom: 40px; width: 34px; }
.feature h3 { font-size: 20px; letter-spacing: -.025em; margin: 0 0 10px; }
.feature p { color: var(--muted); line-height: 1.65; margin: 0; }
.gallery { display: grid; gap: 16px; grid-auto-columns: minmax(230px, 300px); grid-auto-flow: column; overflow-x: auto; padding: 4px 2px 20px; scroll-snap-type: x mandatory; }
.gallery a { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-snap-align: start; }
.gallery img { display: block; height: auto; width: 100%; }
.download-panel { background: #11182c; border-radius: 24px; color: #fff; display: grid; gap: 50px; grid-template-columns: 1fr 280px; padding: 50px; }
.download-panel h2 { font-size: clamp(36px, 5vw, 64px); }
.download-panel p { color: #b7c1d8; font-size: 16px; line-height: 1.7; max-width: 700px; }
.download-panel .button.secondary { background: transparent; border-color: #3a4562; color: #fff; }
.qr-card { align-items: center; background: #fff; border-radius: 18px; color: #11182c; display: flex; flex-direction: column; justify-content: center; padding: 20px; text-align: center; }
.qr-card img { display: block; height: 210px; width: 210px; }
.qr-card strong { font-size: 14px; margin-top: 12px; }
.qr-card span { color: #667085; font-size: 12px; margin-top: 5px; }
.steps { counter-reset: install; display: grid; gap: 0; }
.step { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: 54px 210px 1fr; padding: 27px 0; }
.step::before { align-items: center; background: var(--product-soft); border-radius: 50%; color: var(--product); content: counter(install); counter-increment: install; display: flex; font-size: 13px; font-weight: 850; height: 38px; justify-content: center; width: 38px; }
.step h3 { font-size: 18px; margin: 7px 0 0; }
.step p { color: var(--muted); line-height: 1.65; margin: 5px 0 0; }
.security-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); }
.security-copy, .checksum { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.security-copy p { color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
.security-copy p:last-child { margin-bottom: 0; }
.checksum span { color: var(--muted); display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; margin-bottom: 14px; text-transform: uppercase; }
.checksum code { background: var(--surface-2); border-radius: 10px; display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; padding: 16px; }
.copy-button { background: transparent; border: 0; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 800; margin-top: 14px; padding: 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding-block: 34px; }
.footer-row { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .shell { padding-inline: 22px; }
  .nav-links > a { display: none; }
  .hero { gap: 42px; grid-template-columns: 1fr; padding-block: 60px 46px; }
  .app-card { align-self: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 64px; }
  .section-head { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature b { margin-bottom: 22px; }
  .download-panel { grid-template-columns: 1fr; padding: 34px; }
  .qr-card { justify-self: start; }
  .step { grid-template-columns: 44px 1fr; }
  .step p { grid-column: 2; }
  .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .shell { padding-inline: 17px; }
  .nav { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand img { height: 34px; width: 34px; }
  h1 { font-size: 58px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2) { border-bottom: 1px solid var(--line); border-right: 0; }
  .fact:last-child { border-bottom: 0; }
  .download-panel { border-radius: 18px; padding: 28px 22px; }
  .qr-card { justify-self: stretch; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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