/* =========================================================
   PUQ Charity Foundation website
   Palette is taken from the Android app (colors.xml + design reference):
   deep green-black, neon lime, mint, cyan blue, amber.
   ========================================================= */
:root {
  --bg: #040e0c;
  --bg-2: #07161a;
  --card: #0a1c18;
  --card-2: #0e2822;
  --line: rgba(67, 230, 177, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --lime: #d7ff45;
  --mint: #43e6b1;
  --blue: #1fa7ff;
  --amber: #ffd54a;
  --red: #ff6b6b;
  --text: #f4fffa;
  --muted: #9db8b0;
  --dark: #04120d;
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--lime); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--dark); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--dark); }

.icon { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.about-grid h2, .section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--lime), var(--mint)); border-radius: 2px; }
.demo-note { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--amber); padding: 6px 0 6px 14px; margin-top: 24px; max-width: 70ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  text-decoration: none; position: relative; isolation: isolate;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--lime), #a6f23a); color: var(--dark); box-shadow: 0 8px 30px rgba(215, 255, 69, 0.28); }
.btn-primary:hover { color: var(--dark); transform: translateY(-3px); box-shadow: 0 14px 44px rgba(215, 255, 69, 0.45); }
.btn-ghost { border-color: var(--line); background: rgba(10, 28, 24, 0.6); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--mint); color: var(--lime); transform: translateY(-3px); }
.btn-apk { padding: 16px 30px 16px 24px; font-size: 1.12rem; }
.btn-apk .android { width: 30px; height: 30px; }
.btn-apk small { display: block; font-size: 0.74rem; font-weight: 600; opacity: 0.75; line-height: 1.1; margin-top: 2px; }
.btn-apk span.t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.btn-apk::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--lime), var(--mint)); filter: blur(14px); opacity: 0.35;
  animation: halo 3.2s ease-in-out infinite;
}
@keyframes halo { 0%, 100% { opacity: 0.25; transform: scale(0.98); } 50% { opacity: 0.55; transform: scale(1.04); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(4, 14, 12, 0.82); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
.brand:hover { color: var(--text); }
.brand img { width: 44px; height: 44px; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand b { display: block; font-size: 1.28rem; letter-spacing: 0.02em; }
.brand span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--mint); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { color: var(--text); font-weight: 600; font-size: 0.97rem; padding: 10px 14px; border-radius: 999px; transition: background 0.25s, color 0.25s; }
.nav a.link:hover, .nav a.link.active { background: rgba(67, 230, 177, 0.12); color: var(--lime); }
.nav .btn { padding: 10px 20px; margin-left: 8px; font-size: 0.95rem; }
.nav .btn .icon { width: 1.3em; height: 1.3em; }
.menu-toggle { display: none; background: rgba(10, 28, 24, 0.8); border: 1px solid var(--line); border-radius: 14px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--text); }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 50% 50%, rgba(67, 230, 177, 0.22), rgba(31, 167, 255, 0.1) 40%, transparent 68%); filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(215, 255, 69, 0.1), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; margin-bottom: 0.3em; letter-spacing: -0.03em; }
.hero h1 .grad { display: block; background: linear-gradient(95deg, var(--lime) 10%, var(--mint) 70%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-style: italic; color: var(--mint); font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; }
.hero p.lead { color: #c7ddd5; font-size: 1.2rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.92rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--mint); width: 1.15em; height: 1.15em; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.orbit { position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(67, 230, 177, 0.28); animation: spin 38s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 8%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 22px 6px rgba(215, 255, 69, 0.6); }
.orbit.two { width: 86%; border-color: rgba(31, 167, 255, 0.3); animation-duration: 26s; animation-direction: reverse; }
.orbit.two::after { background: var(--blue); box-shadow: 0 0 22px 6px rgba(31, 167, 255, 0.6); top: auto; bottom: 10%; left: 12%; }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: min(330px, 78vw); aspect-ratio: 10 / 15.4; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #1d3a33, #0a1512 40%, #12302a); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px #000, 0 0 70px rgba(67, 230, 177, 0.18);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #000; border-radius: 20px; z-index: 5; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); position: relative; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero .phone { animation: phone-in 1.2s var(--ease) 0.25s both, bob 7s ease-in-out 1.6s infinite; }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(4deg) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; font-weight: 700; font-size: 0.9rem;
  background: rgba(10, 28, 24, 0.88); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); z-index: 6;
}
.float-chip .icon { color: var(--lime); }
.float-chip.c1 { left: -4%; top: 16%; animation: bob 6s ease-in-out 0.4s infinite; }
.float-chip.c2 { right: -6%; top: 46%; animation: bob 7s ease-in-out 1s infinite; }
.float-chip.c3 { left: 0; bottom: 10%; animation: bob 8s ease-in-out 0.2s infinite; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; line-height: 1.1; }

.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
.stat { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; display: flex; align-items: center; gap: 16px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.stat:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(67, 230, 177, 0.16); }
.stat:nth-child(2) { border-color: rgba(31, 167, 255, 0.35); }
.stat:nth-child(3) { border-color: rgba(255, 213, 74, 0.35); }
.stat img { width: 46px; height: auto; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.stat em { font-style: normal; color: var(--lime); font-weight: 700; font-size: 0.82rem; margin-left: 6px; }
.stats-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; margin: 4px 0 0; }

/* ---------- about + pipeline ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.rule-list { display: grid; gap: 14px; margin: 28px 0; }
.rule-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: rgba(10, 28, 24, 0.7); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.rule-list .icon { color: var(--lime); margin-top: 3px; }
.rule-list b { display: block; margin-bottom: 2px; }
.rule-list span { color: var(--muted); font-size: 0.97rem; }
.formula { font-family: var(--font-display); background: linear-gradient(120deg, rgba(215, 255, 69, 0.1), rgba(67, 230, 177, 0.08)); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 1.02rem; }
.formula b { color: var(--lime); }

.pipeline { position: relative; padding-left: 8px; }
.pipeline::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 3px; background: var(--line-soft); border-radius: 3px; }
.pipeline .fill { position: absolute; left: 31px; top: 20px; width: 3px; height: 0; background: linear-gradient(var(--lime), var(--mint), var(--blue)); border-radius: 3px; box-shadow: 0 0 16px rgba(215, 255, 69, 0.6); transition: height 1.6s var(--ease); }
.pipeline.go .fill { height: calc(100% - 40px); }
.stage { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 14px 0; position: relative; }
.stage .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--muted); z-index: 1; transition: all 0.5s var(--ease); }
.stage.on .num { background: var(--lime); color: var(--dark); border-color: var(--lime); box-shadow: 0 0 26px rgba(215, 255, 69, 0.55); transform: scale(1.08); }
.stage h3 { font-size: 1.2rem; margin: 6px 0 4px; }
.stage p { color: var(--muted); margin: 0; font-size: 0.99rem; }

/* ledger demo */
.ledger { margin-top: clamp(40px, 6vw, 72px); background: linear-gradient(165deg, var(--card-2), var(--card)); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); }
.ledger h3 { font-size: 1.35rem; }
.ledger p.sub { color: var(--muted); }
.balance-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; margin: 18px 0; }
.balance-box .lbl { color: var(--muted); font-size: 0.92rem; }
.balance-box .val { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--lime); line-height: 1.1; }
.balance-box .eq { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.balance-box .eq b { color: var(--text); }
.tx-list { display: grid; gap: 8px; }
.tx { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(4, 14, 12, 0.7); border: 1px solid var(--line-soft); font-size: 0.95rem; transition: border-color 0.4s, background 0.4s; }
.tx b { font-weight: 700; }
.tx small { color: var(--muted); grid-column: 1; }
.tx .amt { font-family: var(--font-display); font-weight: 700; text-align: right; grid-row: 1 / span 2; grid-column: 2; }
.tx .amt.in { color: var(--mint); } .tx .amt.out { color: var(--blue); }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.pill.ver { background: rgba(215, 255, 69, 0.14); color: var(--lime); }
.pill.unv { background: rgba(255, 213, 74, 0.16); color: var(--amber); }
.tx.pending { border-color: rgba(255, 213, 74, 0.5); background: rgba(255, 213, 74, 0.06); }
.tx-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tx-actions .btn { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- features explorer ---------- */
.features { background: linear-gradient(180deg, transparent, rgba(7, 22, 26, 0.9) 12%, rgba(7, 22, 26, 0.9) 88%, transparent); }
.explorer { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.explorer > *, .showcase > *, .about-grid > *, .hero-grid > *, .ledger > *, .download-card > *, .legal-wrap > * { min-width: 0; }
.tablist { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 16px); }
.tab { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 12px 16px; background: rgba(10, 28, 24, 0.7); border: 1.5px solid var(--line-soft); border-radius: var(--radius-sm); font-weight: 700; transition: all 0.3s var(--ease); }
.tab img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.tab .icon { color: var(--mint); width: 26px; height: 26px; }
.tab:hover { border-color: var(--line); transform: translateX(4px); }
.tab[aria-selected="true"] { background: linear-gradient(120deg, rgba(215, 255, 69, 0.14), rgba(67, 230, 177, 0.08)); border-color: var(--lime); color: var(--lime); box-shadow: 0 0 30px rgba(215, 255, 69, 0.12); transform: translateX(6px); }
.panel { background: linear-gradient(165deg, var(--card-2), var(--card)); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 44px); min-height: 520px; }
.panel[hidden] { display: none; }
.panel.show { animation: panel-in 0.55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); display: flex; align-items: center; gap: 14px; }
.panel h3 img { width: 44px; }
.panel .lead { color: #c7ddd5; font-size: 1.1rem; }
.panel h4 { font-size: 1.02rem; color: var(--mint); margin: 26px 0 10px; }
.how { display: grid; gap: 10px; }
.how li { position: relative; padding-left: 22px; color: #d6e8e1; }
.how li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(215, 255, 69, 0.7); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { font-size: 0.86rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: rgba(67, 230, 177, 0.1); border: 1px solid var(--line); color: #cdeee3; }
.panel .split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin-top: 6px; }
.mini-table th, .mini-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); }
.mini-table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.mini-table td:last-child, .mini-table th:last-child { text-align: right; }

.also { margin-top: clamp(36px, 5vw, 60px); }
.also h3 { font-size: 1.4rem; }
.also-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { background: linear-gradient(165deg, var(--card-2), var(--card)); border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); padding: 22px; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 46px rgba(67, 230, 177, 0.12); }
.card .icon { color: var(--lime); width: 32px; height: 32px; margin-bottom: 12px; }
.card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- screens showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 84px); align-items: center; }
.screen-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-soft); background: rgba(10, 28, 24, 0.7); font-weight: 700; font-size: 0.95rem; transition: all 0.3s var(--ease); }
.chip:hover { border-color: var(--line); }
.chip[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--dark); box-shadow: 0 8px 26px rgba(215, 255, 69, 0.3); }
.screen-caption h3 { font-size: 1.6rem; }
.screen-caption p { color: #c7ddd5; max-width: 52ch; }
.screen-caption ul { display: grid; gap: 8px; margin-top: 12px; }
.screen-caption li { display: flex; gap: 10px; color: var(--muted); }
.screen-caption li .icon { color: var(--lime); width: 1.2em; height: 1.2em; margin-top: 4px; }

.phone.big { width: min(360px, 84vw); aspect-ratio: 10 / 16.6; }
.screen { position: absolute; inset: 0; padding: 38px 12px 14px; overflow-y: auto; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateX(26px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s; background: var(--bg); }
.screen::-webkit-scrollbar { display: none; }
.screen.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.screen.photo { padding: 0; }
.screen.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.s-title { font-family: var(--font-display); font-weight: 700; color: var(--lime); font-size: 1.15rem; margin: 6px 0 2px; }
.s-sub { color: var(--muted); font-size: 0.7rem; margin-bottom: 10px; }
.s-card { background: linear-gradient(160deg, #0e2822, #0a1c18); border: 1px solid rgba(67, 230, 177, 0.3); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; font-size: 0.72rem; }
.s-card.lime { border-color: rgba(215, 255, 69, 0.6); }
.s-card.blue { border-color: rgba(31, 167, 255, 0.45); }
.s-card.amber { border-color: rgba(255, 213, 74, 0.5); }
.s-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-muted { color: var(--muted); }
.s-big { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--lime); line-height: 1.15; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-chips { display: flex; gap: 5px; overflow: hidden; margin-bottom: 8px; }
.s-chips span { padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(67, 230, 177, 0.3); font-size: 0.64rem; white-space: nowrap; }
.s-chips span.on { background: var(--lime); color: var(--dark); border-color: var(--lime); font-weight: 700; }
.bar { height: 7px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--mint), var(--lime)); transition: width 1.2s var(--ease); }
.screen.active .bar i { width: var(--w); }
.s-btn { display: block; width: 100%; text-align: center; border: 0; border-radius: 12px; padding: 9px; background: var(--lime); color: var(--dark); font-weight: 800; font-size: 0.78rem; margin-top: 8px; }
.s-input { width: 100%; background: #06120f; border: 1px solid rgba(67, 230, 177, 0.3); color: var(--text); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 0.75rem; margin-top: 6px; }
.s-chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: 8px; }
.s-chart div { flex: 1; display: flex; gap: 2px; align-items: flex-end; height: 100%; }
.s-chart i { flex: 1; border-radius: 3px 3px 0 0; height: 0; transition: height 1s var(--ease); }
.screen.active .s-chart i { height: var(--h); }
.s-chart i.in { background: var(--lime); } .s-chart i.ex { background: var(--mint); }
.s-toggle { width: 30px; height: 17px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); position: relative; flex: none; }
.s-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.s-toggle.on { background: var(--mint); } .s-toggle.on::after { left: 15px; }
.s-donut { width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--lime) 0 58%, var(--mint) 58% 69%, var(--blue) 69% 89%, var(--amber) 89% 100%); display: grid; place-items: center; flex: none; }
.s-donut::after { content: ""; width: 46px; height: 46px; border-radius: 50%; background: #0a1c18; }

/* ---------- download ---------- */
.download-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 60px); background: linear-gradient(140deg, #0d3027, #0a1c18 55%, #0a2233); border: 1.5px solid var(--line); border-radius: 34px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.download-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 255, 69, 0.2), transparent 65%); }
.download-card h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.download-card > div { position: relative; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.spec { background: rgba(4, 14, 12, 0.55); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 16px; }
.spec small { display: block; color: var(--muted); font-size: 0.82rem; }
.spec b { font-family: var(--font-display); }
.install { display: grid; gap: 14px; counter-reset: s; align-content: center; }
.install li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; color: #d6e8e1; }
.install li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(215, 255, 69, 0.14); border: 1.5px solid var(--lime); color: var(--lime); font-family: var(--font-display); font-weight: 700; }
.install-wrap { position: relative; align-self: center; }
.install-wrap h3 { font-size: 1.3rem; margin-bottom: 18px; }
.install-note { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

.stores { padding-bottom: clamp(56px, 7vw, 96px); }
.stores-box { text-align: center; border: 1.5px solid var(--line-soft); border-radius: 34px; padding: clamp(32px, 5vw, 60px) 20px; background: radial-gradient(ellipse at 50% 0, rgba(67, 230, 177, 0.12), transparent 60%), var(--card); }
.stores-box h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.stores-box p { color: var(--muted); max-width: 56ch; margin-inline: auto; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }
.store { display: flex; align-items: center; gap: 14px; min-width: 250px; padding: 12px 26px; border-radius: 16px; text-align: left; transition: transform 0.4s var(--ease), box-shadow 0.4s; border: 1.5px solid; }
.store svg { width: 40px; height: 40px; flex: none; }
.store small { display: block; font-size: 0.78rem; line-height: 1.1; opacity: 0.85; }
.store b { display: block; font-family: var(--font-body); font-size: 1.55rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.store.apple { background: #000; border-color: #a6a6a6; color: #fff; cursor: pointer; }
.store.apple:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255, 255, 255, 0.12); color: #fff; }
.store.play { background: rgba(10, 28, 24, 0.9); border-color: var(--line); color: var(--text); cursor: default; position: relative; }
.store.play .soon { display: inline-block; margin-top: 4px; padding: 2px 12px; border-radius: 99px; background: var(--amber); color: #2a2100; font-weight: 800; font-size: 0.82rem; }
.store.play b { font-size: 1.3rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 54px 0 34px; background: #030a09; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer p { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }
.footer h4 { font-size: 1rem; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--muted); font-size: 0.97rem; }
.footer li a:hover { color: var(--lime); }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--card-2); border: 1.5px solid var(--lime); color: var(--text); padding: 14px 22px; border-radius: 16px; z-index: 300; max-width: min(92vw, 460px); text-align: center; font-weight: 600; transition: all 0.45s var(--ease); pointer-events: none; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- legal pages ---------- */
.legal-hero { padding: calc(var(--header-h) + 56px) 0 34px; position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(67, 230, 177, 0.2), transparent 65%); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; position: relative; }
.legal-hero p { color: var(--muted); position: relative; max-width: 64ch; }
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 18px; }
.toc h2 { font-size: 0.98rem; color: var(--mint); margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: 0.93rem; line-height: 1.35; }
.toc a:hover, .toc a.active { background: rgba(67, 230, 177, 0.1); color: var(--lime); }
.legal { background: linear-gradient(165deg, var(--card-2), var(--card)); border: 1.5px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); }
.legal section { padding-bottom: 8px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.legal section:last-child { border: 0; margin: 0; }
.legal h2 { font-size: 1.45rem; color: var(--lime); }
.legal h3 { font-size: 1.08rem; margin-top: 1.2em; }
.legal p, .legal li { color: #d0e4dc; }
.legal ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 0; }
.legal ul li { padding-left: 22px; position: relative; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.legal .callout { background: rgba(255, 213, 74, 0.08); border: 1px solid rgba(255, 213, 74, 0.4); border-radius: var(--radius-sm); padding: 14px 18px; margin: 14px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 10px 0 18px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; min-width: 130px; }
.legal th { color: var(--mint); font-size: 0.88rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .about-grid, .download-card, .ledger, .showcase { grid-template-columns: 1fr; }
  .hero-stage { min-height: 500px; margin-top: 12px; }
  .hero-stage .phone { width: min(290px, 70vw); }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .tablist { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .tab { white-space: nowrap; }
  .tab:hover, .tab[aria-selected="true"] { transform: none; }
  .showcase .phone { margin-inline: auto; order: -1; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: rgba(4, 14, 12, 0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform 0.45s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a.link { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; padding: 14px; }
  .stats-strip { grid-template-columns: 1fr; }
  .panel .split, .specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-chip.c1 { left: 2%; } .float-chip.c2 { right: 2%; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 28px); }
  .hero-actions .btn { width: 100%; }
  .float-chip { display: none; }
  .store { width: 100%; justify-content: center; }

  .tx { grid-template-columns: 1fr; } .tx .amt { grid-row: auto; grid-column: 1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 360px) { .brand span { display: none; } }
