:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #e9eef7;
  --surface-strong: #172131;
  --text: #172131;
  --muted: #5d6878;
  --line: #cbd4e1;
  --accent: #2f5cae;
  --accent-strong: #244989;
  --accent-soft: #dce8fb;
  --success: #236c54;
  --shadow: 0 24px 72px rgba(30, 54, 91, 0.14);
  --radius-panel: 22px;
  --radius-media: 28px;
  --radius-button: 999px;
  --nav-height: 72px;
  font-family:
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "Noto Sans CJK SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141c;
    --surface: #171e28;
    --surface-soft: #202a38;
    --surface-strong: #e7edf6;
    --text: #e7edf6;
    --muted: #a9b5c6;
    --line: #344156;
    --accent: #86a9e8;
    --accent-strong: #a7c1f0;
    --accent-soft: #1d3355;
    --success: #78c3a8;
    --shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-button);
  background: var(--surface-strong);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell,
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 1.03rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 620;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  min-width: 68px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--text);
}

.hero {
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  align-items: center;
  padding-block: clamp(44px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.error-page h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 36rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  line-height: 1.58;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--text);
  font-weight: 720;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #f7faff;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.button-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: min(640px, 70dvh);
  border-radius: var(--radius-media);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.trust-strip {
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 30px 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 1.05rem;
}

.trust-item span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(80px, 11vw, 140px);
}

.section-tight {
  padding-block: clamp(56px, 8vw, 90px);
}

.section h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-lead {
  max-width: 42rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.product-copy {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.screenshot-stage {
  min-height: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-media);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)), var(--surface-soft));
}

.phone-shot {
  overflow: hidden;
  border: 10px solid var(--surface);
  border-radius: 36px;
  background: #111318;
  box-shadow: var(--shadow);
}

.phone-shot:nth-child(2) {
  margin-top: 74px;
}

.phone-shot img {
  width: 100%;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
}

.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: capability;
}

.capability-list li {
  counter-increment: capability;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list li::before {
  content: counter(capability, decimal-leading-zero);
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.capability-list h3 {
  margin: 0;
  font-size: 1.16rem;
}

.capability-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.provider-band {
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--surface-strong);
  color: var(--bg);
}

.provider-band header {
  max-width: 46rem;
  padding: clamp(32px, 6vw, 68px);
}

.provider-band h2 {
  color: inherit;
}

.provider-band p {
  color: color-mix(in srgb, var(--bg) 74%, transparent);
}

.provider-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-top: 1px solid color-mix(in srgb, var(--bg) 24%, transparent);
}

.provider-item {
  padding: 28px clamp(24px, 4vw, 42px);
}

.provider-item + .provider-item {
  border-left: 1px solid color-mix(in srgb, var(--bg) 24%, transparent);
}

.provider-item strong,
.provider-item span {
  display: block;
}

.provider-item strong {
  font-size: 1.08rem;
}

.provider-item span {
  margin-top: 8px;
  color: color-mix(in srgb, var(--bg) 68%, transparent);
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-grid p {
  max-width: 42rem;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.9rem;
}

.page-hero {
  padding-block: clamp(64px, 10vw, 116px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
}

.page-hero p {
  max-width: 46rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.fact {
  padding: 22px;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.fact dd {
  margin: 7px 0 0;
  font-weight: 720;
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.review-index {
  position: sticky;
  top: calc(var(--nav-height) + 30px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

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

.review-index strong {
  display: block;
  margin-bottom: 13px;
}

.review-index a {
  display: block;
  padding-block: 8px;
  color: var(--muted);
}

.review-content section + section {
  margin-top: 88px;
}

.review-content h2,
.legal h2 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.035em;
}

.review-content h3,
.legal h3 {
  margin: 34px 0 10px;
  font-size: 1.13rem;
}

.review-content p,
.legal p,
.legal li {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 780;
}

.step h3 {
  margin: 0;
}

.step p {
  margin: 7px 0 0;
}

.table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  padding: 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 760;
}

td {
  color: var(--muted);
  font-size: 0.9rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

code {
  font-family: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.copy-row code {
  min-width: 0;
}

.copy-button {
  min-width: 66px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
}

.copy-button[data-state="success"] {
  border-color: var(--success);
  color: var(--success);
}

.download-panel {
  margin-top: 26px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: var(--radius-panel);
  background: var(--accent-soft);
}

.download-panel h3 {
  margin-top: 0;
}

.hash {
  display: block;
  margin-top: 16px;
  padding: 13px 15px;
  overflow-wrap: anywhere;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--muted);
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--accent-soft);
}

.notice strong {
  display: block;
  color: var(--text);
}

.notice p {
  margin: 5px 0 0;
}

.legal {
  max-width: 840px;
  padding-block: clamp(64px, 10vw, 120px);
}

.legal .updated {
  color: var(--accent-strong);
  font-weight: 700;
}

.legal h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal h2 {
  margin: 64px 0 18px;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

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

.legal a {
  color: var(--accent-strong);
}

.error-page {
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  align-items: center;
  padding-block: 70px;
}

.error-page h1 {
  max-width: 9ch;
}

.error-page p {
  max-width: 38rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .product-grid,
  .capability-layout,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: 460px;
  }

  .product-copy,
  .review-index {
    position: static;
  }

  .trust-grid,
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4),
  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(3),
  .fact:nth-child(3) {
    border-left: 0;
  }

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

  .provider-item + .provider-item {
    border-top: 1px solid color-mix(in srgb, var(--bg) 24%, transparent);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--nav-height) - 2px);
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .trust-grid,
  .facts,
  .screenshot-stage {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item,
  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .screenshot-stage {
    min-height: 0;
    padding: 20px;
  }

  .phone-shot:nth-child(2) {
    margin-top: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .copy-row {
    grid-template-columns: 1fr;
  }

  .copy-button {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
