:root {
  --bg: #F6FBF9;
  --surface: #FFFFFF;
  --fg: #12343B;
  --muted: #557079;
  --line: #D6E9E4;
  --brand: #1D5C63;
  --drop: #2E9DBD;
  --tint: #EAF7F2;
  --radius: 16px;
  --heading: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1020; --surface: #121933; --fg: #E6F4F1; --muted: #9DB3BA;
    --line: #233052; --brand: #7FD8E0; --drop: #3BB6D6; --tint: #10203A;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--drop); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; color: var(--fg); }
h1 { font-size: clamp(30px, 6vw, 46px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 4vw, 28px); margin: 48px 0 12px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: block; width: 136px; }
.logo img.dark { display: none; }
@media (prefers-color-scheme: dark) { .logo img.light { display: none; } .logo img.dark { display: block; } }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.top nav a { color: var(--fg); text-decoration: none; }
.top nav a:hover { color: var(--drop); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px;
  padding: 4px 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--bg); }

/* language switching: elements tagged data-l show only for the active language */
html[lang="vi"] [data-l="en"], html[lang="en"] [data-l="vi"] { display: none !important; }

/* hero */
.hero { padding: 56px 0 24px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0; }
.eyebrow { font-size: 14px; letter-spacing: .04em; color: var(--drop); font-weight: 600; margin-bottom: 8px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .shot { border-radius: 12px; background: #000; aspect-ratio: 416 / 496; object-fit: cover; }
.card.soon { border-style: dashed; justify-content: center; text-align: center; min-height: 200px; }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  background: var(--tint); color: var(--brand);
}
.btn {
  display: inline-block; background: var(--brand); color: var(--bg); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* screenshots strip */
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 0 16px; scroll-snap-type: x mandatory; }
.shots img { width: 190px; flex: none; border-radius: 22px; scroll-snap-align: start; background: #000; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.features strong { display: block; font-family: var(--heading); margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }

.price { background: var(--tint); border-radius: var(--radius); padding: 20px; }
.price p { margin: 6px 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { color: var(--muted); }

/* privacy page tables */
.t { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.muted { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .top nav .hide-sm { display: none; }
  .logo { width: 112px; }
  .shots img { width: 160px; }
}

/* ---------------- landing page ---------------- */
section { scroll-margin-top: 80px; }
.landing-hero { padding: 56px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 5.4vw, 54px); }
.hero-art { position: relative; height: 420px; display: grid; place-items: center; }
.halo {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,182,214,.30) 0%, rgba(59,182,214,.10) 45%, transparent 70%);
}
.dew {
  position: absolute; width: 22px; height: 22px; background: #3BB6D6;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg); opacity: .9;
  animation: float 6s ease-in-out infinite;
}
.dew.d1 { top: 40px; left: 12%; }
.dew.d2 { top: 70px; right: 10%; width: 14px; height: 14px; animation-delay: -2s; }
.dew.d3 { bottom: 50px; left: 20%; width: 10px; height: 10px; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.watch {
  position: relative; width: 230px; padding: 14px; border-radius: 58px;
  background: #1A1D24; box-shadow: 0 0 0 3px #2B3040, 0 24px 60px rgba(11,16,32,.35);
}
.watch::after {           /* digital crown */
  content: ""; position: absolute; right: -9px; top: 30%; width: 9px; height: 44px;
  border-radius: 0 6px 6px 0; background: #2B3040;
}
.watch-screen { border-radius: 44px; overflow: hidden; background: #000; }
.watch-screen img { width: 100%; aspect-ratio: 416 / 496; }
.hero-art .watch { animation: float 7s ease-in-out infinite; }

.stats-band { border-block: 1px solid var(--line); background: var(--tint); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; text-align: center; }
.stat b { display: block; font-family: var(--heading); font-size: 30px; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #0B1020; color: #E6F4F1; border-radius: 28px; padding: 40px; margin-top: 8px;
}
.spotlight h2 { color: #E6F4F1; margin: 10px 0 8px; font-size: clamp(30px, 5vw, 42px); }
.spotlight .lead { color: #9DB3BA; }
.spotlight .muted { color: #9DB3BA; align-self: center; }
.spotlight .tag { background: #10203A; color: #7FD8E0; }
.spotlight .btn { background: #7FD8E0; color: #0B1020; }
.spot-art { position: relative; display: flex; justify-content: center; min-height: 340px; align-items: center; }
.spot-art .watch { width: 190px; position: absolute; }
.spot-art .tilt-l { transform: translateX(-62px) rotate(-8deg); }
.spot-art .tilt-r { transform: translateX(62px) translateY(24px) rotate(7deg); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding-left: 28px; position: relative; margin: 8px 0; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 12px;
  background: #3BB6D6; border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
}

.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps strong { display: block; font-family: var(--heading); font-size: 19px; margin: 10px 0 4px; }
.steps span { color: var(--muted); font-size: 15px; }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: var(--bg) !important; font-weight: 700; font-size: 15px !important;
}
.promise { margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.promise .ico { display: block; font-size: 24px; color: var(--drop); line-height: 1; margin-bottom: 10px; }
.roadmap .card h3 { font-size: 18px; }

.cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  background: var(--tint); border: 1px solid var(--line); border-radius: 28px; padding: 32px; margin-top: 56px;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: var(--muted); }
.cta .row { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { .dew, .hero-art .watch { animation: none; } }
@media (max-width: 820px) {
  .hero-grid, .spotlight { grid-template-columns: 1fr; }
  .hero-art { height: 340px; }
  .spotlight { padding: 28px 20px; }
  .spot-art { min-height: 300px; }
  .spot-art .watch { width: 160px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .landing-hero { padding-top: 32px; }
  .halo { width: 280px; height: 280px; }
  .watch { width: 200px; }
  .spot-art .tilt-l { transform: translateX(-48px) rotate(-8deg); }
  .spot-art .tilt-r { transform: translateX(48px) translateY(20px) rotate(7deg); }
  .cta { padding: 24px 20px; }
}
.wrap > .eyebrow:first-child { margin-top: 64px; }
.wrap > .eyebrow:first-child + h2 { margin-top: 0; }
@media (min-width: 821px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }
.hero-copy h1 { font-size: clamp(32px, 4.3vw, 48px); }
.spotlight { border: 1px solid #233052; }
@media (prefers-color-scheme: dark) { .spotlight { background: #121933; } }
.roadmap .card.soon { justify-content: flex-start; text-align: left; min-height: 0; }
h1, h2 { text-wrap: balance; }

/* titles inside cards were inheriting the muted span colour */
.features strong span, .steps strong span { color: inherit; font-size: inherit; }

/* ---------------- promise band ---------------- */
.promise-band {
  margin-top: 72px; padding: 64px 0; background: var(--tint);
  border-block: 1px solid var(--line);
}
.promise-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 40px; align-items: center; }
.promise-intro .eyebrow { margin-top: 0 !important; }
.promise-intro h2 { margin: 0 0 14px; font-size: clamp(26px, 3.6vw, 38px); }
.promise-intro .lead { font-size: 17px; color: var(--muted); margin: 0; }
ul.promise { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 22px 22px 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pcard::before {           /* soft dewdrop glow in the corner */
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,182,214,.18), transparent 70%);
}
.pcard:hover { transform: translateY(-3px); border-color: var(--drop); box-shadow: 0 14px 34px rgba(29,92,99,.14); }
.picon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand); color: var(--bg);
}
.pbig {
  position: absolute; right: 20px; top: 18px; font-family: var(--heading); font-weight: 700;
  font-size: 30px; color: var(--drop); opacity: .9; letter-spacing: -.01em;
}
.pcard strong { display: block; font-family: var(--heading); font-size: 19px; margin: 16px 0 4px; color: var(--fg); }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (prefers-color-scheme: dark) {
  .promise-band { background: #0E1530; }
  .pcard:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
}
@media (prefers-reduced-motion: reduce) { .pcard { transition: none; } .pcard:hover { transform: none; } }
@media (max-width: 820px) {
  .promise-grid { grid-template-columns: 1fr; gap: 28px; }
  .promise-band { padding: 48px 0; }
}
@media (max-width: 520px) { ul.promise { grid-template-columns: 1fr; } }
