:root {
  color-scheme: light dark;
  --brand: #0a6fdb;
  --brand-strong: #0759b4;
  --ink: #112038;
  --muted: #5c6b7f;
  --surface: #ffffff;
  --surface-soft: #f3f7fc;
  --brand-soft: #eaf4ff;
  --border: rgba(17, 32, 56, 0.11);
  --shadow: 0 24px 70px rgba(17, 54, 98, 0.12);
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(10, 111, 219, 0.14), transparent 34rem),
    var(--surface-soft);
}
a { color: inherit; }
.site-header,
main,
footer { width: min(1180px, calc(100% - 40px)); max-width: calc(100vw - 40px); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, var(--brand-strong), #31a4ff);
  font-weight: 800;
}
.brand strong { font-size: 19px; letter-spacing: 0.04em; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--brand); }
.hero { padding: 94px 0 72px; text-align: center; }
.hero, .trial-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
h1 { margin: 0; font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.055em; }
.hero-copy {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { border-color: transparent; color: white; background: var(--brand); }
.button.primary:hover { background: var(--brand-strong); }
.button.secondary { background: rgba(255, 255, 255, 0.66); }
.release-summary { min-height: 24px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.downloads,
.ios-trial,
.steps,
.help,
.source-note {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.ios-trial {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(28px, 6vw, 72px);
  overflow: hidden;
}
.trial-copy h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.05em; }
.trial-lead { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.trial-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.trial-facts span { border: 1px solid rgba(10, 111, 219, 0.22); border-radius: 999px; padding: 7px 12px; color: var(--brand); background: rgba(10, 111, 219, 0.07); font-size: 12px; font-weight: 700; }
.ios-install-action { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.ios-install-action .button { max-width: 100%; flex: 0 0 auto; white-space: nowrap; }
.ios-install-action p { max-width: 350px; flex: 1 1 260px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.button[aria-disabled="true"] { color: var(--muted); background: var(--surface-soft); cursor: not-allowed; }
.button.is-reviewing {
  border-color: rgba(10, 111, 219, 0.2);
  color: var(--brand-strong);
  background: linear-gradient(135deg, #f1f7ff, var(--brand-soft));
  box-shadow: 0 8px 20px rgba(10, 111, 219, 0.1);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}
.button.is-reviewing::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 111, 219, 0.12);
  content: "";
}
.button.is-reviewing::after { margin-left: 10px; content: "\2192"; transition: transform 160ms ease; }
.button.is-reviewing:not([aria-disabled="true"]):hover {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, #0878e8, var(--brand-strong));
  box-shadow: 0 12px 26px rgba(10, 111, 219, 0.28);
  transform: translateY(-1px);
}
.button.is-reviewing:not([aria-disabled="true"]):hover::before { background: white; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18); }
.button.is-reviewing:not([aria-disabled="true"]):hover::after { transform: translateX(3px); }
.button.is-reviewing:focus-visible { outline: 3px solid rgba(10, 111, 219, 0.25); outline-offset: 3px; }
.button.is-reviewing[aria-disabled="true"] { cursor: default; }
.button.is-reviewing[aria-disabled="true"]::after { display: none; }
.review-progress {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.review-progress[hidden] { display: none; }
.review-progress li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.review-progress li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 1px;
  background: var(--border);
  content: "";
}
.review-progress span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 10px;
  font-weight: 800;
}
.review-progress strong { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.review-progress .is-complete { color: var(--brand); }
.review-progress .is-complete span { border-color: var(--brand); color: white; background: var(--brand); }
.review-progress .is-current { color: var(--ink); }
.review-progress .is-current span { border-color: rgba(10, 111, 219, 0.3); color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px rgba(10, 111, 219, 0.08); }
.phone-preview { position: relative; display: grid; min-height: 460px; place-items: center; }
.phone-preview::before { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(10, 111, 219, 0.12); content: ""; filter: blur(10px); }
.phone-screen { position: relative; width: min(280px, 100%); min-height: 480px; border: 9px solid #101725; border-radius: 42px; padding: 24px 22px; color: #112038; background: linear-gradient(165deg, #fff, #eaf4ff); box-shadow: 0 32px 70px rgba(12, 45, 82, 0.25); }
.phone-screen::before { position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; border-radius: 99px; background: #101725; content: ""; transform: translateX(-50%); }
.phone-status { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11px; font-weight: 800; }
.preview-brand { display: flex; align-items: center; gap: 10px; margin-top: 66px; }
.preview-brand span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: white; background: var(--brand); font-weight: 900; }
.preview-brand strong { font-size: 21px; }
.phone-screen h3 { margin: 24px 0 18px; font-size: 28px; letter-spacing: -0.04em; }
.phone-screen ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.phone-screen li { display: flex; align-items: center; gap: 10px; border-radius: 13px; padding: 12px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 8px 22px rgba(12, 45, 82, 0.08); font-size: 13px; }
.phone-screen li b { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: white; background: var(--brand); }
.downloads { padding: clamp(24px, 5vw, 54px); }
.section-heading h2,
.source-note h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.section-heading > p:last-child,
.source-note p { color: var(--muted); line-height: 1.75; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.platform-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: var(--surface);
  min-width: 0;
}
.platform-card.recommended { border-color: rgba(10, 111, 219, 0.55); box-shadow: 0 14px 34px rgba(10, 111, 219, 0.12); }
.platform-card h3 { margin: 16px 0 8px; font-size: 22px; }
.platform-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.platform-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: rgba(10, 111, 219, 0.1);
  font-weight: 800;
}
.platform-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.download-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(135deg, #1680ee, var(--brand));
  box-shadow: 0 9px 22px rgba(10, 111, 219, 0.2);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}
.download-link::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
  content: "";
}
.download-link::after { margin-left: 10px; content: "\2192"; transition: transform 160ms ease; }
.download-link:not([aria-disabled="true"]):hover {
  background: linear-gradient(135deg, #0878e8, var(--brand-strong));
  box-shadow: 0 12px 26px rgba(10, 111, 219, 0.28);
  transform: translateY(-1px);
}
.download-link:not([aria-disabled="true"]):hover::after { transform: translateX(3px); }
.download-link:focus-visible { outline: 3px solid rgba(10, 111, 219, 0.25); outline-offset: 3px; }
.download-link.is-reviewing {
  border-color: rgba(10, 111, 219, 0.2);
  color: var(--brand-strong);
  background: linear-gradient(135deg, #f1f7ff, var(--brand-soft));
  box-shadow: 0 8px 20px rgba(10, 111, 219, 0.1);
}
.download-link.is-reviewing::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 111, 219, 0.12);
}
.download-link.is-reviewing:not([aria-disabled="true"]):hover { color: white; }
.download-link[aria-disabled="true"] {
  min-height: 38px;
  border-color: rgba(92, 107, 127, 0.1);
  padding-inline: 13px;
  color: var(--muted);
  background: rgba(92, 107, 127, 0.07);
  box-shadow: none;
  cursor: default;
}
.download-link[aria-disabled="true"]::before {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  margin-right: 8px;
  background: #91a0b4;
  box-shadow: 0 0 0 4px rgba(145, 160, 180, 0.13);
}
.download-link[aria-disabled="true"]::after { display: none; }
.download-link.is-reviewing[aria-disabled="true"] {
  min-height: 42px;
  border-color: rgba(10, 111, 219, 0.2);
  padding-inline: 16px;
  color: var(--brand-strong);
  background: linear-gradient(135deg, #f1f7ff, var(--brand-soft));
  box-shadow: 0 8px 20px rgba(10, 111, 219, 0.1);
}
.download-link.is-reviewing[aria-disabled="true"]::before {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
  margin-right: 9px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 111, 219, 0.12);
}
.steps { margin-top: 28px; padding: clamp(24px, 5vw, 54px); }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; color: var(--muted); line-height: 1.6; }
.steps li b { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: white; background: var(--brand); }
.steps li strong { display: block; color: var(--ink); }
.source-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: clamp(24px, 5vw, 54px); }
.help { margin-top: 28px; padding: clamp(24px, 5vw, 54px); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.faq-grid article { border: 1px solid var(--border); border-radius: 15px; padding: 18px 20px; background: var(--surface); }
.faq-grid h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.45; }
.faq-grid p { margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.source-note > div { max-width: 720px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  nav { display: none; }
  .hero { padding-top: 58px; }
  h1 { width: 100%; font-size: clamp(36px, 12vw, 52px); line-height: 1.08; overflow-wrap: anywhere; word-break: break-word; }
  .hero-copy, .trial-lead { width: 100%; overflow-wrap: anywhere; word-break: break-word; }
  .hero-actions { flex-wrap: wrap; }
  .platform-grid,
  .steps ol,
  .faq-grid,
  .ios-trial { grid-template-columns: 1fr; }
  .phone-preview { min-height: auto; padding-top: 10px; }
  .ios-install-action { align-items: flex-start; flex-direction: column; }
  .ios-install-action p { flex: 0 1 auto; }
  .source-note { align-items: flex-start; flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #edf5ff; --muted: #a8b5c6; --surface: #101b2b; --surface-soft: #08121f; --brand-soft: rgba(10, 111, 219, 0.18); --border: rgba(222, 239, 255, 0.12); }
  .downloads, .ios-trial, .steps, .help, .source-note { background: rgba(16, 27, 43, 0.86); }
  .button.secondary { background: rgba(16, 27, 43, 0.72); }
  .button.is-reviewing { border-color: rgba(92, 172, 255, 0.28); color: #8dc7ff; background: linear-gradient(135deg, rgba(10, 111, 219, 0.13), rgba(10, 111, 219, 0.22)); }
  .download-link.is-reviewing { border-color: rgba(92, 172, 255, 0.28); color: #8dc7ff; background: linear-gradient(135deg, rgba(10, 111, 219, 0.13), rgba(10, 111, 219, 0.22)); }
  .download-link[aria-disabled="true"] { border-color: rgba(168, 181, 198, 0.1); background: rgba(168, 181, 198, 0.07); }
}
