/* ==========================================================================
   My Coaching — Trang nội dung (/guide, /support)
   Dùng KÈM landing/styles.css (design system landing v2). Chỉ chứa phần riêng
   của 2 trang nội dung; header/footer/nút/eyebrow/grid/device lấy từ styles.css.

   KHÔNG thêm màu mới: mọi thứ derive từ biến trong styles.css.
   Nhịp của 2 trang này điềm tĩnh hơn trang chủ: căn trái, ít gradient, ít shadow.
   ========================================================================== */

:root {
  /* Chiều rộng dòng chữ để đọc lâu không mỏi mắt */
  --measure: 68ch;
  /* Offset khi nhảy anchor: header sticky ~67px + thoáng */
  --anchor-offset: 90px;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-card);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 18px 40px -24px rgba(23, 27, 35, 0.5);
}

/* --------------------------------------------------------------------------
   Hero trang nội dung
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 56px var(--gutter) 48px;
  background: linear-gradient(160deg, #fff7f2 0%, #fffdfb 58%, #fdf6ff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero__blob {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(255, 154, 70, 0.16), rgba(255, 154, 70, 0) 66%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
  max-width: 26ch;
}

.page-hero__lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

/* Breadcrumb ------------------------------------------------------------ */

.crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted-3);
}

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

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.crumbs svg {
  width: 13px;
  height: 13px;
  display: block;
  color: #cfd4dd;
}

/* Hàng meta + actions -------------------------------------------------- */

.page-hero__metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f1e3d9;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 8px 20px -16px rgba(23, 27, 35, 0.5);
}

.meta-pill svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Khung 2 cột: mục lục + nội dung
   -------------------------------------------------------------------------- */

.content-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.content-layout__main {
  min-width: 0;
  padding: 56px 0 24px;
}

.content-layout__main > section {
  scroll-margin-top: var(--anchor-offset);
}

.content-layout__main [id] {
  scroll-margin-top: var(--anchor-offset);
}

/* Section trong trang nội dung: nhẹ nhàng hơn .section của trang chủ */
.block {
  padding-bottom: 56px;
}

.block + .block {
  padding-top: 8px;
}

.block__head {
  max-width: var(--measure);
  margin: 0 0 28px;
}

.block__title {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.block__lead {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.block__sub {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.block__text {
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Mục lục (sticky desktop / chip-scroll mobile)
   -------------------------------------------------------------------------- */

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 56px 6px 24px 0;
}

.toc__title {
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc__group {
  margin: 2px 0 10px;
  padding: 0 0 0 11px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.toc__link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted-2);
}

.toc__link:hover {
  background: var(--cream);
  color: var(--ink);
}

.toc__link--lv1 {
  font-weight: 700;
  color: var(--ink);
}

.toc__link.is-active {
  background: var(--peach-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Bắt đầu nhanh (3 mốc thời gian)
   -------------------------------------------------------------------------- */

.quickstart {
  background: var(--cream);
  border: 1px solid var(--line-peach);
  border-radius: 24px;
  padding: 28px 30px;
}

.quickstart__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quickstart__item strong {
  display: block;
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.quickstart__item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-2);
}

.quickstart__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-peach);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Chọn vai (2 thẻ lớn)
   -------------------------------------------------------------------------- */

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

.role-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-card);
  border-radius: 24px;
  padding: 28px 30px;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.role-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  border-color: #ffd9c2;
  box-shadow: 0 20px 44px -30px rgba(23, 27, 35, 0.4);
}

.role-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.role-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-2);
}

.role-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-3);
}

.role-card__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 700;
}

.role-card__go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.role-card:hover .role-card__go svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Track (một vai) — nền xen kẽ để mắt phân biệt
   -------------------------------------------------------------------------- */

.track {
  position: relative;
  padding-bottom: 56px;
}

.track__head {
  max-width: var(--measure);
  margin-bottom: 28px;
}

.track__meta {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted-3);
}

/* Track thứ hai đổi nền để mắt phân biệt ngay đang đọc vai nào */
.block.track--tinted {
  margin: 8px 0 44px;
  padding: 30px 32px 34px;
  background: var(--cream);
  border: 1px solid var(--line-peach);
  border-radius: 28px;
}

/* --------------------------------------------------------------------------
   Bước hướng dẫn
   -------------------------------------------------------------------------- */

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(176px, 19vw, 224px);
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line-card);
  border-radius: 28px;
  padding: 30px 32px;
  box-shadow: 0 20px 50px -34px rgba(23, 27, 35, 0.35);
}

.guide-step--noshot {
  grid-template-columns: minmax(0, 1fr);
}

.guide-step__body {
  min-width: 0;
  max-width: var(--measure);
}

.guide-step__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.guide-step__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-step__head h3,
.guide-step__head h4 {
  margin-top: 5px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.guide-step__text {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

.guide-step__shot {
  justify-self: center;
}

.guide-step__shot .device {
  width: 100%;
}

/* Danh sách thao tác có số ------------------------------------------------ */

.num-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: num-list;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

.num-list > li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 26px;
  counter-increment: num-list;
}

.num-list > li:last-child {
  margin-bottom: 0;
}

.num-list > li::before {
  content: counter(num-list) ".";
  position: absolute;
  left: 0;
  top: 0;
  min-width: 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand);
}

.num-list strong,
.bullet-list strong,
.guide-step__text strong,
.block__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* Danh sách gạch đầu dòng ------------------------------------------------ */

.bullet-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

.bullet-list > li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}

.bullet-list > li:last-child {
  margin-bottom: 0;
}

.bullet-list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Checklist "xong bước này bạn đã có" ---------------------------------- */

.done-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid #d8eee2;
}

.done-box__label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #12833d;
}

.done-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.done-box li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.done-box .tick {
  background: var(--green);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Callout
   -------------------------------------------------------------------------- */

.callout {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-2);
}

.callout__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.callout__icon svg {
  width: 15px;
  height: 15px;
}

.callout__label {
  font-weight: 700;
  color: var(--ink);
}

.callout--tip {
  background: var(--peach-soft);
  border: 1px solid #ffe0cd;
}

.callout--tip .callout__icon {
  background: #ffe1d0;
  color: var(--brand-dark);
}

.callout--note {
  background: var(--blue-soft);
  border: 1px solid #e2eafb;
}

.callout--note .callout__icon {
  background: #dfe9fe;
  color: var(--blue);
}

.callout--warn {
  background: var(--amber-soft);
  border: 1px solid #f6e3bf;
}

.callout--warn .callout__icon {
  background: #fdecc8;
  color: var(--amber);
}

.callout--alert {
  background: var(--rose-soft);
  border: 1px solid #fbdbe1;
}

.callout--alert .callout__icon {
  background: #ffdde3;
  color: var(--rose);
}

/* --------------------------------------------------------------------------
   Hai danh sách cạnh nhau (làm được trên web / làm trên app)
   -------------------------------------------------------------------------- */

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

.split-lists__col {
  background: var(--cream);
  border: 1px solid var(--line-peach);
  border-radius: 20px;
  padding: 22px 24px;
}

.split-lists__col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.split-lists__col .bullet-list {
  margin-top: 10px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Khối chia sẻ link + lên đầu trang
   -------------------------------------------------------------------------- */

.share-box {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--line-peach);
}

.share-box strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.share-box p {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 52ch;
}

.share-box__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-card);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-deep);
  overflow-wrap: anywhere;
}

.share-box__link:hover {
  color: var(--brand-deep);
  border-color: #ffd9c2;
}

.backtop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted-2);
}

.backtop:hover {
  color: var(--ink);
}

.backtop svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Card điều hướng (3 lối trợ giúp)
   -------------------------------------------------------------------------- */

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-card);
  border-radius: 24px;
  padding: 26px 28px;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  border-color: #ffd9c2;
  box-shadow: 0 20px 44px -30px rgba(23, 27, 35, 0.4);
}

.link-card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.link-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

.link-card__go {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  /* auto: CTA luôn nằm đáy card, các card cạnh nhau thẳng hàng dù tiêu đề dài ngắn khác nhau */
  margin-top: auto;
  padding-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand);
}

.link-card__go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.link-card:hover .link-card__go svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Kênh liên hệ (/support)
   -------------------------------------------------------------------------- */

.contact-note {
  margin-top: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--line-peach);
}

.contact-note h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.contact-note .num-list {
  font-size: 15.5px;
}

.contact-note__foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-peach);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-2);
}

.contact-note__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-note__mail {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-deep);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Tự chẩn đoán
   -------------------------------------------------------------------------- */

.triage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.triage-card {
  background: #fff;
  border: 1px solid var(--line-card);
  border-radius: 24px;
  padding: 26px 28px;
}

.triage-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.triage-card__dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.triage-card__dot--rose {
  background: var(--rose);
}

.triage-card__dot--blue {
  background: var(--blue);
}

.triage-card__dot--green {
  background: var(--green);
}

.triage-card__dot--violet {
  background: var(--violet);
}

.triage-card h3 {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  text-wrap: pretty;
}

.triage-card__tag {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.triage-card .num-list {
  margin-top: 0;
  max-width: var(--measure);
}

.triage-card__escalate {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line-peach);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.triage-card__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
}

.triage-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.triage-card__links svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Hỏi đáp theo nhóm (accordion native <details>, không cần JS)
   -------------------------------------------------------------------------- */

.faq-groups {
  min-width: 0;
}

.faq-group + .faq-group {
  margin-top: 32px;
}

.faq-group__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.faq-group__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.qa {
  background: var(--cream);
  border: 1px solid var(--line-peach);
  border-radius: 20px;
  padding: 2px 26px;
}

.qa + .qa {
  margin-top: 12px;
}

.qa__q {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}

.qa__q::-webkit-details-marker {
  display: none;
}

.qa__q::marker {
  content: "";
}

.qa__sign {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffe1d0;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

.qa__sign svg {
  width: 14px;
  height: 14px;
}

.qa[open] .qa__sign {
  transform: rotate(45deg);
}

.qa__a {
  padding: 0 0 20px;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

.qa__q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Dữ liệu và pháp lý
   -------------------------------------------------------------------------- */

.fact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  background: #fff;
  border: 1px solid var(--line-card);
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.inline-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
}

.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   Dải CTA cuối trang
   -------------------------------------------------------------------------- */

.cta-band {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 30px 34px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line-card);
  box-shadow: 0 20px 50px -34px rgba(23, 27, 35, 0.35);
}

.cta-band h2 {
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
}

.cta-band p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-2);
  max-width: 56ch;
}

.cta-band__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .content-layout {
    grid-template-columns: 212px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1023px) {
  .page-hero {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  /* Mục lục thành dải chip cuộn ngang, KHÔNG sticky để anchor offset giữ nguyên */
  .toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 28px 0 0;
  }

  .toc__title {
    padding-left: 0;
  }

  .toc__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .toc__list > li {
    flex: none;
  }

  /* Ẩn link cấp 2 (link trùng lặp), nội dung trang không đổi */
  .toc__group {
    display: none;
  }

  .toc__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line-peach);
    white-space: nowrap;
    font-weight: 600;
    color: var(--ink-2);
  }

  .toc__link.is-active {
    border-color: #ffd9c2;
  }

  .content-layout__main {
    padding-top: 32px;
  }

  .guide-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .guide-step__shot {
    width: 100%;
    max-width: 240px;
    margin: 22px auto 0;
  }

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

@media (max-width: 640px) {
  .page-hero {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .page-hero__lead {
    font-size: 16.5px;
  }

  .page-hero__actions .btn,
  .cta-band__actions .btn {
    flex: 1 1 100%;
  }

  .block {
    padding-bottom: 44px;
  }

  .quickstart,
  .contact-note,
  .share-box {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .quickstart__grid,
  .role-cards,
  .link-cards,
  .split-lists {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-step,
  .role-card,
  .link-card,
  .triage-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .guide-step__head h3,
  .guide-step__head h4 {
    font-size: 18px;
  }

  .qa {
    padding: 0 20px;
  }

  .qa__q {
    font-size: 16.5px;
  }

  .cta-band {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .triage-card h3 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .role-card,
  .link-card,
  .qa__sign,
  .role-card__go svg,
  .link-card__go svg {
    transition: none;
  }

  .role-card:hover,
  .link-card:hover {
    transform: none;
  }

  .role-card:hover .role-card__go svg,
  .link-card:hover .link-card__go svg {
    transform: none;
  }
}
