:root {
  color-scheme: light;
  --blue: #0b57d0;
  --blue-hover: #0842a0;
  --blue-soft: #e8f0fe;
  --ink: #1f1f1f;
  --muted: #5f6368;
  --line: #dadce0;
  --surface: #ffffff;
  --canvas: #f8fafd;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(232, 240, 254, 0.95), transparent 31rem),
    var(--canvas);
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(11, 87, 208, 0.25);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  padding: 18px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(218, 220, 224, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 210px));
  width: min(630px, 100%);
  margin: 0 auto;
}

.progress-step {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.progress-step::after {
  position: absolute;
  z-index: 0;
  top: 19px;
  left: calc(50% + 23px);
  width: calc(100% - 46px);
  height: 2px;
  overflow: hidden;
  background: var(--line);
  content: "";
}

.progress-step:not(:last-child)::before {
  position: absolute;
  z-index: 1;
  top: 19px;
  left: calc(50% + 23px);
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  content: "";
  opacity: 0;
  animation: connector-glide 2.4s ease-in-out infinite;
}

.progress-step:last-child::after {
  display: none;
}

.progress-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 40px;
  height: 40px;
  overflow: visible;
}

.progress-icon circle {
  fill: var(--surface);
  stroke-width: 2;
}

.progress-track {
  stroke: #bdc1c6;
}

.progress-ring {
  stroke: transparent;
  stroke-dasharray: 94.25;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 20px 20px;
  transition: stroke 180ms ease;
}

.progress-pulse {
  fill: none !important;
  stroke: transparent;
  stroke-width: 1.5 !important;
  transform-origin: 20px 20px;
}

.progress-icon text {
  dominant-baseline: middle;
  fill: var(--muted);
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  transition: fill 180ms ease;
}

.progress-step-label {
  display: block;
  max-width: 100%;
}

.progress-step:hover,
.progress-step.is-active {
  color: var(--blue);
}

.progress-step:hover .progress-track,
.progress-step.is-active .progress-track {
  stroke: #c6dafc;
}

.progress-step:hover .progress-ring {
  stroke: var(--blue);
  stroke-dasharray: 70 24.25;
}

.progress-step:hover .progress-icon text,
.progress-step.is-active .progress-icon text {
  fill: var(--blue);
}

.progress-step.is-active .progress-ring {
  stroke: var(--blue);
  stroke-dasharray: 62 32.25;
  animation: ring-orbit 2.2s linear infinite;
}

.progress-step.is-active .progress-pulse {
  stroke: var(--blue);
  animation: ring-pulse 2.2s ease-out infinite;
}

@keyframes ring-orbit {
  to {
    transform: rotate(270deg);
  }
}

@keyframes ring-pulse {
  0%,
  35% {
    opacity: 0.38;
    transform: scale(0.88);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes connector-glide {
  0%,
  25% {
    opacity: 0;
    transform: translateX(-20px);
  }

  45% {
    opacity: 0.7;
  }

  75%,
  100% {
    opacity: 0;
    transform: translateX(90px);
  }
}

.main {
  width: 100%;
  padding: clamp(40px, 7vw, 88px) 24px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(218, 220, 224, 0.9);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(60, 64, 67, 0.11);
}

.instructions-panel,
.install-panel {
  padding: clamp(36px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
.install-panel h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 500px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.section-intro {
  max-width: 480px;
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.vertical {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vertical li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vertical li:hover {
  border-color: #bdc1c6;
  box-shadow: 0 4px 14px rgba(60, 64, 67, 0.08);
  transform: translateY(-1px);
}

.step-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.step-number {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.step-copy h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.chrome-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  padding: 9px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 20px;
  white-space: nowrap;
  transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.chrome-button:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.26);
}

.chrome-button:active {
  box-shadow: none;
  transform: translateY(1px);
}

.chrome-button--outline {
  border-color: #747775;
  background: var(--surface);
  color: var(--blue);
}

.chrome-button--outline:hover {
  border-color: var(--blue);
  background: #f0f4ff;
  box-shadow: none;
}

.install-panel {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, #f8faff 0%, #eef4ff 100%);
  text-align: center;
}

.install-panel h2 {
  max-width: 420px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
}

.install-description {
  max-width: 410px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.chrome-button--large {
  min-width: 190px;
  min-height: 48px;
  padding: 12px 30px;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(11, 87, 208, 0.24);
}

.chrome-button--large:hover {
  box-shadow: 0 10px 26px rgba(11, 87, 208, 0.32);
  transform: translateY(-1px);
}

.legal-disclaimer {
  max-width: 390px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.legal-disclaimer a,
.footer a {
  color: var(--blue);
  text-underline-offset: 2px;
}

#badge {
  display: block;
  width: 170px;
  height: auto;
  margin-top: 24px;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 140ms ease, transform 140ms ease;
}

#badge:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 24px 32px;
  color: #80868b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: inline-flex;
  gap: 10px;
}

.footer a {
  color: #5f6368;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .install-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 94px;
    padding: 14px 8px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .progress-step {
    padding: 0 4px;
  }

  .progress-step-label {
    overflow: hidden;
    width: 100%;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .progress-step::after {
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }

  .progress-step:not(:last-child)::before {
    left: calc(50% + 20px);
  }

  .main {
    padding: 24px 14px 36px;
  }

  .hero-card {
    border-radius: 20px;
  }

  .instructions-panel,
  .install-panel {
    padding: 32px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .section-intro {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .vertical li {
    grid-template-columns: 1fr;
  }

  .vertical .chrome-button {
    width: 100%;
  }

  .install-panel h2 {
    font-size: 30px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .progress-step::before,
  .progress-ring,
  .progress-pulse {
    animation: none !important;
  }
}
