* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f1f3f4;
  color: #202124;
  font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.header-icon {
  flex: none;
  border-radius: 10px;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #202124;
}

.subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5f6368;
  max-width: 460px;
}

.card-section {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.card-section h2 {
  font-size: 13px;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6368;
  font-weight: 600;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #f1f3f4;
}

.step-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.step-num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-icon-chip {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
}

.step-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #202124;
}

.step-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #5f6368;
}

/* ---------- Mock extensions-menu illustration ---------- */
.mock-menu {
  margin-top: 18px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
  background: #fafbfc;
}

.mock-menu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #eef0f2;
  font-size: 13px;
  color: #202124;
}

.mock-menu-row:first-child {
  border-top: none;
}

.mock-menu-row.highlight {
  background: #e8f0fe;
}

.mock-menu-row img {
  border-radius: 4px;
}

.mock-generic-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #dadce0;
  flex: none;
}

.mock-placeholder {
  flex: 1;
  height: 10px;
  border-radius: 4px;
  background: #e3e6ea;
  max-width: 140px;
}

.mock-placeholder.short {
  max-width: 90px;
}

.mock-pin {
  margin-left: auto;
  flex: none;
  color: #4285f4;
}

.mock-pin-outline {
  margin-left: auto;
  flex: none;
  color: #bdc1c6;
}

/* ---------- Actions ---------- */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.primary-button {
  background: #4285f4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.primary-button:hover {
  background: #3367d6;
}

.text-link-button {
  background: none;
  border: none;
  color: #5f6368;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
}

.text-link-button:hover {
  color: #202124;
  text-decoration: underline;
}

.footer-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: #80868b;
}

/* ---------- Pin callout arrow (fixed to viewport, points toward the
   real browser toolbar just above the page) ---------- */
.pin-callout {
  position: fixed;
  top: 0;
  right: 8px;
  width: 220px;
  height: 170px;
  pointer-events: none;
  z-index: 10;
}

.pin-arrow {
  position: absolute;
  top: 0;
  left: 0;
}

.pin-callout-label {
  position: absolute;
  left: 0;
  top: 128px;
  background: #202124;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .pin-callout {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #131314;
    color: #e8eaed;
  }
  .page-header h1 {
    color: #e8eaed;
  }
  .subtitle,
  .card-section h2,
  .step-text p,
  .footer-note {
    color: #9aa0a6;
  }
  .card-section {
    background: #1e1f20;
    border-color: #303134;
  }
  .step-row {
    border-top-color: #2a2b2d;
  }
  .step-text h3 {
    color: #e8eaed;
  }
  .step-icon-chip {
    background: #274a7a;
    color: #8ab4f8;
  }
  .mock-pin {
    color: #8ab4f8;
  }
  .mock-pin-outline {
    color: #5f6368;
  }
  .mock-menu {
    background: #1a1b1c;
    border-color: #303134;
  }
  .mock-menu-row {
    border-top-color: #26282a;
    color: #e8eaed;
  }
  .mock-menu-row.highlight {
    background: #23324a;
  }
  .mock-generic-icon,
  .mock-placeholder {
    background: #3c4043;
  }
  .text-link-button {
    color: #9aa0a6;
  }
  .text-link-button:hover {
    color: #e8eaed;
  }
}
