/* Phần bổ sung của landing: thứ tự trên mobile, thẻ có icon bên trái, đường nối giữa các bước,
   bậc thang lãnh đạo, bảng so sánh. Nạp sau reveal.css. */

/* ---------- Bậc thang lãnh đạo ---------- */
.lp-lead{background:var(--sage)}
.ladder{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:end;counter-reset:none}
.ladder li{position:relative;padding:26px 22px 24px;border-radius:20px 20px 12px 12px;background:var(--surface);border:1px solid var(--line);min-height:calc(190px + var(--n) * 52px);display:flex;flex-direction:column}
.ladder li:nth-child(1){background:#fff7e3}
.ladder li:nth-child(2){background:#ffecbd}
.ladder li:nth-child(3){background:#f8d98a}
.ladder li:nth-child(4){background:var(--accent);border-color:var(--accent);color:#fff}
.rung-no{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:800;margin-bottom:14px}
.ladder li:nth-child(4) .rung-no{background:var(--gold);color:var(--walnut)}
.ladder h3{font-size:1.18rem;margin-bottom:10px}
.ladder p{margin:0;font-size:.92rem;line-height:1.5}
.ladder .from{color:var(--muted);text-decoration:line-through;text-decoration-color:#0003;margin-bottom:6px}
.ladder .to{font-weight:600;margin-top:auto}
.ladder li:nth-child(4) .from{color:#ffffffb0}
.ladder li:not(:last-child)::after{content:"";position:absolute;right:-13px;bottom:22px;width:10px;height:10px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:rotate(45deg)}

/* ---------- Nhịp khoảng cách giữa các section (bớt khoảng trống thừa) ---------- */
.lp .lp-section{padding-block:60px}
.lp .lp-head{margin-bottom:34px}
.lp .lp-learn{padding-block:20px 56px}
.lp .lp-learn .lp-head{margin-bottom:28px}
.lp .lp-learn .lp-head p{max-width:720px}

/* ---------- Khối "học từ mô hình thành công": một thanh ba cột liền nhau ---------- */
.learn-panel{list-style:none;margin:0 auto;padding:0;max-width:1040px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:22px;background:var(--surface);overflow:visible}
.learn-panel li{position:relative;display:grid;grid-template-columns:48px 1fr;column-gap:16px;align-items:start;padding:24px 26px}
.learn-panel li+li{border-left:1px solid var(--line)}
.learn-ico{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--wash);font-size:1.5rem;line-height:1}
.learn-panel h3{font-size:1.1rem;margin:2px 0 6px}
.learn-panel p{margin:0;font-size:.92rem;line-height:1.55;color:var(--muted)}
.learn-panel li:not(:last-child)::after{content:"";position:absolute;right:-8px;top:34px;width:14px;height:14px;background:var(--surface);border-top:1px solid var(--line);border-right:1px solid var(--line);transform:rotate(45deg);z-index:1}
@media(max-width:900px){
  .learn-panel{grid-template-columns:1fr}
  .learn-panel li+li{border-left:0;border-top:1px solid var(--line)}
  .learn-panel li:not(:last-child)::after{display:none}
  .lp .lp-section{padding-block:44px}
}

.learn-panel li{display:block}
.learn-stat{display:block;width:auto;height:auto;min-width:0;padding:0;border-radius:0;background:none;font-size:2.2rem;font-weight:800;line-height:1;color:var(--accent);letter-spacing:-.04em;margin:0 0 8px;white-space:nowrap}

/* ---------- Mobile / điện thoại ---------- */
@media(max-width:900px){
  /* Hero: chữ → hình động quân sư → nút dùng thử & ba ý tick xanh */
  .lp-hero{display:flex;flex-direction:column;gap:0}
  .lp-hero-copy{display:contents}
  .lp-hero-copy .pill-note{order:1;align-self:flex-start;margin-bottom:18px}
  .lp-hero-copy h1{order:2}
  .lp-hero-copy .lp-lede{order:3;margin-bottom:26px}
  .lp-hero .duo{order:4;margin:0 auto 26px}
  .lp-hero-copy .lp-cta-row{order:5;width:100%;margin-bottom:22px}
  .lp-hero-copy .check-row{order:6;margin-top:0}
}
@media(max-width:760px){
  /* Thẻ có icon: icon bên trái, chữ nằm ngay cạnh cho gọn */
  .pillar{display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start;padding:20px}
  .pillar .pillar-ico{grid-row:1/3;margin:0;font-size:1.9rem;line-height:1}
  .pillar h3{margin:0 0 6px;font-size:1.15rem}
  .pillar p{margin:0}
  .who-grid>div{display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start}
  .who-grid>div>span{grid-row:1/3;margin:0;font-size:1.9rem;line-height:1}
  .who-grid>div h3{margin:0 0 6px}
  .who-grid>div p{margin:0}

  /* Bốn bước quy trình: dòng thời gian có đường nối giữa các số */
  .flow{display:flex;flex-direction:column;border:0;background:none;border-radius:0;overflow:visible;gap:0}
  .flow li{position:relative;padding:0 0 28px 60px;border:0!important}
  .flow li:last-child{padding-bottom:0}
  .flow li::after{display:none}
  .flow .flow-no{position:absolute;left:0;top:0;margin:0;z-index:1}
  .flow li:not(:last-child)::before{content:"";position:absolute;left:18px;top:42px;bottom:2px;border-left:2px dashed var(--accent);opacity:.55}
  .flow li:not(:last-child)::after{display:block;content:"";position:absolute;left:13px;bottom:-4px;width:10px;height:10px;background:none;border:0;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);opacity:.8}
  .flow h3{margin-top:6px}

  /* Ba bước đăng ký: đường nối chấm giữa các thẻ */
  .steps{gap:30px}
  .steps li{position:relative}
  .steps li:not(:last-child)::after{display:block;content:"";position:absolute;left:47px;top:auto;right:auto;bottom:-30px;width:0;height:30px;border-top:0;border-left:2px dashed var(--accent);opacity:.6}
  .steps li:not(:first-child)::before{content:"";position:absolute;left:42px;top:-9px;width:10px;height:10px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);opacity:.85;background:none}

  /* Bậc thang: xếp dọc, càng lên cao càng thụt vào */
  .ladder{grid-template-columns:1fr;gap:14px;align-items:stretch}
  .ladder li{min-height:0;margin-left:calc((var(--n) - 1) * 14px);border-radius:16px}
  .ladder li:not(:last-child)::after{right:auto;left:26px;bottom:-12px;transform:rotate(135deg)}
  .ladder .to{margin-top:6px}


}

/* hiệu ứng riêng cho bậc thang: hiện lần lượt từ thấp lên cao */
html.js [data-rv-group=stairs]>*{translate:0 36px}
@media(prefers-reduced-motion:reduce){html.js [data-rv-group=stairs]>*{translate:none!important}}

/* Comparison reference: all three columns stay side by side, also on mobile.
   Only marketing prose wraps; no global table, theme or application styles change. */
.lp-compare .lp-head{text-align:center}
.lp-compare .cmp-eyebrow{margin:0 0 12px;font-size:.75rem;font-weight:800;letter-spacing:.18em;color:var(--accent)}
.lp-compare .lp-head::after{content:"";display:block;width:44px;height:4px;margin:22px auto 0;border-radius:4px;background:var(--gold)}
.lp-compare .compare{max-width:980px;margin:0 auto;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}
.lp-compare .cmp-row{display:grid;grid-template-columns:28% 34% 38%;border-top:1px solid var(--line)}
.lp-compare .cmp-row>div{min-width:0;padding:18px 20px;font-size:.94rem;line-height:1.55;display:flex;align-items:flex-start;gap:10px;overflow-wrap:break-word}
.lp-compare .cmp-row>div>span:last-child{min-width:0}
.lp-compare .cmp-row>div+div{border-left:1px solid var(--line)}
.lp-compare .cmp-head{border-top:0;background:var(--wash)}
.lp-compare .cmp-head>div{align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:118px;font-weight:800;text-align:center;font-size:1rem;color:var(--ink)}
.lp-compare .cmp-head>div:first-child{align-items:flex-start}
.lp-compare .cmp-head small{font-size:.76rem;font-weight:500;line-height:1.35;color:var(--muted)}
.lp-compare .cmp-k{font-weight:750;color:var(--ink)}
.lp-compare .cmp-criterion-icon{width:21px;height:21px;flex:0 0 21px;margin-top:2px;color:var(--accent)}
.lp-compare .cmp-general{color:var(--muted)}
.lp-compare .cmp-us{background:color-mix(in srgb,var(--gold) 18%,var(--surface));color:var(--ink);font-weight:600}
.lp-compare .cmp-head .cmp-us{background:color-mix(in srgb,var(--gold) 72%,var(--surface));color:var(--walnut)}
.lp-compare .cmp-status{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;width:19px;height:19px;margin-top:2px;border-radius:50%;color:white;font:800 14px/1 system-ui}
.lp-compare .cmp-price{white-space:nowrap}
.lp-compare .cmp-status-no{background:#8b8881}
.lp-compare .cmp-status-yes{background:var(--gold);color:var(--walnut)}
.lp-compare .cmp-brand-icon{display:block;width:42px;height:42px;object-fit:contain}
.lp-compare .cmp-heading-icon{display:grid;place-items:center;width:42px;height:42px;color:var(--muted)}
.lp-compare .cmp-ai-icon{width:32px;height:32px}
.lp-compare .cmp-badge{display:table;margin:7px 0 0;padding:2px 6px;max-width:100%;border-radius:5px;background:var(--wash);color:var(--accent);font-size:.67rem;line-height:1.4;font-weight:600;white-space:normal}
.lp-compare .cmp-cta{max-width:760px;margin:28px auto 0;text-align:center}
.lp-compare .cmp-cta-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:16px 28px;border-radius:999px;background:var(--gold);color:var(--walnut);font-size:1rem;line-height:1.4;font-weight:800;text-decoration:none;transition:background .15s}
.lp-compare .cmp-cta-button:hover{background:color-mix(in srgb,var(--gold) 85%,var(--surface))}
.lp-compare .cmp-cta-button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.lp-compare .cmp-note{max-width:760px;margin:18px auto 0;text-align:center;font-size:.86rem;line-height:1.6;color:var(--muted)}
@media(max-width:760px){
 .lp-compare .container{width:100%;max-width:1120px;padding-inline:12px}
 .lp-compare .lp-head h2{font-size:clamp(1.55rem,6vw,2rem);line-height:1.2}
 .lp-compare .lp-head p:not(.cmp-eyebrow){font-size:.9rem;line-height:1.6}
 .lp-compare .compare{border-radius:14px}
 .lp-compare .cmp-row>div{padding:12px 8px;gap:6px;font-size:12px;line-height:1.5}
 .lp-compare .cmp-head>div{min-height:96px;gap:4px;font-size:12px}
 .lp-compare .cmp-head small{font-size:10px}
 .lp-compare .cmp-criterion-icon{width:15px;height:15px;flex-basis:15px;margin-top:1px}
 .lp-compare .cmp-status{width:14px;height:14px;flex-basis:14px;margin-top:2px;font-size:11px}
 .lp-compare .cmp-brand-icon,.lp-compare .cmp-heading-icon{width:32px;height:32px}
 .lp-compare .cmp-ai-icon{width:26px;height:26px}
 .lp-compare .cmp-badge{padding:2px 4px;font-size:9px}
 .lp-compare .cmp-cta{margin-top:22px}
 .lp-compare .cmp-cta-button{width:100%;padding:14px 12px;gap:8px;font-size:13px;min-height:48px}
 .lp-compare .cmp-note{font-size:12px}
}
@media(max-width:350px){
 .lp-compare .cmp-row>div{padding-inline:6px;gap:4px;font-size:11px}
 .lp-compare .cmp-head>div{font-size:11px}
 .lp-compare .cmp-head small{font-size:9px}
 .lp-compare .cmp-criterion-icon{width:13px;height:13px;flex-basis:13px}
}
