/* EasyCall landing pages. No external requests: system fonts, local media. */
:root {
  --bg: #f7faff; --surface: #ffffff; --ink: #06245f; --muted: #526381; --line: #dce7f6;
  --brand: #0d3cff; --brand-ink: #082d8f; --brand-soft: #e8f4ff; --cyan: #09d8db; --ok: #009fa8; --ok-soft: #e1fbfa; --warn: #d98a00;
  --shadow: 0 1px 2px rgba(20,22,31,.05), 0 12px 40px -12px rgba(20,22,31,.18);
  --radius: 14px; --wrap: 1120px;
  color-scheme: light;
}
body.dark {
  --bg: #0d0f17; --surface: #151824; --ink: #f2f3f8; --muted: #a2a8bd; --line: #262a3a;
  --brand: #8b85ff; --brand-ink: #c3c0ff; --brand-soft: #1d1f38; --ok: #3ddc9f; --ok-soft: #12302a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 24px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 38em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.muted { color: var(--muted); }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo img { width: auto; height: 46px; flex: none; }
.nav nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .96rem; font-weight: 550; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.25rem; border-radius: 10px; font-weight: 650; font-size: .98rem; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
body.dark .btn-primary { color: #0d0f17; }
body.dark .btn-primary:hover { background: #a9a4ff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: .5rem .95rem; font-size: .92rem; }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero::before { content: ""; position: absolute; inset: 64px 0 auto; height: 360px; z-index: -1; background: radial-gradient(circle at 78% 20%, rgba(9,216,219,.13), transparent 38%), radial-gradient(circle at 12% 25%, rgba(13,60,255,.08), transparent 34%); }
.hero { position: relative; isolation: isolate; }
.hero .lead { margin-top: 1.3rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: .45rem; }
.hero-center { text-align: center; }
.hero-center .lead, .hero-center .cta, .hero-center .ticks { margin-inline: auto; justify-content: center; }
.hero-center .frame { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Browser frame around clips */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-bar span { margin-left: .6rem; font-size: .78rem; color: var(--muted); letter-spacing: .01em; }
.frame video { width: 100%; aspect-ratio: 16 / 9; background: #f4f5f9; }
.frame-note { font-size: .86rem; color: var(--muted); margin-top: .8rem; text-align: center; }

/* Sections */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head h2 { margin-top: .7rem; }
.head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.head.center { margin-inline: auto; text-align: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 1.55rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .93rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.band .card { background: var(--bg); }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ico svg { width: 21px; height: 21px; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.row + .row { margin-top: clamp(3rem, 6vw, 5.5rem); }
.row.flip > :first-child { order: 2; }
.row h2, .row h3.big { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 720; letter-spacing: -.022em; margin-top: .7rem; }
.row p { margin-top: 1rem; color: var(--muted); }
.row ul { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.row li { padding-left: 1.7rem; position: relative; }
.row li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: .5rem; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg) scale(.8); transform-origin: left; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row.flip > :first-child { order: 0; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.steps li { list-style: none; counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: "0" counter(s); font-weight: 750; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: .5rem; }
.steps p { margin-top: .45rem; color: var(--muted); font-size: .98rem; }
ol.steps { padding: 0; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.plan.pick { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.pick::after { content: "Most teams"; position: absolute; top: -0.8rem; left: 1.6rem; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: .22rem .65rem; border-radius: 999px; }
.price { font-size: 2.3rem; font-weight: 750; letter-spacing: -.03em; margin: 1rem 0 .1rem; font-variant-numeric: tabular-nums; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; display: grid; gap: .55rem; font-size: .97rem; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: .55rem; }
.plan .btn { width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.draft { border: 1px dashed var(--warn); background: color-mix(in srgb, var(--warn) 9%, var(--surface)); border-radius: 10px; padding: .8rem 1rem; font-size: .93rem; margin-bottom: 2rem; }

.faq { display: grid; gap: .7rem; max-width: 50rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin-top: .7rem; color: var(--muted); }

/* Closing call to action, footer */
.close { text-align: center; }
.close .box { background: linear-gradient(125deg, #06245f, #0d3cff 68%, #08bec9); color: #fff; border-radius: 22px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.close h2 { color: inherit; }
.close p { margin: 1rem auto 0; max-width: 34em; opacity: .78; }
.close .cta { justify-content: center; }
.close .btn-ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
body.dark .close .box { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
footer nav { display: flex; gap: 1.3rem; margin-left: auto; }
footer a { color: var(--muted); }

/* Review index */
.review { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.review a { display: block; text-decoration: none; color: inherit; }
.review a:hover .card { border-color: var(--brand); }
@media (max-width: 700px) { .review { grid-template-columns: 1fr; } }

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---- Story landing page (v2) ---- */
.hook { font-size: clamp(2.1rem, 4.9vw, 3.6rem); }
.hero-visual { position: relative; padding-bottom: 2.2rem; }
.hero-visual .phone { position: absolute; right: -1rem; bottom: 0; width: 34%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
@media (max-width: 900px) { .hero-visual .phone { right: .4rem; width: 36%; } }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.demo-note { font-size: .84rem; color: var(--muted); margin-top: .7rem; }

.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.pain h3 { font-size: 1.25rem; }
.pain ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.pain li { padding: .8rem 1rem; border-radius: 12px 12px 12px 3px; background: var(--bg); border: 1px solid var(--line); font-size: 1rem; }
.pain li b { display: block; }
.pain li span { display: block; color: var(--muted); font-size: .93rem; text-wrap: pretty; }
.punch { margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 720; letter-spacing: -.02em; line-height: 1.25; max-width: 30em; text-wrap: balance; }
.punch em { font-style: normal; color: var(--brand); }
@media (max-width: 800px) { .pains { grid-template-columns: 1fr; } }

.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: .7rem 1rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.qa { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.qa-item h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 720; letter-spacing: -.02em; }
.qa-item > p { margin: .7rem 0 1.3rem; color: var(--muted); max-width: 44em; }
.legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: 1rem; padding: 0; list-style: none; }
.legend li { font-size: .9rem; color: var(--muted); border-top: 2px solid var(--brand); padding-top: .55rem; }
.legend b { display: block; color: var(--ink); font-size: .95rem; }
.legend.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .legend, .legend.four { grid-template-columns: 1fr 1fr; } }

.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.win .num { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 760; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.1; }
.win .num small { display: block; font-size: .9rem; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-top: .3rem; }
.win h3 { margin-top: 1.1rem; }
.win p { margin-top: .5rem; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .wins { grid-template-columns: 1fr; } }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 1rem; border-block: 1px solid var(--line); }
.outcomes div { padding: 1.2rem 1.4rem; border-right: 1px solid var(--line); }
.outcomes div:last-child { border-right: 0; }
.outcomes strong { display: block; color: var(--brand); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -.03em; }
.outcomes span { display: block; margin-top: .35rem; color: var(--muted); font-size: .95rem; line-height: 1.4; text-wrap: pretty; }
.outcome-note { margin: 0 0 2rem; color: var(--muted); font-size: .82rem; }
@media (max-width: 700px) {
  .outcomes { grid-template-columns: 1fr; }
  .outcomes div { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .outcomes div:last-child { border-bottom: 0; }
}

.member { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.member ol { list-style: none; counter-reset: m; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.member ol li { counter-increment: m; position: relative; padding-left: 3rem; }
.member ol li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; display: grid; place-items: center; }
.member ol b { display: block; }
.member ol span { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .member { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.chips li { font-size: .92rem; padding: .4rem .8rem; border-radius: 999px; background: var(--ok-soft); color: #0b6e4b; font-weight: 600; }

.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.cmp th, .cmp td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); }
.cmp thead th.us { color: var(--brand-ink); background: var(--brand-soft); }
.cmp tbody th { font-weight: 650; width: 28%; }
.cmp td.old { color: var(--muted); }
.cmp td.us { background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); font-weight: 550; }
.cmp td.old::before { content: "✕ "; color: #c2410c; font-weight: 800; }
.cmp td.us::before { content: "✓ "; color: var(--ok); font-weight: 800; }
@media (max-width: 700px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tbody th { width: auto; border-bottom: 0; padding-bottom: .2rem; }
  .cmp td.old { border-bottom: 0; padding-block: .3rem; }
  .cmp td.old::before { content: "Điện thoại thường: ✕ "; }
  .cmp td.us::before { content: "EasyCall: ✓ "; }
}

.setup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: s; padding: 0; margin: 0; }
.setup li { list-style: none; counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.setup li::before { content: "Bước " counter(s); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.setup h3 { margin-top: .5rem; }
.setup p { margin-top: .45rem; color: var(--muted); font-size: .96rem; }
.setup .who { display: inline-block; margin-top: .9rem; font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.who.we { background: var(--ok-soft); color: #0b6e4b; }
.who.you { background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 900px) { .setup { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .setup { grid-template-columns: 1fr; } }
.need { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); border: 1px dashed var(--line); background: var(--surface); }
.need b { margin-right: .4rem; }

.midcta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.midcta span { color: var(--muted); font-size: .97rem; }

.close .box { text-align: left; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-inline: clamp(1.5rem, 5vw, 4rem); }
.close .box p { margin-inline: 0; }
.close .box ul { margin: 1.3rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; opacity: .9; }
.close .box li::before { content: "✓"; color: #5eead4; font-weight: 800; margin-right: .55rem; }
.lead-form { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 1.5rem; display: grid; gap: .85rem; }
.lead-form h3 { font-size: 1.2rem; }
.lead-form label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; }
.lead-form input, .lead-form select { font: inherit; padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.lead-form .btn { width: 100%; cursor: pointer; font-family: inherit; }
.lead-form small { color: var(--muted); font-size: .82rem; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .close .box { grid-template-columns: 1fr; } }

.sticky { display: none; }
@media (max-width: 720px) {
  .sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .sticky .btn { width: 100%; }
  body { padding-bottom: 4.5rem; }
  .cta .btn { flex: 1 1 100%; }
}

/* Pricing estimator */
.pricing-hero { padding-bottom: 2rem; }
.pricing-hero .lead { margin-top: 1rem; }
.pricing-title { margin-top: .9rem; }
.control-title { font-size: 1.4rem; }
.estimate-submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.estimator { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
.estimate-controls { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; }
.estimate-controls label { display: grid; gap: .4rem; font-weight: 650; font-size: .92rem; }
.estimate-controls input, .estimate-controls select { width: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quote-head { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.quote-head p { color: var(--muted); margin-top: .35rem; }
.quote-lines { margin: 0; }
.quote-line { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.quote-line dt { font-weight: 680; }
.quote-line dt small { display: block; color: var(--muted); font-weight: 450; margin-top: .2rem; }
.quote-line dd { margin: 0; text-align: right; font-weight: 750; font-size: 1.15rem; color: var(--brand-ink); }
.quote-line dd small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; margin-top: .2rem; }
.quote-note { padding: 1rem 1.5rem; color: var(--muted); font-size: .86rem; background: var(--bg); }
.quote-totals { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--bg); }
.quote-totals div { padding: 1.5rem; }
.quote-totals div + div { border-left: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.quote-totals span, .quote-totals small { display: block; }
.quote-totals span { font-weight: 650; }
.quote-totals strong { display: block; margin-top: .35rem; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.15; }
.quote-totals small { margin-top: .35rem; opacity: .72; }
@media (max-width: 800px) {
  .estimator { grid-template-columns: 1fr; }
  .estimate-controls { position: static; }
  .quote-line { grid-template-columns: 1fr; }
  .quote-line dd { text-align: left; }
  .quote-totals { grid-template-columns: 1fr; }
  .quote-totals div + div { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
}

/* v2 fixes */
img { height: auto; }
.hook { font-size: clamp(1.95rem, 3.7vw, 3rem); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.win .num small { font-weight: 500; line-height: 1.4; }
.member { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 900px) { .member { grid-template-columns: 1fr; } }
.phone-shot { max-width: 380px; margin-inline: auto; }

/* v3: WhatsApp buttons, language-aware labels */
.btn-wa { background: linear-gradient(105deg, #0d3cff, #0875ef); color: #fff; box-shadow: 0 8px 22px -12px rgba(13,60,255,.8); }
.btn-wa:hover { background: linear-gradient(105deg, #082d8f, #0d3cff); }
.btn-wa::before { content: ""; width: 1.15em; height: 1.15em; flex: none; background: currentColor; -webkit-mask: var(--wa) center / contain no-repeat; mask: var(--wa) center / contain no-repeat; }
:root { --wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.3 15.2l-.3-.2-2.9.8.8-2.8-.2-.3A8.2 8.2 0 0 1 12 3.800zm-3.300 3.900c-.2 0-.5 0-.7.3-.300.300-1 1-1 2.300s1 2.700 1.100 2.900c.100.200 1.900 3 4.700 4.100 2.300.900 2.800.700 3.300.700.500-.100 1.600-.700 1.800-1.300.200-.600.200-1.200.200-1.300-.100-.100-.300-.200-.500-.300l-1.800-.900c-.200-.100-.400-.100-.600.100l-.800 1c-.100.200-.300.200-.500.100-.300-.100-1.100-.400-2-1.300-.800-.700-1.300-1.500-1.400-1.800-.100-.200 0-.400.100-.500l.400-.500c.100-.100.200-.300.300-.400.100-.200 0-.300 0-.500l-.800-2c-.200-.500-.400-.500-.600-.500z'/%3E%3C/svg%3E"); }
.setup li::before { content: "Step " counter(s); }
:lang(vi) .setup li::before { content: "Bước " counter(s); }
@media (max-width: 700px) {
  .cmp td.old::before { content: "Ordinary phone: ✕ "; }
  :lang(vi) .cmp td.old::before { content: "Điện thoại thường: ✕ "; }
}
@media (max-width: 900px) { .close .box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .nav .wrap { gap: .6rem; justify-content: space-between; }
  .nav .btn { white-space: nowrap; }
  .logo img { width: auto; height: 38px; }
  .wrap { width: min(var(--wrap), 100% - 2rem); }
  .pain { padding: 1.15rem; }
  .pain li { padding: .8rem; }
}

/* Keep short final words from becoming orphaned lines in body copy. */
.pain li span, .win p, .qa-item > p, .member ol span, .setup p, .faq p { max-width: 70ch; }
