/* Menullo – public website (landing + legal pages). Plain CSS, system fonts only. */
:root {
  --bg: #F6F3EC;
  --bg-deep: #EFE9DD;
  --card: #FFFFFF;
  --line: #E8E2D6;
  --line-soft: #F1EDE5;
  --text: #1C1917;
  --muted: #57534E;
  --green: #166534;
  --green-dark: #14532D;
  --green-soft: #E6F2EA;
  --gold: #A07A1E;
  --gold-text: #6B4E10;
  --gold-soft: #FBF5E6;
  --gold-line: #E9D9AE;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 8px 24px rgba(28, 25, 23, .06);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, .05), 0 22px 52px rgba(28, 25, 23, .13);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --brand-serif: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --maxw: 1120px;
  --header-h: 64px;
}
/* Scripts that need their own fonts */
html:lang(zh) {
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", Roboto, sans-serif;
  --serif: var(--font);
}
html:lang(vi) { --serif: ui-serif, "Times New Roman", "Noto Serif", serif; }
html:lang(uk) { --serif: ui-serif, Georgia, "Times New Roman", "Noto Serif", serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html:lang(zh) body { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--text); margin: 0; font-weight: 700; letter-spacing: -.012em; line-height: 1.15; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; font-weight: 600; line-height: 1.35; }
html:lang(vi) h1, html:lang(vi) h2, html:lang(vi) h3 { line-height: 1.3; }
p { margin: 0; }
h1, h2, h3, p, li, summary, dd, td, th { overflow-wrap: break-word; }
html:lang(de) :is(.cmp td, .cmp th, .g-dish b), html:lang(hu) :is(.cmp td, .cmp th, .g-dish b) { -webkit-hyphens: auto; hyphens: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* Before the language is applied, hide the page briefly (never longer than 1.5 s). */
.i18n-wait body { opacity: 0; animation: i18n-show 0s linear 1.5s forwards; }
@keyframes i18n-show { to { opacity: 1; } }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(232, 226, 214, .9);
  padding-top: env(safe-area-inset-top);
}
.top-inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(20, 83, 45, .18); }
.brand-name { font-family: var(--brand-serif); font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1; }
.nav { display: none; margin-left: 28px; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--text); background: rgba(28, 25, 23, .04); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (min-width: 1000px) { .nav { display: flex; } }

.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: 14px; font-weight: 700; }
.lang svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.lang .chev { width: 14px; height: 14px; }
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; -webkit-appearance: none; appearance: none; }
.lang:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.lang:hover { border-color: #D9D1C1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: .005em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .08s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 10px 24px rgba(22, 101, 52, .26); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--line); box-shadow: 0 1px 2px rgba(28, 25, 23, .04); }
.btn-secondary:hover { color: var(--text); border-color: #D6CDBB; background: #FFFDF8; }
.btn-light { background: #fff; color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { background: var(--gold-soft); color: var(--green-dark); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 389px) {
  .brand-name { font-size: 19px; }
  .top-actions .btn-small { padding: 8px 11px; font-size: 14px; }
  .lang { padding: 0 9px; }
}

/* ---------- Sections ---------- */
main { overflow-x: clip; }
main:focus { outline: none; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: var(--bg-deep); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
html:lang(zh) .eyebrow, html:lang(vi) .eyebrow { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 1.35rem + 2.6vw, 2.75rem); }
.section-head .lead { margin-top: 14px; }
.lead { font-size: 1.13rem; color: var(--muted); line-height: 1.6; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } .lead { font-size: 1.2rem; } }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; background: radial-gradient(60% 70% at 85% 10%, rgba(160, 122, 30, .10), transparent 70%), radial-gradient(50% 60% at 0% 0%, rgba(22, 101, 52, .07), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.022em; margin-bottom: 18px; }
html:lang(zh) .hero h1 { line-height: 1.25; letter-spacing: 0; }
html:lang(vi) .hero h1 { line-height: 1.2; }
.hero .lead { max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .cta-row .btn { flex: 0 0 auto; } }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}
.hero-visual { position: relative; width: 100%; max-width: 400px; margin: 0 auto; padding: 22px 10px 34px; }
.hero-visual .menu-card { transform: rotate(-1.6deg); box-shadow: var(--shadow-lg); }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: 78%; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 10px 28px rgba(28, 25, 23, .14); font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--text); }
.chip svg { width: 20px; height: 20px; flex-shrink: 0; }
.chip-a { top: 0; right: 0; }
.chip-a svg { color: var(--green); }
.chip-b { bottom: 4px; left: 0; }
.chip-b svg { color: var(--gold); }

/* ---------- Menu card (shared by hero and templates) ---------- */
.menu-card { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background-color: var(--t-bg, #fff); background-size: cover; background-position: center; color: var(--t-fg, #1C1917); font-family: var(--font); }
.mc-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: var(--t-pady, 9cqw) var(--t-padx, 9cqw); }
.menu-card.is-serif .mc-inner { font-family: var(--serif); }
.menu-card.is-dark .mc-inner { text-shadow: 0 1px 2px rgba(0, 0, 0, .28); }
.mc-name { font-size: 12px; font-size: 3.6cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); margin-bottom: 2cqw; font-family: var(--font); }
html:lang(zh) .mc-name { letter-spacing: .04em; }
.mc-title { font-size: 26px; font-size: 9.2cqw; font-weight: 700; line-height: 1.08; letter-spacing: -.01em; color: var(--t-title, var(--t-fg)); font-family: var(--serif); }
.menu-card.is-thin .mc-title { font-weight: 400; letter-spacing: .01em; }
.mc-day { margin-top: 2cqw; font-size: 14px; font-size: 4.6cqw; font-weight: 700; color: var(--t-accent, var(--t-price)); font-family: var(--font); }
.mc-rule { height: 1px; flex-shrink: 0; background: var(--t-line); margin: 5cqw 0 4.4cqw; }
.mc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4cqw; }
.mc-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 4cqw; font-size: 14px; font-size: 4.9cqw; line-height: 1.28; }
.mc-soup { color: var(--t-muted); font-style: italic; }
html:lang(zh) .mc-soup, html:lang(vi) .mc-soup { font-style: normal; }
.mc-price { flex-shrink: 0; font-weight: 700; color: var(--t-price); white-space: nowrap; font-family: var(--font); font-variant-numeric: tabular-nums; }
.mc-foot { margin-top: auto; display: flex; align-items: center; gap: 3cqw; font-size: 12px; font-size: 3.8cqw; font-weight: 600; color: var(--t-muted); font-family: var(--font); }
.mc-foot svg { width: 9cqw; height: 9cqw; color: var(--t-fg); }
.mc-bar { position: absolute; left: 0; right: 0; top: 0; height: 2.2cqw; background: var(--t-bar); }

.t-chalk { --t-bg: #1A4430; --t-fg: #F8FAF8; --t-muted: #C7D2CC; --t-price: #FACC15; --t-line: rgba(255, 255, 255, .22); background-image: url(/static/bg/chalk.jpg); }
.t-paper { --t-bg: #F6E8D0; --t-fg: #1C1917; --t-muted: #57534E; --t-price: #7A5C14; --t-line: #D9C9A8; --t-padx: 13cqw; --t-pady: 13cqw; background-image: url(/static/bg/paper.jpg); }
.t-minimal { --t-bg: #FFFFFF; --t-fg: #0A0A0A; --t-muted: #525252; --t-price: #0A0A0A; --t-line: #E5E5E5; box-shadow: inset 0 0 0 1px #E7E2D8; }
.t-modern { --t-bg: #FFFFFF; --t-fg: #111827; --t-muted: #4B5563; --t-price: #166534; --t-line: #E5E7EB; --t-bar: #166534; --t-pady: 11cqw; box-shadow: inset 0 0 0 1px #E7E2D8; }
.t-elegant { --t-bg: #22211F; --t-fg: #F5F0E6; --t-muted: #C9C1B1; --t-price: #E2C275; --t-line: rgba(245, 240, 230, .24); }
.t-navy { --t-bg: #0B2340; --t-fg: #F5F0E6; --t-muted: #BAC3D6; --t-price: #E2C275; --t-line: rgba(245, 240, 230, .22); --t-padx: 13.5cqw; --t-pady: 13.5cqw; background-image: url(/static/bg/navy.jpg); }
.t-fresh { --t-bg: #E6F0D2; --t-fg: #14532D; --t-muted: #3F6B4E; --t-price: #166534; --t-line: #C3DCC9; --t-pady: 16cqw; background-image: url(/static/bg/fresh.jpg); }
.t-terracotta { --t-bg: #B24E22; --t-fg: #FFF8F1; --t-muted: #FBE3D3; --t-price: #FFE7B8; --t-line: rgba(255, 248, 241, .34); background-image: url(/static/bg/terracotta.jpg); }
.t-family { --t-bg: #FFF7ED; --t-fg: #431407; --t-muted: #7C2D12; --t-price: #166534; --t-line: #F3D3AE; --t-pady: 12cqw; background-image: url(/static/bg/family.jpg); }
.t-slate { --t-bg: #2F3031; --t-fg: #F4F4F5; --t-muted: #C4C7CE; --t-price: #F2C14E; --t-line: rgba(255, 255, 255, .2); background-image: url(/static/bg/slate.jpg); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px 24px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold-line); background: var(--gold-soft); color: var(--gold-text); font-family: var(--brand-serif); font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 1.32rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } .step { padding: 32px 28px; } }

/* ---------- Features ---------- */
.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feat-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.feat-icon svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.15rem; line-height: 1.25; }
.feat p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .feat { padding: 26px; } }
.soon { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1.5px dashed var(--gold-line); background: var(--gold-soft); }
.soon-badge { align-self: flex-start; flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gold-line); color: var(--gold-text); font-size: 13px; font-weight: 700; }
.soon h3 { font-size: 1.15rem; }
.soon p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 900px) { .soon { flex-direction: row; align-items: center; gap: 20px; padding: 22px 28px; } .soon h3 { flex-shrink: 0; } }

/* ---------- Templates ---------- */
.tpl-scroller {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 22px;
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.tpl-scroller:focus-visible { outline-offset: -3px; border-radius: 12px; }
.tpl-item { flex: 0 0 min(70vw, 270px); scroll-snap-align: start; margin: 0; }
.tpl-item .menu-card { box-shadow: var(--shadow); }
.tpl-name { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 700; font-size: 16px; }
.tpl-free { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 12.5px; font-weight: 700; }
.tpl-hint { margin-top: 2px; text-align: center; color: var(--muted); font-size: 14px; }
@media (min-width: 1040px) {
  .tpl-scroller { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; overflow: visible; }
  .tpl-hint { display: none; }
}

/* ---------- Guest view ---------- */
.guest-grid { display: grid; gap: 40px; align-items: center; }
.guest-copy h2 { font-size: clamp(1.9rem, 1.35rem + 2.6vw, 2.75rem); }
.guest-copy .lead { margin-top: 14px; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.check-list .ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-top: -1px; }
.check-list .ic svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .guest-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } .phone-wrap { order: -1; } }
.phone { width: min(100%, 320px); margin: 0 auto; padding: 10px; border-radius: 44px; background: #1C1917; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3A3532; }
.screen { border-radius: 35px; overflow: hidden; background: #FAF8F4; font-size: 13.5px; line-height: 1.4; color: #1C1917; }
.g-head { background: var(--green); color: #fff; padding: 22px 16px 16px; display: flex; align-items: center; gap: 10px; }
.g-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--brand-serif); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.g-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.g-sub { font-size: 12px; opacity: .85; }
.g-lang { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; white-space: nowrap; }
.g-lang svg { width: 14px; height: 14px; }
.g-body { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.g-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.g-days > span { text-align: center; padding: 7px 0; border-radius: 10px; background: #fff; border: 1px solid #EAE5DB; font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; }
.g-days > span.on { background: var(--green); border-color: var(--green); color: #fff; }
.g-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.g-filters > span { padding: 5px 10px; border-radius: 999px; border: 1px solid #DCD5C7; background: #fff; font-size: 12px; font-weight: 600; }
.g-filters > span.on { background: var(--green-soft); border-color: #B7D7C1; color: var(--green-dark); }
.g-tools { display: flex; gap: 6px; }
.g-tools > span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid #EAE5DB; font-size: 12px; font-weight: 600; color: var(--muted); }
.g-tools svg { width: 14px; height: 14px; }
.g-card { background: #fff; border: 1px solid #EFEAE0; border-radius: 16px; padding: 4px 12px; }
.g-dish { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid #F1EDE5; align-items: baseline; }
.g-dish:last-child { border-bottom: 0; }
.g-no { width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; align-self: start; margin-top: 1px; }
.g-dish b { font-weight: 700; font-size: 13.5px; }
.g-dish .g-price { font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.g-meta { grid-column: 2 / 4; font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.g-meta svg { width: 13px; height: 13px; color: var(--green); }
.g-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
html:lang(zh) .g-label, html:lang(vi) .g-label { text-transform: none; letter-spacing: 0; }

/* ---------- Founding offer ---------- */
.founders { position: relative; overflow: hidden; display: grid; gap: 26px; padding: 30px 20px; border-radius: 24px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, #FDF9EE 0%, #F8EED6 100%); box-shadow: var(--shadow); }
.founders::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #C9A24A, #A07A1E 50%, #C9A24A); }
.founders h2 { font-size: clamp(1.7rem, 1.25rem + 2.2vw, 2.4rem); }
.founders .lead { margin-top: 12px; color: #4A433D; }
.fo-regular { margin-top: 10px; color: var(--muted); font-size: 15px; }
.fo-count { margin-top: 20px; }
.fo-count-text { font-weight: 800; font-size: 17px; color: var(--gold-text); }
.meter { margin-top: 10px; height: 10px; border-radius: 999px; background: #EADFC2; overflow: hidden; max-width: 420px; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #C9A24A, #A07A1E); transition: width .8s ease; }
.fo-side { background: #fff; border: 1px solid var(--gold-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.fo-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fo-plan { width: 100%; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
html:lang(zh) .fo-plan, html:lang(vi) .fo-plan { text-transform: none; letter-spacing: 0; }
.fo-amount { font-family: var(--brand-serif); font-variant-numeric: lining-nums; font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.fo-per { color: var(--muted); font-size: 16px; }
.fo-old { color: var(--muted); font-size: 16px; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.fo-year { color: var(--muted); font-size: 15px; }
.fo-side .btn { width: 100%; }
.fo-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) { .founders { grid-template-columns: 1.3fr .9fr; gap: 48px; padding: 48px; align-items: center; } }

/* ---------- Pricing ---------- */
.billing { display: flex; justify-content: center; margin: -8px 0 32px; }
.billing fieldset { border: 0; margin: 0; padding: 4px; display: inline-flex; gap: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 25, 23, .04); max-width: 100%; }
.billing input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.billing label { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; min-height: 48px; padding: 6px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--muted); text-align: center; line-height: 1.2; transition: background-color .15s ease, color .15s ease; }
.billing input:checked + label { background: var(--green); color: #fff; }
.billing input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.save { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.billing input:checked + label .save { background: rgba(255, 255, 255, .18); color: #fff; }
.plans { display: grid; gap: 18px; align-items: stretch; max-width: 560px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 22px 24px; }
.plan.featured { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; }
.plan h3 { font-size: 1.5rem; }
.plan-desc { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 1.5em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 18px; }
.amount { font-family: var(--brand-serif); font-variant-numeric: lining-nums; font-size: 46px; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.per { color: var(--muted); font-size: 16px; font-weight: 600; }
.price-sub { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 1.45em; }
.plan .btn { width: 100%; margin: 20px 0 22px; }
.plan-founder { margin: -10px 0 18px; font-size: 14px; font-weight: 700; }
.plan-founder a { color: var(--gold-text); }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15.5px; line-height: 1.4; }
.feats li { display: flex; gap: 10px; align-items: flex-start; }
.feats svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.feats li.no { color: var(--muted); }
.feats li.no svg { color: #A8A29E; }
.feats li.strong { font-weight: 700; }
[data-billing="year"] .m-only, [data-billing="month"] .y-only { display: none !important; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: none; } .plan { padding: 30px 26px 28px; } }
.pr-notes { max-width: 760px; margin: 30px auto 0; display: grid; gap: 8px; text-align: center; color: var(--muted); font-size: 14.5px; }
.compare { max-width: 900px; margin: 28px auto 0; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.compare summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; font-weight: 700; color: var(--green-dark); border-radius: var(--radius); }
.compare summary::-webkit-details-marker { display: none; }
.compare summary svg { width: 18px; height: 18px; transition: transform .2s ease; }
.compare[open] summary svg { transform: rotate(180deg); }
.table-scroll { overflow-x: auto; padding: 0 12px 16px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.cmp th, .cmp td { padding: 12px 8px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { border-top: 0; font-family: var(--serif); font-size: 16px; }
.cmp th[scope="row"] { text-align: left; font-weight: 600; min-width: 9.5em; }
.cmp td.y { color: var(--green); font-weight: 700; }
.cmp td.n { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { list-style: none; position: relative; cursor: pointer; min-height: 60px; padding: 17px 56px 17px 20px; font-weight: 700; font-size: 17px; line-height: 1.4; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { padding: 0 20px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { font-weight: 700; display: inline-block; padding: 6px 0; }

/* ---------- Final CTA ---------- */
.end { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 26px; padding: 48px 22px; background: radial-gradient(80% 120% at 50% 0%, #1D7A42 0%, #14532D 62%, #103F23 100%); box-shadow: var(--shadow-lg); }
.end::before { content: ""; position: absolute; left: 50%; top: 22px; width: 64px; height: 2px; margin-left: -32px; background: #D9B866; border-radius: 2px; }
.end h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.6rem); max-width: 18em; margin: 8px auto 0; }
.end p { color: rgba(255, 255, 255, .88); margin: 14px auto 0; max-width: 34em; font-size: 1.1rem; }
.end .cta-row { justify-content: center; }
.end .login-link { display: inline-block; margin-top: 18px; padding: 10px 6px; color: #fff; font-weight: 600; }
.end .login-link:hover { color: #F3E3B5; }
@media (min-width: 900px) { .end { padding: 72px 48px; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.foot-grid { display: grid; gap: 28px; }
.foot-grid h2 { font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
html:lang(zh) .foot-grid h2, html:lang(vi) .foot-grid h2 { text-transform: none; letter-spacing: 0; font-size: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-block; padding: 8px 0; font-weight: 600; }
.foot-brand .brand { margin-bottom: 8px; }
.foot-grid p + p { margin-top: 6px; }
.foot-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.2fr 1.5fr 1fr .8fr; gap: 40px; } }

/* ---------- Gentle reveal on scroll ---------- */
.anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .meter span, .btn, .billing label, .faq summary::after { transition: none; }
}

/* ---------- Legal pages ---------- */
.legal-main { padding: 36px 0 72px; }
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.7rem); line-height: 1.12; }
.legal .doc-meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal .summary { margin-top: 26px; padding: 20px 22px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.legal .summary h2 { font-size: 1.1rem; margin: 0 0 8px; }
.legal .summary ul { margin: 0; padding-left: 1.2em; }
.legal .toc { margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.legal .toc h2 { font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.legal .toc ol { margin: 0; padding-left: 1.4em; columns: 1; }
.legal .toc li { padding: 7px 0; line-height: 1.45; }
.legal .toc a { display: inline; }
@media (min-width: 700px) { .legal .toc ol { columns: 2; column-gap: 36px; } .legal .toc li { break-inside: avoid; } }
.legal section { margin-top: 40px; }
.legal section > h2 { font-size: 1.45rem; margin-bottom: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-family: var(--font); font-size: 1.05rem; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.68; }
.legal p + p { margin-top: 10px; }
.legal .cl { position: relative; padding-left: 2.9em; margin-top: 10px; }
.legal .cl-no { position: absolute; left: 0; top: 0; color: var(--gold-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.legal .cl ul, .legal .cl ol { margin: 6px 0 0; padding-left: 1.2em; }
.legal .cl li + li { margin-top: 4px; }
.legal ul.plain { margin: 8px 0 0; padding-left: 1.2em; }
.legal ul.plain li + li { margin-top: 4px; }
.legal dl { margin: 8px 0 0; }
.legal dt { font-weight: 700; margin-top: 10px; }
.legal dd { margin: 2px 0 0; color: #3F3A36; }
.legal .table-scroll { margin-top: 12px; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 11px 12px; border-top: 1px solid var(--line); }
.legal thead th { border-top: 0; background: #FBF9F4; font-size: 14px; }
.legal td.c, .legal th.c { text-align: center; }
.legal .lang-note { margin-top: 10px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.legal address { font-style: normal; }
.legal .gap { margin-top: 12px; }

@media print {
  .top, .skip, .site-foot .foot-copy { display: none; }
  body { background: #fff; font-size: 12pt; }
  .anim .reveal { opacity: 1 !important; transform: none !important; }
  a { color: inherit; }
}
