:root {
  --court: #1f6b45;
  --court-deep: #0f3d27;
  --optic: #ffd23f;
  --optic-ink: #1d1a05;
  --ink: #16241c;
  --ink-2: #4b5a51;
  --bg: #f6f7f2;
  --card: #ffffff;
  --line: #e2e6de;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2ec;
    --ink-2: #a9b5ad;
    --bg: #0d1a13;
    --card: #15261c;
    --line: #22382b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--court); }
@media (prefers-color-scheme: dark) { a { color: var(--optic); } }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Language: both are in the page, one is shown (vi by default, no JS needed). */
html[data-lang="vi"] [lang="en"]:not(html),
html[data-lang="en"] [lang="vi"]:not(html) { display: none !important; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: inherit; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs button {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 4px 10px; border-radius: 999px; margin-left: 4px;
}
.langs button[aria-pressed="true"] { background: var(--optic); color: var(--optic-ink); border-color: var(--optic); }

.hero {
  background: linear-gradient(180deg, var(--court), var(--court-deep));
  color: #fff; border-radius: 28px; padding: 48px 32px; margin: 8px 0 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: rgba(255,255,255,.85); margin: 0 0 24px; }
.hero .eyebrow { color: var(--optic); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.cta {
  display: inline-block; background: var(--optic); color: var(--optic-ink) !important;
  font-weight: 700; padding: 12px 22px; border-radius: 14px; text-decoration: none;
}
.cta.soon { opacity: .9; }
.note { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 10px; }
.shots { display: flex; gap: 14px; justify-content: center; align-items: flex-end; }
.shots img.phone { width: 46%; border-radius: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.shots img.watch { width: 30%; border-radius: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feature .icon { font-size: 26px; }
.feature h3 { margin: 8px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

.gallery { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 40px; }
.gallery img { height: 420px; border-radius: 20px; flex: none; }

article.doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; margin: 8px 0 40px; }
article.doc h1 { margin-top: 0; font-size: 32px; letter-spacing: -0.01em; }
article.doc h2 { font-size: 20px; margin-top: 28px; }
article.doc .updated { color: var(--ink-2); font-size: 14px; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details summary { font-weight: 600; cursor: pointer; }

footer { color: var(--ink-2); font-size: 14px; padding: 24px 0 40px; border-top: 1px solid var(--line); }
footer a { margin-right: 16px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 32px 20px; border-radius: 22px; }
  .hero h1 { font-size: 34px; }
  .features { grid-template-columns: 1fr; }
  .gallery img { height: 340px; }
  article.doc { padding: 22px; }
}
