:root {
  color-scheme: light;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(28px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(210, 210, 215, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a,
footer a,
.text-link {
  text-decoration: none;
}

nav a {
  color: #424245;
  font-size: 14px;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.language-switch button {
  min-width: 44px;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.language-switch button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-switch button:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.34);
  outline-offset: 3px;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 28px 88px;
  text-align: center;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 620;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-lede {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--text-secondary);
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: -0.022em;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 26px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

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

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

.text-link {
  color: var(--accent);
  font-weight: 550;
}

.compatibility {
  margin: 18px 0 0;
  color: #86868b;
  font-size: 14px;
}

.hero-demo {
  margin: 72px 0 0;
}

.hero-demo img {
  width: 100%;
  height: auto;
}

.values {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values article {
  padding: 46px 40px 48px;
}

.values article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.values h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.values p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.privacy {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 92px;
  padding: 124px 0;
}

.privacy h2,
.download h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.privacy-detail {
  align-self: end;
}

.privacy-detail p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 92px;
  padding: 104px max(28px, calc((100vw - var(--content-width)) / 2));
  background: var(--surface-soft);
}

.download > div > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 20px;
}

.download-actions {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.download-note {
  max-width: 460px;
  margin: 4px 0 0;
  color: #86868b;
  font-size: 13px;
  line-height: 1.55;
}

footer {
  max-width: var(--content-width);
  margin: 0 auto;
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer > div {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.footer-brand {
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 88px;
  }

  .values,
  .privacy,
  .download {
    margin-right: 28px;
    margin-left: 28px;
  }

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

  .values article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy,
  .download {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download {
    margin: 0;
  }

  footer {
    margin: 0 28px;
    grid-template-columns: 1fr auto;
  }

  footer > p {
    display: none;
  }
}

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

  .site-header {
    min-height: 60px;
    padding: 0 18px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 25px;
    height: 25px;
  }

  .language-switch button {
    min-width: 40px;
  }

  .hero {
    padding: 72px 18px 60px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-demo {
    width: calc(100vw - 20px);
    margin-top: 52px;
    margin-left: calc(50% - 50vw + 10px);
  }

  .values {
    margin: 0 18px;
  }

  .values article {
    padding: 32px 24px 34px;
  }

  .privacy {
    margin: 0 18px;
    padding: 88px 0;
  }

  .privacy h2,
  .download h2 {
    font-size: 42px;
  }

  .privacy-detail p,
  .download > div > p:not(.eyebrow) {
    font-size: 18px;
  }

  .download {
    padding: 78px 18px;
  }

  .download-actions,
  .download-actions .button {
    width: 100%;
  }

  footer {
    min-height: 150px;
    margin: 0 18px;
    grid-template-columns: 1fr;
    align-content: center;
  }

  footer > div {
    justify-self: start;
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
