/* TND Assurance */

/* ---------- Fonts (self-host, subset latin + vietnamese, variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --tnd-teal-950: #06281E;
  --tnd-teal-800: #0B3B2E;
  --tnd-teal-700: #0E664E;
  --tnd-teal-500: #10B981;
  --tnd-teal-200: #A7F3D0;
  --tnd-teal-50:  #ECFDF5;

  --tnd-coral-500: #D97706;
  --tnd-coral-600: #B45309;
  --tnd-coral-700: #0E664E;
  --tnd-coral-50:  #FFFBEB;
  --tnd-mint-300: #34D399;
  --tnd-mint-100: #D1FAE5;

  --tnd-ink-900: #111827;
  --tnd-ink-700: #374151;
  --tnd-ink-500: #6B7280;
  --tnd-line:    #E5E7EB;
  --tnd-line-strong: #D1D5DB;
  --tnd-cream:   #FFFFFF;
  --tnd-sand:    #F6F8F7;
  --tnd-white:   #FFFFFF;

  /* Ngữ nghĩa */
  --tnd-success: #059669;
  --tnd-success-bg: #ECFDF5;
  --tnd-warning: #B45309;
  --tnd-warning-bg: #FFFBEB;
  --tnd-danger:  #DC2626;
  --tnd-danger-bg: #FEF2F2;
  --tnd-info:    #1D4ED8;
  --tnd-info-bg: #EFF6FF;

  /* 4 lớp bảo vệ */
  --tnd-layer-protect: #23516a;
  --tnd-layer-health:  #90513e;
  --tnd-layer-saving:  #387266;
  --tnd-layer-general: #5d6180;

  /* Chữ */
  --tnd-font-display: 'Inter', system-ui, sans-serif;
  --tnd-font-editorial: Georgia, 'Times New Roman', serif;
  --tnd-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tnd-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --tnd-fs-hero: clamp(2.125rem, 1.4rem + 2.6vw, 3.75rem);
  --tnd-fs-h1:   clamp(2.25rem, 1.6rem + 3.1vw, 4.5rem);
  --tnd-fs-h2:   clamp(2rem, 1.4rem + 2.1vw, 3.5rem);
  --tnd-fs-h3:   clamp(1.1875rem, 1.13rem + 0.25vw, 1.375rem);
  --tnd-fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --tnd-fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --tnd-fs-sm:   0.875rem;
  --tnd-fs-xs:   0.78125rem;

  /* Khoảng cách (4pt) */
  --tnd-s-1: 4px;  --tnd-s-2: 8px;   --tnd-s-3: 12px;  --tnd-s-4: 16px;
  --tnd-s-5: 20px; --tnd-s-6: 24px;  --tnd-s-8: 32px;  --tnd-s-10: 40px;
  --tnd-s-14: 56px; --tnd-s-18: 72px; --tnd-s-24: 96px; --tnd-s-30: 120px;
  --tnd-section-y: clamp(64px, 6vw + 40px, 120px);
  --tnd-gutter: clamp(16px, 3vw, 40px);

  /* Bo góc */
  --tnd-r-xs: 8px;
  --tnd-r-sm: 14px;
  --tnd-r-md: 10px;
  --tnd-r-lg: 12px;
  --tnd-r-xl: 16px;
  --tnd-r-full: 999px;

  /* Bóng đa tầng Tech-Finance */
  --tnd-sh-1: 0 1px 3px rgba(15, 23, 42, .05), 0 0 0 1px rgba(226, 232, 240, .85);
  --tnd-sh-2: 0 10px 28px -8px rgba(15, 76, 129, .14), 0 2px 6px rgba(15, 23, 42, .04);
  --tnd-sh-3: 0 24px 60px -16px rgba(15, 76, 129, .22), 0 4px 12px rgba(15, 23, 42, .05);

  /* Chuyển động */
  --tnd-ease: cubic-bezier(.22, .8, .3, 1);
  --tnd-dur: 360ms;
}

/* ---------- Base (chỉ trong .tnd2 khi còn chuyển tiếp) ----------
   Quy tắc theo thẻ bỏ qua mọi thứ nằm trong phần tử có class `tnd-*` cũ,
   để trang chưa chuyển vẫn giữ kiểu của site.css. */
.tnd2 {
  font-family: var(--tnd-font-body);
  font-size: var(--tnd-fs-body);
  line-height: 1.7;
  color: var(--tnd-ink-700);
  background: var(--tnd-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.tnd2 *, .tnd2 *::before, .tnd2 *::after { box-sizing: border-box; }
.tnd2 :where(h1, h2, h3, h4):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) {
  font-family: var(--tnd-font-display);
  color: var(--tnd-ink-900);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.tnd2 :where(h1, h2):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { font-family: var(--tnd-font-editorial); font-weight: 400; }
.tnd2 :where(h1):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { font-size: var(--tnd-fs-h1); line-height: 1.12; letter-spacing: -0.02em; }
.tnd2 :where(h2):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { font-size: var(--tnd-fs-h2); line-height: 1.18; letter-spacing: -0.015em; }
.tnd2 :where(h3):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { font-size: var(--tnd-fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
.tnd2 :where(p):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { margin: 0; text-wrap: pretty; }
.tnd2 :where(a):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { color: var(--tnd-teal-700); text-decoration: none; }
.tnd2 :where(ul, ol):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { margin: 0; padding: 0; list-style: none; }
.tnd2 :where(img, svg):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { display: block; max-width: 100%; height: auto; }
.tnd2 :where(button, input, select, textarea):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { font: inherit; color: inherit; }
.tnd2 :where(strong, b):not(:where([class^="tnd-"] *, [class*=" tnd-"] *)) { color: var(--tnd-ink-900); font-weight: 600; }
.tnd2 :focus-visible {
  outline: 2px solid var(--tnd-teal-700);
  outline-offset: 3px;
  border-radius: 6px;
}
.tnd2 ::selection { background: var(--tnd-teal-200); color: var(--tnd-ink-900); }

/* ---------- Layout ---------- */
.tnd2-container {
  width: 100%;
  max-width: calc(1240px + 2 * var(--tnd-gutter));
  margin-inline: auto;
  padding-inline: var(--tnd-gutter);
}
.tnd2-container--read { max-width: calc(720px + 2 * var(--tnd-gutter)); }

.tnd2-section { padding-block: var(--tnd-section-y); }
.tnd2-section--sand { background: var(--tnd-sand); }
.tnd2-section--tight { padding-block: clamp(40px, 4vw + 24px, 72px); }

.tnd2-stack { display: flex; flex-direction: column; gap: var(--gap, var(--tnd-s-4)); }
.tnd2-stack > :is(.tnd2-chip, .tnd2-badge) { align-self: flex-start; }
.tnd2-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--tnd-s-3)); }

.tnd2-grid { display: grid; gap: var(--gap, var(--tnd-s-6)); }
.tnd2-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tnd2-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tnd2-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Bento: 6 cột, ô mặc định 2 cột; --w / --h để giãn */
.tnd2-bento {
  display: grid;
  gap: var(--tnd-s-5);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
}
.tnd2-bento > * { grid-column: span var(--w, 2); grid-row: span var(--h, 1); }
@media (max-width: 1023px) {
  .tnd2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tnd2-bento > * { grid-column: span min(var(--w, 2), 2); grid-row: span 1; }
}
@media (max-width: 599px) {
  .tnd2-bento { grid-template-columns: minmax(0, 1fr); }
  .tnd2-bento > * { grid-column: auto; }
}

/* ---------- B01 Button ---------- */
.tnd2-btn {
  --btn-bg: var(--tnd-teal-700);
  --btn-fg: var(--tnd-white);
  --btn-bd: transparent;
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 6px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--tnd-font-display);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--tnd-ease), border-color 150ms var(--tnd-ease), color 150ms var(--tnd-ease), box-shadow 150ms var(--tnd-ease);
}
.tnd2-btn:hover { --btn-bg: var(--tnd-teal-800); }
.tnd2-btn:active { transform: translateY(1px); }
.tnd2-btn__arrow { transition: transform 200ms var(--tnd-ease); }
.tnd2-btn:hover .tnd2-btn__arrow { transform: translateX(3px); }
.tnd2-btn--warm { --btn-bg: var(--tnd-teal-950); }
.tnd2-btn--warm:hover { --btn-bg: var(--tnd-teal-700); }
.tnd2-btn--ghost { --btn-bg: transparent; --btn-fg: var(--tnd-teal-700); --btn-bd: var(--tnd-line-strong); }
.tnd2-btn--ghost:hover { --btn-bg: var(--tnd-white); --btn-bd: var(--tnd-teal-700); }
.tnd2-btn--light { --btn-bg: var(--tnd-white); --btn-fg: var(--tnd-teal-950); }
.tnd2-btn--light:hover { --btn-bg: var(--tnd-mint-100); }
.tnd2-btn--sm { --btn-h: 40px; padding: 0 16px; font-size: 0.875rem; }
.tnd2-btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1.03125rem; }
.tnd2-btn--icon { padding: 0; width: var(--btn-h); }
.tnd2-btn--block { width: 100%; }
.tnd2-btn[disabled], .tnd2-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.tnd2-btn__spark { color: var(--tnd-mint-300); }
.tnd2-btn--ghost .tnd2-btn__spark { color: var(--tnd-teal-500); }

.tnd2-link {
  color: var(--tnd-teal-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--tnd-teal-200);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms;
}
.tnd2-link:hover { text-decoration-color: currentColor; }

/* ---------- B02 Chip ---------- */
.tnd2-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--tnd-line);
  border-radius: var(--tnd-r-full);
  background: var(--tnd-white);
  color: var(--tnd-ink-900);
  font-size: var(--tnd-fs-sm);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.tnd2-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--tnd-coral-500));
  flex: none;
}
/* Nhãn section: thay eyebrow in hoa cũ */
.tnd2-chip--label { background: var(--tnd-white); border-color: transparent; box-shadow: var(--tnd-sh-1); }
/* Chip lọc / chọn được */
button.tnd2-chip { cursor: pointer; transition: border-color 150ms, background-color 150ms, color 150ms; }
button.tnd2-chip:hover { border-color: var(--tnd-teal-500); }
.tnd2-chip[aria-pressed="true"], .tnd2-chip.is-active {
  background: var(--tnd-teal-700);
  border-color: var(--tnd-teal-700);
  color: var(--tnd-white);
}
/* Chip lớp bảo vệ */
.tnd2-chip--layer { border-color: transparent; background: color-mix(in srgb, var(--layer) 14%, white); color: var(--tnd-ink-900); }
.tnd2-chip--layer .tnd2-chip__dot { background: var(--layer); }
/* Chip AI */
.tnd2-chip--ai { background: var(--tnd-mint-100); border-color: transparent; color: var(--tnd-teal-950); }
.tnd2-chip--ai::before { content: '✦'; color: var(--tnd-teal-500); }

/* ---------- B03 Badge ---------- */
.tnd2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--tnd-r-xs);
  background: var(--tnd-teal-50);
  color: var(--tnd-teal-800);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.tnd2-badge--partner { background: var(--tnd-white); color: var(--tnd-ink-900); box-shadow: inset 0 0 0 1px var(--tnd-line); }
.tnd2-badge--soon { background: var(--tnd-coral-50); color: var(--tnd-coral-700); }
.tnd2-badge--muted { background: var(--tnd-sand); color: var(--tnd-ink-700); }

/* ---------- B04 Field ---------- */
.tnd2-field { display: grid; gap: 6px; }
.tnd2-field__label { font-size: var(--tnd-fs-sm); font-weight: 600; color: var(--tnd-ink-900); }
.tnd2-field__label .is-req { color: var(--tnd-coral-700); }
.tnd2-field__hint { font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }
.tnd2-field__error { font-size: var(--tnd-fs-xs); color: var(--tnd-danger); font-weight: 500; }
.tnd2-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--tnd-line-strong);
  border-radius: var(--tnd-r-sm);
  background: var(--tnd-white);
  color: var(--tnd-ink-900);
  font-size: 1rem;
  transition: border-color 150ms, box-shadow 150ms;
}
.tnd2-input::placeholder { color: #8A9693; }
.tnd2-input:hover { border-color: var(--tnd-ink-500); }
.tnd2-input:focus { outline: none; border-color: var(--tnd-teal-700); box-shadow: 0 0 0 4px var(--tnd-teal-50); }
.tnd2-input[aria-invalid="true"] { border-color: var(--tnd-danger); box-shadow: 0 0 0 4px var(--tnd-danger-bg); }
textarea.tnd2-input { min-height: 120px; resize: vertical; }
select.tnd2-input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B5D56' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Segmented (quy mô doanh nghiệp…) */
.tnd2-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: var(--tnd-r-full);
  background: var(--tnd-sand);
}
.tnd2-segmented input { position: absolute; opacity: 0; pointer-events: none; }
.tnd2-segmented label {
  padding: 8px 16px;
  border-radius: var(--tnd-r-full);
  font-size: var(--tnd-fs-sm);
  font-weight: 600;
  color: var(--tnd-ink-700);
  cursor: pointer;
  transition: background-color 150ms, color 150ms, box-shadow 150ms;
}
.tnd2-segmented input:checked + label { background: var(--tnd-white); color: var(--tnd-teal-700); box-shadow: var(--tnd-sh-1); }
.tnd2-segmented input:focus-visible + label { outline: 2px solid var(--tnd-teal-700); outline-offset: 2px; }

/* Radio card */
.tnd2-choice {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 18px 16px 50px;
  border: 1.5px solid var(--tnd-line);
  border-radius: var(--tnd-r-sm);
  background: var(--tnd-white);
  cursor: pointer;
  transition: border-color 150ms, background-color 150ms;
}
.tnd2-choice input { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; margin: 0; accent-color: var(--tnd-teal-700); }
.tnd2-choice__title { font-weight: 600; color: var(--tnd-ink-900); line-height: 1.35; }
.tnd2-choice__desc { font-size: var(--tnd-fs-sm); color: var(--tnd-ink-500); line-height: 1.5; }
.tnd2-choice:hover { border-color: var(--tnd-teal-500); }
.tnd2-choice:has(input:checked) { border-color: var(--tnd-teal-700); background: var(--tnd-teal-50); }

.tnd2-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--tnd-fs-sm); line-height: 1.55; }
.tnd2-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--tnd-teal-700); }

/* ---------- B05 Section head ---------- */
.tnd2-head { display: grid; gap: var(--tnd-s-4); max-width: 760px; margin-bottom: clamp(32px, 3vw + 16px, 56px); }
.tnd2-head > .tnd2-chip, .tnd2-head > .tnd2-badge { justify-self: start; }
.tnd2-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.tnd2-head--center > .tnd2-chip { justify-self: center; }
.tnd2-head__lead { font-size: var(--tnd-fs-lead); line-height: 1.6; color: var(--tnd-ink-700); }
.tnd2-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: var(--tnd-s-8);
}
.tnd2-head--split > :not(.tnd2-head__aside) { grid-column: 1; }
.tnd2-head__aside { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
@media (max-width: 767px) {
  .tnd2-head--split { grid-template-columns: 1fr; }
  .tnd2-head__aside { grid-column: 1; grid-row: auto; }
}

.tnd2-mark { color: var(--tnd-coral-700); }
.tnd2-mark--teal { color: var(--tnd-teal-700); }

/* ---------- B06 Stat ---------- */
.tnd2-stat { display: grid; gap: 6px; align-content: start; }
.tnd2-stat__value {
  font-family: var(--tnd-font-display);
  font-size: clamp(2.25rem, 1.7rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tnd-teal-700);
  font-variant-numeric: tabular-nums;
}
.tnd2-stat__value small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.tnd2-stat__label { font-weight: 600; color: var(--tnd-ink-900); line-height: 1.4; }
.tnd2-stat__note { font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); line-height: 1.5; }

/* ---------- B07 Note card ---------- */
.tnd2-note {
  --note-fg: var(--tnd-warning);
  --note-bg: var(--tnd-warning-bg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 16px 18px;
  border-radius: var(--tnd-r-sm);
  background: var(--note-bg);
  color: var(--tnd-ink-900);
  font-size: var(--tnd-fs-sm);
  line-height: 1.6;
}
.tnd2-note__icon { grid-row: span 2; width: 22px; height: 22px; color: var(--note-fg); margin-top: 1px; }
.tnd2-note__title { font-weight: 700; color: var(--note-fg); }
.tnd2-note--info { --note-fg: var(--tnd-info); --note-bg: var(--tnd-info-bg); }
.tnd2-note--tip { --note-fg: var(--tnd-success); --note-bg: var(--tnd-success-bg); }
.tnd2-note--source { --note-fg: var(--tnd-teal-700); --note-bg: var(--tnd-teal-50); }

/* ---------- Card ---------- */
.tnd2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--tnd-s-3);
  padding: clamp(20px, 2vw + 8px, 28px);
  border: 1px solid var(--tnd-line);
  border-radius: var(--tnd-r-md);
  background: var(--tnd-white);
  transition: box-shadow var(--tnd-dur) var(--tnd-ease), transform var(--tnd-dur) var(--tnd-ease), border-color var(--tnd-dur);
}
.tnd2-card--link:hover { box-shadow: var(--tnd-sh-2); transform: translateY(-3px); border-color: var(--tnd-line-strong); }
.tnd2-card--sand { background: var(--tnd-sand); border-color: transparent; }
.tnd2-card--coral { background: var(--tnd-coral-50); border-color: transparent; }
.tnd2-card--teal { background: var(--tnd-teal-50); border-color: transparent; }
.tnd2-card--dark { background: var(--tnd-teal-950); border-color: transparent; color: #CFE3DE; }
.tnd2-card--dark :where(h2, h3, strong) { color: var(--tnd-white); }
.tnd2-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--tnd-r-sm);
  background: var(--tnd-teal-50);
  color: var(--tnd-teal-700);
}
.tnd2-card__icon svg { width: 26px; height: 26px; }
.tnd2-card__foot { margin-top: auto; padding-top: var(--tnd-s-2); }

/* Icon (Phosphor duotone, vẽ bằng currentColor + lớp nhạt opacity .2) */
.tnd2-icon { width: 24px; height: 24px; flex: none; fill: currentColor; }
.tnd2-icon--sm { width: 18px; height: 18px; }
.tnd2-icon--lg { width: 32px; height: 32px; }

/* ---------- S01 Layer stack (hình tượng "các lớp bảo vệ") ---------- */
.tnd2-layers {
  display: flex;
  flex-direction: column;
  max-width: 460px;
  isolation: isolate;
}
.tnd2-layer {
  --layer: var(--tnd-layer-protect);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--tnd-line);
  border-radius: 6px;
  background: var(--tnd-white);
}
.tnd2-layer + .tnd2-layer { margin-top: 8px; }
.tnd2-layer__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--layer) 16%, white);
  color: color-mix(in srgb, var(--layer) 70%, var(--tnd-ink-900));
}
.tnd2-layer__icon svg { width: 24px; height: 24px; }
.tnd2-layer__text { display: grid; gap: 2px; min-width: 0; }
.tnd2-layer__name { font-family: var(--tnd-font-display); font-weight: 700; color: var(--tnd-ink-900); line-height: 1.3; }
.tnd2-layer__product { font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); line-height: 1.4; }
.tnd2-layer__tag { font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-layer--protect { --layer: var(--tnd-layer-protect); }
.tnd2-layer--health  { --layer: var(--tnd-layer-health); }
.tnd2-layer--saving  { --layer: var(--tnd-layer-saving); }
.tnd2-layer--general { --layer: var(--tnd-layer-general); }
.tnd2-layer[hidden] { display: none; }
@media (max-width: 479px) {
  .tnd2-layer { min-height: 68px; margin-left: calc(var(--i, 0) * 8px); padding: 12px 14px; gap: 12px; }
  .tnd2-layer__tag { display: none; }
}

/* ---------- Swatch (dùng trong styleguide) ---------- */
.tnd2-swatch { display: grid; gap: 8px; }
.tnd2-swatch__chip { height: 72px; border-radius: var(--tnd-r-sm); box-shadow: inset 0 0 0 1px rgba(20, 33, 31, .08); }
.tnd2-swatch__name { font-weight: 600; color: var(--tnd-ink-900); font-size: var(--tnd-fs-sm); line-height: 1.3; }
.tnd2-swatch__hex { font-family: var(--tnd-font-mono); font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }

/* ==========================================================================
   N2 — Khung trang (header, mega menu, menu di động, footer, dock, AI, cookie)
   ========================================================================== */

/* Trang dùng khung mới: bỏ margin mặc định của trình duyệt, chừa chỗ cho dock trên di động */
html, body { margin: 0; padding: 0; }
body:has(> #app-root .tnd2-site) { background: var(--tnd-cream); }
.tnd2-site { min-height: 100vh; }
@media (max-width: 767px) { .tnd2-site { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* ---------- Brand ---------- */
.tnd2-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tnd-ink-900); text-decoration: none; flex: none; }
.tnd2-brand img { width: 38px; height: 38px; }
.tnd2-brand__text { display: grid; line-height: 1.1; }
.tnd2-brand__name { font-family: var(--tnd-font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; }
.tnd2-brand__sub { font-size: 0.6875rem; font-weight: 500; color: var(--tnd-ink-500); margin-top: 3px; }

/* ---------- Header ---------- */
.tnd2-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--tnd-white);
  border-bottom: 1px solid var(--tnd-line);
}
.tnd2-header.is-scrolled { box-shadow: 0 4px 12px rgba(11, 34, 51, .08); }
.tnd2-header__bar { display: flex; align-items: center; gap: 16px; height: 76px; }
.tnd2-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tnd2-header__mobile { display: none; align-items: center; gap: 6px; margin-left: auto; }

.tnd2-nav { margin-left: 12px; }
.tnd2-nav__list { display: flex; align-items: center; gap: 2px; }
.tnd2-nav__item { position: static; }
.tnd2-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: var(--tnd-r-xs);
  color: var(--tnd-ink-900);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms, color 150ms;
}
.tnd2-nav__link:hover, .tnd2-nav__item:focus-within > .tnd2-nav__link, .tnd2-nav__link[aria-current="page"] { background: var(--tnd-sand); }
.tnd2-nav__caret { width: 14px; height: 14px; opacity: .6; transition: transform 200ms; }
.tnd2-nav__item:hover .tnd2-nav__caret, .tnd2-nav__item:focus-within .tnd2-nav__caret { transform: rotate(180deg); }

/* Mega menu: mở bằng hover hoặc focus bàn phím, bám ngay dưới header */
.tnd2-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--tnd-ease), transform 180ms var(--tnd-ease), visibility 0s linear 180ms;
}
.tnd2-nav__item:hover > .tnd2-mega,
.tnd2-nav__item:focus-within > .tnd2-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tnd2-mega__panel {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)) minmax(0, 300px);
  gap: 28px;
  padding: 28px;
  border-radius: 0 0 var(--tnd-r-md) var(--tnd-r-md);
  border: 1px solid var(--tnd-line);
  background: var(--tnd-white);
  box-shadow: var(--tnd-sh-2);
}
.tnd2-mega__title { margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-mega__links { display: grid; gap: 2px; }
.tnd2-mega__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--tnd-r-xs);
  color: var(--tnd-ink-900);
  text-decoration: none;
  transition: background-color 150ms;
}
.tnd2-mega__link:hover { background: var(--tnd-cream); }
.tnd2-mega__link .tnd2-icon { grid-row: span 2; color: var(--tnd-teal-700); }
.tnd2-mega__link strong { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.tnd2-mega__link small { font-size: 0.8125rem; color: var(--tnd-ink-500); line-height: 1.4; }
.tnd2-mega__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 10px;
  background: var(--tnd-sand);
}
.tnd2-mega__aside p { font-size: var(--tnd-fs-sm); line-height: 1.55; }
.tnd2-mega__aside .tnd2-btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 1159px) {
  .tnd2-nav, .tnd2-header__actions { display: none; }
  .tnd2-header__mobile { display: flex; }
  .tnd2-header__bar { height: 64px; }
}

/* ---------- Menu di động (dialog) ---------- */
.tnd2-drawer {
  width: min(420px, 100vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--tnd-cream);
  color: var(--tnd-ink-900);
  font-family: var(--tnd-font-body);
}
.tnd2-drawer::backdrop { background: rgba(10, 46, 43, .45); backdrop-filter: blur(2px); }
.tnd2-drawer[open] { display: flex; flex-direction: column; animation: tnd2-slide-in 260ms var(--tnd-ease); }
@keyframes tnd2-slide-in { from { transform: translateX(24px); opacity: 0; } }
.tnd2-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--tnd-line); }
.tnd2-drawer__body { flex: 1; overflow-y: auto; padding: 8px 12px 24px; }
.tnd2-drawer__group { border-bottom: 1px solid var(--tnd-line); }
.tnd2-drawer__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  font-family: var(--tnd-font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.tnd2-drawer__group > summary::-webkit-details-marker { display: none; }
.tnd2-drawer__group > summary .tnd2-icon { transition: transform 200ms; }
.tnd2-drawer__group[open] > summary .tnd2-icon { transform: rotate(180deg); }
.tnd2-drawer__links { display: grid; gap: 2px; padding: 0 0 12px; }
.tnd2-drawer__links a { display: block; padding: 11px 12px; border-radius: var(--tnd-r-sm); color: var(--tnd-ink-900); text-decoration: none; font-weight: 500; }
.tnd2-drawer__links a:hover { background: var(--tnd-sand); }
.tnd2-drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; border-top: 1px solid var(--tnd-line); background: var(--tnd-white); }
.tnd2-drawer__foot .tnd2-btn:last-child { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.tnd2-footer-cta { background: var(--tnd-sand); border-block: 1px solid var(--tnd-line); }
.tnd2-footer-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
}
.tnd2-footer-cta__form { display: flex; flex-wrap: wrap; gap: 10px; }
.tnd2-footer-cta__form select { flex: 1 1 200px; }
.tnd2-footer {
  padding: clamp(48px, 5vw, 80px) 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--tnd-teal-950);
  color: #CBD5E1;
  font-size: var(--tnd-fs-sm);
}
.tnd2-footer a { color: #E2E8F0; text-decoration: none; }
.tnd2-footer a:hover { color: var(--tnd-mint-300); }
.tnd2-footer :focus-visible { outline-color: var(--tnd-mint-300); }
.tnd2-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.tnd2-footer .tnd2-brand { color: var(--tnd-white); }
.tnd2-footer .tnd2-brand__sub { color: #94A3B8; }
.tnd2-footer__title { margin-bottom: 14px; font-family: var(--tnd-font-display); font-size: 0.9375rem; font-weight: 700; color: var(--tnd-white); }
.tnd2-footer__list { display: grid; gap: 10px; }
.tnd2-footer__contact { display: grid; gap: 8px; margin-top: 18px; }
.tnd2-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.tnd2-footer__contact .tnd2-icon { color: var(--tnd-mint-300); margin-top: 2px; }
.tnd2-footer__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tnd2-footer__partners span:first-child { margin-right: 6px; }
.tnd2-footer__partner { padding: 6px 14px; border-radius: var(--tnd-r-sm); background: var(--tnd-white); color: var(--tnd-ink-900); font-weight: 600; font-size: 0.8125rem; }
.tnd2-footer__legal { margin-top: 24px; font-size: var(--tnd-fs-xs); line-height: 1.65; color: #9DBDB6; }
.tnd2-footer__legal strong { color: #E4F1EE; }
.tnd2-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--tnd-fs-xs); color: #9DBDB6; }
.tnd2-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 1023px) { .tnd2-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tnd2-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 767px) { .tnd2-footer-cta__box { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .tnd2-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Dock hành động (di động) ---------- */
.tnd2-dock { display: none; }
@media (max-width: 767px) {
  .tnd2-dock {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.7fr;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--tnd-white) 94%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--tnd-line);
  }
  .tnd2-dock__item {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 6px 2px;
    border: 0;
    border-radius: var(--tnd-r-sm);
    background: none;
    color: var(--tnd-ink-900);
    font-size: 0.6875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }
  .tnd2-dock__item .tnd2-icon { color: var(--tnd-teal-700); }
  .tnd2-dock__item--ai .tnd2-icon { color: var(--tnd-teal-500); }
  .tnd2-dock__cta { align-self: center; min-height: 46px; font-size: 0.875rem; padding: 0 12px; }
  .tnd2-site:has(.tnd2-ai--dock:not([hidden])) .tnd2-dock { display: none; }
}

/* ---------- Trợ lý AI (dock nổi / sheet / nhúng) ---------- */
.tnd2-ai-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--tnd-r-full);
  background: rgba(11, 31, 58, 0.78);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  color: var(--tnd-white);
  font-family: var(--tnd-font-display);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 20px 44px -10px rgba(11, 31, 58, 0.45);
  cursor: pointer;
  transition: transform 200ms var(--tnd-ease), background-color 150ms;
}
.tnd2-ai-launcher:hover { background: var(--tnd-teal-800); transform: translateY(-2px); }
.tnd2-ai-launcher[aria-expanded="true"] { display: none; }
@media (max-width: 767px) { .tnd2-ai-launcher { display: none; } }

.tnd2-pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--tnd-mint-300); flex: none; }
.tnd2-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--tnd-mint-300); opacity: 0; animation: tnd2-pulse 2s ease-out infinite; }
@keyframes tnd2-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.tnd2-ai {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--tnd-r-lg);
  background: var(--tnd-white);
  box-shadow: var(--tnd-sh-3), 0 0 0 1px var(--tnd-mint-300);
  color: var(--tnd-ink-900);
}
.tnd2-ai--dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
  height: min(680px, calc(100dvh - 48px));
}
.tnd2-ai--dock[hidden] { display: none; }
@media (max-width: 767px) {
  .tnd2-ai--dock { inset: auto 0 0 0; width: 100%; height: 92dvh; border-radius: var(--tnd-r-lg) var(--tnd-r-lg) 0 0; }
}
.tnd2-ai--embed { height: 560px; box-shadow: var(--tnd-sh-3); }
.tnd2-ai__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--tnd-teal-950); color: var(--tnd-white); }
.tnd2-ai__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(127, 224, 200, .16); color: var(--tnd-mint-300); flex: none; }
.tnd2-ai__title { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.tnd2-ai__title strong { color: var(--tnd-white); font-family: var(--tnd-font-display); font-size: 0.9375rem; }
.tnd2-ai__title span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #A9CCC4; }
.tnd2-ai__title .tnd2-pulse { width: 7px; height: 7px; }
.tnd2-ai__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--tnd-white); cursor: pointer; }
.tnd2-ai__close:hover { background: rgba(255, 255, 255, .08); }
.tnd2-ai__close:focus-visible { outline-color: var(--tnd-mint-300); }
.tnd2-ai__messages { flex: 1; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; padding: 18px; background: var(--tnd-cream); }
.tnd2-ai__msg { max-width: 92%; padding: 12px 14px; border-radius: 18px; font-size: 0.90625rem; line-height: 1.6; }
.tnd2-ai__msg--ai { align-self: flex-start; background: var(--tnd-white); border-bottom-left-radius: 6px; box-shadow: var(--tnd-sh-1); }
.tnd2-ai__msg--user { align-self: flex-end; background: var(--tnd-teal-700); color: var(--tnd-white); border-bottom-right-radius: 6px; }
.tnd2-ai__msg p { margin: 0; }
.tnd2-ai__source {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--tnd-teal-50);
  color: var(--tnd-teal-800);
  font-size: 0.78125rem;
  line-height: 1.45;
}
.tnd2-ai__warn {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--tnd-warning-bg);
  color: #6F4205;
  font-size: 0.78125rem;
  line-height: 1.45;
}
.tnd2-ai__source .tnd2-icon, .tnd2-ai__warn .tnd2-icon { width: 16px; height: 16px; margin-top: 1px; }
.tnd2-ai__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tnd2-ai__actions .tnd2-chip { min-height: 32px; font-size: 0.8125rem; }
.tnd2-ai__suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.tnd2-ai__suggest .tnd2-chip { min-height: 32px; font-size: 0.8125rem; white-space: normal; text-align: left; }
.tnd2-ai__typing { display: inline-flex; gap: 4px; }
.tnd2-ai__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--tnd-teal-500); animation: tnd2-blink 1.2s infinite; }
.tnd2-ai__typing i:nth-child(2) { animation-delay: .2s; }
.tnd2-ai__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes tnd2-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.tnd2-ai__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--tnd-line); background: var(--tnd-white); }
.tnd2-ai__form input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--tnd-line-strong);
  border-radius: var(--tnd-r-full);
  background: var(--tnd-white);
  font-size: 0.9375rem;
}
.tnd2-ai__form input:focus { outline: none; border-color: var(--tnd-teal-700); box-shadow: 0 0 0 4px var(--tnd-teal-50); }
.tnd2-ai__foot { padding: 0 12px 10px; background: var(--tnd-white); font-size: 0.6875rem; color: var(--tnd-ink-500); text-align: center; }

/* ---------- Cookie ---------- */
.tnd2-cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 75;
  display: grid;
  gap: 12px;
  max-width: 380px;
  padding: 18px 20px;
  border-radius: var(--tnd-r-md);
  background: var(--tnd-white);
  box-shadow: var(--tnd-sh-3), 0 0 0 1px var(--tnd-line);
  font-size: var(--tnd-fs-sm);
  line-height: 1.55;
}
.tnd2-cookie[hidden] { display: none; }
@media (max-width: 767px) { .tnd2-cookie { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; } }

/* ==========================================================================
   N2 — Trang chủ (T01)
   ========================================================================== */

/* Mục Bàn thiết kế phúc lợi riêng biệt */
.tnd2-builder-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
@media (max-width: 959px) { .tnd2-builder-band__grid { grid-template-columns: minmax(0, 1fr); } }

/* Bàn thiết kế phúc lợi */
.tnd2-builder {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--tnd-r-lg);
  background: var(--tnd-white);
  border: 1px solid var(--tnd-line);
  box-shadow: var(--tnd-sh-3);
}
.tnd2-builder__q { font-family: var(--tnd-font-display); font-weight: 700; color: var(--tnd-ink-900); line-height: 1.35; }
.tnd2-builder__tiers { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.tnd2-builder__stage {
  padding: 20px;
  border-radius: var(--tnd-r-md);
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
}
.tnd2-builder__panel[hidden] { display: none; }
/* Chỉ chạy hiệu ứng khi người dùng đổi cấp bậc, không chạy lúc tải trang */
.tnd2-builder.is-touched .tnd2-builder__panel { animation: tnd2-fade-up 360ms var(--tnd-ease); }
@keyframes tnd2-fade-up { from { opacity: 0; transform: translateY(8px); } }
.tnd2-builder__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 18px; }
.tnd2-builder__note { margin-top: 14px; font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }
.tnd2-checks { display: grid; gap: 12px; }
.tnd2-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.tnd2-checks .tnd2-icon { color: var(--tnd-teal-500); margin-top: 1px; }
/* Dòng thời gian thưởng duy trì */
.tnd2-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: auto; padding-top: 28px; }
.tnd2-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 35px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--tnd-teal-200), var(--tnd-layer-saving)); }
.tnd2-timeline__step { position: relative; display: grid; justify-items: start; gap: 8px; font-size: 0.8125rem; line-height: 1.35; }
.tnd2-timeline__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--tnd-white); border: 4px solid var(--tnd-teal-500); }
.tnd2-timeline__step.is-bonus .tnd2-timeline__dot { border-color: var(--tnd-layer-saving); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tnd-layer-saving) 25%, transparent); }
.tnd2-timeline__step strong { font-family: var(--tnd-font-display); font-size: 1rem; }
@media (max-width: 599px) {
  .tnd2-timeline { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 4px 0 0 4px; }
  .tnd2-timeline::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; background: linear-gradient(180deg, var(--tnd-teal-200), var(--tnd-layer-saving)); }
  .tnd2-timeline__step { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; }
}

/* Đường ray quy trình */
.tnd2-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; counter-reset: step; }
.tnd2-rail__step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: var(--tnd-r-md); background: var(--tnd-white); border: 1px solid var(--tnd-line); scroll-snap-align: start; }
.tnd2-rail__num { font-family: var(--tnd-font-display); font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--tnd-teal-200); letter-spacing: -0.03em; }
.tnd2-rail__step h3 { font-size: 1.0625rem; }
.tnd2-rail__step p { font-size: var(--tnd-fs-sm); line-height: 1.55; }
.tnd2-rail__step.is-key { background: var(--tnd-teal-700); border-color: transparent; color: #D6ECE7; }
.tnd2-rail__step.is-key h3 { color: var(--tnd-white); }
.tnd2-rail__step.is-key .tnd2-rail__num { color: var(--tnd-mint-300); }

/* Kiểm tra nhanh */
.tnd2-quiz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tnd2-quiz__list { display: grid; gap: 10px; }
.tnd2-quiz__q { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; padding: 16px 18px; border-radius: var(--tnd-r-md); background: var(--tnd-white); border: 1px solid var(--tnd-line); }
.tnd2-quiz__q > p { font-weight: 600; color: var(--tnd-ink-900); line-height: 1.45; }
@media (max-width: 599px) { .tnd2-quiz__q { grid-template-columns: minmax(0, 1fr); } .tnd2-quiz__q .tnd2-segmented { justify-self: start; } }
.tnd2-quiz__result { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--tnd-r-lg); background: var(--tnd-coral-50); }
.tnd2-quiz__result h3 { font-size: 1.25rem; }
.tnd2-quiz__picks { display: grid; gap: 8px; }
.tnd2-quiz__picks a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--tnd-r-sm); background: var(--tnd-white); color: var(--tnd-ink-900); font-weight: 600; text-decoration: none; }
.tnd2-quiz__picks a:hover { box-shadow: var(--tnd-sh-2); }
.tnd2-quiz__picks a[hidden] { display: none; }
@media (max-width: 899px) { .tnd2-quiz { grid-template-columns: minmax(0, 1fr); } .tnd2-quiz__result { position: static; } }

/* Thẻ bài viết */
.tnd2-article { padding: 0; overflow: hidden; gap: 0; }
.tnd2-article__cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--cover, var(--tnd-teal-50)); color: var(--tnd-teal-700); }
.tnd2-article__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 480ms var(--tnd-ease); }
.tnd2-article:hover .tnd2-article__cover img { transform: scale(1.04); }
.tnd2-article__glass-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--tnd-r-full);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.8) blur(16px);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tnd-ink-900);
}
.tnd2-article__cover .tnd2-icon { width: 56px; height: 56px; }
.tnd2-article__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px; }
.tnd2-article__body h3 { font-size: 1.125rem; line-height: 1.35; }
.tnd2-article__body h3 a { color: inherit; }
.tnd2-article__body h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tnd2-article__meta { margin-top: auto; padding-top: 6px; font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }

/* FAQ */
.tnd2-faq { display: grid; gap: 10px; }
.tnd2-faq__item { border-radius: var(--tnd-r-md); background: var(--tnd-white); border: 1px solid var(--tnd-line); transition: border-color 150ms; }
.tnd2-faq__item[open] { border-color: var(--tnd-teal-200); }
.tnd2-faq__item > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--tnd-font-display); font-weight: 600; font-size: 1.03125rem; color: var(--tnd-ink-900); line-height: 1.4; cursor: pointer; list-style: none; }
.tnd2-faq__item > summary::-webkit-details-marker { display: none; }
.tnd2-faq__item > summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tnd-sand); color: var(--tnd-teal-700); font-size: 1.25rem; font-weight: 500; transition: transform 200ms; }
.tnd2-faq__item[open] > summary::after { transform: rotate(45deg); }
.tnd2-faq__answer { padding: 0 20px 20px; line-height: 1.7; }
.tnd2-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 899px) { .tnd2-faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   N3 — Trang con: hero trang, breadcrumb, so sánh, bàn thiết kế đầy đủ,
   trang gói, trang đọc (kế toán), khối form ngắn
   ========================================================================== */

/* Breadcrumb */
.tnd2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.8125rem; color: var(--tnd-ink-500); }
.tnd2-crumbs a { color: var(--tnd-ink-700); }
.tnd2-crumbs a:hover { color: var(--tnd-teal-700); text-decoration: underline; }
.tnd2-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.tnd2-crumbs li + li::before { content: '/'; color: var(--tnd-line-strong); }
.tnd2-crumbs [aria-current="page"] { color: var(--tnd-ink-900); font-weight: 500; }

/* Hero trang con */
.tnd2-pagehero {
  padding: clamp(24px, 3.5vw, 48px) 0 clamp(44px, 5vw, 76px);
  background: var(--tnd-sand);
  border-bottom: 1px solid var(--tnd-line);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.tnd2-pagehero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tnd2-pagehero__copy { display: flex; flex-direction: column; gap: 20px; }
.tnd2-pagehero__copy > .tnd2-chip { align-self: flex-start; }
.tnd2-pagehero__copy h1 { font-size: var(--tnd-fs-h1); }
.tnd2-pagehero__visual {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--tnd-r-lg);
  background: var(--tnd-white);
  border: 1px solid var(--tnd-line);
}
.tnd2-pagehero__facts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 899px) { .tnd2-pagehero__grid { grid-template-columns: minmax(0, 1fr); } }

/* Tóm tắt 30 giây (answer-first) */
.tnd2-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--tnd-r-lg); background: var(--tnd-teal-50); }
.tnd2-summary > .tnd2-icon { grid-row: span 2; color: var(--tnd-teal-700); width: 28px; height: 28px; }
.tnd2-summary__title { font-family: var(--tnd-font-display); font-weight: 700; color: var(--tnd-teal-800); }
.tnd2-summary p { color: var(--tnd-ink-900); line-height: 1.7; }

/* Danh sách giá trị hai cột */
.tnd2-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tnd2-values__col { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--tnd-r-lg); }
.tnd2-values__col--teal { background: var(--tnd-teal-50); }
.tnd2-values__col--coral { background: var(--tnd-coral-50); }
.tnd2-values__col h3 { font-size: 1.25rem; }
@media (max-width: 767px) { .tnd2-values { grid-template-columns: minmax(0, 1fr); } }

/* Ô 4 lớp quyền lợi */
.tnd2-layerbox { --layer: var(--tnd-layer-protect); border-top: 4px solid var(--layer); }
.tnd2-layerbox .tnd2-card__icon { background: color-mix(in srgb, var(--layer) 16%, white); color: color-mix(in srgb, var(--layer) 70%, var(--tnd-ink-900)); }
.tnd2-layerbox .tnd2-note { margin-top: auto; padding: 10px 12px; font-size: 0.8125rem; }

/* Bảng so sánh */
.tnd2-compare-wrap { overflow-x: auto; border-radius: var(--tnd-r-lg); border: 1px solid var(--tnd-line); background: var(--tnd-white); }
.tnd2-compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.90625rem; line-height: 1.5; }
.tnd2-compare th, .tnd2-compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tnd-line); }
.tnd2-compare tr:last-child > * { border-bottom: 0; }
.tnd2-compare thead th { background: var(--tnd-sand); font-family: var(--tnd-font-display); font-size: 0.9375rem; color: var(--tnd-ink-900); }
.tnd2-compare thead th a { color: inherit; }
.tnd2-compare thead th a:hover { color: var(--tnd-teal-700); }
.tnd2-compare tbody th { width: 160px; font-weight: 600; color: var(--tnd-ink-900); background: var(--tnd-cream); }
.tnd2-compare :is(thead th, tbody th):first-child { position: sticky; left: 0; z-index: 1; }
.tnd2-compare tbody td { color: var(--tnd-ink-700); }

/* Bàn thiết kế phúc lợi đầy đủ */
.tnd2-planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding: clamp(20px, 4vw, 48px); border-radius: var(--tnd-r-xl); background: var(--tnd-white); box-shadow: var(--tnd-sh-1); }
.tnd2-planner__steps { display: flex; flex-direction: column; gap: 28px; }
.tnd2-planner__step { display: grid; gap: 12px; }
.tnd2-planner__label { display: flex; align-items: center; gap: 10px; font-family: var(--tnd-font-display); font-weight: 700; color: var(--tnd-ink-900); }
.tnd2-planner__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tnd-teal-700); color: var(--tnd-white); font-size: 0.8125rem; }
.tnd2-planner__result { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--tnd-r-lg); background: var(--tnd-sand); }
.tnd2-planner__result h3 { font-size: 1.25rem; }
.tnd2-planner__tiers { display: grid; gap: 10px; }
.tnd2-planner__tier { display: grid; gap: 8px; padding: 16px; border-radius: var(--tnd-r-md); background: var(--tnd-white); box-shadow: var(--tnd-sh-1); }
.tnd2-planner__tier[hidden] { display: none; }
.tnd2-planner__tier header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tnd2-planner__tier strong { font-family: var(--tnd-font-display); }
.tnd2-planner__tier .tnd2-row { --gap: 6px; }
.tnd2-planner__tier .tnd2-chip { min-height: 28px; padding: 0 10px; font-size: 0.75rem; white-space: normal; }
.tnd2-planner__empty[hidden], .tnd2-planner__focus[hidden] { display: none; }
.tnd2-planner__focus { padding: 12px 14px; border-radius: var(--tnd-r-sm); background: var(--tnd-white); font-size: var(--tnd-fs-sm); line-height: 1.55; color: var(--tnd-ink-900); }
.tnd2-planner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 959px) { .tnd2-planner { grid-template-columns: minmax(0, 1fr); } .tnd2-planner__result { position: static; } }

/* Chip chọn nhiều (checkbox ẩn) */
.tnd2-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tnd2-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tnd2-pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--tnd-line-strong); border-radius: var(--tnd-r-full); background: var(--tnd-white); font-size: var(--tnd-fs-sm); font-weight: 500; color: var(--tnd-ink-900); cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms; }
.tnd2-pick label:hover { border-color: var(--tnd-teal-500); }
.tnd2-pick input:checked + label { background: var(--tnd-teal-700); border-color: var(--tnd-teal-700); color: var(--tnd-white); }
.tnd2-pick input:focus-visible + label { outline: 2px solid var(--tnd-teal-700); outline-offset: 2px; }

/* Thẻ chân dung "Dành cho ai" */
.tnd2-persona { flex-direction: row; align-items: flex-start; gap: 14px; }
.tnd2-persona .tnd2-card__icon { flex: none; }
.tnd2-persona p { line-height: 1.55; }

/* Sơ đồ cấu trúc gói */
.tnd2-structure { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.tnd2-structure__plus { display: grid; place-items: center; font-family: var(--tnd-font-display); font-size: 1.5rem; font-weight: 700; color: var(--tnd-ink-500); }
.tnd2-structure .tnd2-card { --layer: var(--tnd-layer-protect); border-top: 4px solid var(--layer); }
.tnd2-structure__kind { font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
@media (max-width: 899px) { .tnd2-structure { grid-template-columns: minmax(0, 1fr); } .tnd2-structure__plus { padding: 2px 0; } }

/* Thanh tỉ lệ quyền lợi */
.tnd2-benefit { display: grid; gap: 14px; }
.tnd2-benefit__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; }
.tnd2-benefit__label { font-weight: 600; color: var(--tnd-ink-900); line-height: 1.35; }
.tnd2-benefit__label small { display: block; font-weight: 400; font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }
.tnd2-benefit__bar { position: relative; height: 40px; border-radius: var(--tnd-r-sm); background: var(--tnd-sand); overflow: hidden; }
.tnd2-benefit__fill { display: flex; align-items: center; height: 100%; width: var(--v); padding: 0 12px; border-radius: inherit; background: var(--bar, var(--tnd-teal-700)); color: var(--tnd-white); font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 599px) { .tnd2-benefit__row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Hỏi AI ngay trong nội dung */
.tnd2-askai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--tnd-r-xl); background: var(--tnd-teal-950); color: #B9D3CD; }
.tnd2-askai h2, .tnd2-askai h3 { color: var(--tnd-white); }
.tnd2-askai__qs { display: grid; gap: 8px; }
.tnd2-askai__qs .tnd2-chip { justify-content: flex-start; min-height: 46px; padding: 10px 16px; white-space: normal; text-align: left; line-height: 1.4; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E4F1EE; }
.tnd2-askai__qs .tnd2-chip::before { content: '✦'; color: var(--tnd-mint-300); }
.tnd2-askai__qs .tnd2-chip:hover { border-color: var(--tnd-mint-300); }
.tnd2-askai :focus-visible { outline-color: var(--tnd-mint-300); }
@media (max-width: 767px) { .tnd2-askai { grid-template-columns: minmax(0, 1fr); } }

/* Trang đọc (kế toán, bài viết): mục lục dính trái */
.tnd2-read { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(28px, 5vw, 72px); justify-content: center; }
.tnd2-toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; font-size: var(--tnd-fs-sm); }
.tnd2-toc p { margin-bottom: 8px; font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-toc a { padding: 6px 12px; border-left: 2px solid var(--tnd-line); color: var(--tnd-ink-700); line-height: 1.4; }
.tnd2-toc a:hover { border-left-color: var(--tnd-teal-700); color: var(--tnd-teal-700); }
.tnd2-prose { display: flex; flex-direction: column; gap: 18px; }
.tnd2-prose > h2 { margin-top: 28px; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); scroll-margin-top: 96px; }
.tnd2-prose > p, .tnd2-prose li { font-size: 1.0625rem; line-height: 1.75; }
.tnd2-prose .tnd2-checks { gap: 16px; }
.tnd2-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tnd2-prose th, .tnd2-prose td { padding: 12px 14px; border-bottom: 1px solid var(--tnd-line); text-align: left; vertical-align: top; }
.tnd2-prose thead th { background: var(--tnd-sand); color: var(--tnd-ink-900); }
.tnd2-updated { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }
@media (max-width: 959px) {
  .tnd2-read { grid-template-columns: minmax(0, 1fr); }
  .tnd2-toc { position: static; padding: 16px; border-radius: var(--tnd-r-md); background: var(--tnd-sand); }
  .tnd2-toc a { border-left: 0; padding: 4px 0; }
}

/* Khối form ngắn (cta-band) */
.tnd2-leadband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tnd2-leadform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--tnd-r-lg); background: var(--tnd-white); box-shadow: var(--tnd-sh-2); }
.tnd2-leadform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tnd2-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 899px) { .tnd2-leadband { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .tnd2-leadform__row { grid-template-columns: minmax(0, 1fr); } }

/* Thẻ hỗ trợ cạnh nội dung (aside-cta) */
.tnd2-help { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--tnd-r-lg); background: var(--tnd-sand); }
.tnd2-help h3 { font-size: 1.125rem; }
.tnd2-help .tnd2-btn { width: 100%; }

/* ==========================================================================
   N4 — Sản phẩm, đối tác, trang Trợ lý AI
   ========================================================================== */

/* Ô số liệu chính của sản phẩm */
.tnd2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.tnd2-fact { display: grid; align-content: start; gap: 8px; padding-block: 16px; border-top: 1px solid var(--tnd-line-strong); }
.tnd2-fact strong { font-family: var(--tnd-font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 800; line-height: 1.1; color: var(--tnd-teal-700); letter-spacing: -0.02em; }
.tnd2-fact span { font-size: 0.8125rem; color: var(--tnd-ink-500); line-height: 1.4; }
@media (max-width: 767px) { .tnd2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bố cục chi tiết sản phẩm: nội dung + cột dính */
.tnd2-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tnd2-detail__main { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); min-width: 0; }
.tnd2-detail__main > section > h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-bottom: 18px; scroll-margin-top: 96px; }
.tnd2-detail__aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.tnd2-sumcard { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--tnd-r-lg); background: var(--tnd-white); box-shadow: var(--tnd-sh-2), 0 0 0 1px var(--tnd-line); }
.tnd2-sumcard dl { display: grid; gap: 10px; margin: 0; }
.tnd2-sumcard dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--tnd-line); font-size: var(--tnd-fs-sm); }
.tnd2-sumcard dt { color: var(--tnd-ink-500); }
.tnd2-sumcard dd { margin: 0; font-weight: 600; color: var(--tnd-ink-900); text-align: right; }
.tnd2-sumcard .tnd2-btn { width: 100%; }
@media (max-width: 1023px) {
  .tnd2-detail { grid-template-columns: minmax(0, 1fr); }
  .tnd2-detail__aside { position: static; }
}

/* Tab chung (tái dùng kiểu thanh tab vai trò) */
.tnd2-tabs__list { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin-bottom: 20px; border-radius: var(--tnd-r-full); background: var(--tnd-sand); scrollbar-width: none; width: fit-content; max-width: 100%; }
.tnd2-tabs__list::-webkit-scrollbar { display: none; }
.tnd2-tabs__list [role="tab"] { flex: none; padding: 10px 16px; border: 0; border-radius: var(--tnd-r-full); background: transparent; color: var(--tnd-ink-700); font-weight: 600; font-size: 0.90625rem; white-space: nowrap; cursor: pointer; }
.tnd2-tabs__list [role="tab"][aria-selected="true"] { background: var(--tnd-white); color: var(--tnd-teal-700); box-shadow: var(--tnd-sh-1); }
.tnd2-tabs__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 20px; align-items: start; }
.tnd2-tabs__panel[hidden] { display: none; }
.tnd2-tabs__panel > div { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 767px) { .tnd2-tabs__panel { grid-template-columns: minmax(0, 1fr); } }

/* Bảng số trong nội dung */
.tnd2-table-wrap { overflow-x: auto; border-radius: var(--tnd-r-md); border: 1px solid var(--tnd-line); background: var(--tnd-white); }
.tnd2-table { width: 100%; border-collapse: collapse; font-size: 0.90625rem; font-variant-numeric: tabular-nums; }
.tnd2-table th, .tnd2-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--tnd-line); }
.tnd2-table tr:last-child > * { border-bottom: 0; }
.tnd2-table thead th { background: var(--tnd-sand); color: var(--tnd-ink-900); font-weight: 600; }
.tnd2-table td:not(:first-child) { color: var(--tnd-ink-900); font-weight: 500; }

/* Danh mục: thanh lọc + thẻ sản phẩm */
.tnd2-filter { position: sticky; top: 72px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px 18px; margin-bottom: 28px; border-radius: var(--tnd-r-lg); background: color-mix(in srgb, var(--tnd-white) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--tnd-sh-1); }
.tnd2-filter__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tnd2-filter__label { margin-right: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-filter .tnd2-chip { min-height: 32px; font-size: 0.8125rem; }
@media (max-width: 767px) { .tnd2-filter { position: static; } }
.tnd2-product { gap: 12px; }
.tnd2-product[hidden] { display: none; }
.tnd2-product h3 a { color: inherit; }
.tnd2-product h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tnd2-product__legal { font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }
.tnd2-product__facts { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--tnd-r-sm); background: var(--tnd-cream); font-size: 0.875rem; color: var(--tnd-ink-900); }
.tnd2-product__facts li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.tnd2-product__facts .tnd2-icon { color: var(--tnd-teal-500); width: 18px; height: 18px; margin-top: 1px; }
.tnd2-product--soon { background: var(--tnd-sand); border-color: transparent; }
.tnd2-empty { padding: 32px; border-radius: var(--tnd-r-lg); background: var(--tnd-sand); text-align: center; }
.tnd2-empty[hidden] { display: none; }

/* Tra cứu bệnh */
.tnd2-search { position: relative; }
.tnd2-search .tnd2-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tnd-ink-500); pointer-events: none; }
.tnd2-search .tnd2-input { padding-left: 48px; }
.tnd2-disease { display: grid; gap: 8px; }
.tnd2-disease li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-radius: var(--tnd-r-sm); background: var(--tnd-white); border: 1px solid var(--tnd-line); }
.tnd2-disease li[hidden] { display: none; }
.tnd2-disease strong { font-weight: 600; color: var(--tnd-ink-900); line-height: 1.4; }
.tnd2-disease small { grid-column: 1 / -1; font-size: var(--tnd-fs-xs); color: var(--tnd-ink-500); }

/* Hồ sơ đối tác */
.tnd2-partner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: var(--tnd-r-xl); background: var(--tnd-white); box-shadow: var(--tnd-sh-1); }
.tnd2-partner__logo { display: grid; place-items: center; min-height: 120px; padding: 20px; border-radius: var(--tnd-r-lg); background: var(--tnd-cream); border: 1px dashed var(--tnd-line-strong); font-family: var(--tnd-font-display); font-weight: 800; font-size: 1.5rem; color: var(--tnd-ink-900); text-align: center; }
.tnd2-partner__logo small { display: block; margin-top: 6px; font-family: var(--tnd-font-body); font-weight: 500; font-size: 0.75rem; color: var(--tnd-ink-500); }
.tnd2-partner--next { background: transparent; box-shadow: none; border: 2px dashed var(--tnd-line-strong); }
@media (max-width: 899px) { .tnd2-partner { grid-template-columns: minmax(0, 1fr); } }

/* Trang Trợ lý AI */
.tnd2-aipage { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tnd2-aipage .tnd2-ai--embed { height: min(680px, 78vh); }
.tnd2-aipage__side { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 959px) { .tnd2-aipage { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   N5 — Quy trình, kiến thức, hỏi đáp, bồi thường, giới thiệu, liên hệ, pháp lý
   ========================================================================== */

/* Quy trình dọc chi tiết */
.tnd2-process { display: grid; gap: 14px; counter-reset: step; }
.tnd2-process__step { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr) 180px; gap: 20px; align-items: start; padding: 24px; border-radius: var(--tnd-r-lg); background: var(--tnd-white); border: 1px solid var(--tnd-line); }
.tnd2-process__num { font-family: var(--tnd-font-display); font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--tnd-teal-200); letter-spacing: -0.03em; }
.tnd2-process__step h3 { margin-bottom: 6px; font-size: 1.125rem; }
.tnd2-process__col p:first-child { margin-bottom: 4px; font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-process__time { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--tnd-ink-700); }
.tnd2-process__step.is-key { background: var(--tnd-teal-50); border-color: transparent; }
@media (max-width: 899px) { .tnd2-process__step { grid-template-columns: 56px minmax(0, 1fr); } .tnd2-process__num { font-size: 2rem; } .tnd2-process__step > :nth-child(n+3) { grid-column: 2; } }

/* Các bước bồi thường */
.tnd2-claimsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tnd2-claimstep { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: var(--tnd-r-md); background: var(--tnd-white); border: 1px solid var(--tnd-line); }
.tnd2-claimstep__badge { align-self: flex-start; padding: 4px 10px; border-radius: var(--tnd-r-full); background: var(--tnd-coral-50); color: var(--tnd-coral-700); font-size: 0.75rem; font-weight: 700; }
.tnd2-claimstep h3 { font-size: 1.0625rem; }
@media (max-width: 899px) { .tnd2-claimsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .tnd2-claimsteps { grid-template-columns: minmax(0, 1fr); } }
.tnd2-checklist { display: grid; gap: 8px; }
.tnd2-checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--tnd-r-sm); background: var(--tnd-white); border: 1px solid var(--tnd-line); line-height: 1.55; cursor: pointer; }
.tnd2-checklist input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--tnd-teal-700); }
.tnd2-checklist label:has(input:checked) { background: var(--tnd-teal-50); border-color: var(--tnd-teal-200); }
.tnd2-checklist label:has(input:checked) span { color: var(--tnd-ink-500); text-decoration: line-through; text-decoration-color: var(--tnd-teal-500); }

/* Hỏi đáp: tìm kiếm lớn */
.tnd2-faqsearch { display: grid; gap: 14px; max-width: 720px; }
.tnd2-faqsearch .tnd2-input { min-height: 58px; font-size: 1.0625rem; border-radius: var(--tnd-r-full); }
.tnd2-faq__item[hidden] { display: none; }

/* Bài viết */
.tnd2-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--tnd-fs-sm); color: var(--tnd-ink-500); }
.tnd2-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tnd2-cover { display: grid; place-items: center; aspect-ratio: 21 / 9; border-radius: var(--tnd-r-xl); background: var(--cover, var(--tnd-teal-50)); color: var(--tnd-teal-700); }
.tnd2-cover .tnd2-icon { width: 72px; height: 72px; }
.tnd2-article[hidden] { display: none; }
.tnd2-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.tnd2-feature .tnd2-article__cover { aspect-ratio: auto; min-height: 260px; }
@media (max-width: 767px) { .tnd2-feature { grid-template-columns: minmax(0, 1fr); } }

/* Giới thiệu: thư ngỏ */
.tnd2-letter { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 56px); border-radius: var(--tnd-r-xl); background: var(--tnd-white); box-shadow: var(--tnd-sh-1); }
.tnd2-letter p { font-size: 1.0625rem; line-height: 1.8; color: var(--tnd-ink-900); }
.tnd2-letter details > summary { cursor: pointer; color: var(--tnd-teal-700); font-weight: 600; list-style: none; }
.tnd2-letter details > summary::-webkit-details-marker { display: none; }
.tnd2-letter details[open] > summary { display: none; }
.tnd2-letter details > div { display: flex; flex-direction: column; gap: 16px; }
.tnd2-letter__sign { font-family: var(--tnd-font-display); font-weight: 700; color: var(--tnd-ink-900); }
.tnd2-quote { padding: clamp(28px, 5vw, 64px); border-radius: var(--tnd-r-xl); background: var(--tnd-coral-50); text-align: center; }
.tnd2-quote p { max-width: 28ch; margin-inline: auto; font-family: var(--tnd-font-display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1.25; color: var(--tnd-ink-900); }
.tnd2-legal-table { width: 100%; border-collapse: collapse; }
.tnd2-legal-table th, .tnd2-legal-table td { padding: 12px 0; border-bottom: 1px solid var(--tnd-line); text-align: left; vertical-align: top; }
.tnd2-legal-table th { width: 40%; font-weight: 500; color: var(--tnd-ink-500); }
.tnd2-legal-table td { color: var(--tnd-ink-900); font-weight: 500; }

/* Hợp tác: bảng điều khiển mô phỏng */
.tnd2-hero-dark { padding: clamp(40px, 6vw, 96px) 0; background: var(--tnd-teal-950); color: #B9D3CD; }
.tnd2-hero-dark h1, .tnd2-hero-dark h2, .tnd2-hero-dark strong { color: var(--tnd-white); }
.tnd2-hero-dark .tnd2-crumbs, .tnd2-hero-dark .tnd2-crumbs a, .tnd2-hero-dark .tnd2-crumbs [aria-current="page"] { color: #B9D3CD; }
.tnd2-hero-dark :focus-visible { outline-color: var(--tnd-mint-300); }
.tnd2-mock { display: grid; gap: 12px; padding: 18px; border-radius: var(--tnd-r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tnd2-mock__bar { display: flex; gap: 6px; }
.tnd2-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tnd2-mock__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--tnd-r-sm); background: rgba(255, 255, 255, .06); font-size: 0.8125rem; color: #DCEDE9; }
.tnd2-mock__score { padding: 2px 10px; border-radius: var(--tnd-r-full); background: rgba(127, 224, 200, .16); color: var(--tnd-mint-300); font-weight: 700; font-variant-numeric: tabular-nums; }
.tnd2-mock__ai { padding: 14px; border-radius: var(--tnd-r-sm); background: rgba(127, 224, 200, .08); border: 1px dashed rgba(127, 224, 200, .35); font-size: 0.8125rem; line-height: 1.5; color: #DCEDE9; }

/* Liên hệ: form nhiều bước */
.tnd2-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tnd2-steps-form { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: var(--tnd-r-xl); background: var(--tnd-white); box-shadow: var(--tnd-sh-2); }
.tnd2-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tnd2-progress span { display: grid; gap: 8px; font-size: 0.75rem; font-weight: 600; color: var(--tnd-ink-500); }
.tnd2-progress span::before { content: ''; height: 6px; border-radius: 6px; background: var(--tnd-sand); }
.tnd2-progress span.is-done, .tnd2-progress span.is-current { color: var(--tnd-teal-700); }
.tnd2-progress span.is-done::before, .tnd2-progress span.is-current::before { background: var(--tnd-teal-700); }
.tnd2-formstep { display: flex; flex-direction: column; gap: 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.tnd2-formstep[hidden] { display: none; }
.tnd2-formstep > legend { margin-bottom: 4px; padding: 0; font-family: var(--tnd-font-display); font-size: 1.25rem; font-weight: 700; color: var(--tnd-ink-900); }
.tnd2-formrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tnd2-formnav { display: flex; justify-content: space-between; gap: 10px; }
.tnd2-formnav .tnd2-btn:only-child { margin-left: auto; }
.tnd2-radiocards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 599px) { .tnd2-formrow, .tnd2-radiocards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 959px) { .tnd2-contact { grid-template-columns: minmax(0, 1fr); } }
.tnd2-contactlist { display: grid; gap: 14px; }
.tnd2-contactlist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.tnd2-contactlist .tnd2-icon { color: var(--tnd-teal-700); margin-top: 1px; }

/* Cảm ơn */
.tnd2-thanks { display: grid; justify-items: center; gap: 18px; max-width: 640px; margin-inline: auto; text-align: center; }
.tnd2-thanks .tnd2-layers { width: 100%; text-align: left; }

/* ---------- Utilities ---------- */
.tnd2-muted { color: var(--tnd-ink-500); }
.tnd2-small { font-size: var(--tnd-fs-sm); line-height: 1.6; }
.tnd2-xs { font-size: var(--tnd-fs-xs); line-height: 1.5; }
.tnd2-lead { font-size: var(--tnd-fs-lead); line-height: 1.6; }
.tnd2-display { font-family: var(--tnd-font-editorial); font-size: var(--tnd-fs-hero); line-height: 1.08; letter-spacing: -0.025em; font-weight: 400; color: var(--tnd-ink-900); }
.tnd2-num { font-variant-numeric: tabular-nums; }
.tnd2-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tnd2-divider { height: 1px; border: 0; background: var(--tnd-line); margin: 0; }

/* Xuất hiện khi cuộn (JS gắn .is-in) */
.tnd2-reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--tnd-dur) var(--tnd-ease), transform var(--tnd-dur) var(--tnd-ease); }
.tnd2-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .tnd2 *, .tnd2 *::before, .tnd2 *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .tnd2-reveal { transform: none; }
  .tnd2-layer { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .tnd2 { background: #fff; color: #000; }
  .tnd2-btn, .tnd2-no-print, .tnd2-detail__aside, .tnd2-filter, .tnd2-toc, .tnd2-askai, .tnd2-leadband, .tnd2-header, .tnd2-dock, .tnd2-ai-launcher, .tnd2-ai--dock, .tnd2-cookie, .tnd2-footer-cta { display: none !important; }
  .tnd2-card { break-inside: avoid; box-shadow: none; }
}

/* ---------- Section ảnh và bố cục trang chủ ---------- */
.tnd2-kicker {
  color: var(--tnd-coral-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tnd2-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 46vw, 740px);
  background: var(--tnd-teal-950);
  color: white;
}
.tnd2-photo__image, .tnd2-photo::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tnd2-photo__image { z-index: -2; object-fit: cover; object-position: right 42%; }
.tnd2-photo::before {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #0b2233 0%, rgba(11, 34, 51, .94) 16%, rgba(11, 34, 51, .79) 42%, rgba(11, 34, 51, .17) 70%, transparent 100%);
}
.tnd2-photo__inner { padding-block: clamp(42px, 6vw, 100px); }
.tnd2-photo__copy { display: grid; justify-items: start; gap: 22px; max-width: 640px; }
.tnd2-photo__copy h1, .tnd2-photo__copy h2 { color: white; }
.tnd2-photo__copy h1 { font-size: clamp(3.2rem, 5.55vw, 6.1rem); line-height: 1.03; letter-spacing: -.045em; }
.tnd2-photo__copy h1 span, .tnd2-photo .tnd2-kicker, .tnd2-journey .tnd2-kicker { color: var(--tnd-mint-300); }
.tnd2-photo__copy h2 { font-size: clamp(2.7rem, 4.5vw, 4.75rem); line-height: 1.06; }
.tnd2-photo__copy > p:not(.tnd2-kicker) { max-width: 43ch; color: #f3f5f6; }
.tnd2-photo__copy .tnd2-row { gap: 16px 24px; margin-top: 4px; }
.tnd2 .tnd2-photo__link { color: white; text-decoration: underline; text-underline-offset: 5px; font-size: .875rem; font-weight: 600; }
.tnd2-photo__link:hover { text-decoration-color: var(--tnd-mint-300); }
.tnd2-photo :focus-visible, .tnd2-journey :focus-visible { outline-color: white; }
.tnd2-photo--family { min-height: clamp(430px, 37vw, 620px); }
.tnd2-photo--family .tnd2-photo__image { object-position: right 54%; }
.tnd2-photo--about { min-height: clamp(420px, 40vw, 620px); }
.tnd2-photo--about .tnd2-photo__image { object-position: 68% 50%; }

.tnd2-distribution { border-bottom: 1px solid var(--tnd-line); }
.tnd2-distribution__grid {
  display: grid;
  grid-template-columns: .95fr 1.2fr .9fr auto;
  align-items: center;
  gap: 16px 28px;
  padding-block: 26px;
}
.tnd2-distribution h2 { font: 600 .85rem/1.4 var(--tnd-font-body); text-wrap: unset; }
.tnd2-distribution a:not(.tnd2-link) { display: grid; gap: 2px; }
.tnd2-distribution a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.tnd2-distribution strong { font-size: clamp(1rem, 1.3vw, 1.25rem); }
.tnd2-distribution a > span:not([aria-hidden]) { color: var(--tnd-ink-500); font-size: .8125rem; }
.tnd2-distribution .tnd2-link { font-size: .875rem; }

.tnd2-story { display: grid; justify-items: start; gap: 18px; }
.tnd2-story h2 { max-width: 18ch; text-wrap: pretty; }
.tnd2-story > p:not(.tnd2-kicker) { max-width: 42ch; }
.tnd2-home-benefits, #thiet-ke-phuc-loi { scroll-margin-top: 84px; }
.tnd2-home-benefits .tnd2-builder { box-shadow: none; }
.tnd2-home-benefits .tnd2-builder__stage { background: var(--tnd-sand); border: 0; }
.tnd2-home-benefits .tnd2-layers { max-width: none; }

.tnd2-product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--tnd-line);
}
.tnd2-product-list article { display: grid; align-content: start; gap: 12px; padding: 28px clamp(18px, 3vw, 36px); }
.tnd2-product-list article + article { border-inline-start: 1px solid var(--tnd-line); }
.tnd2-product-list h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--tnd-line-strong); text-underline-offset: 5px; }
.tnd2-product-list h3 a:hover { text-decoration-color: var(--tnd-coral-700); }
.tnd2-product-list article > :last-child { font-size: .9375rem; }
.tnd2-home-note { margin-top: 16px; font-size: .8125rem; color: var(--tnd-ink-500); }

.tnd2-journey { background: var(--tnd-teal-950); color: #dce7ed; }
.tnd2-journey h2 { color: white; }
.tnd2-journey__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 7vw, 104px); }
.tnd2-journey__list { counter-reset: journey; border-top: 1px solid #456071; }
.tnd2-journey__list li {
  counter-increment: journey;
  display: grid;
  grid-template-columns: minmax(32px, auto) 1fr;
  gap: 12px;
  padding: 12px 0;
  align-items: baseline;
  border-bottom: 1px solid #456071;
}
.tnd2-journey__list li::before { content: counter(journey, decimal-leading-zero); color: var(--tnd-mint-300); font-size: .8125rem; font-weight: 700; }
.tnd2-home-support__links { display: grid; justify-items: start; gap: 12px; }

@media (max-width: 959px) {
  .tnd2-photo { align-items: end; min-height: auto; padding-top: clamp(210px, 46vw, 440px); }
  .tnd2-photo__image, .tnd2-photo::before { height: calc(clamp(210px, 46vw, 440px) + 70px); }
  .tnd2-photo__image { object-position: right 32%; }
  .tnd2-photo::before { background: linear-gradient(180deg, transparent 40%, var(--tnd-teal-950) 100%); }
  .tnd2-photo__inner { padding-block: 20px 46px; }
  .tnd2-photo__copy h1 { font-size: clamp(2.6rem, 7.4vw, 5rem); }
  .tnd2-photo--family .tnd2-photo__image { object-position: 68% 48%; }
}

@media (max-width: 690px) {
  .tnd2-distribution__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .tnd2-distribution h2, .tnd2-distribution .tnd2-link { grid-column: 1 / -1; }
  .tnd2-product-list, .tnd2-journey__grid { grid-template-columns: minmax(0, 1fr); }
  .tnd2-product-list article { padding-inline: 0; }
  .tnd2-product-list article + article { border-inline-start: 0; border-top: 1px solid var(--tnd-line); }
  .tnd2-home-benefits .tnd2-builder__stage { padding: 10px; }
  .tnd2-home-benefits .tnd2-builder { padding: 14px; }
}

/* ==========================================================================
   TND v3 — Insurance Agency & Corporate Benefits System
   ========================================================================== */
.tnd2-btn--warm {
  background: linear-gradient(135deg, #0E664E 0%, #064E3B 100%);
  color: var(--tnd-white);
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(14, 102, 78, 0.45);
}
.tnd2-btn--warm:hover {
  background: linear-gradient(135deg, #0F765B 0%, #064E3B 100%);
  transform: translateY(-1px);
}
.tnd2-mark {
  background: linear-gradient(135deg, #0E664E 0%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tnd2-footer {
  background: linear-gradient(180deg, #06281E 0%, #041B14 100%);
}
.tnd2-footer-cta__box {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border-color: #A7F3D0;
}

/* Top Utility Bar (Prudential / Marsh / Pacific Cross style) */
.tnd3-topbar {
  background: #06281E;
  color: #D1FAE5;
  font-size: 0.78125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tnd3-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  min-height: 38px;
}
.tnd3-topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.tnd3-topbar a { color: #ECFDF5; text-decoration: none; font-weight: 500; }
.tnd3-topbar a:hover { color: #34D399; }
@media (max-width: 767px) { .tnd3-topbar { display: none; } }

/* v3 Full-Bleed Executive Hero + Embedded Quote Selector */
.tnd3-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 74vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0;
  background: #06281E;
  color: #ECFDF5;
}
.tnd3-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 0;
}
.tnd3-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    96deg,
    rgba(4, 27, 20, 0.92) 0%,
    rgba(6, 40, 30, 0.78) 48%,
    rgba(6, 40, 30, 0.34) 100%
  );
}
.tnd3-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: end;
}
.tnd3-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.tnd3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tnd-teal-700);
}
.tnd3-hero .tnd3-eyebrow,
.tnd3-bleed-band .tnd3-eyebrow {
  color: #34D399;
}
.tnd3-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tnd-teal-500);
}
.tnd3-hero__copy h1 {
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.375rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--tnd-white);
}
.tnd3-hero__copy h1 .tnd2-mark {
  background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tnd3-hero__lead {
  font-size: clamp(1.03125rem, 0.98rem + 0.25vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.88);
  max-width: 54ch;
}

/* Embedded 1-Row Quick Quote Bar */
.tnd3-quote-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.42);
}
.tnd3-quote-bar select {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--tnd-sand);
  color: var(--tnd-ink-900);
  font-weight: 500;
}
.tnd3-hero__trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.8125rem;
  color: rgba(209, 250, 229, 0.9);
}
.tnd3-hero__trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.tnd3-hero__trust-line .tnd2-icon { color: #34D399; }

/* Right Floating Glass Carrier Badge over Full-Bleed Hero */
.tnd3-hero__aside {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.tnd3-hero__badge {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(6, 40, 30, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.45);
}
.tnd3-hero__badge strong { display: block; font-size: 0.9375rem; color: var(--tnd-white); }
.tnd3-hero__badge small { display: block; font-size: 0.78125rem; color: #A7F3D0; }
.tnd3-partner-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tnd3-partner-pill {
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(110, 231, 183, 0.4);
  color: #ECFDF5;
  font-size: 0.75rem;
  font-weight: 700;
}
@media (max-width: 959px) {
  .tnd3-hero::after {
    background: linear-gradient(180deg, rgba(4, 27, 20, 0.86) 0%, rgba(6, 40, 30, 0.88) 100%);
  }
  .tnd3-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .tnd3-hero__aside { justify-content: flex-start; }
}

/* Carrier Authority Strip */
.tnd3-carriers {
  background: var(--tnd-white);
  border-bottom: 1px solid var(--tnd-line);
  padding: 20px 0;
}
.tnd3-carriers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tnd3-carrier-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}
.tnd3-carrier-item__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tnd-teal-50);
  color: var(--tnd-teal-700);
  flex: none;
}
.tnd3-carrier-item strong { display: block; font-size: 0.9375rem; color: var(--tnd-ink-900); }
.tnd3-carrier-item span { display: block; font-size: 0.78125rem; color: var(--tnd-ink-500); }
@media (max-width: 959px) { .tnd3-carriers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .tnd3-carriers__grid { grid-template-columns: minmax(0, 1fr); } }

/* Lines of Business Tabbed Showcase */
.tnd3-lob-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  background: var(--tnd-sand);
  border: 1px solid var(--tnd-line);
  margin-bottom: 28px;
}
.tnd3-lob-tab {
  padding: 10px 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--tnd-ink-700);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, box-shadow 150ms;
}
.tnd3-lob-tab[aria-selected="true"] {
  background: var(--tnd-white);
  color: var(--tnd-teal-700);
  box-shadow: 0 2px 8px rgba(6, 40, 30, 0.08);
}
.tnd3-lob-panel[hidden] { display: none; }
.tnd3-pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.tnd3-pkg-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tnd-white);
  border: 1px solid var(--tnd-line);
  transition: transform 240ms var(--tnd-ease), box-shadow 240ms var(--tnd-ease), border-color 240ms;
}
.tnd3-pkg-card:hover {
  transform: translateY(-3px);
  border-color: var(--tnd-teal-200);
  box-shadow: 0 18px 40px -14px rgba(6, 40, 30, 0.16);
}
.tnd3-pkg-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tnd-sand); }
.tnd3-pkg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--tnd-ease); }
.tnd3-pkg-card:hover .tnd3-pkg-card__img img { transform: scale(1.04); }
.tnd3-pkg-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(6, 40, 30, 0.82);
  color: var(--tnd-white);
  font-size: 0.72rem;
  font-weight: 700;
}
.tnd3-pkg-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.tnd3-pkg-card__body h3 { font-size: 1.125rem; }
.tnd3-pkg-card__who { font-size: 0.8125rem; font-weight: 600; color: var(--tnd-teal-700); }
.tnd3-pkg-card__body p { font-size: 0.875rem; color: var(--tnd-ink-500); line-height: 1.55; }
.tnd3-pkg-card__foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 1099px) { .tnd3-pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tnd3-pkg-grid { grid-template-columns: minmax(0, 1fr); } }

/* Full-Bleed Enterprise Architecture Section */
.tnd3-bleed-band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 108px) 0;
  background: #06281E;
  color: #D1FAE5;
}
.tnd3-bleed-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.tnd3-bleed-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    96deg,
    rgba(4, 27, 20, 0.93) 0%,
    rgba(6, 40, 30, 0.84) 54%,
    rgba(6, 40, 30, 0.48) 100%
  );
}
.tnd3-bleed-band__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.tnd3-bleed-band h2 { color: var(--tnd-white); margin-bottom: 12px; }
.tnd3-bleed-band > .tnd2-container p { color: #A7F3D0; }
.tnd3-adv-list { display: grid; gap: 14px; margin: 20px 0 24px; }
.tnd3-adv-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(6, 40, 30, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.tnd3-adv-item .tnd2-icon { color: #34D399; margin-top: 2px; }
.tnd3-adv-item h3 { font-size: 1rem; margin-bottom: 3px; color: var(--tnd-white); }
.tnd3-adv-item p { font-size: 0.875rem; color: #D1FAE5; line-height: 1.5; }

/* Claims & Self-Service Hub + Embedded AI (Full-Bleed Skyline) */
.tnd3-claims-hub {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.5vw, 100px) 0;
  background: #06281E;
  color: #D1FAE5;
}
.tnd3-claims-hub__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.tnd3-claims-hub::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(4, 27, 20, 0.92) 0%, rgba(6, 40, 30, 0.84) 100%);
}
.tnd3-claims-hub h2, .tnd3-claims-hub h3 { color: var(--tnd-white); }
.tnd3-claims-hub .tnd3-eyebrow { color: #34D399; }
.tnd3-claims-hub__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.tnd3-claims-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.tnd3-claims-step {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tnd3-claims-step span { font-size: 0.75rem; font-weight: 700; color: #34D399; }
.tnd3-claims-step strong { display: block; margin: 4px 0; font-size: 0.9375rem; color: var(--tnd-white); }
.tnd3-claims-step p { font-size: 0.8125rem; color: #A7F3D0; line-height: 1.45; }
@media (max-width: 959px) { .tnd3-claims-hub__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 539px) { .tnd3-claims-steps { grid-template-columns: minmax(0, 1fr); } }

/* Insights Article Cards */
.tnd3-insights__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.tnd3-insights__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--tnd-ease); }
.tnd2-article:hover .tnd3-insights__img img { transform: scale(1.04); }
.tnd3-insights__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tnd-ink-900);
  font-size: 0.75rem;
  font-weight: 700;
}
