/* Shared by the public site (site/) and the extension welcome page. */
:root {
  color-scheme: light dark;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --border: #dfe5f0;
  --text: #121a2b;
  --muted: #56627a;
  --accent: #2f5fe0;
  --accent-soft: #e8efff;
  --hero: linear-gradient(135deg, #4f8dff, #1f3fb8);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #121c30;
    --border: #22304a;
    --text: #e8eefb;
    --muted: #9aa8c3;
    --accent: #8bb4ff;
    --accent-soft: #1a2a4a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero {
  background: var(--hero);
  color: #fff;
  padding: 56px 0 48px;
}
.hero .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.hero .brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px #0003;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  margin: 28px 0 12px;
}
.hero p {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  opacity: 0.92;
}
.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #1f3fb8;
  font-weight: 700;
  text-decoration: none;
}
main.wrap {
  padding-top: 32px;
  padding-bottom: 48px;
}
h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps strong {
  display: block;
}
.steps span,
.muted {
  color: var(--muted);
}
.note {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 12px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.card strong {
  display: block;
  margin-bottom: 4px;
}
kbd {
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  font: inherit;
  font-size: 14px;
  background: var(--surface);
}
form input {
  accent-color: var(--accent);
}
form label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 8px;
  cursor: pointer;
}
textarea {
  width: 100%;
  min-height: 96px;
  margin: 8px 0 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  font: inherit;
}
button[type='submit'] {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button[disabled] {
  opacity: 0.6;
}
footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer a {
  color: inherit;
}
