:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-dark: #005bb5;
  --radius: 24px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, var(--bg) 45%);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(22px);
  background: rgba(245, 245, 247, 0.8);
  border-bottom: 1px solid rgba(210, 210, 215, 0.7);
}

.nav-wrap {
  max-width: 1080px;
  margin: 0 auto;
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-text {
  line-height: 1;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.main-nav {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #2d2d31;
  font-size: 14px;
  cursor: pointer;
}

.lang-current {
  color: #6e6e73;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 140px;
  display: none;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.lang-dropdown.open .lang-menu {
  display: grid;
  gap: 4px;
}

.lang-option {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d1d1f;
  text-align: left;
  padding: 0 10px;
  font-size: 15px;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(0, 113, 227, 0.08);
}

.lang-option.active {
  background: rgba(0, 113, 227, 0.12);
  color: #005bb5;
}

.main-nav a {
  font-size: 16px;
  color: #424245;
}

.main-nav a:hover {
  color: var(--text);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #bf4800;
  font-size: 17px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.hero {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 92px;
}

.hero-text {
  max-width: 760px;
  margin: 22px auto 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--accent);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.05);
}

.feature-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(210, 210, 215, 0.55);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
}

.feature-media {
  background: #f2ece1;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feature-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.feature-copy {
  padding: 28px;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.highlight {
  padding-top: 18px;
}

.highlight-card {
  border-radius: 28px;
  padding: 56px;
  background: linear-gradient(135deg, #fbfbfd 0%, #f0f2f5 100%);
  border: 1px solid var(--line);
}

.highlight-card p {
  margin: 16px 0 30px;
}

.download-hero p {
  max-width: 800px;
  margin-top: 18px;
}

.download-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border: 1px solid rgba(210, 210, 215, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

.download-card h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.download-card p {
  font-size: 18px;
}

.qr-wrap {
  margin: 28px 0;
  width: 220px;
  height: 220px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #fff;
}

.qr-wrap img {
  width: 200px;
  height: 200px;
}

.download-note {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.05);
  border: 1px solid rgba(0, 113, 227, 0.18);
}

.download-note p {
  font-size: 17px;
}

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

.effective-date {
  margin-top: 14px;
  font-size: 16px;
}

.legal h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 30px;
}

.legal p {
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid rgba(210, 210, 215, 0.9);
  padding: 30px 20px 36px;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  color: #86868b;
}

@media (max-width: 960px) {
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    padding: 34px;
  }

  p {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    gap: 8px;
  }

  .nav-actions {
    gap: 8px;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 72px;
  }

  .feature-copy {
    padding: 22px;
  }

  .feature-copy h3 {
    font-size: 26px;
  }

  .download-card {
    padding: 24px;
  }

  .qr-wrap {
    width: 200px;
    height: 200px;
  }

  .qr-wrap img {
    width: 180px;
    height: 180px;
  }
}
