:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

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

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

.top {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.4rem 1.8rem 0.4rem 0.7rem;
  border-radius: 980px;
  cursor: pointer;
}

.lang select:focus {
  outline: 2px solid rgba(0, 113, 227, 0.35);
  outline-offset: 1px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.42rem;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #5ac8fa 0%, #007aff 100%);
}

.top-link {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 400;
}

.top-link:hover {
  text-decoration: underline;
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: fade-up 0.7s ease both;
}

.hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  animation: fade-up 0.7s ease 0.05s both;
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  animation: fade-up 0.7s ease 0.1s both;
}

.lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  animation: fade-up 0.7s ease 0.15s both;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 980px;
  background: var(--text);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
  animation: fade-up 0.7s ease 0.2s both;
}

.btn-store:hover {
  background: #333;
  transform: translateY(-1px);
}

.hero-shot {
  margin: 2.5rem auto 0;
  max-width: 320px;
  animation: fade-up 0.9s ease 0.25s both;
}

.hero-shot img {
  margin: 0 auto;
  border-radius: 28px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.how,
.features,
.closing {
  max-width: 980px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.how {
  text-align: center;
}

.how h2,
.features h2,
.closing h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-lede {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step-n {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.steps h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.features article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}

.features img {
  width: min(100%, 220px);
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.features h2 {
  font-size: 1.35rem;
}

.features p {
  margin: 0.6rem auto 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.closing {
  text-align: center;
  padding-bottom: 5rem;
}

.closing p {
  margin: 0.7rem auto 0;
  color: var(--muted);
}

.closing .btn-store {
  margin-top: 1.25rem;
}

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot nav {
  display: flex;
  gap: 1rem;
}

.foot a {
  color: var(--blue);
}

.foot a:hover {
  text-decoration: underline;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    max-width: 250px;
  }
}

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