:root {
  --ink: #142019;
  --text: #33433A;
  --muted: #4B5A52;
  --line: #DCE3DE;
  --soft: #F6F8F6;
  --white: #FFFFFF;
  --green: #16784A;
  --green-dark: #0F5A37;
  --green-soft: #DDF1E5;
  --gold: #F5B72B;
  --gold-soft: #FDF0CC;
  --gold-ink: #6B4800;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font: 16px/1.55 'Be Vietnam Pro', system-ui, sans-serif;
}
a { color: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; }
h1 { font-size: clamp(40px, 7vw, 64px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; color: var(--text); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section.white { background: var(--white); border-block: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 32px; }
.center { text-align: center; align-items: center; margin-inline: auto; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 246, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav .wrap { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 24px 'Baloo 2', sans-serif; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: var(--white); }
.nav a.link { display: none; min-height: 44px; align-items: center; padding: 0 12px; color: var(--text); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) { .nav a.link { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.btn.primary { background: var(--green); color: var(--white); box-shadow: 0 4px 0 var(--green-dark); }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #B9830E; }
.btn.ghost { background: var(--white); color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.off { background: #E4EAE6; color: var(--muted); pointer-events: none; }

.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hero .copy { display: flex; flex-direction: column; gap: 20px; }
.hero .lead { font-size: 19px; max-width: 540px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 14px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.ticks li::before { content: '✓ '; color: var(--green); font-weight: 800; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.flash { border-radius: 28px; padding: 32px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 48px rgba(20, 32, 25, 0.18); }
.flash .term { font: 800 44px 'Baloo 2', sans-serif; }
.flash .ipa { color: #C9D6CE; }
.flash .mean { padding: 16px; border-radius: 16px; background: #24382D; font-size: 18px; font-weight: 600; }
.levels { display: flex; flex-wrap: wrap; gap: 8px; }
.lv { padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 14px; }
.lv0 { background: #E4F1FA; color: #1F5F8B; }
.lv1 { background: var(--gold-soft); color: var(--gold-ink); }
.lv2 { background: #FCE7DB; color: #9A3A08; }
.lv3 { background: #F1E8F7; color: #5B2C7A; }
.lv4 { background: #D7F2E2; color: #145C38; }
.lv5 { background: var(--green); color: var(--white); }

.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font: 800 22px 'Baloo 2', sans-serif; }
.modes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mode { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.mode strong { display: block; margin-bottom: 4px; }
.mode p { font-size: 14px; }

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--soft); border: 1px solid var(--line); }
.plan.featured { background: var(--ink); color: var(--white); border: 0; }
.plan.featured p, .plan.featured li { color: #DCE6E0; }
.plan.soon { background: var(--white); border-style: dashed; border-color: #B8C4BD; }
.plan .top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.tag.grey { background: #E4EAE6; color: var(--muted); }
.price { font: 800 40px/1 'Baloo 2', sans-serif; }
.price small { font: 600 15px 'Be Vietnam Pro', sans-serif; opacity: 0.85; }
.note { font-size: 13px; min-height: 20px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li::before { content: '✓  '; color: var(--green); font-weight: 800; }
.plan.featured li::before { color: var(--gold); }

.table { border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; margin-top: 28px; background: var(--white); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 18px 20px 6px; font-weight: 700; font-size: 18px; }
th, td { padding: 12px 16px; text-align: left; }
thead th { font-size: 13px; color: var(--muted); }
tbody tr { border-top: 1px solid #EEF3EF; }
tbody th { font-weight: 600; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
summary { min-height: 56px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
details p { padding-bottom: 16px; }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }

.cta { background: var(--green); color: var(--white); border-radius: 28px; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cta p { color: #DDF1E5; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text); font-weight: 600; text-decoration: none; }

.doc { max-width: 760px; padding: 48px 16px 72px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .meta { color: var(--muted); font-size: 14px; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
