/* Vocado landing · màu theo Theme.swift của app (xanh quả bơ). */

@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/be-vietnam-pro-regular.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/be-vietnam-pro-medium.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/be-vietnam-pro-semibold.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/be-vietnam-pro-extrabold.woff2") format("woff2"); }

:root {
  --brand: #3F7F1F;
  --brand-strong: #2E5B1F;
  --brand-soft: #E6F2D4;
  --seed: #8A5A2B;
  --energy: #D99400;
  --danger: #C2410C;
  --ink: #1B2030;
  --ink-soft: #535A69;
  --bg: #F8FAF3;
  --card: #FFFFFF;
  --line: #DDE3D3;
  --night: #16211A;
  --window-off: #CAD5BE;
  --window-on: #F5C04A;
  --shadow: 0 1px 2px rgba(27, 32, 48, 0.06), 0 12px 32px rgba(46, 91, 31, 0.10);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8CC152;
    --brand-strong: #A6D46E;
    --brand-soft: #22331A;
    --seed: #C99A6B;
    --energy: #F5C04A;
    --danger: #F07A4A;
    --ink: #F2F4F7;
    --ink-soft: #A9B0BD;
    --bg: #0F130D;
    --card: #1A2016;
    --line: #2F3A29;
    --night: #0B100A;
    --window-off: #2B3626;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--energy); outline-offset: 2px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-strong);
  font-size: 14px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 2s ease-in-out infinite; }
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(63, 127, 31, 0.28); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #0F130D; } }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; }
.brand:hover { color: var(--ink); }
.brand .mascot { width: 34px; height: 36px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Linh vật */
.mascot { overflow: visible; }
.mascot .body { transform-origin: 50% 100%; }
.mascot.bob .body { animation: bob 2.8s ease-in-out infinite; }
.mascot .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.mascot.cheer .body { animation: cheer 0.7s ease-in-out 3; }

/* Hero */
.hero { padding: 56px 0 72px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .accent { color: var(--brand); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.hero-note svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 32px; }
}

/* Điện thoại ở hero */
.stage { position: relative; display: flex; justify-content: center; }
.stage::before {
  content: ""; position: absolute; inset: 8% 4% 0; border-radius: 48px;
  background: radial-gradient(60% 60% at 50% 40%, var(--brand-soft), transparent 70%);
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(330px, 86vw); aspect-ratio: 390 / 800;
  border-radius: 46px; padding: 12px;
  background: #121812; box-shadow: var(--shadow), 0 30px 60px rgba(22, 33, 26, 0.25);
}
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #DDEFF7 0%, #F3F8EA 55%, #E6F2D4 100%);
  display: flex; flex-direction: column;
  font-size: 12px; color: #1B2030;
}
@media (prefers-color-scheme: dark) { .screen { background: linear-gradient(180deg, #13213A 0%, #16211A 60%, #1A2016 100%); color: #F2F4F7; } }
.screen .island { width: 34%; height: 26px; margin: 10px auto 0; border-radius: 999px; background: #121812; flex: none; }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 4px; }
.screen-top .title { font-weight: 800; font-size: 15px; }
.screen-top .sub { font-size: 11px; opacity: 0.7; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-weight: 600; font-size: 11px; background: rgba(255, 255, 255, 0.8); color: #1B2030; }
@media (prefers-color-scheme: dark) { .pill { background: rgba(255, 255, 255, 0.12); color: #F2F4F7; } }
.pill svg { width: 12px; height: 12px; color: var(--energy); }
.pill.level { background: var(--brand); color: #fff; }

.tower { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 6px 18px 0; position: relative; }
.tower .roof { width: 78%; height: 16px; border-radius: 10px 10px 0 0; background: #2E5B1F; position: relative; }
.tower .roof::after { content: "VOCADO HOTEL"; position: absolute; inset: 0; display: grid; place-items: center; color: #DCEFA8; font-size: 8px; font-weight: 800; letter-spacing: 0.2em; }
.building {
  width: 86%; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px;
  padding: 8px; background: #EFE7DA; border-radius: 4px 4px 0 0; border: 2px solid #D8CBB6; border-bottom: 0;
}
@media (prefers-color-scheme: dark) { .building { background: #2A2620; border-color: #3B342A; } }
.win { aspect-ratio: 1 / 1.25; border-radius: 2px; background: var(--window-off); transition: background-color 0.5s ease, box-shadow 0.5s ease; }
.win.lit { background: var(--window-on); box-shadow: 0 0 6px rgba(245, 192, 74, 0.8); }
.win.current { background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 0 12px rgba(63, 127, 31, 0.6); animation: pulse-ring 1.6s ease-in-out infinite; }
.tower .door { width: 86%; height: 26px; background: #EFE7DA; border: 2px solid #D8CBB6; border-top: 0; display: flex; justify-content: center; }
@media (prefers-color-scheme: dark) { .tower .door { background: #2A2620; border-color: #3B342A; } }
.tower .door span { width: 26%; height: 100%; background: var(--seed); border-radius: 6px 6px 0 0; }
.ground { height: 10px; width: 100%; background: var(--brand); }

.room-card {
  position: relative; z-index: 2; margin: 0 auto 12px;
  width: 92%; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(27, 32, 48, 0.18); display: flex; gap: 10px; align-items: center;
  animation: float-in 0.8s cubic-bezier(.2, .8, .2, 1) 1.6s both;
  color: #1B2030;
}
.room-card .key { width: 34px; height: 34px; border-radius: 10px; background: #FFF2CF; display: grid; place-items: center; flex: none; }
.room-card .key svg { width: 20px; height: 20px; color: var(--energy); }
.room-card b { display: block; font-size: 12.5px; }
.room-card span { font-size: 11px; color: #535A69; }
.tabbar { display: flex; justify-content: space-around; padding: 8px 6px 16px; background: rgba(255, 255, 255, 0.92); border-top: 1px solid rgba(27, 32, 48, 0.08); flex: none; }
@media (prefers-color-scheme: dark) { .tabbar { background: rgba(26, 32, 22, 0.95); border-top-color: rgba(255, 255, 255, 0.06); } }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #7A7F8C; }
.tabbar span.on { color: var(--brand); font-weight: 600; }
.tabbar svg { width: 20px; height: 20px; }
.stage .mascot-peek { position: absolute; z-index: 2; right: max(0px, calc(50% - 230px)); bottom: -6px; width: 104px; height: 110px; }
@media (max-width: 420px) { .stage .mascot-peek { width: 78px; height: 82px; right: 0; } }

/* Thế giới */
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.world { grid-column: span 2; }
.world.soon { grid-column: span 3; }
@media (max-width: 960px) { .worlds { grid-template-columns: repeat(2, 1fr); } .world, .world.soon { grid-column: span 1; } }
@media (max-width: 620px) { .worlds { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.world { padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.world:hover { transform: translateY(-4px); }
.world .art { height: 150px; border-radius: var(--radius-sm); overflow: hidden; position: relative; display: grid; place-items: center; }
.world .tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); }
.world.soon .tag { background: color-mix(in srgb, var(--energy) 18%, transparent); color: var(--ink); }
.world p { color: var(--ink-soft); font-size: 16px; }
.world .topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.world .topics span { font-size: 13px; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-soft); }

.art-hotel { background: linear-gradient(180deg, #CFE6F2, #EAF4DD); }
.art-hotel .mini { display: grid; grid-template-columns: repeat(6, 14px); gap: 5px; padding: 10px; background: #EFE7DA; border: 2px solid #D8CBB6; border-radius: 4px; }
.art-hotel .mini i { height: 17px; border-radius: 2px; background: #CAD5BE; }
.art-hotel .mini i.on { background: #F5C04A; box-shadow: 0 0 6px rgba(245, 192, 74, 0.8); }
.art-it { background: linear-gradient(135deg, #1D2A44, #2F55D4); }
.art-it .desk { display: grid; grid-template-columns: repeat(5, 34px); gap: 10px 12px; }
.art-it .folder { width: 34px; height: 26px; border-radius: 4px; background: #F5C04A; position: relative; transition: opacity 0.6s ease, transform 0.6s ease; }
.art-it .folder::before { content: ""; position: absolute; left: 0; top: -5px; width: 14px; height: 7px; border-radius: 3px 3px 0 0; background: #F5C04A; }
.art-it .folder.gone { opacity: 0.12; transform: scale(0.7); }
.art-cabin { background: #101418; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.art-cabin .board { width: 88%; display: grid; gap: 6px; }
.art-cabin .row { display: grid; grid-template-columns: 52px 1fr 86px; gap: 8px; font-size: 12px; color: #F5C04A; background: #1B2128; padding: 5px 8px; border-radius: 4px; letter-spacing: 0.04em; }
.art-cabin .row .st { color: #8CC152; text-align: right; }
.art-cabin .row .st.wait { color: #D9DEE6; }
.art-port { background: linear-gradient(180deg, #CFE6F2 0%, #CFE6F2 62%, #2F6FA8 62%); }
.art-port .stack { display: grid; grid-template-columns: repeat(5, 30px); gap: 3px; transform: translateY(-14px); }
.art-port .stack i { height: 15px; border-radius: 2px; }
.art-nail { background: linear-gradient(180deg, #FBEDEF, #F7E3E6); }
.art-nail .shelf { display: grid; grid-template-columns: repeat(7, 20px); gap: 8px 10px; padding-bottom: 6px; border-bottom: 5px solid #C99A6B; }
.art-nail .bottle { width: 20px; height: 34px; position: relative; }
.art-nail .bottle::before { content: ""; position: absolute; left: 6px; top: 0; width: 8px; height: 11px; border-radius: 2px; background: #2B2B2B; }
.art-nail .bottle::after { content: ""; position: absolute; left: 0; bottom: 0; width: 20px; height: 22px; border-radius: 6px; background: var(--c, #E05A7A); }

/* Thử 3 mức */
.tryit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .tryit { grid-template-columns: 1fr; } }
.tryit .points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tryit .points li { display: flex; gap: 12px; color: var(--ink-soft); }
.tryit .points svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.demo { padding: 22px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 6%, transparent); gap: 4px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-size: 15px; font-weight: 600;
  min-height: 40px; padding: 0 14px; border-radius: 10px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 32, 48, 0.12); }
.demo .controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.demo .situation { margin-top: 20px; font-size: 15px; color: var(--ink-soft); display: flex; gap: 8px; align-items: baseline; }
.demo .situation b { color: var(--brand); font-weight: 600; white-space: nowrap; }
.bubble {
  margin-top: 14px; padding: 18px 20px; border-radius: 20px 20px 20px 6px;
  background: var(--brand-soft); position: relative; min-height: 120px;
}
.bubble .en { font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; line-height: 1.4; color: var(--ink); transition: opacity 0.2s ease, transform 0.2s ease; }
.bubble .vi { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.bubble.swap .en { opacity: 0; transform: translateY(6px); }
.demo .foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.demo .meta { font-size: 14px; color: var(--ink-soft); }
.listen { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.listen svg { width: 18px; height: 18px; }
.listen.playing svg { animation: pulse 0.9s ease-in-out infinite; }

/* Các bước */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--brand); color: #fff; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .step .num { color: #0F130D; } }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

/* Đăng ký */
.signup-band { background: linear-gradient(180deg, transparent, var(--brand-soft) 18%, var(--brand-soft) 82%, transparent); }
.signup { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 28px; } }
.perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; }
.perks svg { width: 24px; height: 24px; flex: none; color: var(--brand); }
.form-card { padding: 26px; position: relative; overflow: hidden; }
.field { margin-bottom: 22px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hint { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.error-text { margin-top: 6px; font-size: 14px; color: var(--danger); min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { padding: 0; font-weight: 600; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: 15px; font-weight: 500; transition: all 0.15s ease; cursor: pointer;
}
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--energy); outline-offset: 2px; }
.chip .soon-mark { font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.other-wrap { margin-top: 10px; display: none; }
.other-wrap.show { display: block; animation: float-in 0.3s ease both; }
.field > label.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; color: var(--ink-soft); margin-bottom: 0; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; margin-top: 6px; }
.status { margin-top: 14px; font-size: 15px; }
.status.error { color: var(--danger); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; }

.done { display: none; text-align: center; padding: 10px 4px 4px; }
.form-card.is-done form { display: none; }
.form-card.is-done .done { display: block; animation: float-in 0.5s cubic-bezier(.2, .8, .2, 1) both; }
.done .mascot { width: 110px; height: 116px; margin: 0 auto 10px; }
.done h3 { font-size: 24px; font-weight: 800; }
.done p { margin-top: 10px; color: var(--ink-soft); }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.6s ease-in forwards; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--ink-soft); border-bottom: 2.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Trang chính sách */
.doc { max-width: 760px; padding: 48px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--ink-soft); margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc .updated { margin-top: 10px; font-size: 15px; }

/* Hiện dần khi cuộn */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
@keyframes cheer { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.05); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.12); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 2px var(--brand), 0 0 6px rgba(63, 127, 31, 0.4); } 50% { box-shadow: 0 0 0 3px var(--brand), 0 0 16px rgba(63, 127, 31, 0.8); } }
@keyframes float-in { from { opacity: 0; transform: translate(var(--tx, 0), 14px); } to { opacity: 1; transform: translate(var(--tx, 0), 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fall { to { transform: translateY(520px) rotate(540deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Màu container và lọ sơn (đặt bằng class vì CSP không cho style nội dòng). */
.art-port .stack i.c0 { background: #C2410C; } .art-port .stack i.c1 { background: #2F55D4; }
.art-port .stack i.c2 { background: #3F7F1F; } .art-port .stack i.c3 { background: #D99400; }
.art-port .stack i.c4 { background: #8A5A2B; } .art-port .stack i.c5 { background: #1F8A5B; }
.art-port .stack i.c6 { background: #B4381C; } .art-port .stack i.c7 { background: #2F6FA8; }
.art-nail .bottle.b0 { --c: #E05A7A; } .art-nail .bottle.b1 { --c: #C2410C; } .art-nail .bottle.b2 { --c: #F29B8B; }
.art-nail .bottle.b3 { --c: #8E44AD; } .art-nail .bottle.b4 { --c: #D99400; } .art-nail .bottle.b5 { --c: #B4381C; }
.art-nail .bottle.b6 { --c: #2F6FA8; }

/* Màn hình hero: trời, mây, tiến độ tầng */
.screen > *:not(.sky) { position: relative; z-index: 1; }
.sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cloud { position: absolute; width: 58px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); }
.cloud::before { content: ""; position: absolute; left: 12px; top: -12px; width: 26px; height: 26px; border-radius: 50%; background: inherit; }
.cloud.c1 { top: 47%; left: 3%; animation: drift 14s ease-in-out infinite; }
.cloud.c2 { top: 55%; right: 2%; width: 46px; animation: drift 19s ease-in-out infinite reverse; }
@media (prefers-color-scheme: dark) { .cloud { background: rgba(255, 255, 255, 0.07); } }
.progress-card { margin: 10px 16px 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.86); color: #1B2030; box-shadow: 0 4px 14px rgba(27, 32, 48, 0.08); }
@media (prefers-color-scheme: dark) { .progress-card { background: rgba(255, 255, 255, 0.08); color: #F2F4F7; } }
.progress-card .row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.progress-card .row span { color: var(--energy); font-weight: 600; white-space: nowrap; }
.progress-card .bar { height: 6px; margin-top: 7px; border-radius: 999px; background: rgba(27, 32, 48, 0.1); overflow: hidden; }
.progress-card .bar span { display: block; width: 50%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8CC152, #3F7F1F); animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) 0.5s both; }
@keyframes grow { from { width: 0; } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .stage .mascot-peek { display: none; }
}

.phone { container-type: inline-size; }
.screen-top > div:last-child { display: flex; gap: 4px; flex: none; }
.screen-top .sub { white-space: nowrap; }
@container (max-width: 290px) {
  .progress-card { display: none; }
  .screen-top .sub { display: none; }
}
