/* Tuvadu — tuvadu.com. Literata (SIL Open Font License), tự host. */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/literata-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: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/literata-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/literata-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; }

:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #202020;
  --ink: #efefef;
  --muted: #a6a6a6;
  --accent: #2a5fe8;        /* xanh của biểu tượng chữ T */
  --accent-hover: #1f4fcc;
  --accent-ink: #ffffff;
  --accent-text: #8fb0ff;   /* chữ xanh trên nền đen */
  --paper: #efefef;
  --paper-2: #e2e2e2;
  --paper-ink: #0a0a0a;
  --paper-muted: #4a4a4a;
  --warn: #f2b84b;

  --font: "Literata", Georgia, "Times New Roman", serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 6.2vw, 7rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.6;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--margin); max-width: 1600px; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* Nút: chữ nhật, một màu */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500;
  font-size: 1rem; border: 0; cursor: pointer; font-family: inherit;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { background: #2c2c2c; }
.link { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .2s; }
.link:hover { color: var(--accent-text); }

/* Đầu trang */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); list-style: none; padding: 0; }
.nav ul a { text-decoration: none; font-size: 1rem; transition: color .2s; }
.nav ul a:hover { color: var(--accent-text); }
.nav .btn { min-height: 42px; padding: 0 18px; }

/* Masthead */
.masthead { position: relative; height: clamp(260px, 38vh, 440px); overflow: hidden; background: var(--surface); }
.masthead .view { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.masthead .view.is-on { opacity: 1; }
.masthead .view:first-child { opacity: 1; }
.masthead.js .view:first-child:not(.is-on) { opacity: 0; }
.masthead .label { position: absolute; right: 16px; top: 10px; font-size: var(--step-small); color: var(--muted); background: var(--bg); padding: 4px 10px; }

.hero { padding-block: clamp(32px, 3.4vw, 56px) var(--section); }
.hero .grid { align-items: start; row-gap: 40px; }
.hero-side { grid-row: 1; grid-column: 1 / 6; padding-top: .6em; display: grid; gap: 28px; }
.hero-side p { color: var(--muted); font-size: 1rem; max-width: 34ch; }
.hero-side p strong { color: var(--ink); font-weight: 600; }
.entity { display: none; margin-top: 28px; font-size: 1rem; color: var(--muted); max-width: 52ch; }
.entity strong { color: var(--ink); font-weight: 600; }
.hero-main { grid-row: 1; grid-column: 6 / 13; }
.hero h1 { font-size: clamp(2.75rem, 1rem + 5.4vw, 6.25rem); line-height: 1.0; }
.standfirst { margin-top: 28px; font-size: var(--step-lead); line-height: 1.45; max-width: 36ch; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.next a { display: block; text-decoration: none; background: var(--surface); transition: background-color .2s, transform .25s var(--ease); }
.next a:hover { background: var(--surface-2); transform: translateY(-2px); }
.next .crop { height: 96px; overflow: hidden; position: relative; }
.next .crop td { padding-block: 13px; height: 48px; box-sizing: border-box; }
.next .cap { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--paper); color: var(--paper-ink); font-size: 1rem; }

/* Mảnh giao diện CRM */
[data-ui] { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; line-height: 1.4; }
.ui { background: #121418; color: #e8eaee; font-size: 14px; }
.ui-top { display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: #181b21; color: #b9bfca; font-size: 13px; }
.ui-top b { color: #fff; font-weight: 600; font-size: 14px; }
.ui-top .tabs { display: flex; gap: 14px; }
.ui-top .tabs span[aria-current] { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.ui table { width: 100%; border-collapse: collapse; }
.ui th { text-align: left; font-weight: 500; color: #9aa1ad; font-size: 12.5px; padding: 10px 20px; border-bottom: 1px solid #262a32; white-space: nowrap; }
.ui td { padding: 12px 20px; border-bottom: 1px solid #22262d; white-space: nowrap; }
.ui td small { display: block; color: #9aa1ad; font-size: 12.5px; }
.ui .num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; background: #262b35; color: #cfd5df; }
.pill.new { background: #1d3270; color: #cddcff; }
.pill.late { background: #4a3410; color: #ffd690; }
.pill.done { background: #173d2a; color: #b4ecc9; }
.pill.ok { background: #213a5e; color: #c8dcff; }
.ui tr.hot td { background: #1a1f2a; }

/* Tính năng: bảng chi tiết lead với chú thích hai bên */
.plate { padding-block: var(--section) 0; }
.plate .grid { position: relative; }
.plate h2 { grid-column: 1 / 5; text-align: right; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); }
.plate .panel-col { grid-column: 5 / 9; grid-row: 1 / 3; display: flex; justify-content: center; }
.notes { list-style: none; padding: 0; display: grid; gap: 0; position: relative; }
.notes.left { grid-column: 1 / 5; text-align: right; }
.notes.right { grid-column: 9 / 13; }
.notes li { position: absolute; width: 100%; max-width: 30ch; }
.notes.left li { right: 0; }
.notes button { all: unset; cursor: pointer; display: block; }
.notes .n-name { font-size: 1.125rem; font-weight: 500; display: block; transition: color .2s; }
.notes .n-text { display: block; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.notes button:hover .n-name, .notes button:focus-visible .n-name, .notes button[aria-pressed="true"] .n-name { color: var(--accent-text); }
.notes button:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }

.lead { width: 384px; background: #0a0a0a; color: #e8eaee; font-size: 14px; display: grid; gap: 2px; }
.lead > div { position: relative; padding: 16px 20px; background: #121418; transition: background-color .25s; }
.lead > div.is-lit { background: #1c2a4a; }
.lead h3 { font-family: inherit; letter-spacing: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.lead .k { color: #9aa1ad; font-size: 12.5px; display: block; margin-bottom: 4px; }
.lead .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lead .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lead .chip { padding: 3px 9px; border-radius: 999px; font-size: 12.5px; background: #22262d; color: #c3c9d3; }
.lead .chip.on { background: var(--accent); color: #fff; }
.lead ol { list-style: none; padding: 0; display: grid; gap: 8px; }
.lead ol li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 13px; }
.lead ol time { color: #9aa1ad; font-variant-numeric: tabular-nums; }
.lead .mini { background: #22262d; border-radius: 6px; padding: 6px 10px; font-size: 13px; color: #c3c9d3; }

/* Tốc độ phản hồi: thanh giai đoạn */
.stages { padding-top: var(--section); }
.stages h2 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 6.5rem); max-width: 14ch; }
.bar-diagram { list-style: none; padding: 0; margin: 64px 0 0; display: flex; gap: 6px; height: 22vh; min-height: 170px; max-height: 240px; }
.seg { flex: 1 1 0; min-width: 12%; padding: 20px; font-size: 1rem; }
.seg .dur { font-family: var(--font); font-size: clamp(1.125rem, 0.8rem + 1vw, 1.75rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.seg:nth-child(1) { flex-grow: 1.2; background: var(--paper); color: var(--paper-ink); }
.seg:nth-child(2) { flex-grow: 1.2; background: #c9d6f7; color: var(--paper-ink); }
.seg:nth-child(3) { flex-grow: 4; background: var(--accent); color: #fff; }
.seg:nth-child(4) { flex-grow: 2.2; background: var(--warn); color: var(--paper-ink); }
.bar-notes { display: flex; gap: 6px; margin-top: 16px; list-style: none; padding: 0; }
.bar-notes li { flex: 1 1 0; min-width: 12%; font-size: 1.0625rem; line-height: 1.45; padding-right: 16px; }
.bar-notes li:nth-child(1), .bar-notes li:nth-child(2) { flex-grow: 1.2; }
.bar-notes li:nth-child(3) { flex-grow: 4; }
.bar-notes li:nth-child(4) { flex-grow: 2.2; }
.bar-notes li p { max-width: 26ch; }

/* Công cụ tính Hạn phản hồi */
.calc { margin-top: clamp(80px, 9vw, 140px); }
.calc .grid { row-gap: 32px; }
.calc-side { grid-column: 1 / 6; }
.calc-side h3 { font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.25rem); }
.calc-side p { margin-top: 20px; max-width: 40ch; }
.calc-side p.note { color: var(--muted); font-size: var(--step-small); }
.calc-tool { grid-column: 6 / 13; background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.calc-tool form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; font-size: 0.9375rem; color: var(--muted); margin-bottom: 8px; }
.field select, .field input {
  width: 100%; min-height: 48px; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--bg); border: 1px solid #3a3a3a; padding: 0 12px; border-radius: 0;
}
.field select:focus-visible, .field input:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 0; }
.result { margin-top: 32px; }
.result .big { font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.result p { margin-top: 12px; max-width: 52ch; }
.result .why { color: var(--muted); font-size: 1rem; }

/* Hội thoại: một hàng, ba trạng thái */
.convo { padding-top: var(--section); }
.convo .grid { row-gap: 56px; }
.convo h2 { grid-column: 4 / 10; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); }
.state { display: contents; }
.state-word { grid-column: 1 / 4; text-align: right; font-size: 1.375rem; color: var(--muted); padding-top: 14px; }
.state .msg-wrap { grid-column: 4 / 10; }
.convo-aside { grid-column: 10 / 13; grid-row: 2 / 5; align-self: start; padding-top: 14px; }
.convo-aside p { font-size: 1rem; line-height: 1.55; }
.convo-aside p + p { margin-top: 16px; color: var(--muted); }
.msg { width: 100%; max-width: 640px; background: #121418; color: #e8eaee; font-size: 14px; }
.msg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #2b3550; color: #cddcff; display: grid; place-items: center; font-weight: 600; flex: none; }
.msg-head .who { flex: 1; min-width: 0; }
.msg-head .who b { display: block; font-weight: 600; }
.msg-head .who span { color: #9aa1ad; font-size: 12.5px; }
.msg-head time { color: #9aa1ad; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.bubbles { padding: 0 18px 16px 66px; display: grid; gap: 8px; }
.bubble { max-width: 82%; padding: 8px 12px; border-radius: 14px; background: #22262d; justify-self: start; }
.bubble.out { background: var(--accent); color: #fff; justify-self: end; }
.reply { display: flex; gap: 8px; padding: 0 18px 16px 66px; }
.reply .input { flex: 1; min-height: 40px; border: 1px solid #343a44; /* taste-skill-ignore: ô nhập */ border-radius: 8px; padding: 9px 12px; color: #e8eaee; background: #0f1115; }
.reply button { font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; transition: background-color .2s, transform .15s; }
.reply button:hover { background: var(--accent-hover); }
.reply button:active { transform: scale(.97); }
.msg .msg-foot { padding: 0 18px 14px 66px; color: #9aa1ad; font-size: 12.5px; }

/* Tổng quan theo sale: trang màu giấy */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .link:hover { color: var(--accent); }
.overview { margin-top: var(--section); padding-block: var(--section); }
.overview .grid { row-gap: 40px; }
.overview-side { grid-column: 1 / 6; }
.overview-side p { color: var(--paper-muted); font-size: 1rem; max-width: 34ch; }
.overview-main { grid-column: 6 / 13; }
.overview h2 { font-size: var(--step-head); max-width: 14ch; }
.overview-main > p { margin-top: 24px; font-size: var(--step-lead); line-height: 1.45; max-width: 38ch; }
.overview-table { grid-column: 1 / 13; margin-top: 24px; overflow-x: auto; }
.overview-table .ui td, .overview-table .ui th { padding-block: 16px; }
.overview-table .ui { font-size: 15px; }
.overview-table caption { caption-side: bottom; text-align: left; padding: 12px 20px; color: #9aa1ad; font-size: 13px; background: #121418; }
.overview-table tfoot td { font-weight: 600; border-bottom: 0; background: #181b21; }

/* Dữ liệu Facebook: trang chữ */
.data { padding-top: var(--section); }
.data .grid { row-gap: 32px; }
.data-side { grid-column: 1 / 6; display: grid; gap: 20px; align-content: start; padding-top: 10px; }
.data-side p { font-size: 1rem; max-width: 30ch; }
.data-side p b { display: block; font-weight: 600; font-size: 1.125rem; }
.data-side p span { color: var(--muted); }
.data-main { grid-column: 6 / 13; }
.data h2 { font-size: var(--step-head); max-width: 16ch; }
.cols { margin-top: 40px; columns: 2 34ch; column-gap: var(--gap); }
.cols p { break-inside: avoid; margin-bottom: 1.1em; }
.roles { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.roles div { padding: 18px 18px 0 0; }
.roles dt { font-weight: 600; font-size: 1.125rem; }
.roles dd { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }

/* Công ty */
.company { margin-top: var(--section); padding-block: clamp(96px, 10vw, 150px); }
.company .grid { row-gap: 40px; }
.company h2 { grid-column: 1 / 13; font-size: var(--step-head); }
.facts { grid-column: 1 / 4; display: grid; gap: 22px; align-content: start; }
.facts dt { font-size: var(--step-small); color: var(--paper-muted); }
.facts dd { font-size: 1rem; line-height: 1.45; }
.company-text { grid-column: 4 / 13; }
.company-text p { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.01em; }
.company-text p + p { margin-top: 1em; color: var(--paper-muted); }
.company-text .dropcap { float: left; width: 3.6em; height: 3.6em; margin: 0.18em 0.5em 0 0; }
.company-text .dropcap img { width: 100%; height: 100%; }
.company-text strong { font-weight: 600; }

/* Liên hệ */
.contact { padding-block: var(--section) clamp(96px, 9vw, 140px); }
.contact .grid { row-gap: 32px; align-items: start; }
.contact h2 { grid-column: 1 / 6; font-size: var(--step-head); }
.contact .say { grid-column: 1 / 7; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.3; max-width: 30ch; }
.contact .reach { grid-column: 8 / 13; grid-row: 1 / 3; display: grid; gap: 14px; align-content: start; }
.contact .reach h3 { font-size: 1.25rem; font-weight: 500; }
.contact .reach a { font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); }
.contact .reach p { color: var(--muted); font-size: 1rem; margin-top: 6px; }

/* Chân trang */
.foot { background: var(--paper); color: var(--paper-ink); padding-block: clamp(64px, 7vw, 110px) 32px; }
.foot .name { display: flex; align-items: center; gap: .18em; font-size: clamp(4.5rem, 2rem + 13vw, 15rem); font-weight: 600; letter-spacing: -0.045em; line-height: .9; }
.foot .name img { width: .78em; height: .78em; }
.foot .grid { margin-top: 72px; row-gap: 40px; }
.places { grid-column: 1 / 6; list-style: none; padding: 0; display: grid; gap: 10px; }
.places a, .places span { font-size: clamp(1.375rem, 1rem + 1.2vw, 2.125rem); color: var(--accent); text-decoration: none; line-height: 1.2; letter-spacing: -0.01em; }
.places a:hover { text-decoration: underline; text-underline-offset: .15em; }
.places .addr { color: var(--paper-ink); font-size: 1.125rem; letter-spacing: 0; line-height: 1.45; max-width: 32ch; }
.foot-links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.foot-links h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.foot-links ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.foot-links a { font-size: 0.9375rem; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: .2em; color: var(--accent); }
.legal { margin-top: 96px; display: flex; justify-content: space-between; gap: 24px; align-items: end; font-size: var(--step-small); color: var(--paper-muted); }
.legal p { max-width: 90ch; }
.legal strong { color: var(--paper-ink); font-weight: 600; }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; padding-block: 96px; }
.lost h1 { font-size: var(--step-display); max-width: 12ch; }
.lost p { margin-top: 24px; font-size: var(--step-lead); max-width: 36ch; }

/* Chuyển động */
.rise { opacity: 0; transform: translateY(24px); }
.rise.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.no-js .rise { opacity: 1; transform: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-3%); } }
.masthead .view .ui { animation: drift 24s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
  .masthead .view, .rise.in { transition: none; }
  .masthead .view .ui { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Máy tính bảng */
@media (max-width: 1100px) {
  .plate h2 { grid-column: 1 / 13; text-align: left; }
  .plate .panel-col { grid-column: 1 / 13; grid-row: auto; justify-content: flex-start; }
  .notes.left, .notes.right { grid-column: 1 / 13; text-align: left; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .notes li { position: static; max-width: none; }
  .plate .grid { row-gap: 0; }
  .plate .panel-col { margin-top: 32px; }
  .convo-aside { grid-column: 4 / 13; grid-row: auto; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-table .ui td, .overview-table .ui th { padding-inline: 12px; }
}

/* Điện thoại */
@media (max-width: 760px) {
  .nav ul { display: none; }
  .bar .wrap { min-height: 64px; }
  .masthead { height: 30svh; min-height: 220px; }
  .masthead th:nth-child(n+3), .masthead td:nth-child(n+3) { display: none; }
  .hero-side .side-note { display: none; }
  .entity { display: block; }
  .hero-side, .hero-main, .calc-side, .calc-tool, .overview-side, .overview-main, .data-side, .data-main,
  .facts, .company-text, .contact h2, .contact .say, .contact .reach, .places, .foot-links,
  .convo h2, .state-word, .state .msg-wrap, .convo-aside { grid-column: 1 / 13; grid-row: auto; }
  .hero-main { order: -1; }
  .hero h1 { font-size: 10.4vw; }
  .overview-table th:nth-child(n+5), .overview-table td:nth-child(n+5) { display: none; }
  .overview-table .ui td, .overview-table .ui th { padding-inline: 12px; white-space: normal; }
  .next { max-width: none; }
  .notes.left, .notes.right { grid-template-columns: 1fr 1fr; }
  .notes.left li:last-child:nth-child(odd), .notes.right li:last-child:nth-child(odd) { grid-column: 1 / 3; }
  .lead { width: 100%; max-width: 384px; }
  .bar-diagram { flex-direction: column; height: auto; max-height: none; }
  .seg { flex: none; min-height: 72px; }
  .overview-main { order: -1; }
  .masthead .ui-top .tabs { display: none; }
  .masthead .label { top: 8px; right: 8px; }
  .overview-table .ui td.num, .overview-table .ui td:first-child { white-space: nowrap; }
  .seg .dur { font-family: var(--font); font-size: 1.375rem; }
  .seg:nth-child(3) { min-height: 200px; }
  .seg p { margin-top: 10px; line-height: 1.45; max-width: 30ch; }
  .data-main { order: -1; }
  .company-text p { font-size: 1.25rem; }
  .bar-notes { display: none; }
  .calc-tool form { grid-template-columns: 1fr 1fr; }
  .calc-tool .field:last-child { grid-column: 1 / 3; }
  .state-word { text-align: left; padding-top: 0; font-size: 1.0625rem; margin-bottom: -44px; }
  .convo .grid { row-gap: 56px; }
  .state .msg-wrap { overflow: hidden; }
  .msg { width: 100%; }
  .bubbles, .reply, .msg .msg-foot { padding-left: 18px; }
  .roles { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; order: 2; }
  .company-text .dropcap { width: 4.6em; height: 4.6em; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; align-items: start; margin-top: 64px; }
}
@media (min-width: 761px) { .seg p { display: none; } }
.seg .dur { display: block; }
