/* account.mora.vn — trang theo mẫu website mora.vn (chế độ Site, vd /dang-ky). Thông số đo trên mora.vn 15/11/2026:
   khung nội dung 90rem, lề clamp(1rem, 4vw, 4rem), chữ Plus Jakarta Sans 16/24, tiêu đề MORA Tech 800, màu chính #0077B2,
   chữ #1F2328, tiêu đề #0B1220, phụ #5B6470, viền #E5E7EB, bo góc 12px, đầu trang dính 68px + viền 1px, chân trang #0B1220. */
@font-face { font-family: "MORA Tech Site"; src: url("fonts/site-moratech-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MORA Tech Site"; src: url("fonts/site-moratech-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "MORA Tech Site"; src: url("fonts/site-moratech-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "MORA Tech Site"; src: url("fonts/site-moratech-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

body.site, body.site-shell {
  --s-primary: #0077b2; --s-primary-hover: #00669a; --s-primary-dark: #005681; --s-accent: #e6f2f8; --s-accent-line: #b9dcee;
  --s-ink: #0b1220; --s-text: #1f2328; --s-muted: #5b6470; --s-sub: #4a5361; --s-border: #e5e7eb; --s-card: #f6f8fa;
  --s-ok: #12805c; --s-radius: 12px; --s-header: 68px;
  --s-head: "MORA Tech Site", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  margin: 0; background: #fff; color: var(--s-text); font: 16px/24px "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
:where(.site) a { color: var(--s-primary); text-decoration: none; }
:where(.site) a:hover { text-decoration: underline; }
:where(.site) :is(h1, h2, h3) { font-family: var(--s-head); color: var(--s-ink); margin: 0; }
:where(.site) p { margin: 0; }
.site img { max-width: 100%; }
.site .skip { position: absolute; left: -9999px; }
.site .skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.site .ic { width: 20px; height: 20px; flex: none; }
/* Khung như .container của mora.vn: nội dung 90rem, lề clamp(1rem, 4vw, 4rem) nằm NGOÀI 90rem (max-width = 90rem + 2 × lề). */
.s-wrap { --s-le: clamp(1rem, 4vw, 4rem); width: 100%; max-width: calc(90rem + 2 * var(--s-le)); margin: 0 auto; padding-inline: var(--s-le); }

/* ---------------------------------------------------------------- nút */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--s-radius);
  font: 600 14px/1.2 "Plus Jakarta Sans", sans-serif; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s; }
.s-btn-primary { background: var(--s-primary); color: #fff !important; box-shadow: 0 1px 2px rgba(0, 86, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.s-btn-primary:hover { background: var(--s-primary-hover); }
.s-btn-outline { background: #fff; color: var(--s-ink) !important; border-color: #d0d5dd; }
.s-btn-outline:hover { border-color: var(--s-primary); color: var(--s-primary) !important; }
.s-btn-ghost { background: transparent; color: #3d444d !important; }
.s-btn-ghost:hover { background: var(--s-card); }
.s-btn-white { background: #fff; color: var(--s-ink) !important; }
.s-btn-white:hover { background: var(--s-accent); }
.s-btn-line { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.s-btn-line:hover { border-color: #fff; }
.s-btn-block { width: 100%; }
.s-btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.site :focus-visible { outline: 3px solid rgba(0, 119, 178, .45); outline-offset: 2px; }

/* ---------------------------------------------------------------- đầu trang */
.s-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--s-border); }
.s-header-in { height: var(--s-header); display: flex; align-items: center; gap: 16px; }
@media (min-width: 1280px) { .s-header-in { gap: 24px; } }
@media (min-width: 1536px) { .s-header-in { gap: 32px; } }
.s-logo img { height: 28px; width: auto; display: block; }
.s-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.s-nav > a, .s-menu > summary { color: #3d444d; font-size: 15px; font-weight: 500; line-height: 21px; padding: 8px 12px; border-radius: var(--s-radius); }
.s-nav > a:hover, .s-menu > summary:hover { background: var(--s-card); text-decoration: none; color: var(--s-ink); }
.s-menu { position: relative; }
.s-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.s-menu > summary::-webkit-details-marker { display: none; }
.s-menu-panel { position: absolute; top: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(2, 260px); gap: 8px 24px; padding: 20px;
  background: #fff; border: 1px solid var(--s-border); border-radius: 16px; box-shadow: 0 18px 48px rgba(11, 18, 32, .14); }
.s-menu-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 6px; }
.s-menu-panel a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--s-text); }
.s-menu-panel a:hover { background: var(--s-card); text-decoration: none; }
.s-menu-panel b { display: block; font-size: 14px; color: var(--s-ink); }
.s-menu-panel small { display: block; font-size: 12.5px; color: var(--s-muted); }
.s-actions { display: flex; align-items: center; gap: 8px; }
.s-phone { display: inline-flex; align-items: center; gap: 6px; color: #1f2328 !important; font-size: 15px; font-weight: 600; padding: 8px; }
.s-phone svg { color: var(--s-primary); flex: none; }
.s-actions .s-btn { min-height: 40px; }
.s-actions .s-btn-ghost { font-size: 15px; font-weight: 600; }
.s-actions .s-btn-primary { height: 40px; padding: 0 16px; font-size: 14px; font-weight: 600; border-radius: 12px; }
.s-burger { display: none; margin-left: auto; }
.s-burger > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--s-radius); color: var(--s-ink); }
.s-burger > summary::-webkit-details-marker { display: none; }
.s-burger-panel { position: absolute; left: 0; right: 0; top: var(--s-header); background: #fff; border-bottom: 1px solid var(--s-border);
  padding: 8px clamp(1rem, 4vw, 4rem) 16px; display: grid; box-shadow: 0 18px 32px rgba(11, 18, 32, .1); }
.s-burger-panel a { padding: 12px 4px; color: var(--s-ink); font-weight: 500; border-bottom: 1px solid var(--s-border); }

/* ---------------------------------------------------------------- mở đầu */
.s-hero { background: radial-gradient(1200px 420px at 50% -10%, #dcefff 0%, rgba(220, 239, 255, 0) 70%), linear-gradient(#f5faff, #fff);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--s-accent-line); color: var(--s-primary-dark); font-size: 13.5px; font-weight: 600; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-primary); box-shadow: 0 0 0 4px rgba(0, 119, 178, .15); }
.s-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.14; font-weight: 800; letter-spacing: -.008em; margin: 18px 0 14px; }
.s-lead { max-width: 760px; margin: 0 auto; color: var(--s-sub); font-size: clamp(16px, 1rem + .25vw, 18px); line-height: 1.6; }
.s-alert { max-width: 760px; margin: 20px auto 0; padding: 12px 16px; border-radius: var(--s-radius); background: #fef0c7; color: #7a4d00; }
.s-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 36px auto 0; text-align: left; }
.s-path { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--s-border);
  border-radius: 16px; color: var(--s-text); box-shadow: 0 1px 2px rgba(11, 18, 32, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.s-path:hover { text-decoration: none; border-color: var(--s-accent-line); box-shadow: 0 14px 34px rgba(0, 86, 129, .12); transform: translateY(-2px); }
.s-path[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.s-path-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--s-accent); color: var(--s-primary); grid-row: span 2; }
.s-path-org .s-path-ic { background: var(--s-primary); color: #fff; }
.s-path-t b { display: block; font-family: var(--s-head); font-size: 20px; font-weight: 700; color: var(--s-ink); }
.s-path-t small { display: block; color: var(--s-muted); font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.s-path-go { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--s-primary); font-weight: 600; font-size: 14.5px; margin-top: 8px; }
.s-hero-note { margin-top: 22px; color: var(--s-muted); font-size: 14px; }

/* ---------------------------------------------------------------- tiêu đề mục */
.s-h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.2; font-weight: 800; text-align: center; }
.s-sub { max-width: 720px; margin: 12px auto 0; text-align: center; color: var(--s-sub); font-size: 16.5px; line-height: 1.6; }
.s-left { text-align: left; margin-left: 0; }

/* ---------------------------------------------------------------- ứng dụng */
.s-apps { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--s-border); }
.s-app-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.s-app { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 10px; border: 1px solid var(--s-border);
  border-radius: var(--s-radius); background: #fff; color: var(--s-text); transition: border-color .15s, box-shadow .15s; }
.s-app:hover { text-decoration: none; border-color: var(--s-accent-line); box-shadow: 0 10px 24px rgba(0, 86, 129, .1); }
.s-app b { font-size: 14px; color: var(--s-ink); }
.s-app small { font-size: 12.5px; color: var(--s-muted); line-height: 1.4; }

/* ---------------------------------------------------------------- gói */
.s-plans { padding: clamp(56px, 7vw, 96px) 0; background: var(--s-card); }
.s-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: stretch; }
.s-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; background: #fff; border: 1px solid var(--s-border);
  border-radius: 16px; }
.s-plan.is-featured { border: 2px solid var(--s-primary); box-shadow: 0 22px 48px rgba(0, 86, 129, .16); }
.s-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--s-primary); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.s-plan h3 { font-size: 20px; font-weight: 700; }
.s-plan-for { color: var(--s-muted); font-size: 14px; line-height: 1.5; min-height: 42px; }
.s-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.s-price b { font-family: var(--s-head); font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--s-ink); letter-spacing: -.01em; }
.s-price small { color: var(--s-muted); font-size: 14px; }
.s-plan-lead { font-size: 13.5px; font-weight: 700; color: var(--s-ink); padding-top: 4px; border-top: 1px solid var(--s-border); margin-top: 4px; padding-top: 16px; }
.s-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-plan > .s-btn + .s-ticks { border-top: 1px solid var(--s-border); padding-top: 16px; }
.s-ticks li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.s-ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--s-ok); }
.s-plan-note { color: var(--s-muted); font-size: 13px; line-height: 1.5; margin-top: auto; padding-top: 8px; }
/* chọn dung lượng (chỉ CSS) */
.s-tier > input { position: absolute; opacity: 0; pointer-events: none; }
.s-tier-pick { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--s-card); border: 1px solid var(--s-border); margin-bottom: 10px; }
.s-tier-pick label { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--s-muted); cursor: pointer; }
.s-tier [class^="s-price-"] { display: none; }
#nc500:checked ~ .s-tier-pick label[for="nc500"], #nc2t:checked ~ .s-tier-pick label[for="nc2t"], #nc5t:checked ~ .s-tier-pick label[for="nc5t"] {
  background: #fff; color: var(--s-primary-dark); box-shadow: 0 1px 2px rgba(11, 18, 32, .12); }
#nc500:checked ~ .s-price .s-price-nc500, #nc2t:checked ~ .s-price .s-price-nc2t, #nc5t:checked ~ .s-price .s-price-nc5t { display: inline; }
#nc500:focus-visible ~ .s-tier-pick label[for="nc500"], #nc2t:focus-visible ~ .s-tier-pick label[for="nc2t"], #nc5t:focus-visible ~ .s-tier-pick label[for="nc5t"] {
  outline: 3px solid rgba(0, 119, 178, .45); }
.s-selfhost { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; margin-top: 20px; padding: 24px 28px;
  background: #fff; border: 1px dashed #c3ccd8; border-radius: 16px; }
.s-selfhost h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.s-selfhost p { color: var(--s-sub); font-size: 14.5px; line-height: 1.55; }

/* ---------------------------------------------------------------- bảng so sánh */
.s-compare { padding: clamp(56px, 7vw, 96px) 0; }
.s-swipe { display: none; }
.s-table-wrap { margin-top: 36px; }
.s-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; table-layout: fixed; }
.s-table th, .s-table td { padding: 14px 16px; border-bottom: 1px solid var(--s-border); text-align: center; vertical-align: middle; }
.s-table thead th { position: sticky; top: var(--s-header); z-index: 5; background: #fff; vertical-align: bottom; padding-top: 18px;
  border-bottom: 2px solid var(--s-ink); }
.s-th-feature { width: 28%; text-align: left !important; font-family: var(--s-head); font-size: 18px; color: var(--s-ink); }
.s-table thead th:not(.s-th-feature) { width: 14.4%; }
.s-th-name { display: block; font-family: var(--s-head); font-size: 16px; font-weight: 700; color: var(--s-ink); line-height: 1.3; }
.s-th-price { display: block; margin: 4px 0 10px; font-weight: 700; color: var(--s-ink); }
.s-th-price small { font-weight: 500; color: var(--s-muted); font-size: 12.5px; }
.s-table .is-featured { background: #f2f9fd; }
.s-table thead th.is-featured { background: #eaf5fb; border-top: 3px solid var(--s-primary); }
.s-group th { text-align: left; background: var(--s-card) !important; font-family: var(--s-head); font-size: 15px; font-weight: 700; color: var(--s-ink);
  padding: 12px 16px; }
.s-group th a { color: var(--s-ink); }
.s-group th a::after { content: " ›"; color: var(--s-primary); }
.s-table tbody th[scope="row"] { text-align: left; font-weight: 600; color: var(--s-ink); }
.s-table tbody th[scope="row"] a { color: var(--s-ink); text-decoration: underline; text-decoration-color: #c9d3de; text-underline-offset: 3px; }
.s-table tbody th[scope="row"] a:hover { color: var(--s-primary); text-decoration-color: var(--s-primary); }
.s-table tbody th small { display: block; font-weight: 400; color: var(--s-muted); font-size: 13px; line-height: 1.45; margin-top: 3px; }
.s-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3f5ec; color: var(--s-ok); vertical-align: middle; }
.s-yes .ic { width: 16px; height: 16px; }
.s-no { color: #a8b0bb; font-size: 18px; }
.s-val { color: var(--s-text); font-weight: 500; line-height: 1.45; }
.s-yes + .s-val { display: block; margin-top: 4px; font-size: 13px; color: var(--s-muted); }

/* ---------------------------------------------------------------- cách tính phí, hỏi đáp, kêu gọi */
.s-rules { padding: clamp(48px, 6vw, 80px) 0; background: var(--s-card); }
.s-rules-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.s-rule-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-rule { background: #fff; border: 1px solid var(--s-border); border-radius: 16px; padding: 22px; }
.s-rule > b { display: block; font-family: var(--s-head); font-size: 17px; color: var(--s-ink); margin-bottom: 8px; }
.s-rule p { color: var(--s-sub); font-size: 14.5px; line-height: 1.6; }
.s-faq { padding: clamp(56px, 7vw, 96px) 0; }
.s-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.s-faq-list details { border-bottom: 1px solid var(--s-border); }
.s-faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 16.5px; color: var(--s-ink); }
.s-faq-list summary::-webkit-details-marker { display: none; }
.s-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--s-primary); font-weight: 400; }
.s-faq-list details[open] summary::after { content: "–"; }
.s-faq-list details p { padding: 0 40px 20px 0; color: var(--s-sub); line-height: 1.65; }
.s-cta { padding: 0 0 clamp(56px, 7vw, 96px); }
.s-cta-in { text-align: center; color: #fff; padding-block: clamp(40px, 5vw, 64px); border-radius: 24px;
  background: radial-gradient(800px 300px at 80% 0%, rgba(0, 119, 178, .55), rgba(0, 119, 178, 0) 70%), linear-gradient(135deg, #0b1220, #12223d); }
.s-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 800; }
.s-cta p { max-width: 640px; margin: 12px auto 0; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.s-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.s-cta-in { padding-inline: clamp(20px, 4vw, 48px); }

/* ---------------------------------------------------------------- chân trang */
.s-footer { background: #0b1220; color: rgba(255, 255, 255, .7); font-size: 14px; padding-top: 56px; }
.s-footer-grid { display: grid; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: 32px; }
.s-footer-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.s-footer-brand p { line-height: 1.6; margin-bottom: 12px; }
.s-footer a { color: rgba(255, 255, 255, .78); }
.s-footer a:hover { color: #fff; }
.s-footer nav { display: flex; flex-direction: column; gap: 10px; }
.s-footer-h { color: #fff; font-weight: 700; margin-bottom: 4px; }
.s-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-block: 20px; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.s-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------------------------------------------------------------- màn hình hẹp */
@media (max-width: 1279px) {
  .s-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-app-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .s-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-footer-brand { grid-column: 1 / -1; }
  .s-rules-grid, .s-faq-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1100px) {
  .s-nav, .s-phone { display: none; }
  .s-burger { display: block; }
  .s-actions { margin-left: auto; }
  .s-burger { margin-left: 0; }
}
@media (max-width: 860px) {
  .s-selfhost { grid-template-columns: 1fr; gap: 14px; }
  .s-rule-cards { grid-template-columns: 1fr; }
  .s-th-feature { width: 24%; }
}
/* Bảng so sánh trên điện thoại và máy tính bảng dọc: mỗi tính năng một khối, giá trị từng gói xếp bên dưới (không cuộn ngang). */
@media (max-width: 860px) {
  .s-table, .s-table tbody, .s-table tr, .s-table th, .s-table td { display: block; width: 100%; }
  .s-table thead { display: none; }
  .s-table { table-layout: auto; }
  .s-group th { margin-top: 18px; border-radius: 10px; }
  .s-table tbody tr:not(.s-group) { padding: 12px 0; border-bottom: 1px solid var(--s-border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .s-table tbody tr:not(.s-group) > th { grid-column: 1 / -1; border: 0; padding: 0 0 4px; }
  .s-table tbody td { border: 0; padding: 8px 10px; text-align: left; background: var(--s-card); border-radius: 10px; display: flex; flex-wrap: wrap;
    align-items: center; gap: 4px 8px; }
  .s-table tbody td::before { content: attr(data-plan); flex-basis: 100%; font-size: 12px; font-weight: 600; color: var(--s-muted); }
  .s-table tbody td.is-featured { background: #eaf5fb; }
  .s-yes + .s-val { display: inline; margin: 0; }
}
@media (max-width: 640px) {
  .s-header-in { gap: 12px; }
  .s-actions .s-btn-ghost { display: none; }
  .s-paths { grid-template-columns: 1fr; }
  .s-plan-grid { grid-template-columns: 1fr; }
  .s-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .s-app small { display: none; }
  .s-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-plan-for { min-height: 0; }
}
@media (max-width: 359px) {
  .s-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-table tbody td { padding: 6px 8px; }
}
@media (min-width: 1680px) {
  .s-plan h3 { font-size: 22px; }
  .s-price b { font-size: 38px; }
}

/* ---------------------------------------------------------------- trang mua /mua */
.s-hero-sm { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.s-tabs { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--s-border); }
.s-tabs a { padding: 10px 22px; border-radius: 999px; color: var(--s-sub); font-weight: 600; }
.s-tabs a:hover { text-decoration: none; color: var(--s-ink); }
.s-tabs a[aria-current="page"] { background: var(--s-primary); color: #fff; }
.s-plan-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.s-alert-info { background: var(--s-accent); color: var(--s-ink); }
.s-center { text-align: center; margin-top: 28px; }
@media (max-width: 640px) {
  .s-plan-grid-2 { grid-template-columns: 1fr; }
  .s-tabs a { padding: 9px 16px; }
}
/* Thẻ gói Doanh nghiệp: tên dài xuống dòng khác nhau, giữ giá thẳng hàng */
@media (min-width: 641px) {
  .s-plan-grid-dn h3 { min-height: 2.6em; }
  .s-plan-grid-dn .s-plan-for { min-height: 3.2em; }
}

/* ---------------------------------------------------------------- khung mora.vn cho trang công khai kiểu app (site-shell) */
body.site-shell { background: #f6f8fa; }
.site-shell .s-header a, .site-shell .s-footer a { text-decoration: none; }
.site-shell .s-header :is(h1, h2, h3, p), .site-shell .s-footer :is(h1, h2, h3, p) { margin: 0; }
.site-shell .s-footer { margin-top: auto; }
.site-shell main { flex: 1 0 auto; }
.site-shell .page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }

/* Đăng ký: máy tính rộng chia hai cột — biểu mẫu và thông tin bên phải; điện thoại, máy tính bảng: một cột, thông tin xuống dưới. */
.s-signup { --s-accent: #e6f2f8; --s-border: #e5e7eb; --s-ink: #0b1220; --s-text: #1f2328; --s-sub: #4a5361; --s-ok: #12805c; --s-header: 68px;
  --s-head: "MORA Tech Site", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; }
.s-signup { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 400px); gap: 48px; justify-content: center; align-items: start; }
.s-signup-main { min-width: 0; }
.s-aside { position: sticky; top: calc(var(--s-header) + 24px); display: grid; gap: 20px; padding: 28px; border-radius: 16px; background: #fff;
  border: 1px solid var(--s-border); box-shadow: 0 1px 2px rgba(11, 18, 32, .04); }
.s-aside h2 { font-family: var(--s-head); font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--s-ink); margin: 0; }
.s-aside p { margin: 0; color: var(--s-sub); font-size: 14.5px; line-height: 1.55; }
.s-aside-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-aside-apps a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; color: var(--s-ink);
  font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; }
.s-aside-apps a:hover { background: var(--s-accent); }
.s-aside-apps img { width: 36px; height: 36px; }
.s-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--s-text); }
.s-aside li .ic { color: var(--s-ok); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.s-aside-price { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--s-accent); }
.s-aside-price b { font-family: var(--s-head); font-size: 22px; color: var(--s-ink); }
.s-aside-price span { font-size: 13.5px; color: var(--s-sub); }
.s-aside-help { font-size: 14px; color: var(--s-sub); border-top: 1px solid var(--s-border); padding-top: 16px; }
@media (max-width: 1099px) {
  .s-signup { grid-template-columns: minmax(0, 640px); }
  .s-aside { position: static; }
}
.entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.entry-steps { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid #e5e7eb; display: grid; gap: 14px; }
.entry-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.entry-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6f2f8; color: #005681;
  font-weight: 700; font-size: 14px; }
.s-aside-k { font-size: 13px !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #005681 !important; }
/* Mua tên miền mới khi tạo tổ chức */
.tm-search { display: flex; gap: 8px; }
.tm-search input { flex: 1; min-width: 0; }
.tm-search .btn { flex: none; }
.tm-hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tm-hits:empty { display: none; }
.tm-hits li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 16px; padding: 12px 14px;
  border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
@media (max-width: 560px) { .tm-hits li { grid-template-columns: minmax(0, 1fr) auto; } .tm-price { grid-column: 1 / -1; grid-row: 2; } }
.tm-hits li.is-taken { background: #f6f8fa; color: #5b6470; }
.tm-hits li.is-picked { border-color: #0077b2; box-shadow: 0 0 0 3px rgba(0, 119, 178, .12); }
.tm-name { display: flex; flex-direction: column; min-width: 0; }
.tm-name strong { font-size: 15px; word-break: break-all; }
.tm-state { font-size: 13px; }
.is-free .tm-state { color: #12805c; font-weight: 600; }
.tm-price { font-size: 13.5px; color: #1f2328; }
/* Xem trước địa chỉ và hộp thư của tổ chức: gọn, hai ô cạnh nhau khi đủ rộng (anh Huy 15/11) */
.preview { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; padding: 10px 12px; }
.preview-row { flex: 1 1 200px; gap: 10px; }
.preview-row .sq { width: 28px; height: 28px; border-radius: 8px; }
.preview-row .sq .ic { width: 15px; height: 15px; }
.preview-k { font-size: 12px; line-height: 1.3; }
.preview-row strong { font-size: 14px; line-height: 1.35; }
/* Tên miền đã có chủ: WHOIS và gợi ý tên còn trống */
.tm-hits li.is-taken { grid-template-columns: minmax(0, 1fr) auto; }
.is-taken .tm-state { color: #b42318; font-weight: 600; }
.tm-ideas { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: #f5f3ff; border: 1px solid #e4dcff; }
.tm-ideas[hidden] { display: none; }
.tm-ideas-h { margin: 0; font-weight: 700; font-size: 14px; color: #3b2a7a; }
.tm-whois { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px;
  box-shadow: 0 24px 64px rgba(11, 18, 32, .28); font: 15px/1.55 "Plus Jakarta Sans", Arial, sans-serif; color: #1f2328; }
.tm-whois::backdrop { background: rgba(11, 18, 32, .45); }
.tm-whois-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.tm-whois-head h2 { margin: 0; font-size: 19px; line-height: 1.35; color: #0b1220; overflow-wrap: anywhere; }
.tm-whois-x { border: 0; background: #f2f4f7; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.tm-whois-body { padding: 14px 22px 22px; display: grid; gap: 14px; }
.tm-whois-lead { margin: 0; }
.tm-whois-kv { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; padding: 14px 16px; border-radius: 12px; background: #f6f8fa; }
.tm-whois-kv dt { color: #5b6470; font-size: 14px; }
.tm-whois-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .tm-whois-kv { grid-template-columns: 1fr; gap: 2px; } .tm-whois-kv dd { margin-bottom: 8px; } }
/* Trang mua: nút Mua theo mức dung lượng đang chọn, lối dùng thử phụ */
.s-tier .s-buy { display: none; margin-top: 4px; }
#nc500:checked ~ .s-buy-nc500, #nc2t:checked ~ .s-buy-nc2t, #nc5t:checked ~ .s-buy-nc5t { display: flex; }
.s-trial { display: block; text-align: center; font-size: 14px; font-weight: 600; margin-top: -4px; }
/* Thẻ tiết kiệm băng thông Mesh (/cloud) */
.mesh-save { display: grid; gap: 10px; margin: 6px 0 14px; }
.mesh-big { margin: 0; font-size: 18px; line-height: 1.4; color: #0b1220; }
.mesh-big strong { font-size: 26px; color: #0077b2; }
.mesh-start { font-size: 16px; padding: 12px 14px; border-radius: 10px; background: #e6f2f8; }
.mesh-chart { margin: 4px 0 0; }
.mesh-chart svg { display: block; width: 100%; height: 150px; }
.mesh-bar rect.hit { fill: transparent; }
.mesh-bar rect.srv { fill: #d0d5dd; }
.mesh-bar rect.peer { fill: #0077b2; }
.mesh-bar { cursor: pointer; outline: none; }
.mesh-bar:hover rect.peer, .mesh-bar.is-on rect.peer, .mesh-bar:focus rect.peer { fill: #005681; }
.mesh-bar:hover rect.srv, .mesh-bar.is-on rect.srv, .mesh-bar:focus rect.srv { fill: #98a2b3; }
.mesh-bar:hover rect.hit, .mesh-bar.is-on rect.hit { fill: rgba(0, 119, 178, .06); }
.mesh-axis { display: flex; justify-content: space-between; font-size: 12px; color: #5b6470; margin-top: 4px; }
.mesh-chart figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 13px; color: #4a5361; margin-top: 8px; }
.mesh-key { display: inline-flex; align-items: center; gap: 6px; }
.mesh-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.mesh-key .k-peer { background: #0077b2; }
.mesh-key .k-srv { background: #d0d5dd; }
.mesh-tip { flex: 1 1 100%; font-weight: 600; color: #1f2328; }

/* Màn hẹp như mora.vn: đầu trang chỉ còn logo và nút menu; Đăng nhập/Đăng ký (Tài khoản) nằm trong menu (16/11). */
.s-burger-panel a.s-burger-cta { margin-top: 10px; border: 0; border-radius: 12px; background: var(--s-primary); color: #fff; text-align: center; font-weight: 600; }
@media (min-width: 768px) { .s-burger-panel a.s-burger-cta { display: none; } }
@media (max-width: 767px) {
  .s-actions:not(.has-user) { display: none; }
  .s-burger { margin-left: auto; }
  .s-actions.has-user .uname { display: none; }
}
/* Liên kết trong đoạn chữ ở chân trang: có gạch chân, không chỉ phân biệt bằng màu (trợ năng). */
.s-footer-brand p a { text-decoration: underline !important; text-underline-offset: 2px; }

/* Đầu trang mora.vn trên các trang sau khi đăng nhập (16/11, anh Huy: có đầu trang thì phải giống mora.vn 100%): menu tài khoản ở
   bên phải; thanh bên quản trị dính ngay dưới đầu trang (68px + viền). */
.s-actions .usermenu summary { color: #1f2328; font-size: 15px; font-weight: 600; }
.s-actions .usermenu .menu { z-index: 60; }
@media (min-width: 960px) { .has-console .console-nav { top: 69px; height: calc(100vh - 69px); } }
@media print { .s-header, .s-footer { display: none !important; } }
