:root {
  --bg: #f8fbff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #66758a;
  --soft: #d7e3f3;
  --soft-2: #eef5ff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf2ff;
  --code-bg: #0f172a;
  --code-text: #e5edff;
  --shadow: 0 16px 40px rgba(15, 23, 42, .06);
  --shadow-hover: 0 8px 20px rgba(37, 99, 235, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef6ff 0, #f8fbff 360px, #ffffff 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 3px;
}

.hero,
.container,
.page,
.footer {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.hero,
.header {
  padding: 62px 0 44px;
  text-align: center;
}

.back-link,
.byline {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.hero h1,
.header h1 {
  max-width: 760px;
  margin: 24px auto 14px;
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.14;
}

.subtitle {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0;
}

.hero-links,
.byline {
  margin: 6px 0 0;
  font-size: 17px;
}

.hero-links a,
.header .subtitle a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  background: rgba(234, 242, 255, .86);
  box-shadow: 0 8px 22px rgba(37, 99, 235, .08);
  font-weight: 700;
}

.page {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.page > * {
  min-width: 0;
}

.card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-card,
.toc,
.step > .card,
.table-wrap,
.download-card,
.warning,
details.card {
  backdrop-filter: blur(10px);
}

.summary-card,
.toc {
  padding: 28px 32px;
}

.summary-card h2,
.toc h2 {
  margin: 0 0 18px;
  font-size: 18px;
  color: #1e3a8a;
  letter-spacing: 0;
}

.summary-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary-card dl div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
}

.summary-card dt {
  color: var(--muted);
  font-weight: 600;
}

.summary-card dd {
  margin: 0;
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
}

.toc li + li {
  margin-top: 8px;
}

.toc a {
  color: var(--text);
}

.toc a:hover {
  color: var(--accent-dark);
}

.step {
  scroll-margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(215, 227, 243, .75);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, var(--accent-dark));
  box-shadow: 0 10px 20px rgba(37, 99, 235, .22);
  font-weight: 800;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 720;
  line-height: 1.2;
}

.tabs {
  display: flex;
  gap: 26px;
  margin-top: 24px;
  padding: 0;
  border-bottom: 1px solid #dbe7f7;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  padding: 0 0 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: color .16s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  border-radius: 0;
  background: #2563eb;
  opacity: 0;
  transform: scaleX(.55);
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}

.tab-btn:hover {
  color: #1d4ed8;
}

.tab-btn.active {
  color: var(--accent-dark);
  background: transparent;
  box-shadow: none;
}

.tab-btn.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tab-content {
  margin-top: 20px;
  display: none;
}

.tab-content.active {
  display: block;
}

.step-header,
.login-card-header,
.api-section-title,
.feature-title,
.tip-title,
.qa-q {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-header {
  margin-bottom: 14px;
  gap: 16px;
}

.step-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 44px;
  height: 44px;
  margin-right: 4px;
  border: 0;
  border-radius: 0;
  color: #2563eb;
  background: transparent;
  box-shadow: none;
  font-size: 38px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.step-number::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -10px;
  width: 1px;
  height: 30px;
  background: #bfdbfe;
}

.step-header h2,
.login-card-title,
.api-section-title h3,
.feature-title h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 720;
  line-height: 1.2;
}

.login-grid,
.api-section,
.feature-block,
.qa-item,
.expand-box,
.tip,
.disclaimer {
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.login-card {
  padding: 22px 24px;
}

.login-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #2563eb;
}

.login-card-header {
  padding-bottom: 14px;
  border-bottom: 1px solid #e5efff;
  color: #0f172a;
  font-size: 20px;
  font-weight: 760;
}

.login-card-content {
  padding-top: 4px;
}

.login-card-icon,
.api-section-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 18px;
}

.login-card-content p,
.api-section p {
  margin: 12px 0 0;
}

.mini-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-btn-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.api-section {
  margin-top: 18px;
  padding: 20px 22px;
  border-color: #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: none;
}

.api-section + .api-section {
  margin-top: 14px;
}

.api-section-title {
  padding-bottom: 12px;
  border-bottom: 1px solid #e5efff;
  color: #1e3a8a;
  font-size: 17px;
  font-weight: 760;
}

.api-section-icon {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.api-steps {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: api-step;
}

.api-steps li {
  position: relative;
  min-height: 30px;
  padding-left: 44px;
  color: #334155;
  line-height: 1.75;
  counter-increment: api-step;
}

.api-steps li::before {
  content: counter(api-step);
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}

.api-steps li + li {
  margin-top: 12px;
}

.quota-table-title {
  margin: 0;
  padding: 15px 18px 13px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 760;
  border-bottom: 1px solid #e5efff;
}

.quota-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border-color: #dbe7f7;
  background: #fff;
  box-shadow: none;
}

.quota-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.quota-table th,
.quota-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8eef8;
  text-align: left;
  vertical-align: top;
}

.quota-table th {
  color: #475569;
  background: #f7fbff;
  font-size: 14px;
  font-weight: 720;
}

.quota-table td {
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.quota-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.quota-table tbody tr:hover {
  background: #f4f8ff;
}

.quota-table tr:last-child td {
  border-bottom: 0;
}

.feature-block {
  padding: 22px 24px;
  margin-top: 16px;
}

.feature-caveat {
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.tip,
.disclaimer {
  padding: 20px 22px;
  margin-top: 18px;
}

.tip-title,
.disclaimer h3 {
  margin-top: 0;
  color: #1e3a8a;
}

.qa-item,
.expand-box {
  padding: 0;
  margin-top: 12px;
  overflow: hidden;
}

.qa-q,
.expand-box summary {
  padding: 16px 18px;
  color: #1e3a8a;
  font-weight: 700;
  cursor: pointer;
}

.qa-a,
.expand-box-content {
  padding: 0 18px 18px;
  color: var(--muted);
}

.download-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.copy-btn,
.passcode-copy-btn,
.mini-btn {
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.copy-btn:hover,
.passcode-copy-btn:hover,
.mini-btn:hover {
  border-color: rgba(37, 99, 235, .42);
  background: #fff;
}

.download-grid,
.download-group,
.feature-grid,
.link-grid {
  display: grid;
  gap: 12px;
}

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

.download-card,
.download-btn {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  color: var(--text);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--soft);
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.download-card.recommended,
.download-btn:first-child {
  border-color: rgba(37, 99, 235, .32);
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.download-card:hover,
.download-btn:hover {
  color: var(--text);
  border-color: rgba(37, 99, 235, .36);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.download-left {
  display: contents;
}

.download-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(37, 99, 235, .18);
  color: var(--accent-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  font-size: 0;
  position: relative;
}

.download-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--accent-dark);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v10m0 0 4-4m-4 4-4-4'/%3E%3Cpath d='M5 15v3a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.download-icon.product-icon {
  font-size: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.download-icon.product-icon::before {
  display: none;
}

.download-icon.product-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.download-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-card strong,
.download-label strong {
  display: block;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.download-card small,
.download-label span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.download-card em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-style: normal;
  font-size: 14px;
}

.badge-recommend {
  display: inline-block !important;
  margin-left: 6px !important;
  margin-top: 0 !important;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--accent);
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.download-arrow {
  color: #7da2dd;
  font-size: 18px;
  justify-self: end;
}

.download-sub {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.note {
  color: var(--muted);
  margin-top: 12px;
  font-size: 15px;
}

.note a::after {
  content: " ↗";
  font-size: 12px;
}

.code-block {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .1);
}

.code-block .lang {
  display: none;
}

.code-block .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(191, 219, 254, .26);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  padding: 0;
  color: transparent;
  font-size: 0;
}

.code-block .copy-btn:hover {
  border-color: rgba(191, 219, 254, .45);
  background: rgba(255, 255, 255, .14);
}

.code-block .copy-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%);
  background: #dbeafe;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.code-block .copy-btn.copied {
  border-color: rgba(125, 211, 252, .48);
  background: rgba(14, 165, 233, .24);
}

.code-block .copy-btn.copied::before {
  background: #ecfeff;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.code-head button {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  padding: 6px 12px;
  cursor: pointer;
}

.code-head button.copied {
  border-color: rgba(89, 204, 138, .5);
  background: rgba(89, 204, 138, .22);
}

.code-block code {
  display: block;
  overflow-x: auto;
  padding: 18px 58px 18px 18px;
  color: var(--code-text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre;
  scrollbar-width: thin;
  scrollbar-color: rgba(147, 197, 253, .45) transparent;
}

.code-block code::-webkit-scrollbar {
  height: 8px;
}

.code-block code::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(147, 197, 253, .42);
}

.code-block code::-webkit-scrollbar-track {
  background: transparent;
}

.inline-code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: #1e3a8a;
  border: 1px solid rgba(37, 99, 235, .12);
}

.inline-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.warning {
  padding: 22px 26px;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.warning h3 {
  margin-top: 0;
  color: #1e3a8a;
}

.step > .card,
.table-wrap {
  padding: 22px 26px;
  margin-top: 16px;
}

.step > p {
  margin: 10px 0 0;
}

.step h3,
.step h4 {
  color: #1e3a8a;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-link,
.link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .9);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.link-grid a {
  position: relative;
  align-items: flex-start;
  flex-direction: row;
  gap: 14px;
  min-height: 124px;
  padding: 18px 42px 18px 18px;
  overflow: hidden;
}

.link-grid a::after {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 18px;
  color: #7da2dd;
  font-size: 15px;
  transition: transform .16s ease, color .16s ease;
}

.link-grid a:hover::after {
  color: var(--accent-dark);
  transform: translate(2px, -2px);
}

.link-grid a strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.link-grid a small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tool-icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.tool-icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tool-copy {
  display: block;
  min-width: 0;
}

.pill-link::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.pill-link:hover,
.link-grid a:hover {
  border-color: rgba(37, 99, 235, .34);
  color: var(--accent-dark);
  background: rgba(239, 246, 255, .72);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .06);
  transform: none;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

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

.compact table {
  min-width: 540px;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8eef8;
  text-align: left;
  vertical-align: top;
}

th {
  color: #475569;
  font-size: 14px;
  font-weight: 720;
  background: #f7fbff;
}

td {
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

tbody tr:nth-child(even) {
  background: #fbfdff;
}

tbody tr:hover {
  background: #f4f8ff;
}

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

.big-list {
  padding-left: 24px;
}

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

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

.feature-grid .card {
  padding: 22px 26px;
}

.feature-grid .card h3 {
  margin-top: 0;
}

.feature-grid .caveat {
  grid-column: 1 / -1;
}

.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.alt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.alt-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 124px;
  padding: 18px 42px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .9);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.alt-card::after {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 18px;
  color: #7da2dd;
  font-size: 15px;
  transition: transform .16s ease, color .16s ease;
}

.alt-card:hover {
  border-color: rgba(37, 99, 235, .34);
  color: var(--accent-dark);
  background: rgba(239, 246, 255, .72);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .06);
  transform: none;
}

.alt-card:hover::after {
  color: var(--accent-dark);
  transform: translate(2px, -2px);
}

.alt-card-company {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.alt-card-name {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.alt-card-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 64px 0 84px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-brand img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
}

details.card {
  margin-top: 12px;
}

details.card summary {
  color: #1e3a8a;
}

@media (max-width: 720px) {
  .hero,
  .container,
  .page,
  .footer {
    width: min(100% - 28px, 560px);
  }

  .hero,
  .header {
    padding: 56px 0 38px;
  }

  .header h1,
  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .subtitle,
  .hero-links,
  .byline {
    font-size: 15px;
  }

  .summary-card,
  .toc,
  .step > .card,
  .table-wrap,
  .login-card,
  .api-section,
  .feature-block,
  .tip,
  .disclaimer {
    padding: 20px;
  }

  .summary-card dl div {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .download-card,
  .download-btn {
    grid-template-columns: 30px 1fr 20px;
    padding: 18px;
    gap: 12px;
  }

  .download-icon {
    width: 34px;
    height: 34px;
  }

  .download-icon::before {
    width: 19px;
    height: 19px;
  }

  .feature-grid,
  .login-grid,
  .download-grid,
  .link-grid,
  .alt-grid {
    grid-template-columns: 1fr;
  }

  .link-grid a,
  .alt-card {
    min-height: auto;
    padding: 16px 40px 16px 16px;
  }

  .tool-icon {
    width: 40px;
    height: 40px;
  }

  .tool-icon img {
    width: 34px;
    height: 34px;
  }

  .tabs {
    gap: 20px;
  }

  .tab-btn {
    padding-bottom: 11px;
    font-size: 14px;
  }

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

  .code-block .copy-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .code-block code {
    padding: 16px 52px 16px 16px;
    font-size: 13px;
  }

  .qa-q,
  .expand-box summary {
    padding: 15px 16px;
  }

  .qa-a,
  .expand-box-content {
    padding: 0 16px 16px;
  }
}
