.home-guides { width: min(100%, 920px); margin: 0 auto 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.home-guides h2 { margin: 0; font-size: clamp(22px, 4vw, 32px); }
.home-guides p, .guide-card span { color: var(--muted); line-height: 1.55; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.guide-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.guide-card:hover { border-color: var(--accent); }
.guide-card strong { display: block; line-height: 1.35; }
.guide-card span { display: block; margin-top: 8px; font-size: .92rem; }
.guide-text-link, .guide-copy a { color: var(--accent); }
.guide-text-link:hover, .guide-copy a:hover { color: #4120b8; }

.guide-body { line-height: 1.7; }
.guide-header { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.guide-header .site-nav { flex-wrap: wrap; justify-content: flex-end; }
.guide-header .site-nav a { white-space: nowrap; }
.guide-header .site-nav a[aria-current="page"] { color: var(--accent); }
.guide-header .guide-header-cta, .guide-button {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.guide-header .guide-header-cta:hover, .guide-button:hover { background: #4120b8; color: #fff; }

.guide-main { width: min(100% - 44px, 780px); margin: 0 auto; padding: clamp(32px, 5vw, 62px) 0 62px; }
.guide-main h1 {
  margin: 0 0 17px;
  font-size: clamp(34px, 5.1vw, 61px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.guide-body:lang(zh) .guide-main h1 { font-size: clamp(31px, 4.6vw, 53px); line-height: 1.24; letter-spacing: -.045em; }
.guide-title-phrase { white-space: nowrap; }
.guide-summary { margin: 0; max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.17rem); line-height: 1.65; }
.guide-main h2 { margin: 36px 0 12px; font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.guide-copy { color: #393343; }
.guide-copy p, .guide-copy li { max-width: 70ch; line-height: 1.8; }
.guide-body:lang(zh) .guide-copy p, .guide-body:lang(zh) .guide-copy li { line-height: 1.9; }
.guide-copy li + li { margin-top: 7px; }
.guide-button { margin-top: 10px; }
.guide-figure { margin: 28px 0 30px; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.guide-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .87rem; }
.guide-end { margin: 42px 0 34px; padding: clamp(19px, 4vw, 30px); border: 1px solid #ded1f2; border-radius: 14px; background: #efe9f8; }
.guide-end h2 { margin: 0; }
.guide-end p { margin: 8px 0 4px; color: var(--muted); }

.guide-hub { width: min(100% - 88px, 1080px); }
.guide-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 32px 0 28px; padding: 0; list-style: none; }
.guide-index a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: clamp(19px, 3vw, 27px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.guide-index h2 { margin: 0 0 7px; font-size: clamp(19px, 2.1vw, 23px); }
.guide-index p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.guide-index-topic { color: var(--accent); font-size: .79rem; font-weight: 800; }
.guide-index a:hover { border-color: var(--accent); }
.guide-index a:hover h2 { color: var(--accent); }
.guide-breadcrumb { margin-bottom: clamp(20px, 3vw, 32px); color: var(--muted); font-size: .83rem; }
.guide-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.guide-breadcrumb li + li { display: flex; align-items: center; gap: 9px; }
.guide-breadcrumb li + li::before { content: ""; height: .85em; border-left: 1px solid #a498b5; transform: skewX(-18deg); }
.guide-breadcrumb a:hover { color: var(--accent); }
.guide-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.guide-byline span + span { border-left: 1px solid var(--line); padding-left: 12px; }

@media (max-width: 900px) {
  .guide-hub { width: min(100% - 44px, 760px); }
}
@media (max-width: 600px) {
  .guide-grid, .guide-index { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .guide-main, .guide-hub { width: calc(100% - 34px); }
  .guide-header .site-header { gap: 8px; padding-block: 6px; }
  .guide-header .site-nav { gap: 5px 9px; font-size: .73rem; }
  .guide-header .site-nav .language, .guide-header .guide-header-cta { padding: 6px 8px; }
}

/* Approved guide batch: readable contents and responsive diagrams. */
.guide-toc{margin:28px 0;padding:18px 22px;border:1px solid #dfd9e6;border-radius:14px;background:#fff}.guide-toc p{margin:0 0 8px}.guide-toc ol{margin:0;padding-left:22px}.guide-toc li{margin:5px 0}.guide-copy h2[id],.guide-copy section[id]{scroll-margin-top:24px}.guide-figure picture{display:block}.guide-copy table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.guide-copy th,.guide-copy td{padding:12px;border:1px solid #dfd9e6;text-align:start}.guide-byline{flex-wrap:wrap;line-height:1.7}.guide-copy :focus-visible{outline:3px solid #7758f4;outline-offset:4px}
