:root {
  --bg: #f4f7fb; --surface: #ffffff; --text: #18243a; --muted: #56657d; --line: #dde4ee;
  --brand: #1f5a8f; --brand-dark: #0a1d33; --accent: #e53935;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1626; --surface: #12223a; --text: #e8eef7; --muted: #a3b2c7; --line: #22354f; --brand: #6aa8e0; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; }

/* Only the active language is shown; lang.js sets <html lang> before first paint. */
[data-l] { display: none !important; }
html[lang="vi"] [data-l="vi"], html[lang="en"] [data-l="en"], html[lang="ru"] [data-l="ru"] { display: revert !important; }

header { background: linear-gradient(135deg, #1f5a8f, var(--brand-dark)); color: #fff; }
.bar { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; flex: 1; }
nav a { color: #cfe3fb; text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current] { color: #fff; text-decoration: underline; }
.langs { display: flex; gap: 6px; }
.langs button { font: inherit; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; }
.langs button[aria-pressed="true"] { background: #fff; color: var(--brand-dark); }

main { max-width: 860px; margin: 0 auto; padding: 32px 16px 56px; }
main h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 6px; }
main h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.meta { color: var(--muted); margin: 0 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero img.shot { border-radius: 22px; box-shadow: 0 16px 40px rgba(10,29,51,.35); max-height: 620px; justify-self: center; }
.hero h1 { font-size: 2.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 10px; background: var(--brand-dark); color: #fff; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .btn { background: #fff; color: var(--brand-dark); } }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 36px; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 4px; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .bar { justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 700px) {
  header nav { order: 3; flex-basis: 100%; }
  .langs { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero img.shot { max-height: 480px; }
}
