/* ==========================================================================
   SME draft · V4 (14/11) — kết quả 4 vòng /impeccable critique + audit, đã chốt làm bản chính.
   Nạp SAU sme-draft.css, sections/one.css, components/bgm/bgm.css, contact-form.css.
   Khi merge vào theme: dán khối này vào CUỐI sme-draft.css (sau các file trên) hoặc giữ thứ tự nạp.
   Các thay đổi nội dung đi kèm đã nằm sẵn trong body.html / one.html / sme-draft.php.
   ========================================================================== */

/* ==========================================================================
   V1 · P1/P2 từ báo cáo
   ========================================================================== */

/* Hero: câu giá trị hiện rõ; slide thành dòng phụ; còn 2 nút */
:root .aone .hh .hcopy{max-width:min(640px,48vw);gap:20px}
:root .aone .hh .hcopy .up-h1{margin:0;font-size:clamp(38px,3.7vw,58px);line-height:1.06;letter-spacing:-.03em;font-weight:700;color:#fff;
  text-wrap:balance;text-shadow:0 2px 28px rgba(10,8,24,.4)}
:root .aone .hh .hs__who{display:inline-flex;align-items:center;min-height:26px;margin:0 0 10px;padding:4px 12px;border-radius:999px;
  background:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:12.5px;letter-spacing:.04em}
:root .aone .hh .hs__slide h2{font-size:clamp(22px,1.8vw,28px);line-height:1.2;font-weight:600}
:root .aone .hh .hs__slide ul{margin-top:12px;gap:6px;font-size:16px}
:root .aone .hh .fcard{display:none}
@media (max-width:860px){
  :root .aone .hh .hcopy{max-width:none;gap:14px}
  :root .aone .hh .hcopy .up-h1{font-size:clamp(30px,8.4vw,40px)}
  :root .aone .hh .hs__slide h2{font-size:20px}
  :root .aone .hh .hs__slide ul{font-size:15px}
}


/* Liên hệ: form là hành động chính duy nhất */
:root .aone #contact .up-textlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;color:var(--ao-text-brand);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
:root .aone #contact .up-textlink:hover{color:#2d2399}
:root .aone #contact .up-textlink span{transition:translate .25s cubic-bezier(.2,.8,.2,1)}
:root .aone #contact .up-textlink:hover span{translate:4px 0}
:root .aone .afc .afc-info > .afc-btn{min-height:58px;border:0;background:linear-gradient(100deg,#4f37e6 0%,#7a35dc 55%,#b0309f 100%);color:#fff;
  font-size:17px;font-weight:700;box-shadow:0 16px 30px -12px rgba(90,50,220,.65);transition:translate .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,filter .2s}
:root .aone .afc .afc-info > .afc-btn:hover{translate:0 -1px;filter:brightness(1.06);box-shadow:0 20px 36px -12px rgba(90,50,220,.75)}
:root .aone .afc .afc-info > .afc-btn:focus-visible{outline:3px solid #4f37e6;outline-offset:3px}
:root .aone .afc .up-assure{margin:10px 0 0;text-align:center;font-size:13.5px;color:var(--ao-text-muted)}
:root .aone a.up-tel{color:inherit;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;white-space:nowrap}
:root .aone a.up-tel:hover{color:var(--ao-text-brand)}

/* ==========================================================================
   V2 · bỏ dấu hiệu "template AI", thêm nét riêng
   ========================================================================== */

/* Chữ tô gradient -> chữ đặc (nhấn bằng độ đậm, không bằng hiệu ứng) */
:root .aone .hl{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:inherit;-webkit-text-fill-color:currentColor}

/* Bỏ nhãn nhỏ phía trên tiêu đề: tiêu đề tự đứng được */
:root .aone .wz__kick,:root .aone .prod-head .label,:root .aone .cs__kick{display:none}

/* Dải số liệu: bỏ khung thẻ trắng + số gradient, thành một hàng bằng chứng gọn, số mực đậm */
:root .aone .stats{background:transparent;border-radius:0;border-block:1px solid #ddd8ee;margin-block:clamp(12px,2vw,24px);padding-block:clamp(20px,2.6vw,32px)}
:root .aone .stat{align-items:flex-start;text-align:left;gap:8px;padding:8px clamp(16px,2.2vw,32px)}
:root .aone .stat + .stat::before{top:14px;bottom:14px;width:1px;background:#ddd8ee}
:root .aone .stat strong{background:none;color:var(--ao-text);-webkit-text-fill-color:currentColor;font-size:clamp(40px,4.2vw,62px);font-weight:700;letter-spacing:-.04em;line-height:1}
:root .aone .stat > span{max-width:20ch;font-size:15px;line-height:1.4;color:var(--ao-text-muted)}
@media (max-width:860px){
  :root .aone .stat{padding:12px 14px}
  :root .aone .stat:nth-child(odd)::before{display:none}
  :root .aone .stat strong{font-size:clamp(28px,8vw,36px)}
  :root .aone .stat > span{font-size:14px}
}

/* Logo khách hàng rõ hơn: đây là bằng chứng tin cậy */
:root .aone .aone-brands__t{font-size:14px;letter-spacing:0;color:var(--ao-text-muted)}
:root .aone .aone-brands__track img{height:38px;opacity:.8}

/* Thẻ sản phẩm: mỗi sản phẩm một icon riêng (ảnh người na ná nhau) */
:root .aone .up-pico{position:absolute;left:16px;top:16px;z-index:2;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;
  background:rgba(255,255,255,.94);color:#4f37e6;box-shadow:0 8px 20px -8px rgba(30,20,80,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
:root .aone .pc__img .up-pico svg,:root .aone .pc:hover .pc__img .up-pico svg{width:26px;height:26px;color:#4f37e6;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;filter:none;transform:none}

/* Chữ phụ tiếng Anh ở 3 thẻ kính ONE: tối thiểu 12.5px trên điện thoại */
:root .aone .ax-pillar .ax-glass p{font-size:12.5px}

/* Bề mặt trình duyệt theo màu thương hiệu */
:root ::selection{background:#ddd5ff;color:var(--ao-text)}
:root{scrollbar-color:#b8aee6 transparent}
:root .aone,:root .afc{accent-color:#4f37e6}
:root .aone input,:root .aone textarea,:root .afc input{caret-color:#4f37e6}

/* ==========================================================================
   V3 · bố cục: kết trang thành "đỉnh" + nhịp đọc
   ========================================================================== */

/* Liên hệ: nền cảnh đồi cỏ + icon Affina (ảnh Lucas, 14/11). Trời trong ảnh trong suốt ~19%
   nên hoà vào nền sáng; ảnh phủ đáy section theo đúng tỉ lệ, chừa chỗ để icon nằm dưới form.
   padding-bottom = phần ảnh từ đỉnh icon tới đáy ảnh (0.391 × bề rộng) + khoảng thở */
:root .aone .sec.end{padding-top:clamp(96px,9vw,136px);padding-bottom:calc(39.1% + 48px)}
:root .aone .end__sky{background:linear-gradient(180deg,var(--sc-canvas,#f5f5fa) 0%,#ffffff 55%)}
:root .aone .end__scene .end__hills{display:block;inset:auto 0 0 0;height:auto;aspect-ratio:2400/1469;
  background:url(v1assets/end-scene.webp) 50% 100%/100% 100% no-repeat;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 18%);mask-image:linear-gradient(180deg,transparent 0%,#000 18%)}
:root .aone .end .lc > div:first-child{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0;border-radius:0}
:root .aone #contact h2{color:var(--ao-text);font-size:clamp(40px,4.8vw,68px);line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
:root .aone #contact .lede{max-width:42ch}
:root .aone #contact .ticks svg{color:#c724bb}
@media (max-width:860px){
  :root .aone .sec.end{padding-bottom:calc(66.5% + 24px)}
  :root .aone .end__scene .end__hills{left:-35%;right:-35%;background-image:url(v1assets/end-scene-sm.webp)}
  :root .aone #contact h2{font-size:clamp(34px,9.6vw,44px)}
}

/* FAQ: cột trái (tiêu đề, hotline, FINA) đứng yên khi đọc danh sách câu hỏi */
@media (min-width:861px){
  :root .aone .faq > div:first-child{position:sticky;top:104px}
}

/* ==========================================================================
   V4 · polish + một khoảnh khắc chuyển động có chủ đích
   ========================================================================== */

/* Khoảnh khắc duy nhất: câu giá trị ở hero hiện lên từng dòng khi mở trang */
:root .aone .hh .up-h1 .up-ln{display:inline-block;animation:up-rise .9s cubic-bezier(.16,1,.3,1) backwards}
:root .aone .hh .up-h1 .up-ln:nth-child(2){animation-delay:.08s}
:root .aone .hh .up-h1 .up-ln:nth-child(3){animation-delay:.16s}
:root .aone .hh .up-h1 .up-ln:nth-child(4){animation-delay:.24s}
@keyframes up-rise{from{opacity:0;translate:0 .35em;filter:blur(8px)}}
@media (prefers-reduced-motion:reduce){:root .aone .hh .up-h1 .up-ln{animation:none}}

/* Đọc thoải mái: câu trả lời FAQ không quá 68 ký tự mỗi dòng */
:root .aone #faq details p{max-width:68ch}

/* Link hành động trong thẻ sản phẩm: một màu thương hiệu, gạch chân khi rê */
:root .aone .pc .arrow{color:var(--ao-text-brand)}
:root .aone .pc .arrow i{display:inline-block;transition:translate .25s cubic-bezier(.2,.8,.2,1)}
:root .aone .pc:hover .arrow i{translate:4px 0}

/* Tiêu đề section: xuống dòng cân đối ở mọi bề rộng */
:root .aone h2{text-wrap:balance}
:root .aone p,:root .aone li{text-wrap:pretty}

/* ==========================================================================
   Liên hệ gọn lại (14/11 tối, theo Lucas): form nhỏ & thấp hơn, nền cảnh mờ 35%
   ========================================================================== */
:root .aone .sec.end{padding-top:clamp(64px,6vw,96px)}
:root .aone #contact h2{font-size:clamp(34px,3.6vw,52px);line-height:1.08}
:root .aone #contact .lede{margin-top:12px}
:root .aone #contact .ticks{margin:18px 0 20px;gap:8px}
:root .aone .end__scene .end__hills{opacity:.35}
:root .aone #contact .afc{border-radius:22px}
:root .aone #contact .afc .afc-info{gap:10px;padding:24px 26px 22px}
:root .aone #contact .afc .afc-title{font-size:22px}
:root .aone #contact .afc .afc-info .afc-title{margin-bottom:2px}
:root .aone #contact .afc .afc-row{gap:10px}
:root .aone #contact .afc .afc-field input,:root .aone #contact .afc .afc-field select{min-height:50px;padding:17px 14px 4px;font-size:15px}
:root .aone #contact .afc .afc-field select{padding-block:12px}
:root .aone #contact .afc .afc-field label{left:14px;font-size:14.5px}
:root .aone #contact .afc .afc-field input:focus + label,:root .aone #contact .afc .afc-field input:not(:placeholder-shown) + label{top:13px;font-size:11px}
:root .aone #contact .afc .afc-chips{gap:6px}
:root .aone #contact .afc .afc-chips legend{margin-bottom:6px;font-size:13.5px}
:root .aone #contact .afc .afc-chips label span{padding:6px 11px;font-size:13px}
:root .aone #contact .afc .affina-lead-consent{font-size:12.5px}
:root .aone #contact .afc .afc-info > .afc-btn{min-height:50px;font-size:16px}
:root .aone #contact .afc .up-assure{margin-top:2px;font-size:13px}
@media (min-width:901px){:root .aone #contact .lc{grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:clamp(32px,5vw,72px)}}

/* 15/11 · Thẻ "Chia sẻ từ khách hàng doanh nghiệp": sáng sủa, mơ màng theo ref của Lucas.
   Khung trắng bo tròn, bên trong là nền pastel xanh trời → tím oải hương → hồng, mây trắng mờ, lưới mảnh, hạt nhiễu nhẹ.
   Bỏ ảnh chân dung làm mờ phía sau; chữ chuyển sang màu mực đậm. */
:root .aone .cs__item{color:var(--ao-text);background:#fff;box-shadow:0 1px 0 #fff inset,0 24px 60px -34px rgba(190,90,170,.45)}
:root .aone .cs__bg{inset:10px;border-radius:16px;transform:none;filter:none;overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.42) 1px,transparent 1px) 0 0/36px 36px,
    linear-gradient(90deg,rgba(255,255,255,.42) 1px,transparent 1px) 0 0/36px 36px,
    radial-gradient(55% 75% at 6% 4%,#bcd5ff 0%,rgba(188,213,255,0) 72%),
    radial-gradient(62% 85% at 98% 100%,#ffb3dc 0%,rgba(255,179,220,0) 72%),
    radial-gradient(48% 62% at 72% 18%,#ecc8ff 0%,rgba(236,200,255,0) 72%),
    radial-gradient(60% 70% at 26% 96%,#dccbff 0%,rgba(220,203,255,0) 74%),
    linear-gradient(135deg,#e8edff 0%,#f3e4ff 50%,#ffe3f2 100%)}
/* mây trắng mờ */
:root .aone .cs__bg::before{content:"";position:absolute;inset:-10%;filter:blur(24px);opacity:.9;
  background:
    radial-gradient(22% 16% at 22% 30%,#fff 0%,rgba(255,255,255,0) 100%),
    radial-gradient(18% 14% at 34% 26%,rgba(255,255,255,.9) 0%,rgba(255,255,255,0) 100%),
    radial-gradient(26% 18% at 78% 74%,#fff 0%,rgba(255,255,255,0) 100%),
    radial-gradient(18% 12% at 64% 82%,rgba(255,255,255,.85) 0%,rgba(255,255,255,0) 100%),
    radial-gradient(20% 14% at 88% 18%,rgba(255,255,255,.8) 0%,rgba(255,255,255,0) 100%)}
/* hạt nhiễu nhẹ phủ lên (overlay) */
:root .aone .cs__bg::after{inset:0;opacity:.14;mix-blend-mode:overlay;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/180px 180px}
:root .aone .cs__quote{color:var(--ao-text)}
:root .aone .cs__name b{color:var(--ao-text)}
:root .aone .cs__name small,:root .aone .cs__who small{color:#56506f;opacity:1}
:root .aone .cs__ava{border:5px solid #fff;box-shadow:0 18px 40px -16px rgba(170,90,170,.45),0 0 0 1px rgba(205,170,230,.5)}
:root .aone .cs__side .cs__logochip{box-shadow:0 8px 20px -12px rgba(170,90,170,.5),0 0 0 1px rgba(220,200,240,.8)}
:root .aone .cs__item:not(.is-on):hover{filter:brightness(1.03) saturate(1.1)}

/* Liên hệ ngắn lại (15/11 chiều, theo Lucas): cắt bớt dải cỏ dưới icon bằng cách đẩy đáy ảnh xuống dưới mép section
   (margin % tính theo bề rộng nên khớp tỉ lệ ảnh), icon sát form hơn. Ảnh gốc không đổi. */
:root .aone .sec.end{padding-bottom:calc(27.1% + 32px)}
:root .aone .end__scene .end__hills{margin-bottom:-12%}
@media (max-width:860px){
  :root .aone .sec.end{padding-bottom:calc(46% + 20px)}
  :root .aone .end__scene .end__hills{margin-bottom:-20.5%}
}

/* Liên hệ: khoảng trên/dưới = 16% chiều cao form (15/11 chiều, theo Lucas).
   Form cao 505px ở máy tính → 81px; điện thoại form ~565px → 90px dưới. Bỏ icon: ảnh đồi cỏ chỉ hiện phần cỏ/hoa dưới chân icon
   (mask trong suốt tới 61% chiều cao ảnh, đậm dần tới 74%), nên icon và bầu trời không còn thấy. Ảnh gốc giữ nguyên. */
:root .aone .sec.end{padding-top:81px;padding-bottom:81px}
:root .aone .end__scene .end__hills{margin-bottom:0;
  -webkit-mask-image:linear-gradient(180deg,transparent 0 61%,#000 74%);mask-image:linear-gradient(180deg,transparent 0 61%,#000 74%)}
@media (max-width:860px){
  :root .aone .sec.end{padding-bottom:90px}
  :root .aone .end__scene .end__hills{margin-bottom:0}
}
/* link "Hoặc báo giá online" giờ nằm trên nền cỏ: tím đậm hơn để đủ tương phản (5.1:1 ở vùng nền tối nhất) */
:root .aone #contact .up-textlink{color:#34289f}
/* đồi cỏ bớt mờ (15/11, theo Lucas): giữ vị trí, ảnh đậm hơn (35% → 55%), đoạn chuyển mờ ở mép trên ngắn lại */
:root .aone .end__scene .end__hills{opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,transparent 0 61%,#000 69%);mask-image:linear-gradient(180deg,transparent 0 61%,#000 69%)}
/* link nằm trên cỏ đậm hơn: chữ màu mực tiêu đề (4.5:1), gạch chân + mũi tên giữ tím để vẫn nhận ra là link */
:root .aone #contact .up-textlink{color:var(--ao-text);text-decoration-color:#6a4cf0}
:root .aone #contact .up-textlink span{color:#6a4cf0}
/* (15/11, 17h, theo Lucas) mờ lại 35%; hạ ảnh xuống để icon Affina hiện ở đáy khối liên hệ thay cho dải cỏ.
   Đáy ảnh đẩy xuống 23.4% bề rộng → đáy icon cách đáy khối ~1.5% bề rộng. Mask quay về như ban đầu (chỉ mờ phần trời trên cùng). */
@media (min-width:861px){
  :root .aone .end__scene .end__hills{opacity:.35;margin-bottom:-23.4%;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 18%);mask-image:linear-gradient(180deg,transparent 0%,#000 18%)}
}
@media (max-width:860px){:root .aone .end__scene .end__hills{opacity:.35}}
/* 861–1239px: form rộng cố định 480px che mất icon ở giữa → ảnh thu còn 80% bề rộng, lệch trái để icon nằm giữa cột chữ, dưới link;
   mép phải ảnh mờ dần để không lộ đường cắt (phần đó nằm sau form). */
@media (min-width:861px) and (max-width:1239px){
  :root .aone .end__scene .end__hills{left:-15%;right:35%;margin-bottom:-18.5%;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 18%),linear-gradient(90deg,#000 62%,transparent 96%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(180deg,transparent 0%,#000 18%),linear-gradient(90deg,#000 62%,transparent 96%);mask-composite:intersect}
}

/* ==========================================================================
   Liên hệ + Câu hỏi thường gặp gộp làm một (15/11, theo Lucas)
   Máy tính: trái = lời mời + 5 câu hỏi, phải = form. Điện thoại: lời mời → form → câu hỏi.
   Icon Affina trong ảnh đồi cỏ nằm giữa, ngay dưới form (cột phải còn trống vì cột trái dài hơn form).
   ========================================================================== */
:root .aone #contact .lc--faq{align-items:start}
:root .aone #contact .lc__head{grid-area:head}
:root .aone #contact .lc__faq{grid-area:faq}
:root .aone #contact .lc--faq > .afc{grid-area:form;align-self:start}
@media (min-width:901px){
  :root .aone #contact .lc--faq{grid-template-columns:minmax(0,1fr) minmax(0,480px);grid-template-areas:"head form" "faq form";row-gap:0}
}
@media (max-width:900px){
  :root .aone #contact .lc--faq{grid-template-areas:"head" "form" "faq"}
}
:root .aone #contact .lc__alt{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin:18px 0 0;font-weight:600}
:root .aone #contact .lc__faq h3{margin:clamp(32px,3.2vw,44px) 0 14px;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.01em;color:var(--ao-text)}
:root .aone #contact .lc__faq details p{max-width:68ch}

/* đồi cỏ: icon canh giữa cột form. Tâm form = min(640px, 50%) − 20px lề − 240px (nửa form) tính từ giữa trang;
   translate % tính theo bề rộng ảnh (= bề rộng section) nên 50% = nửa trang. Mép trái ảnh mờ dần. */
@media (min-width:901px){
  :root .aone .end__scene .end__hills{left:0;right:0;opacity:.35;margin-bottom:-23.4%;translate:calc(min(640px,50%) - 260px) 0;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 18%),linear-gradient(90deg,transparent 0%,#000 26%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(180deg,transparent 0%,#000 18%),linear-gradient(90deg,transparent 0%,#000 26%);mask-composite:intersect}
}
/* 861–900px giờ là bố cục 1 cột như điện thoại: chỉ dải cỏ, không icon */
@media (min-width:861px) and (max-width:900px){
  :root .aone .end__scene .end__hills{left:0;right:0;translate:none;margin-bottom:0;opacity:.35;
    -webkit-mask-image:linear-gradient(180deg,transparent 0 61%,#000 69%);mask-image:linear-gradient(180deg,transparent 0 61%,#000 69%);-webkit-mask-composite:source-over;mask-composite:add}
}

/* Số liệu (15/11 tối): lớp màu hover (Blend Gradient Mesh) cũng là span con của .stat nên bị giới hạn 20ch như dòng mô tả
   → chỉ phủ ~2/3 ô. Trả lớp màu về phủ toàn ô. */
:root .aone .stat > span.bgm__mesh{max-width:none;font-size:inherit;line-height:normal;color:inherit}
/* số "100.000+" / "170.000+" tràn lề trong và chạm đường kẻ ở khổ rộng: chữ tối đa 52px (vừa ô 310px) */
@media (min-width:861px){:root .aone .stat strong{font-size:clamp(36px,4.1vw,52px)}}

/* 24/11: tiêu đề section đồng bộ 48/56 trên máy tính (trang chủ + /enterprise/, gồm khối "Chia sẻ" dùng chung).
   Giữ nguyên: "Affina O.N.E" chữ lớn trang trí (.ax-title), tiêu đề slide hero, tiêu đề thẻ. Hero H1 56/62 để lớn hơn tiêu đề section. */
@media (min-width:861px){
  :root .aone{--t-h2:48px}
  :root .aone :is(.aone-h2,.worry__h,.jr h2,.jr__left h2,.ax-plans-head h2,.prod-head h2,.lc h2,#h-cmp,#h-faq,#h-lc,.plat__left h2,.plat__head h2,.wz__head h2,.ob-h2,#contact h2){font-size:48px;line-height:56px}
  :root .aone .hh .hcopy .up-h1{font-size:56px;line-height:62px}
}

/* ===== 25/11 · Affina One cho /enterprise/ (bước 1–2 của đợt rà design system) =====
   Màu chữ: chỉ 3 vai trò text / text-muted / text-brand. Phông: Be Vietnam Pro cho chữ, Sora cho con số. */
:root .aone,:root .afc,:root .afc-dialog{
  --sc-ink:var(--ao-text);--sc-ink-soft:var(--ao-text-muted);--afc-ink:var(--ao-text);--afc-muted:var(--ao-text-muted);
  --enterprise-muted:var(--ao-text-muted);--sc-accent:var(--ao-text-brand);--sc-font-text:var(--ao-font-sans);--sc-font-display:var(--ao-font-sans)}
:root .aone :is(h1,h2,h3,h4,.hl,.up-h1,.ax-title p,.ax-glass h3){font-family:var(--ao-font-sans)}
/* theme có quy tắc chung `h1 *, h2 *` gán Familjen cho chữ con trong tiêu đề → để chữ con theo tiêu đề */
:root .aone :is(h1,h2,h3,h4) *{font-family:inherit}
:root .aone .hh .hcopy .up-h1,:root .aone .ax-title h2{font-weight:900}
:root .aone .stats .stat strong,:root .aone .stats .stat strong span{font-family:var(--ao-font-numeric);font-variant-numeric:tabular-nums}

/* ===== 25/11 · Affina One bước 3: một thang chữ cho /enterprise/ =====
   tiêu đề section 48/56 (điện thoại 36/44) · tiêu đề thẻ 36·24·20 · chữ thường 16/24 · chữ phụ 14/20 · chú thích 12/16
   chữ chạy đậm 500 theo DS; khối "Nỗi lo" bỏ nghiêng, tiêu đề thẻ nhỏ hơn tiêu đề section */
:root .aone .hh .hs__slide h2{font-size:24px;line-height:32px;font-weight:600}
:root .aone .hs__slide li{font-size:16px;line-height:24px;font-weight:500}
:root .aone .aone-brands__t{font-size:14px;line-height:20px;font-weight:500}
:root .aone .stats .stat > span{font-size:14px;line-height:20px;font-weight:500}
:root .aone :is(.wz__sub,.lc__head .lede,#affina-one .ob-sub){font-size:18px;line-height:28px;font-weight:500}
:root .aone .wz__h{font-size:36px;line-height:44px}
:root .aone .wz__h > span{font-style:normal;font-size:16px;line-height:24px;font-weight:500;color:var(--ao-text-muted)}
:root .aone .wz__tab span{font-size:20px;line-height:28px;font-weight:600}
:root .aone .wz__panel p{font-size:16px;line-height:24px;font-weight:500}
:root .aone .wz__panel li{font-size:14px;line-height:20px;font-weight:500}
:root .aone .pc h3{font-size:24px;line-height:32px}
:root .aone .pc p{font-size:14px;line-height:20px;font-weight:500}
:root .aone #affina-one .ob-lead{font-size:16px;line-height:24px}
:root .aone #affina-one .ob-note{font-size:12px;line-height:16px;font-weight:500}
:root .aone #affina-one .ob-jd__i h4{font-size:20px;line-height:28px}
:root .aone #affina-one .ob-jd__i > p{font-size:14px;line-height:20px;font-weight:500}
:root .aone .cs__quote{font-size:24px;line-height:32px;font-weight:500}
:root .aone .cs__name b{font-size:16px;line-height:24px}
:root .aone .cs__name small{font-size:14px;line-height:20px;font-weight:500}
:root .aone .cs__count{font-size:14px;font-weight:500}
:root .aone #contact .lc__alt,:root .aone #contact .lc__alt :is(a,span){font-size:16px;line-height:24px}
:root .aone #faq #h-faq{font-size:20px;line-height:28px}
:root .aone #faq details > p{font-size:16px;line-height:24px;font-weight:500}
:root .aone #contact .afc .afc-title{font-size:24px;line-height:32px}
:root .aone #contact .afc :is(.afc-field label,.afc-chips legend,.afc-chips legend span,.afc-chips label span){font-size:14px;line-height:20px;font-weight:500}
:root .aone #contact .afc :is(.affina-lead-consent,.affina-lead-consent *,.up-assure){font-size:12px;line-height:16px;font-weight:500}
@media (max-width:860px){
  :root .aone :is(.aone-h2,.worry__h,.prod-head h2,.lc h2,#h-lc,.wz__head h2,.ob-h2,#contact h2){font-size:36px;line-height:44px}
  :root .aone .hh .hs__slide h2{font-size:20px;line-height:28px}
  :root .aone .hs__slide li{font-size:14px;line-height:20px}
  :root .aone :is(.wz__sub,.lc__head .lede,#affina-one .ob-sub){font-size:16px;line-height:24px}
  :root .aone .wz__h{font-size:28px;line-height:36px}
  :root .aone .wz__tab span{font-size:16px;line-height:24px}
  :root .aone .pc h3{font-size:20px;line-height:28px}
  :root .aone .cs__quote{font-size:20px;line-height:28px}
}
:root .aone #affina-one .ob-jd__meta dd{font-size:14px;line-height:20px}

/* ===== 25/11 · Affina One bước 5: bo góc 16 / 20 / 24 / tròn hẳn =====
   khung lớn + thẻ = 24 · thẻ nhỏ/kính = 20 · khối lồng bên trong = 16 hoặc (bán kính ngoài − đệm) */
:root .aone .hcard{border-radius:24px}
:root .aone .pc{border-radius:24px}
:root .aone .wz__c{border-radius:24px}
:root .aone .wz__panel{border-radius:16px}
:root .aone #contact .afc{border-radius:24px}
:root .aone .ax-glass{border-radius:20px}
:root .aone #affina-one .ob__panel{border-radius:24px 0 0 24px}
:root .aone #affina-one .ob__win{border-radius:16px 0 0 16px}

/* ===== 25/11 · Affina One bước 6: khung bố cục /enterprise/ (+ khối dùng chung .wrap / lời khách hàng trên trang chủ) =====
   nội dung tối đa 1280 · lề 32 (điện thoại 16) qua --ao-gutter trong affina-one.css · đệm section 96 / 80 / 64 · hero bo khung cách mép 12 (điện thoại 8) như trang chủ */
:root .aone .wrap{max-width:none;width:auto;margin-inline:0;padding-inline:var(--ao-gutter)}
:root .aone .hero__stage{padding-inline:12px;padding-bottom:12px}
:root .aone #products,:root .aone #testimonials,:root .aone #contact{padding-block:96px}
:root .aone .wz__pin{padding-inline:var(--ao-gutter)!important;padding-block:96px!important}
:root .aone .wz__head,:root .aone .wz__row{margin-inline:0;max-width:none}
:root .aone #affina-one .ob__stage{padding-left:var(--ao-gutter)}
:root .aone .prod-track{--edge:max(32px,calc((100vw - 1280px) / 2))}
@media (max-width:1024px){
  :root .aone #products,:root .aone #testimonials,:root .aone #contact{padding-block:80px}
  :root .aone .wz__pin{padding-block:80px!important}
}
@media (max-width:860px){
  :root .aone .hero__stage{padding-inline:8px;padding-bottom:8px}
  :root .aone .prod-track{--edge:16px}
  :root .aone #products,:root .aone #testimonials,:root .aone #contact{padding-block:64px}
  :root .aone .wz__pin{padding-block:64px!important}
}

/* ---------- Những mối lo quen thuộc · thẻ đang mở (Lucas chọn phương án B, 25/11) ----------
   Ảnh người là nhân vật chính ở trên; tiêu đề + lời hứa + nút đứng liền nhau ở dưới để đọc xong là bấm được.
   (nút: thêm .wz .wz__c để thắng rule nút chung :is(...) trong affina-buttons.css)
   Chữ nhấn (em) = đậm + dải focal; nút chính = dải focal như mọi nút chính; 2 ý ngắn là dòng có dấu tích, không phải chip. */
:root .aone .wz__h em{font-style:normal;font-weight:inherit;background:var(--ao-grad-accent);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#7a3ff0;padding-right:.04em}
:root .aone .wz__c.on .wz__body{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:16px;padding:clamp(24px,3.4vw,44px) clamp(24px,3.4vw,48px)}
:root .aone .wz__h,:root .aone .wz__panel{position:relative;left:auto;right:auto;top:auto;bottom:auto}
:root .aone .wz__h{max-width:min(620px,58%);font-size:44px;line-height:52px}
:root .aone .wz__panel{width:min(440px,46%);padding:0;background:none;box-shadow:none;border-radius:0}
/* thẻ trắng đã bỏ -> tắt hiệu ứng rê chuột BGM (loang hồng + nhô lên + bóng) vốn làm cho thẻ trắng, nếu không sẽ hiện thành ô hồng lơ lửng */
:root .aone .wz__panel.bgm > .bgm__mesh{display:none}
:root .aone .wz__panel.bgm,:root .aone .wz__panel.bgm:is(:hover,:focus-visible,:has(:focus-visible)){translate:none;box-shadow:none}
:root .aone .wz__panel p{margin:0 0 12px;font-size:18px;line-height:26px;font-weight:500;color:var(--ao-text-muted)}
:root .aone .wz__panel ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 20px}
:root .aone .wz__panel li{display:inline-flex;align-items:center;gap:6px;padding:0;border-radius:0;background:none;font-size:14px;line-height:20px;font-weight:600;color:var(--ao-text)}
:root .aone .wz__panel li::before{content:"";flex:none;width:16px;height:16px;background:var(--ao-grad-accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
html body:not(#_a):not(#_b) .aone .wz .wz__c .wz__cta{gap:8px;min-height:48px;padding:0 24px;background:var(--afb-focal);border-color:transparent;color:#fff;box-shadow:var(--afb-glow)}
html body:not(#_a):not(#_b) .aone .wz .wz__c .wz__cta:hover{background:var(--afb-focal);filter:brightness(1.07) saturate(1.05);box-shadow:0 10px 28px rgba(85,96,238,.45),0 6px 20px rgba(184,58,200,.38)}
html body:not(#_a):not(#_b) .aone .wz .wz__c .wz__cta::after{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
@media (max-width:900px){
  /* ảnh chiếm phần trên, mờ dần ở mép dưới vào nền sáng; chữ nằm trên nền sáng đó */
  :root .aone .wz__c.on{height:640px}
  :root .aone .wz__c.on::after{background:linear-gradient(180deg,rgba(248,246,255,0) 0%,rgba(248,246,255,0) 42%,rgba(248,246,255,.92) 64%,rgba(248,246,255,.98) 100%)}
  :root .aone .wz__img{top:0;bottom:auto;right:0;left:0;height:62%;width:100%!important;max-width:100%!important;object-position:50% 12%;
    -webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%)}
  :root .aone .wz__c.on .wz__body{padding:20px;gap:12px}
  :root .aone .wz__h{max-width:none;font-size:34px;line-height:40px}
  :root .aone .wz__panel{width:100%}
  :root .aone .wz__panel p{font-size:16px;line-height:24px;margin-bottom:10px}
  :root .aone .wz__panel ul{margin-bottom:16px}
  html body:not(#_a):not(#_b) .aone .wz .wz__c .wz__cta{display:flex;width:100%;justify-content:center}
}
