:root {
  --blue: #2f6bff;
  --blue-d: #1e4fd8;
  --blue-l: #e9efff;
  --green: #22c55e;
  --green-l: #e7f9ee;
  --ink: #0f172a;
  --text: #0f172a;
  --muted: #55637a;
  --faint: #8a96a8;
  --bg: #ffffff;
  --bg2: #f7f9fc;
  --line: #e3e8f0;
  --orange: #f59e0b;
  --pink: #f25c7a;
  --teal: #14b8a6;
  --fat: #fb923c;
  --violet: #8b5cf6;
  --r: 22px;
  --shadow: 0 18px 50px -18px rgba(27, 42, 74, 0.25);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 999px; padding: 14px 22px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(47, 107, 255, .7); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { width: 36px; height: 36px; background: var(--blue-l); border-radius: 11px; padding: 3px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.wordmark b { color: var(--blue); font-weight: 800; }
.wordmark i { font-style: normal; color: var(--green); font-size: 13px; font-weight: 700; margin-left: 1px; }
.links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 13px var(--font); color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.lang:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto 40%; height: 900px; background: radial-gradient(closest-side, rgba(47, 107, 255, .16), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: -10%; top: 30%; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(34, 197, 94, .12), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue-d); background: var(--blue-l); padding: 7px 14px; border-radius: 999px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); font-weight: 800; margin: 22px 0 18px; }
.grad { background: linear-gradient(100deg, var(--blue) 10%, var(--green) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 11px 20px 11px 16px; border-radius: 14px; min-width: 176px; transition: transform .15s, box-shadow .15s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .6); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; opacity: .8; }
.store b { font-size: 18px; font-family: var(--display); }
.store.light { background: #fff; color: var(--ink); }
.soon { font-size: 13px; color: var(--faint); margin-top: 12px; }
.trust { list-style: none; display: flex; gap: 28px; padding: 0; margin: 28px 0 0; }
.trust li { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.trust b { font-family: var(--display); font-size: 26px; color: var(--ink); }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 640px; }
.phone { position: relative; width: 310px; height: 640px; border-radius: 48px; background: #fff; padding: 12px; box-shadow: 0 0 0 2px #dfe5ef, 0 0 0 10px #f3f6fa, 0 0 0 11px #dfe5ef, var(--shadow), 0 60px 90px -40px rgba(47, 107, 255, .45); }
.tilt { transform: rotate(-2deg); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(-2deg) translateY(-10px); } }
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0b1020; border-radius: 20px; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 38px; background: var(--bg2); overflow: hidden; padding: 52px 14px 0; font-size: 11px; }
.s-head { display: flex; align-items: center; gap: 8px; text-align: center; }
.s-head div { flex: 1; display: flex; flex-direction: column; }
.s-head b { font-family: var(--display); font-size: 14px; }
.s-head small { color: var(--muted); font-size: 10px; }
.s-logo { width: 28px; height: 28px; border-radius: 9px; background: var(--blue-l) url('/assets/logo-mark.svg') center/80% no-repeat; }
.s-ico { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--muted); }
.s-week { display: flex; justify-content: space-between; margin-top: 12px; }
.s-week span { display: flex; flex-direction: column; align-items: center; width: 36px; padding: 5px 0; border-radius: 10px; font: 800 14px var(--font); gap: 1px; }
.s-week span.on { background: #fff; border: 1.5px solid var(--line); }
.s-week span.f { color: var(--faint); }
.s-week i { font-style: normal; font-size: 8px; color: var(--faint); font-weight: 600; letter-spacing: .04em; }
.s-week em { font-style: normal; font-size: 8px; font-weight: 600; }
.s-week em.ok { color: var(--green); }
.s-week em.over { color: #e5484d; }
.s-week em.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: 3px; }
.s-ring { position: relative; width: 168px; height: 168px; margin: 14px auto 8px; }
.s-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.s-ring .trk { stroke: #edf0f5; }
.s-ring .val { stroke: var(--orange); stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1); }
.s-ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.s-ring-txt small { font-size: 7.5px; color: var(--faint); font-weight: 600; letter-spacing: .05em; }
.s-ring-txt b { font: 800 32px var(--font); letter-spacing: -.04em; }
.s-pill { margin: 0 auto; width: max-content; background: var(--blue-l); color: var(--blue-d); font-weight: 700; font-size: 10px; padding: 5px 12px; border-radius: 999px; }
.s-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; text-align: center; }
.s-macros small { font-size: 8px; color: var(--faint); font-weight: 700; letter-spacing: .06em; }
.s-macros b { display: block; font: 800 13px var(--font); }
.s-macros b i { font-style: normal; font-weight: 500; font-size: 9px; color: var(--faint); }
.bar { display: block; height: 5px; border-radius: 4px; background: #edf0f5; margin: 5px 0; position: relative; overflow: hidden; }
.bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; }
.bar.c::after { background: var(--teal); }
.bar.p::after { background: var(--pink); }
.bar.f::after { background: var(--fat); }
.s-mission { display: flex; align-items: center; gap: 9px; margin-top: 14px; background: var(--blue); color: #fff; border-radius: 16px; padding: 10px; }
.s-mission div { flex: 1; display: flex; flex-direction: column; }
.s-mission b { font-family: var(--display); font-size: 12px; }
.s-mission small { font-size: 9px; opacity: .85; }
.mini-ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--green); display: grid; place-items: center; font-weight: 800; font-size: 9px; }
.xp { background: var(--green); color: var(--ink); font-weight: 800; padding: 4px 8px; border-radius: 999px; font-size: 10px; }
.s-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; }
.s-tabs .t { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--faint); }
.s-tabs .t.on { border-color: var(--blue); background: var(--blue-l); }
.s-tabs .cam { width: 46px; height: 46px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7H8l1.2-2h5.6L16 7h2.5A1.5 1.5 0 0 1 20 8.5V17a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17V8.5Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E") center/24px no-repeat; margin-top: -22px; border: 4px solid #fff; box-shadow: 0 8px 18px -6px rgba(47, 107, 255, .7); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); }
.float div { display: flex; flex-direction: column; line-height: 1.2; }
.float small { font-size: 12px; color: var(--muted); }
.float b { font-family: var(--display); font-size: 18px; }
.fi { font-size: 24px; }
.fi-cam { width: 34px; height: 34px; border-radius: 10px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7H8l1.2-2h5.6L16 7h2.5A1.5 1.5 0 0 1 20 8.5V17a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17V8.5Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E") center/20px no-repeat; }
.f1 { left: 0; top: 18%; }
.f2 { right: -4px; bottom: 16%; }

/* ---------- Món ăn: lướt ngang + popup chi tiết ---------- */
.food-strip { padding: 56px 0 24px; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.strip-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.strip-nav { display: flex; gap: 10px; flex: none; }
.snav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s, opacity .15s; }
.snav svg { width: 20px; height: 20px; }
.snav:hover:not(:disabled) { background: var(--blue); color: #fff; border-color: var(--blue); }
.snav:disabled { opacity: .35; cursor: default; }
.dish-filter { display: flex; gap: 8px; margin: 18px 0 4px; overflow-x: auto; scrollbar-width: none; }
.dish-filter::-webkit-scrollbar { display: none; }
.dish-filter button { flex: none; font: 600 14px var(--font); color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.dish-filter button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.dish-row { --pad: max(24px, calc((100vw - 1180px) / 2 + 24px)); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 14px var(--pad) 22px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.dish-row::-webkit-scrollbar { display: none; }
.dish-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.dish-row.dragging .dish-card { pointer-events: none; }
.dish-card { flex: none; width: 236px; scroll-snap-align: start; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding: 0; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.dish-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dc-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg2); }
.dc-img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.dc-kcal { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.dc-kcal i { font-style: normal; color: var(--orange); }
.dc-body { padding: 12px 14px 14px; }
.dc-body b { display: block; font-family: var(--display); font-size: 16px; line-height: 1.3; min-height: 2.6em; }
.dc-meta { display: flex; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.dc-meta .p { color: var(--pink); font-weight: 600; }

body.modal-open { overflow: hidden; }
.dish-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dish-modal[hidden] { display: none; }
.dm-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); animation: dmFade .2s ease; }
.dm-sheet { position: relative; width: min(600px, 100%); max-height: min(88vh, 900px); background: #fff; border-radius: 26px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5); animation: dmPop .24s cubic-bezier(.2, .9, .3, 1.1); outline: none; }
.dm-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
.dm-close svg { width: 18px; height: 18px; }
.dm-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.dm-foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.dm-cta { width: 100%; justify-content: center; }
@keyframes dmFade { from { opacity: 0; } }
@keyframes dmPop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes dmUp { from { transform: translateY(40%); opacity: .4; } }
.dm-hero { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: min(52vh, 460px); overflow: hidden; background: var(--bg2); flex: none; }
.dm-hero .dm-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) saturate(1.15); opacity: .55; }
.dm-hero img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.dm-main { padding: 20px 22px 12px; }
.dm-main h3 { font-size: 26px; font-weight: 800; }
.dm-desc { color: var(--muted); margin: 6px 0 0; }
.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dm-chips span { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.dm-chips .ok { color: #15803d; background: var(--green-l); border-color: #c9f0d8; }
.dm-card { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.dm-card h4 { margin: 0 0 12px; font-family: var(--display); font-size: 17px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dm-card h4 small { font: 500 13px var(--font); color: var(--faint); }
.dm-nut { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dm-nut div { border-radius: 14px; padding: 10px 6px; text-align: center; background: var(--bg2); }
.dm-nut b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.2; }
.dm-nut small { font-size: 12px; color: var(--muted); }
.dm-nut .k b { color: var(--orange); }
.dm-nut .c b { color: var(--teal); }
.dm-nut .p b { color: var(--pink); }
.dm-nut .f b { color: var(--fat); }
.dm-small { font-size: 13px; color: var(--faint); margin: 10px 0 0; }
.dm-tabs { display: flex; gap: 6px; background: var(--bg2); border-radius: 999px; padding: 4px; margin: 18px 0 14px; }
.dm-tabs button { flex: 1; border: 0; background: transparent; font: 600 14px var(--font); color: var(--muted); padding: 9px 6px; border-radius: 999px; cursor: pointer; }
.dm-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.dm-pane[hidden] { display: none; }
.dm-ing { list-style: none; margin: 0; padding: 0; }
.dm-ing li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--line); font-size: 15px; }
.dm-ing li:last-child { border-bottom: 0; }
.dm-ing b { white-space: nowrap; color: var(--muted); font-weight: 600; }
.dm-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.dm-steps li { position: relative; padding: 0 0 16px 44px; counter-increment: st; }
.dm-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.dm-steps li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--blue-l); }
.dm-steps li:last-child::after { display: none; }
.dm-steps b { display: block; font-size: 15px; }
.dm-steps p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.dm-steps small { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--faint); }
.dm-tips { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.dm-tips li + li { margin-top: 6px; }
.dm-lang { font-size: 12px; color: var(--faint); margin: 0 0 10px; }
@media (max-width: 560px) {
  .food-strip { padding-top: 40px; }
  .strip-nav { display: none; }
  .dish-row { --pad: 16px; gap: 12px; }
  .dish-card { width: 64vw; max-width: 260px; }
  .dish-modal { padding: 0; align-items: flex-end; }
  .dm-sheet { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; animation: dmUp .28s cubic-bezier(.2, .9, .3, 1); }
  .dm-main { padding: 16px 16px 10px; }
  .dm-main h3 { font-size: 23px; }
  .dm-nut b { font-size: 17px; }
  .dm-tabs button { white-space: nowrap; }
  .dm-tabs .n { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg2); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.note { font-size: 13px; color: var(--faint); margin-top: 18px; max-width: 760px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feat.big { grid-row: span 2; background: linear-gradient(160deg, #fff 40%, var(--blue-l)); display: flex; flex-direction: column; }
.feat h3 { font-size: 21px; margin: 18px 0 8px; }
.feat.big h3 { font-size: 30px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.feat-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.feat-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-ico.blue { background: var(--blue-l); color: var(--blue); }
.feat-ico.green { background: var(--green-l); color: var(--green); }
.feat-ico.violet { background: #f1ebff; color: var(--violet); }
.feat-ico.orange { background: #fff4de; color: var(--orange); }
.scan-modes { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.scan-modes span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; }

/* Sports */
.sport-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.sport-tabs button { font: 600 15px var(--font); border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.sport-tabs button:hover { border-color: var(--blue); }
.sport-tabs button[aria-selected='true'] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 107, 255, .7); }
.sport-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.sp-card h3 { font-size: 24px; margin-bottom: 8px; }
.sp-card p { color: var(--muted); }
.sp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.sp-metrics div { background: var(--bg2); border-radius: 14px; padding: 12px; }
.sp-metrics small { display: block; color: var(--faint); font-size: 12px; }
.sp-metrics b { font: 800 22px var(--display); }
.sp-meals { display: grid; gap: 10px; }
.sp-meal { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.sp-meal .tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); white-space: nowrap; }
.sp-meal .tag.post { background: var(--green-l); color: #15803d; }
.sp-meal b { font-size: 15px; }
.sp-meal div { flex: 1; display: flex; flex-direction: column; }
.sp-meal small { color: var(--muted); font-size: 13px; }
.sp-meal em { font-style: normal; font-weight: 700; color: var(--orange); white-space: nowrap; }

/* Missions */
.missions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.missions-grid .lead { margin-top: 16px; }
.mis-sub { font-size: 15px; font-weight: 800; letter-spacing: .02em; margin: 30px 0 12px; color: var(--ink); }
.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ladder li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.lv-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: #fff; border: 1px solid var(--line); filter: grayscale(1); opacity: .55; }
.lv-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.lv-tx small { font-size: 11px; color: var(--faint); font-weight: 600; }
.lv-tx b { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ladder em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.ladder li.past .lv-ic { filter: none; opacity: 1; background: var(--green-l); border-color: #c9f0d8; }
.ladder li.past b { color: var(--ink); }
.ladder li.now { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px -10px rgba(47, 107, 255, .7); }
.ladder li.now .lv-ic { filter: none; opacity: 1; background: rgba(255, 255, 255, .2); border-color: transparent; }
.ladder li.now b, .ladder li.now small, .ladder li.now em { color: #fff; }
.badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.badges li { text-align: center; padding: 12px 6px 10px; border-radius: 16px; border: 1px dashed var(--line); background: #fff; }
.badges li span { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 50%; font-size: 20px; background: var(--bg2); filter: grayscale(1); opacity: .5; }
.badges li b { display: block; font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.badges li small { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }
.badges li.got { border-style: solid; border-color: #ffe2a8; background: linear-gradient(180deg, #fffaf0, #fff); }
.badges li.got span { filter: none; opacity: 1; background: linear-gradient(135deg, #ffd66b, #f59e0b); box-shadow: 0 6px 14px -6px rgba(245, 158, 11, .8); }
.badges li.got b { color: var(--ink); }
.mc-rank { color: #9db8ff; font-weight: 700; opacity: 1 !important; }
.mc-pills .fire { background: rgba(245, 158, 11, .2); color: #ffd27a; }
.mc-ring > b { font-size: 28px !important; }
.mc-list small { display: block; font-size: 12px; opacity: .6; margin-top: 1px; }
.mc-boss { display: flex; align-items: center; gap: 12px; margin: -6px 0 12px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(245, 158, 11, .22), rgba(242, 92, 122, .18)); border: 1px solid rgba(245, 158, 11, .35); }
.boss-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: rgba(245, 158, 11, .3); flex: none; }
.mc-boss div { flex: 1; }
.mc-boss small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffd27a; }
.mc-boss b { font-size: 14px; font-weight: 700; }
.mc-boss i { display: block; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 6px; position: relative; overflow: hidden; }
.mc-boss i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #f59e0b, #f25c7a); border-radius: 4px; }
.mc-boss em { font-style: normal; font-size: 13px; font-weight: 800; color: #ffd27a; }
@media (max-width: 560px) {
  .ladder { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}
.mission-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
.mc-head { display: flex; gap: 16px; align-items: center; }
.mc-head > div:last-child { display: flex; flex-direction: column; }
.mc-head b { font: 800 22px var(--display); }
.mc-head small { opacity: .7; font-size: 13px; }
.mc-ring { position: relative; width: 70px; height: 70px; flex: none; }
.mc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.mc-ring .trk { stroke: rgba(255, 255, 255, .15); }
.mc-ring .val { stroke: var(--green); stroke-dasharray: 170; stroke-dashoffset: calc(170 * (1 - var(--p))); }
.mc-ring > b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; }
.mc-pills { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mc-pills span { font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .12); padding: 4px 10px; border-radius: 999px; }
.mc-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.mc-list li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 10px 12px; }
.mc-list .ci { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(47, 107, 255, .25); font-size: 17px; }
.mc-list li.done .ci { background: rgba(34, 197, 94, .25); }
.mc-list div { flex: 1; }
.mc-list b { font-size: 14px; font-weight: 600; }
.mc-list i { display: block; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 6px; position: relative; overflow: hidden; }
.mc-list i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: 4px; }
.mc-list li.done i::after { background: var(--green); }
.mc-list em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); }
.mc-share { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 14px; }
.mc-share small { opacity: .6; font-size: 12px; }
.mc-share p { font-size: 14px; margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.step span { width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 20px var(--display); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; font: 700 18px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px var(--font); color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-d) 60%, #1a3fb0 100%); color: #fff; border-radius: 32px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.cta-box::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 197, 94, .45), transparent); }
.cta-box h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-box p { opacity: .85; margin-top: 10px; }
.cta-box .stores { margin-top: 0; position: relative; z-index: 1; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--bg2); }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-row p { margin-top: 8px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.foot-links a:hover { color: var(--blue); }
.foot-legal { margin-top: 26px; font-size: 13px; color: var(--faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt, .track, .pill .dot { animation: none; }
}

/* Legal pages */
.doc { max-width: 780px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .date { color: var(--faint); font-size: 14px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { color: #334155; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .links { display: none; }
  .hero-grid, .missions-grid, .sport-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .stores, .trust { justify-content: center; }
  .hero-visual { min-height: 600px; margin-top: 12px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat.big { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .missions-grid { gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat.big { grid-column: auto; }
  .phone { width: 280px; height: 580px; }
  .s-ring { width: 150px; height: 150px; }
  .hero-visual { min-height: 590px; }
  .f1 { left: -6px; top: 6%; }
  .f2 { right: -6px; bottom: 6%; }
  .float { padding: 9px 12px; }
  .float b { font-size: 15px; }
  .store { min-width: 0; flex: 1; }
  .trust { gap: 18px; }
  .sp-metrics { grid-template-columns: 1fr 1fr 1fr; }
  .sp-metrics b { font-size: 18px; }
  .wordmark { font-size: 19px; }
}
