/* v1.7.33 (BS64) – TRANG CHỦ CÔNG KHAI (#/ khi chưa đăng nhập). Cùng ngữ pháp hình ảnh với trang Loopi Home: thanh trên dính, chữ đầu rất lớn có một cụm tô màu,
   thẻ bo 20px, nhiều khoảng trắng – nhưng tông xanh ngọc của LoopiClass, không ảnh, không linh vật. */
.tc { --tc-r: 20px; color: var(--ink); background: var(--surface); }
.tc-w { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tc-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tc-top .tc-w { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.tc-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px/1.1 var(--f-display); margin-right: auto; }
.tc-logo .lmark { width: 28px; height: 28px; } .tc-logo b { color: var(--accent); } .tc-logo small { display: block; font: 500 12px/1.2 var(--f-body); color: var(--muted); }
.tc-top nav { display: flex; gap: 24px; } .tc-top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.tc-top nav a:hover { color: var(--accent); } .tc-dn { min-height: 44px; font-weight: 700; }

.tc-hero { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 100%); padding: 56px 0 64px; overflow: hidden; }
.tc-h2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: center; }
.tc-hl { min-width: 0; }
.tc-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); color: var(--accent); font-weight: 700; font-size: 13.5px; }
.tc h1 { font: 800 52px/1.08 var(--f-display); letter-spacing: -.02em; margin: 16px 0 10px; text-wrap: balance; }
.tc h1 em { font-style: normal; color: var(--accent); }
.tc-en { margin: 0 0 14px; color: var(--muted); font-style: italic; font-size: 17px; } .tc-en::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.tc-lead { font-size: 18px; line-height: 1.6; margin: 0 0 22px; max-width: 56ch; color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.tc-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tc-cta .btn { min-height: 52px; padding: 0 18px; font-size: 16px; font-weight: 700; border-radius: 14px; }
.tc-b1 { box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 70%, #000); } .tc-b2 { border: 2px solid var(--accent); color: var(--accent); background: var(--surface); }
.tc-hs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); width: fit-content; max-width: 100%; font-size: 15px; }
.tc-hs > span { font-weight: 600; margin-right: 4px; } .tc-hs .btn.sm { min-height: 40px; }
.tc-hs form { display: flex; gap: 8px; flex-wrap: wrap; } .tc-hs input { min-height: 40px; width: 220px; max-width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); color: var(--ink); text-transform: uppercase; }
.tc-hs input::placeholder { text-transform: none; }
.tc-tick { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.tc-tick li { display: inline-flex; align-items: center; gap: 6px; } .tc-tick svg { color: #15803d; }

/* khung minh hoạ: màn "tách đề" dựng bằng HTML */
.tc-vg { position: relative; padding: 18px 8px 26px 18px; }
.tc-vg::before { content: ''; position: absolute; right: -18px; top: -6px; width: 120px; height: 120px; border-radius: 28px; background: color-mix(in srgb, #f59e0b 22%, transparent); transform: rotate(14deg); }
.tc-vg::after { content: ''; position: absolute; left: -6px; bottom: 4px; width: 84px; height: 84px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.tc-vc { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(15, 23, 42, .14); padding: 18px; display: grid; gap: 12px; }
.tc-vt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; } .tc-vt b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tc-vt i { margin-left: auto; font-style: normal; color: var(--accent); font-weight: 700; white-space: nowrap; }
.tc-f { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #dbeafe; color: #1d4ed8; flex: none; }
.tc-q { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; } .tc-q > span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tc-q p { margin: 4px 0 8px; font-size: 15px; font-weight: 600; }
.tc-o { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .tc-o i, .tc-r i { font-style: normal; font-size: 13.5px; padding: 5px 10px; border-radius: 9px; background: var(--soft); }
.tc-o i.dung { background: #dcfce7; color: #166534; font-weight: 700; } .tc-r { display: flex; gap: 6px; flex-wrap: wrap; } .tc-r i { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.tc-vb .ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #166534; }
.tc-chip { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; box-shadow: 0 8px 22px rgba(15, 23, 42, .12); white-space: nowrap; }
/* nhãn nổi chỉ đậu ở MÉP thẻ, không che chữ của câu hỏi */
.tc-chip.c1 { left: -6px; top: 0; } .tc-chip.c1 b { color: #166534; } .tc-chip.c2 { right: -20px; top: -14px; } .tc-chip.c3 { left: 30px; bottom: 0; }
.tc-vc { margin-top: 14px; } .tc-vc > * { min-width: 0; } .tc-vt b { min-width: 0; flex: 1 1 auto; } .tc-vt i { margin-left: 0; flex: none; } .tc-q p { overflow-wrap: anywhere; }

.tc-sec { padding: 72px 0; } .tc-alt { background: var(--bg); }
.tc-sec h2, .tc-band h2 { font: 800 34px/1.15 var(--f-display); letter-spacing: -.01em; text-align: center; margin: 0 0 8px; text-wrap: balance; }
.tc-sub { text-align: center; color: var(--muted); font-size: 17px; margin: 0 0 32px; } .tc-alt h2 { margin-bottom: 32px; }
.tc-3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tc-3 li, .tc-6 .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--tc-r); padding: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.tc-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font: 800 18px var(--f-display); } .tc-n.n1 { background: #1d4ed8; } .tc-n.n2 { background: #b45309; } .tc-n.n3 { background: #0f766e; }
.tc h3 { font: 700 18px/1.3 var(--f-display); margin: 14px 0 6px; } .tc-3 p, .tc-6 p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tc-mid { text-align: center; margin: 28px 0 0; } .tc-mid .btn { min-height: 48px; padding: 0 22px; font-weight: 700; }
.tc-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tc-i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; } .tc-i.a { background: #dbeafe; color: #1d4ed8; } .tc-i.b { background: #ffedd5; color: #b45309; } .tc-i.c { background: #ccfbf1; color: #0f766e; }
.tc-free { display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; padding: 30px 32px; border-radius: 24px; border: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tc-free h2 { text-align: left; font-size: 28px; } .tc-free p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; } .tc-free b { color: var(--ink); }
.tc-at { padding-top: 0; } .tc-at h2 { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 28px; margin-bottom: 20px; }
.tc-4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .tc-4 li { background: var(--bg); border-radius: 16px; padding: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); } .tc-4 b { color: var(--ink); display: block; margin-bottom: 2px; }
.tc-band { background: linear-gradient(120deg, #0f766e, #115e59); color: #fff; padding: 64px 0; text-align: center; }
.tc-band p { margin: 0 0 24px; font-size: 17.5px; opacity: .92; } .tc-band .tc-cta { justify-content: center; }
.tc-band .btn { border: 2px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; } .tc-band .btn.tc-w1 { background: #fff; color: #0f766e; border-color: #fff; }
.tc-fam { padding-top: 56px; padding-bottom: 8px; } .tc-fam .gt-hst { margin: 0; }
body.guest .tc ~ .lcfoot, .tc + .lcfoot { margin-top: 0; }

@media (max-width: 900px) {
  .tc-h2 { grid-template-columns: minmax(0, 1fr); gap: 28px; } .tc h1 { font-size: 40px; }
  .tc-3, .tc-6 { grid-template-columns: 1fr 1fr; } .tc-4 { grid-template-columns: 1fr 1fr; } .tc-free { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tc-w { padding: 0 16px; } .tc-top nav { display: none; } .tc-top .tc-w { min-height: 56px; }
  .tc-hero { padding: 28px 0 40px; } .tc h1 { font-size: 33px; line-height: 1.12; margin-top: 12px; } .tc-en { font-size: 15px; } .tc-lead { font-size: 16.5px; }
  .tc-cta { flex-direction: column; align-items: stretch; } .tc-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .tc-hs { width: 100%; } .tc-hs form, .tc-hs input { width: 100%; } .tc-hs input { font-size: 16px; } /* dưới 16px thì Android / iOS tự phóng to trang khi chạm vào ô */ .tc-hs form .btn { width: 100%; }
  .tc-vg { padding: 8px 0 0; } .tc-vg::before, .tc-vg::after, .tc-chip.c2, .tc-chip.c3 { display: none; } .tc-chip.c1 { position: static; display: inline-block; margin-top: 10px; }
  .tc-o { grid-template-columns: 1fr; }
  .tc-sec { padding: 44px 0; } .tc-sec h2, .tc-band h2 { font-size: 26px; } .tc-sub { font-size: 16px; margin-bottom: 22px; }
  .tc-3, .tc-6, .tc-4 { grid-template-columns: 1fr; gap: 12px; } .tc-free { padding: 22px 18px; } .tc-free h2 { font-size: 23px; } .tc-at h2 { font-size: 23px; }
  .tc-band { padding: 44px 0; }
}
/* v1.7.36 vòng rà 1: 3 bước gánh luôn điểm mạnh (bỏ lưới 6 thẻ + khung miễn phí riêng – nói lại cùng một ý) */
.tc-plus { margin: 10px 0 0 !important; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--accent) !important; font-weight: 600; font-size: 14px !important; }
.tc-band .tc-freeline { margin: 10px auto 0; max-width: 720px; font-size: 14.5px; opacity: .92; } .tc-band .tc-freeline b { color: #fff; }
