:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --line: #d9e2ea;
  --panel: #ffffff;
  --soft: #f4f7f8;
  --blue: #1d66d4;
  --teal: #0b8f80;
  --yellow: #f4b63f;
  --red: #d35b4f;
  --shadow: 0 18px 50px rgba(24, 42, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(244, 247, 248, 0.9), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 12% 10%, rgba(244, 182, 63, 0.2), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(11, 143, 128, 0.16), transparent 30%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 226, 234, 0.75);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a,
.text-button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.nav a:hover,
.text-button:hover {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 52px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chrome-help {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.chrome-help a,
.prep-list a {
  color: var(--blue);
  font-weight: 800;
}

.chrome-help a:hover,
.prep-list a:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 172px;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(29, 102, 212, 0.22);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.install-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(11, 143, 128, 0.13);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 14px;
}

.metrics div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metrics dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.metrics dd {
  margin: 0;
  font-weight: 800;
}

.prep-list,
.route-list {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.prep-list strong,
.route-list span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.prep-list ul,
.route-list ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.route-list ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #0a5b52;
  font-size: 13px;
  font-weight: 800;
  background: #e9f5f2;
}

.browser-visual {
  overflow: hidden;
  min-height: 300px;
  border: 1px solid #c8d5df;
  border-radius: 8px;
  background: #eef3f6;
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid #d6e0e7;
  background: #fff;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
}

.browser-bar span:nth-child(2) {
  background: var(--yellow);
}

.browser-bar span:nth-child(3) {
  background: var(--teal);
}

.extension-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 24px 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 33, 43, 0.08);
}

.extension-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
}

.extension-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.visual-lines {
  display: grid;
  gap: 12px;
  padding: 0 24px;
}

.visual-lines span {
  height: 18px;
  border-radius: 6px;
  background: #dce6ec;
}

.visual-lines span:nth-child(2) {
  width: 74%;
}

.visual-lines span:nth-child(3) {
  width: 52%;
}

.video-band,
.success,
.support {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.video-band video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 0 54px;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.steps p,
.success-card p,
.qa-list p {
  color: var(--muted);
  line-height: 1.7;
}

.success {
  padding-top: 42px;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.success-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.success-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
}

.success-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.success-card p {
  margin-bottom: 0;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #0a5b52;
  background: #e9f5f2;
}

.qa-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  min-height: 54px;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .hero,
  .video-band,
  .success,
  .support {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: 36px;
  }

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

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

  .route-list ol,
  .success-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  main,
  footer {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: 38px;
  }

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