:root {
  color-scheme: light;
  --brand-sky: #25b9f2;
  --brand-leaf: #35c77b;
  --brand-ink: #10243f;
  --text: #172033;
  --muted: #667085;
  --line: #d9e4ee;
  --paper: #ffffff;
  --mist: #eef8fc;
  --soft-green: #eaf9f0;
  --shadow: 0 20px 60px rgba(16, 36, 63, 0.14);
  --radius: 8px;
  font-family:
    Inter, "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--brand-ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 228, 238, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
  color: var(--brand-ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(37, 185, 242, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-ink);
  border-bottom-color: var(--brand-sky);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 72px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 68px 0 56px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #1d6f9c;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.22;
}

.hero-body {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand-sky);
  color: #052033;
  box-shadow: 0 14px 34px rgba(37, 185, 242, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--brand-ink);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(37, 185, 242, 0.2), rgba(53, 199, 123, 0.16)),
    var(--mist);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(37, 185, 242, 0.35);
  border-radius: 8px;
  transform: rotate(-8deg);
}

.phone {
  position: relative;
  width: min(300px, 76vw);
  padding: 12px;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-radius: 8px;
  background: #101828;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 68px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.phone-screen {
  min-height: 440px;
  padding: 28px 22px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffffff, #effaff 58%, #f1fbf5),
    #fff;
  text-align: center;
}

.phone-screen img {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 8px;
}

.screen-title {
  margin: 18px 0 10px;
  color: var(--brand-ink);
  font-size: 24px;
  font-weight: 900;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 20px auto;
  border: 12px solid #c9f0fb;
  border-top-color: var(--brand-leaf);
  border-right-color: var(--brand-sky);
  border-radius: 50%;
}

.progress-ring span {
  font-size: 38px;
  font-weight: 900;
  color: var(--brand-ink);
}

.screen-copy {
  margin: 0 0 20px;
  color: var(--muted);
}

.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid #d9edf6;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  font-weight: 700;
}

.screen-row strong {
  color: #0c8e50;
}

.section,
.download,
.contact {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 30px;
}

.section-heading h2,
.download h2,
.contact h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.download p,
.contact p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-list,
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article,
.rule-item,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 36, 63, 0.06);
}

.feature-list article {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--soft-green);
  color: #0b7d47;
  font-weight: 900;
}

.feature-list h3,
.rule-item h3 {
  margin: 18px 0 8px;
  color: var(--brand-ink);
  font-size: 20px;
}

.feature-list p,
.rule-item p {
  margin: 0;
  color: var(--muted);
}

.rules {
  border-top: 1px solid var(--line);
}

.rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-item {
  padding: 26px;
}

.download,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: center;
  border-radius: 8px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(37, 185, 242, 0.12), rgba(53, 199, 123, 0.12)),
    #f8fcff;
  border: 1px solid #d6ecf6;
}

.download-note,
.form-message {
  flex-basis: 100%;
  min-height: 24px;
  margin-top: 2px;
  color: #31506a;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 20px;
  color: var(--brand-ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact {
  margin-top: 78px;
  margin-bottom: 78px;
  background:
    linear-gradient(135deg, rgba(16, 36, 63, 0.95), rgba(15, 86, 116, 0.94)),
    var(--brand-ink);
}

.contact h2,
.contact p {
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
}

.contact-form .button {
  width: 100%;
}

.contact-mailto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

[hidden] {
  display: none !important;
}

.form-message {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a,
.legal-document a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.legal-page {
  background: #f8fcff;
}

.legal-nav-links {
  gap: 20px;
}

.legal-shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: #fff;
  box-shadow: 0 18px 54px rgba(16, 36, 63, 0.08);
}

.legal-kicker {
  margin: 0 0 8px;
  color: #1377a8;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-document h1 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
}

.legal-updated {
  margin: 12px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.legal-document section {
  margin-top: 34px;
}

.legal-document h2 {
  margin: 0 0 12px;
  color: var(--brand-ink);
  font-size: 22px;
}

.legal-document p {
  margin: 12px 0 0;
  color: #344054;
  font-size: 16px;
}

:focus-visible {
  outline: 3px solid rgba(37, 185, 242, 0.5);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .menu-button {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    border-bottom: 0;
  }

  .hero,
  .download,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .feature-list,
  .rule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .section,
  .download,
  .contact,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .download,
  .contact {
    padding: 28px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
