:root {
  color-scheme: light;
  --ink: #102a43;
  --muted: #486581;
  --blue: #087ea4;
  --blue-dark: #065b78;
  --blue-soft: #e7f7fb;
  --orange: #e85d04;
  --orange-dark: #bd4300;
  --cream: #fffaf5;
  --line: #d8e6ed;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(16, 42, 67, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 4px;
  border-radius: 8px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 230, 237, 0.88);
  background: rgba(255, 250, 245, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--orange-dark);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 78% 15%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 15% 75%, rgba(249, 115, 22, 0.12), transparent 26%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid #b9e6f2;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.button.secondary {
  border-color: #b8cbd6;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: linear-gradient(140deg, #bdeaf4, #ffe2ca);
  filter: blur(2px);
}

.phone-shot {
  position: relative;
  width: min(315px, 82vw);
  border: 9px solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.download-hero {
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 82% 12%, rgba(14, 165, 233, 0.16), transparent 31%),
    radial-gradient(circle at 10% 88%, rgba(249, 115, 22, 0.12), transparent 26%);
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.download-grid h1 {
  max-width: 680px;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.download-meta,
.download-note {
  color: var(--muted);
  font-size: 14px;
}

.download-note {
  max-width: 590px;
  margin: 20px 0 0;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.download-icon img {
  width: 92px;
  height: 92px;
  border-radius: 23px;
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.14);
}

.download-card-label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.download-card h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.download-card p:not(.download-card-label) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.download-check {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #12653a;
  font-size: 14px;
  font-weight: 700;
}

.download-check span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  background: #d9f6e6;
}

.download-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.download-steps {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.download-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  counter-increment: steps;
}

.download-steps li::before {
  content: counter(steps);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.download-steps strong,
.download-steps span {
  grid-column: 2;
}

.download-steps span {
  color: var(--muted);
  font-size: 15px;
}

.download-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 20px 56px;
  align-items: start;
}

.download-details h2 {
  margin-bottom: 0;
}

.download-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.download-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.download-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.download-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.download-facts .hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.download-support {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 88px 0;
}

.section.blue {
  background: #f0faff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 19px;
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 42, 67, 0.06);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.icon svg {
  width: 25px;
  height: 25px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.showcase figure {
  margin: 0;
}

.showcase img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.showcase figcaption {
  padding: 14px 6px 0;
  color: var(--muted);
  font-size: 15px;
}

.notice {
  padding: 24px 28px;
  border-left: 5px solid var(--orange);
  border-radius: 0 18px 18px 0;
  background: #fff3e8;
  color: #6f3008;
}

.legal-shell {
  padding: 64px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: start;
}

.legal-content {
  min-width: 0;
}

.legal-content h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.legal-content h2 {
  margin-top: 48px;
  font-size: 28px;
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 21px;
}

.legal-content p,
.legal-content li {
  max-width: 76ch;
}

.legal-content li + li {
  margin-top: 8px;
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

.side-nav {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.side-nav strong {
  display: block;
  margin-bottom: 10px;
}

.side-nav a {
  display: block;
  padding: 6px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.steps {
  padding-left: 1.3em;
}

.support-form {
  display: grid;
  gap: 20px;
  margin: 34px 0 54px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 42, 67, 0.06);
}

.support-form label:not(.consent) {
  display: block;
  margin-bottom: 7px;
  font-weight: 750;
}

.support-form input[type="text"],
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #9fb8c6;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.support-form textarea {
  min-height: 150px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(8, 126, 164, 0.18);
}

.field-help,
.form-status {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.error {
  color: #a32d00;
  font-weight: 700;
}

.form-status.success {
  color: #12653a;
  font-weight: 700;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #f7fbfd;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 840px) {
  .hero-grid,
  .download-grid,
  .download-content-grid,
  .download-details,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .card-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .download-support {
    grid-column: auto;
  }

  .showcase {
    max-width: 430px;
    margin: 0 auto;
  }

  .side-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    width: min(100% - 28px, 1120px);
    min-height: 66px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding: 58px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

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