/* Hiên — sales landing page. Direction: "Sương & Thông" (mist & pine).
   Light, airy, professional. Đà Lạt shows up as contour lines, morning mist,
   deep pine green, and a dã quỳ (wild sunflower) yellow used sparingly.
   Mobile first. Without JS or with reduced motion, everything is visible. */

:root {
  --mist: #f2f3ef;
  --paper: #ffffff;
  --fog: #e6e9e3;
  --pine: #17302a;
  --pine-2: #21413a;
  --moss: #5d7a6d;
  --sage: #a9bdb2;
  --ink: #142420;
  --mute: #4d5a55;
  --line: rgba(20, 36, 32, .1);
  --line-2: rgba(20, 36, 32, .16);
  --sun: #e9a93b;
  --sun-2: #f4c564;
  --good: #2f8f5b;
  --bad: #c8412f;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --display: "Be Vietnam Pro", system-ui, sans-serif;
  --accent: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 20px;
  --shadow: 0 1px 2px rgba(20, 36, 32, .04), 0 12px 32px -12px rgba(20, 36, 32, .14);
  --shadow-lg: 0 2px 4px rgba(20, 36, 32, .04), 0 40px 80px -30px rgba(20, 36, 32, .3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); color: var(--ink); background: var(--mist); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--sun-2); color: var(--ink); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1200px, 100% - 80px); } }

/* ---------- type ---------- */
em { font-style: normal; color: var(--moss); font-weight: 400; }
.nowrap { white-space: nowrap; }
/* Display type: Be Vietnam Pro 500 (Vietnamese-first, used by Cake and many VN brands) for big titles; Newsreader italic only for the accent words inside them. Body: Be Vietnam Pro. */
.hero__title, .h2, .tcard h3, .vista__title, .cta__title { font-family: var(--display); word-spacing: .02em; }
.hero__title em, .h2 em, .vista__title em, .cta__title em { font-family: var(--accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; font-size: 1.06em; font-variation-settings: normal; font-optical-sizing: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--moss); margin-bottom: 18px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.eyebrow .dot { display: none; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 500; max-width: 18ch; text-wrap: balance; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--center .h2, .sec-head--center .sec-lead { margin-inline: auto; }
.sec-lead { margin-top: 16px; color: var(--mute); font-size: 1.06rem; max-width: 56ch; }
.sec-lead a { color: var(--pine); font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn--sm { padding: 9px 15px; font-size: .86rem; border-radius: 10px; }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--pine); color: #fff; box-shadow: 0 8px 20px -10px rgba(23, 48, 42, .6); }
.btn--primary:hover { background: var(--pine-2); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(233, 169, 59, .8); }
.btn--sun:hover { background: var(--sun-2); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn--outline:hover { border-color: var(--ink); background: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn .arr { transition: transform .35s var(--ease); }


/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--pine); }
.mark { width: 26px; height: 30px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mark__arch { stroke: currentColor; stroke-width: 3.2; }
.mark__h { stroke: var(--sun); stroke-width: 3.6; }
.brand span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.7rem; line-height: 1; transform: translateY(-2px); }

/* ---------- loader ---------- */
.loader { display: none; }
html.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--mist); color: var(--pine); transition: opacity .8s var(--ease) .1s, visibility 0s .9s; }
html.js.is-loaded .loader { opacity: 0; visibility: hidden; }
.loader__mark { display: flex; align-items: center; gap: 14px; }
.loader__mark svg { width: 44px; height: 50px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.loader__roof { stroke: var(--pine); stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s var(--ease) forwards; }
.loader__post { stroke: var(--sun); stroke-width: 3.4; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .7s var(--ease) .45s forwards; }
.loader__word { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 3rem; line-height: 1; opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease) .5s forwards; }
.loader__bar { position: absolute; bottom: 12vh; width: 120px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; background: var(--pine); transform: scaleX(0); transform-origin: left; animation: fill 1.3s var(--ease) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); width: min(1200px, 100% - 24px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid transparent; transition: background .35s, box-shadow .35s, transform .5s var(--ease), border-color .35s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border-color: var(--line); box-shadow: var(--shadow); }
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__links { display: none; }
.nav .btn { display: none; }
.nav__burger { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); }
.nav__burger i { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--mist); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px 28px 40px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet a:not(.btn) { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 26px; align-self: flex-start; }
@media (min-width: 960px) {
  .nav { padding: 8px 8px 8px 20px; }
  .nav__links { display: flex; gap: 2px; }
  .nav__links a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--mute); padding: 8px 14px; border-radius: 10px; transition: color .25s, background .25s; }
  .nav__links a:hover { color: var(--ink); background: rgba(20, 36, 32, .05); }
  .nav .btn { display: inline-flex; margin-left: 8px; }
  .nav__burger, .sheet { display: none; }
}

/* ---------- contour lines (đường đồng mức) ---------- */
.topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--pine); opacity: .12; z-index: 0; }
.topo path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.topo path.major { stroke-width: 1.7; }
html.js .topo path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 3.2s var(--ease); transition-delay: var(--dl, 0s); }
html.js .topo.is-drawn path { stroke-dashoffset: 0; }
.topo--dark { color: #cfe0d6; opacity: .12; }
@media (max-width: 700px) { .topo { opacity: .07; } .topo--dark { opacity: .09; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px 0 150px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(38% 42% at 80% 14%, rgba(244, 197, 100, .26), transparent 70%), linear-gradient(180deg, #f7efe4 0%, #f4f2ea 38%, var(--mist) 72%); isolation: isolate; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 500; max-width: none; text-wrap: balance; color: var(--ink); }
.hero__title em { color: var(--moss); }
.hero__lead { margin-top: 22px; font-size: clamp(1.02rem, 1.35vw, 1.15rem); color: var(--mute); max-width: 46ch; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 599px) { .hero__cta { flex-wrap: nowrap; gap: 10px; } .hero__cta .btn--lg { flex: 1 1 auto; padding: 14px 14px; font-size: .92rem; gap: 6px; } }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--mute); max-width: 520px; }
.hero__proof li { display: flex; gap: 6px; align-items: baseline; }
.hero__proof b { color: var(--pine); font-weight: 700; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); display: none; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--pine); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.hero__visual { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1 / 1.04; }
.hero__photo { position: absolute; right: 0; top: 0; width: 80%; height: 92%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__fog { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background: linear-gradient(180deg, rgba(242, 243, 239, 0) 45%, rgba(242, 243, 239, .5) 100%); }
.hero__fog i { position: absolute; left: -60%; width: 220%; height: 40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), transparent); animation: drift 24s linear infinite; }
.hero__fog i:nth-child(1) { top: 46%; }
.hero__fog i:nth-child(2) { top: 64%; animation-duration: 34s; animation-delay: -14s; opacity: .8; }
@keyframes drift { from { transform: translateX(-12%); } to { transform: translateX(18%); } }
.hero__chip { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .74rem; font-weight: 600; color: var(--pine); }
.hero__chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #3fbf7a; animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 122, .6); } 70% { box-shadow: 0 0 0 8px rgba(63, 191, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 122, 0); } }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .hero__scroll { display: block; }
}

/* split-word reveal */
.w { display: inline-block; vertical-align: baseline; }
.w > span { display: inline-block; }
html.js .w > span { opacity: 0; transform: translateY(.35em); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + .1s); }
html.js.is-loaded .w > span { opacity: 1; transform: none; }
html.js [data-hero-fade] { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js.is-loaded [data-hero-fade] { opacity: 1; transform: none; }
html.js.is-loaded .hero__lead { transition-delay: .55s; }
html.js.is-loaded .hero__cta { transition-delay: .7s; }
html.js.is-loaded .hero__proof { transition-delay: .85s; }
html.js .hero__photo { clip-path: inset(8% 8% 8% 8% round 28px); transition: clip-path 1.4s var(--ease) .2s; }
html.js .hero__photo img { transform: scale(1.18); transition: transform 2s var(--ease) .2s; }
html.js.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round 28px); }
html.js.is-loaded .hero__photo img { transform: scale(1.06); }

/* device stage */
.stage { position: absolute; inset: 0; }
html.js .stage > * { opacity: 0; translate: 0 30px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
html.js.is-loaded .stage > * { opacity: 1; translate: 0 0; }
html.js.is-loaded .stage .browser { transition-delay: .6s; }
html.js.is-loaded .stage .phone { transition-delay: .8s; }
html.js.is-loaded .stage .bubble { transition-delay: 1.5s; }
html.js.is-loaded .stage .pill { transition-delay: 1.7s; }
.browser { position: absolute; left: 0; top: 30%; width: 72%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: #f4f5f2; border-bottom: 1px solid var(--line); }
.browser__bar > i { width: 8px; height: 8px; border-radius: 50%; background: #d6dad5; }
.browser__url { flex: 1; margin: 0 8% 0 10px; height: 18px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .62rem; color: var(--mute); }
.browser__url svg { width: 9px; height: 9px; fill: none; stroke: var(--good); stroke-width: 1.6; }
.browser__url b { font-weight: 500; transition: opacity .4s; }
.browser__screen { position: relative; aspect-ratio: 1440 / 900; background: var(--fog); }
.browser__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 4s linear; }
.browser__screen img.on { opacity: 1; transform: scale(1); }

.phone { position: relative; border-radius: 32px; padding: 6px; background: #10201c; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone__notch { position: absolute; z-index: 2; top: 12px; left: 50%; width: 30%; height: 15px; margin-left: -15%; border-radius: 10px; background: #0a1512; }
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 27px; overflow: hidden; background: var(--fog); }
.phone__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__cycle > img { transform: translateY(102%); transition: transform 1s var(--ease); }
.phone__cycle > img.on { transform: none; z-index: 1; }
.phone__cycle > img.out { transform: translateY(-20%) scale(.96); filter: brightness(.6); transition: transform 1s var(--ease), filter 1s; }
.phone--hero { position: absolute; right: 6%; bottom: 0; width: 31%; }
.bubble { position: absolute; left: 4%; bottom: 4%; width: min(290px, 58%); display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.bubble__app { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #0068ff; color: #fff; font-size: .6rem; font-weight: 800; }
.bubble small { display: block; font-size: .66rem; font-weight: 600; color: var(--good); }
.bubble p { font-size: .8rem; line-height: 1.4; margin-top: 2px; color: var(--ink); }
.bubble.is-pop { animation: pop .6s var(--ease); }
@keyframes pop { from { transform: translateY(8px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.pill { position: absolute; left: 6%; top: 14%; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pill__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e3f4ea; color: var(--good); font-weight: 700; font-size: .85rem; }
.pill small { display: block; font-size: .64rem; color: var(--mute); line-height: 1.2; }
.pill b { font-size: 1rem; line-height: 1.25; color: var(--pine); }
@media (max-width: 520px) {
  .hero__visual { aspect-ratio: 1 / 1.12; }
  .bubble { width: 66%; left: 0; padding: 9px 11px; gap: 8px; }
  .bubble__app { width: 26px; height: 26px; font-size: .52rem; }
  .bubble small { font-size: .6rem; }
  .bubble p { font-size: .7rem; }
  .pill { left: 0; top: 10%; padding: 6px 12px 6px 6px; }
  .pill__icon { width: 24px; height: 24px; }
  .hero__chip { font-size: .66rem; right: 10px; top: 10px; }
}

/* ---------- ridges (đồi & rặng thông) ---------- */
.ridges { position: relative; pointer-events: none; }
.ridges svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.ridges--hero { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 22vw, 260px); z-index: 0; }
.ridges--divider { height: clamp(90px, 12vw, 170px); background: var(--mist); margin-bottom: -1px; overflow: hidden; }

/* ---------- vista: a framed photo that opens to full screen ---------- */
.vista { position: relative; background: var(--pine); color: #fff; }
.vista__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.vista__frame { position: absolute; inset: 0; overflow: hidden; }
.vista__frame img { width: 100%; height: 100%; object-fit: cover; }
.vista__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 48, 42, .15) 0%, rgba(23, 48, 42, .38) 50%, rgba(16, 34, 29, .8) 100%); }
.vista__text { position: relative; z-index: 1; width: min(980px, 100% - 40px); text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 18vh; }
.vista .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vista__title { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.vista__title em { display: block; color: var(--sun-2); margin-top: .1em; }
.vista__sub { margin-top: 18px; max-width: 48ch; color: rgba(255, 255, 255, .82); font-size: 1.04rem; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); color: var(--pine); padding: 18px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marq 44s linear infinite; }
.marquee__track span { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-weight: 300; color: var(--moss); }
.marquee__track i { font-style: normal; color: var(--sun); font-size: .8rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- problem ---------- */
.problem { padding: clamp(80px, 11vw, 140px) 0; background: var(--mist); }
.problem__grid { display: grid; gap: 56px; align-items: start; }
.leaks { list-style: none; margin-top: 36px; display: grid; gap: 12px; }
.leaks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.leaks__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fog); font-size: .82rem; font-weight: 700; color: var(--pine); }
.leaks h3 { font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.35; font-weight: 600; }
.leaks p { margin-top: 6px; color: var(--mute); font-size: .95rem; }
.leaks strong { color: var(--ink); }
.serp-wrap { position: relative; }
.serp { font-family: Arial, "Helvetica Neue", sans-serif; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.serp__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; box-shadow: 0 1px 6px rgba(32, 33, 36, .18); font-size: 1rem; color: #202124; }
.serp__bar svg { width: 18px; height: 18px; fill: none; stroke: #9aa0a6; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.serp__caret { width: 1.5px; height: 20px; background: #1a73e8; margin-left: -8px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp__list { margin-top: 14px; display: grid; }
.res { position: relative; padding: 14px 8px; border-bottom: 1px solid #eef0f2; transition: opacity .6s, transform .6s var(--ease), filter .6s; }
.res:last-child { border-bottom: 0; }
.res__head { display: flex; gap: 10px; align-items: center; }
.res__head b { display: block; font-size: .82rem; font-weight: 400; color: #202124; line-height: 1.2; }
.res__head small { display: block; font-size: .74rem; color: #4d5156; line-height: 1.3; }
.fav { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; font-size: .72rem; font-weight: 700; color: #5f6368; }
.fav--b { background: #003580; color: #fff; font-size: .6rem; }
.fav--f { background: #1877f2; color: #fff; font-size: .9rem; }
.fav--own { background: var(--pine); color: #fff; }
.res h4 { margin-top: 6px; font-size: 1.08rem; font-weight: 400; color: #1a0dab; line-height: 1.3; }
.res p { font-size: .84rem; color: #4d5156; line-height: 1.5; margin-top: 3px; }
.redact { background: #202124; color: transparent; border-radius: 2px; user-select: none; }
.res__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.res__links span { font-size: .8rem; color: #1a0dab; padding: 5px 12px; border-radius: 999px; border: 1px solid #dadce0; }
.tag { display: inline-flex; margin-top: 10px; font-family: var(--sans); font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag--good { background: #e3f4ea; color: var(--good); }
.tag--bad { background: #fdeae6; color: var(--bad); }
.tag--warn { background: #fff3e0; color: #a86400; }
.res--own { background: linear-gradient(180deg, #f6faf7, #fff); border-radius: 14px; border: 1.5px solid rgba(47, 143, 91, .35); padding: 14px 12px; margin-bottom: 6px; }
.serp-note { margin-top: 12px; font-size: .78rem; color: var(--mute); text-align: right; }
html.js .serp .tag { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
html.js .serp.is-flag .tag { opacity: 1; transform: none; }
html.js .serp.is-flag .res:nth-child(3) .tag { transition-delay: .25s; }
html.js .serp.is-flag .res:nth-child(4) .tag { transition-delay: .5s; }
html.js .serp .res--own { max-height: 0; opacity: 0; padding-block: 0; margin: 0; border-width: 0; overflow: hidden; transform: translateY(-14px) scale(.97); transition: max-height .9s var(--ease), opacity .6s .2s, padding .9s var(--ease), margin .9s var(--ease), transform .9s var(--ease); }
html.js .serp.is-own .res--own { max-height: 320px; opacity: 1; padding-block: 14px; margin-bottom: 6px; border-width: 1.5px; transform: none; }
html.js .serp.is-own .res--bad { opacity: .45; filter: grayscale(1); }
html.js .serp.is-own .res--own .tag { transition-delay: .7s; }
@media (min-width: 1024px) {
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .serp-wrap { position: sticky; top: 110px; }
}

/* ---------- calculator ---------- */
.calc { position: relative; background: var(--pine); color: #f3f5f1; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; isolation: isolate; }
.calc .eyebrow, .cta .eyebrow { color: var(--sage); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.calc .h2 { color: #f3f5f1; }
.calc .h2 em { color: var(--sun-2); }
.calc__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.calc__lead { margin: 16px 0 30px; color: rgba(243, 245, 241, .66); max-width: 48ch; }
.calc__label { font-size: .92rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ctrl { padding: 16px 0; border-top: 1px solid rgba(243, 245, 241, .1); }
.ctrl label { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: rgba(243, 245, 241, .72); margin-bottom: 12px; }
.ctrl output { flex: none; white-space: nowrap; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sun) var(--p, 50%), rgba(243, 245, 241, .16) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(233, 169, 59, .35), 0 4px 12px rgba(0, 0, 0, .3); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(233, 169, 59, .35); cursor: grab; }
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(233, 169, 59, .45); }
.calc__card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: clamp(24px, 4vw, 40px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.calc__card small { display: block; font-size: .86rem; color: rgba(243, 245, 241, .62); }
.calc__card small b { color: #fff; }
.calc__big { margin-top: 8px; font-size: clamp(2.5rem, 6.4vw, 4.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--sun-2); font-variant-numeric: tabular-nums; }
.calc__big i { font-style: normal; font-size: .5em; margin-left: 6px; opacity: .7; }
.calc__meter { margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.calc__meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sun); transition: width .6s var(--ease); }
.calc__card hr { border: 0; border-top: 1px dashed rgba(255, 255, 255, .18); margin: 26px 0 20px; }
.calc__keep { margin-top: 6px; font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; color: #9fe0bf; font-variant-numeric: tabular-nums; }
.calc__keep em { font-size: .5em; color: rgba(243, 245, 241, .6); margin-left: 4px; font-weight: 400; }
.calc__compare { margin-top: 12px; font-size: .92rem; color: rgba(243, 245, 241, .82); }
.calc__compare b { color: var(--sun-2); }
.calc__note { margin-top: 16px; font-size: .78rem; color: rgba(243, 245, 241, .45); max-width: 52ch; }
@media (min-width: 1024px) { .calc__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- templates ---------- */
.tpl { background: var(--fog); position: relative; padding: 90px 0; }
.tpl__track { display: grid; gap: 20px; width: min(1200px, 100% - 40px); margin-inline: auto; }
.tpl__intro { padding-bottom: 16px; }
.tpl__intro p:not(.eyebrow) { margin-top: 16px; color: var(--mute); max-width: 40ch; }
.tpl__hint { display: none !important; }
.tcard { position: relative; background: var(--bg); color: var(--ink); border-radius: 24px; overflow: hidden; display: grid; gap: 26px; padding: 28px 22px 0; border: 1px solid rgba(0, 0, 0, .06); }
.tcard--dark .tcard__meta p { color: rgba(241, 235, 224, .72); }
.tcard__n { font-size: .82rem; font-weight: 700; color: var(--acc); letter-spacing: .04em; }
.tcard__tier { margin-left: 10px; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; }
.tcard h3 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.025em; line-height: 1.1; font-weight: 500; }
.tcard__meta p { margin-top: 12px; opacity: .8; max-width: 38ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 15%, transparent); }
.tcard__go { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font-weight: 600; font-size: .94rem; text-decoration: none; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); transition: transform .3s var(--ease); }
.tcard__go:hover { opacity: .88; }
.tcard__go span { transition: transform .35s var(--ease); }

.tcard__shots { position: relative; aspect-ratio: 16 / 11; }
.mini-browser { position: absolute; left: 0; top: 0; width: 88%; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .4); background: #fff; }
.mini-browser::before { content: ""; display: block; height: 20px; background: #f1f2ef radial-gradient(circle at 12px 10px, #d4d8d3 3.2px, transparent 3.6px) no-repeat, radial-gradient(circle at 24px 10px, #d4d8d3 3.2px, transparent 3.6px) no-repeat, radial-gradient(circle at 36px 10px, #d4d8d3 3.2px, transparent 3.6px) no-repeat; background-color: #f1f2ef; }
.tcard--dark .mini-browser::before { background-color: #2a2a27; }
.mini-browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.phone--sm { position: absolute; right: 0; top: 14%; width: 30%; border-radius: 24px; padding: 5px; }
.phone--sm .phone__screen { border-radius: 20px; }
@media (min-width: 1024px) {
  .tpl { padding: 0; }
  .tpl__pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
  .tpl__track { display: flex; align-items: center; gap: 2.4vw; width: max-content; margin: 0; padding: 0 6vw; height: 100%; }
  .tpl__intro { flex: none; width: 30vw; max-width: 420px; padding: 0; }
  .tpl__intro .h2 { font-size: clamp(2rem, 2.9vw, 2.6rem); }
  .tpl__hint { display: flex !important; align-items: center; gap: 12px; margin-top: 30px !important; font-size: .84rem; font-weight: 600; color: var(--pine) !important; }
  .tpl__hint i { width: 56px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
  .tpl__hint i::after { content: ""; position: absolute; inset: 0; background: var(--sun); animation: hint 1.8s var(--ease) infinite; }
  @keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
  .tcard { flex: none; width: min(72vw, 1060px); height: min(76vh, 660px); grid-template-columns: .8fr 1.2fr; align-items: center; gap: 40px; padding: 48px 0 48px 52px; }
  .tcard__shots { height: 100%; aspect-ratio: auto; }
  .mini-browser { top: 50%; transform: translateY(-50%); width: 100%; border-radius: 12px 0 0 12px; }
  .phone--sm { top: auto; bottom: 4%; left: 3%; right: auto; width: 25%; }
  .tpl__progress { position: absolute; left: 6vw; right: 6vw; bottom: 4vh; height: 2px; background: var(--line); border-radius: 2px; }
  .tpl__progress i { display: block; height: 100%; width: 100%; background: var(--pine); transform: scaleX(0); transform-origin: left; }
}
@media (max-width: 1023px) { .tpl__progress { display: none; } }

/* ---------- journey ---------- */
.journey { padding: clamp(80px, 11vw, 140px) 0; background: #eaf0f1; }
.journey__grid { display: grid; gap: 40px; }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); transition: opacity .5s; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; font-size: .88rem; color: var(--pine); transition: background .4s, color .4s, border-color .4s; }
.step h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.step p { margin-top: 6px; color: var(--mute); max-width: 46ch; }
.step:last-child h3 { color: var(--pine); }
.journey__stage { display: none; }
@media (min-width: 960px) {
  .journey__grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .step { padding: 34px 0; min-height: 32vh; align-content: center; }
  html.js .step { opacity: .32; }
  html.js .step.is-on { opacity: 1; }
  .step.is-on .step__n { background: var(--pine); color: var(--sun-2); border-color: var(--pine); }
  .journey__stage { display: flex; flex-direction: column; align-items: center; gap: 22px; position: sticky; top: 12vh; height: 76vh; justify-content: center; }
  .journey__stage::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--fog), transparent); }
  .phone--journey { width: min(290px, 25vw); }
  .phone--journey .phone__screen img { opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  .phone--journey .phone__screen img.on { opacity: 1; transform: none; }
  .journey__rail { width: min(290px, 25vw); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .journey__rail i { display: block; height: 100%; width: 12.5%; background: var(--sun); transition: width .6s var(--ease); }
}

/* ---------- features (bento) ---------- */
.feat { background: var(--mist); padding: clamp(80px, 11vw, 140px) 0; }
.bento { display: grid; gap: 14px; }
.b { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 22px; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.b:hover { box-shadow: var(--shadow); }
.b h3 { margin-top: 18px; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.3; font-weight: 600; padding-inline: 4px; }
.b p { margin-top: 6px; color: var(--mute); font-size: .93rem; padding-inline: 4px; }
.b__art { position: relative; height: 168px; border-radius: 14px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } .b--mobile { grid-row: span 2; } .b--own { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .b--mobile .b__art { flex: 1; height: auto; min-height: 300px; }
}
.b--mobile .b__art { background: linear-gradient(170deg, #dfe7e2, #c5d4cc); }
.m-stack { position: relative; width: 100%; height: 100%; min-height: 240px; }
.m-stack img { position: absolute; left: 50%; top: 50%; width: 34%; max-width: 150px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 16px; border: 4px solid #10201c; box-shadow: 0 26px 44px -18px rgba(16, 32, 28, .55); transition: transform .8s var(--ease); }
.m-stack img:nth-child(1) { transform: translate(-115%, -46%) rotate(-8deg); }
.m-stack img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.m-stack img:nth-child(3) { transform: translate(15%, -46%) rotate(8deg); }
.b--mobile:hover .m-stack img:nth-child(1) { transform: translate(-132%, -44%) rotate(-12deg); }
.b--mobile:hover .m-stack img:nth-child(3) { transform: translate(32%, -44%) rotate(12deg); }
.b--mobile:hover .m-stack img:nth-child(2) { transform: translate(-50%, -57%) scale(1.03); }
.langs { position: relative; width: 100%; height: 100%; }
.langs span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.1rem; font-weight: 600; letter-spacing: -.03em; color: var(--pine); opacity: 0; animation: lang 8s infinite; }
.langs span:nth-child(2) { animation-delay: 2s; }
.langs span:nth-child(3) { animation-delay: 4s; }
.langs span:nth-child(4) { animation-delay: 6s; font-size: 1.8rem; }
@keyframes lang { 0% { opacity: 0; transform: translateY(16px); } 6%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-16px); } }
.b--chat .b__art { background: #e8eff8; }
.chat { width: 86%; display: grid; gap: 8px; font-size: .8rem; }
.chat p { padding: 8px 12px; border-radius: 14px; max-width: 85%; opacity: 0; animation: msg 7s infinite; }
.chat__in { background: #fff; border-bottom-left-radius: 4px; }
.chat__out { justify-self: end; background: #0068ff; color: #fff; border-bottom-right-radius: 4px; animation-delay: 1.4s !important; }
.chat__typing { display: flex; gap: 4px; background: #fff; width: max-content; animation-delay: 2.6s !important; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa6b8; animation: dots 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes msg { 0% { opacity: 0; transform: translateY(10px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes dots { 50% { transform: translateY(-3px); opacity: .5; } }
.seo { width: 78%; display: grid; gap: 10px; }
.seo__rank { justify-self: start; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--good); line-height: 1; }
.seo__bar { height: 10px; border-radius: 6px; background: #d9ded8; transform-origin: left; animation: grow 3.6s var(--ease) infinite; }
.seo__bar:nth-child(2) { background: var(--good); width: 100%; }
.seo__bar:nth-child(3) { width: 72%; animation-delay: .2s; }
.seo__bar:nth-child(4) { width: 54%; animation-delay: .4s; }
@keyframes grow { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.b--admin .b__art { background: var(--pine); }
.admin { width: 84%; display: grid; gap: 8px; }
.admin__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: rgba(243, 245, 241, .72); font-size: .78rem; }
.admin__row b { color: var(--sun-2); font-variant-numeric: tabular-nums; }
.admin__row em { color: #9fe0bf; font-weight: 600; }
.toggle { position: relative; width: 34px; height: 20px; border-radius: 20px; background: #3fbf7a; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: tog 4s var(--ease) infinite; }
@keyframes tog { 0%, 40% { transform: translateX(14px); } 50%, 90% { transform: translateX(0); } 100% { transform: translateX(14px); } }
.sync { display: flex; align-items: center; font-size: .72rem; font-weight: 700; }
.sync span { padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.sync span:first-child { color: #e0314f; }
.sync span:last-child { color: #003580; }
.sync__you { background: var(--pine) !important; color: var(--sun-2); border-color: var(--pine) !important; }
.sync__line { position: relative; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--sage) 0 4px, transparent 4px 8px); }
.sync__line::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: travel 1.6s linear infinite; }
.sync__line:last-of-type::after { animation-direction: reverse; }
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(26px); } }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bars i { width: 22px; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--sage); opacity: .6; transform-origin: bottom; animation: bar 4s var(--ease) infinite; }
.bars i:last-child { background: var(--pine); opacity: 1; }
.bars i:nth-child(2) { animation-delay: .1s; } .bars i:nth-child(3) { animation-delay: .2s; } .bars i:nth-child(4) { animation-delay: .3s; } .bars i:nth-child(5) { animation-delay: .4s; } .bars i:nth-child(6) { animation-delay: .5s; }
@keyframes bar { 0% { transform: scaleY(0); } 25%, 100% { transform: scaleY(1); } }
.b--own { display: grid; gap: 4px 28px; align-items: center; }
.b--own .b__art { background: var(--pine); height: 130px; }
.own { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #f3f5f1; font-size: 1.25rem; letter-spacing: -.02em; }
.own b { color: var(--sun-2); }
.own__lock { font-size: 1rem; }
@media (min-width: 700px) { .b--own { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; } .b--own .b__art { grid-row: span 2; } .b--own h3 { margin-top: 0; align-self: end; } .b--own p { align-self: start; } }
@media (min-width: 1080px) { .b--own { grid-column: auto; display: flex; } .b--own .b__art { grid-row: auto; height: 168px; align-self: stretch; } .b--own h3, .b--own p { align-self: stretch; } .b--own h3 { margin-top: 18px; } }

/* ---------- pricing ---------- */
.price { background: #f7f2e6; padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.plans { position: relative; display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; overflow: hidden; border-radius: 24px; padding: 30px 26px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.plan:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.plan__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 169, 59, .12), transparent 60%); }
.plan:hover .plan__glow { opacity: 1; }
.plan h3 { font-size: 1.35rem; letter-spacing: -.03em; font-weight: 600; }
.plan__for { margin-top: 6px; font-size: .92rem; color: var(--mute); min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.plan__price b { font-size: clamp(2.2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 1.1rem; font-weight: 600; opacity: .6; }
.plan__unit { margin: 8px 0 22px; font-size: .82rem; color: var(--mute); }
.plan__plus { margin-top: 26px; font-size: .82rem; font-weight: 600; color: var(--moss); }
.plan__list { list-style: none; margin-top: 16px; display: grid; gap: 12px; font-size: .93rem; }
.plan .btn + .plan__list { margin-top: 26px; }
.plan__list li { position: relative; padding-left: 30px; color: #34423d; line-height: 1.45; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: #e3eee8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%2317302a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan__list b { color: var(--ink); font-weight: 600; }
.plan--hot { background: var(--pine); color: #f3f5f1; border-color: var(--pine); box-shadow: var(--shadow-lg); }
.plan--hot .plan__for, .plan--hot .plan__unit { color: rgba(243, 245, 241, .62); }
.plan--hot .plan__list li { color: rgba(243, 245, 241, .86); }
.plan--hot .plan__list b { color: #fff; }
.plan--hot .plan__list li::before { background-color: rgba(233, 169, 59, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23f4c564' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan--hot .plan__plus { color: var(--sun-2); }
.plan--hot .plan__glow { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 169, 59, .16), transparent 60%); }
.plan__badge { position: absolute; top: 24px; right: 22px; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.price__note { position: relative; display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); font-size: .94rem; color: var(--mute); }
.price__note b { color: var(--ink); }
.price__note-text p + p { margin-top: 8px; }
.price__note-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .85rem; }
@media (min-width: 1000px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .plan { padding: 36px 30px; }
  .plan--hot { transform: translateY(-12px); }
}

/* ---------- process ---------- */
.process { padding: clamp(80px, 11vw, 140px) 0; background: var(--paper); }
.flow { position: relative; display: grid; padding-left: 34px; }
.flow__line { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.flow__line i { display: block; width: 100%; height: 100%; background: var(--sun); transform-origin: top; transform: scaleY(0); transition: transform .3s linear; }
.flow__step { position: relative; padding: 0 0 36px; }
.flow__dot { position: absolute; left: -32px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--pine); }
.flow__day { font-size: .78rem; font-weight: 600; color: var(--moss); }
.flow__step h3 { margin-top: 6px; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; font-weight: 600; }
.flow__step p { margin-top: 8px; color: var(--mute); max-width: 40ch; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 34px 0 0; }
  .flow__line { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .flow__line i { transform-origin: left; transform: scaleX(0); }
  .flow__dot { left: 0; top: -34px; }
  .flow__step { padding: 22px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); }
}

/* ---------- faq ---------- */
.faq { background: var(--mist); padding: clamp(80px, 11vw, 140px) 0; }
.faq__grid { display: grid; gap: 20px; }
.qa { display: grid; gap: 10px; }
.qa details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .6); padding: 0 20px; transition: background .3s, border-color .3s; }
.qa details[open] { background: var(--paper); border-color: var(--line-2); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); font-size: 1.1rem; font-weight: 400; transition: transform .4s var(--ease), background .3s, color .3s; }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--pine); color: #fff; border-color: var(--pine); }
.qa details > div { padding: 0 40px 20px 0; color: var(--mute); animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq .sec-head { position: sticky; top: 120px; align-self: start; } }

/* ---------- cta ---------- */
.cta { position: relative; color: #fff; padding: clamp(110px, 15vw, 190px) 0; overflow: hidden; isolation: isolate; text-align: center; background: var(--pine); }
.cta__bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 48, 42, .55), rgba(23, 48, 42, .9)); }
.cta .topo { z-index: -1; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 500; max-width: 17ch; text-wrap: balance; }
.cta__title em { color: var(--sun-2); }
.cta__lead { margin-top: 20px; color: rgba(255, 255, 255, .78); max-width: 52ch; font-size: 1.06rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- footer ---------- */
.foot { background: #10221d; color: rgba(243, 245, 241, .6); padding: 56px 0 100px; font-size: .9rem; }
.foot__inner { display: grid; gap: 18px; }
.brand--foot { color: #f3f5f1; margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: #f3f5f1; }
.foot small { font-size: .78rem; color: rgba(243, 245, 241, .4); }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } .foot__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 40px; } .foot small { grid-column: 1 / -1; } }

/* ---------- altimeter ---------- */
.alti { display: none; }
@media (min-width: 1380px) {
  .alti { position: fixed; z-index: 30; left: 16px; bottom: 22px; display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .alti.is-on { opacity: 1; transform: none; }
  .alti__track { position: relative; width: 4px; height: 40px; border-radius: 4px; background: var(--fog); overflow: hidden; }
  .alti__track i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--p, 0%); background: linear-gradient(0deg, var(--pine), var(--sun)); border-radius: inherit; }
  .alti__read b { display: block; font-size: .86rem; font-weight: 700; letter-spacing: -.02em; color: var(--pine); font-variant-numeric: tabular-nums; line-height: 1.2; }
  .alti__read small { display: block; font-size: .66rem; color: var(--mute); line-height: 1.3; }
}

/* ---------- floating zalo ---------- */
.float-zalo { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #0068ff; color: #fff; text-decoration: none; font-size: .76rem; font-weight: 800; box-shadow: 0 14px 30px -10px rgba(0, 104, 255, .6); transform: scale(0); transition: transform .5s var(--ease); }
.float-zalo.is-on { transform: scale(1); }
html:not(.js) .float-zalo { transform: scale(1); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .chat p { opacity: 1; animation: none; }
  .chat__typing { display: none !important; }
  .langs span { animation: none; }
  .langs span:first-child { opacity: 1; }
}
