:root {
  color-scheme: dark;
  --bg: #06100e;
  --panel: rgba(15, 31, 27, 0.72);
  --line: rgba(184, 255, 224, 0.13);
  --text: #f0fff8;
  --muted: #8da99e;
  --acid: #72f6b3;
  --acid-2: #c6ff52;
  --telegram-bg: var(--tg-theme-bg-color, var(--bg));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--telegram-bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--tg-theme-text-color, var(--text));
  background:
    linear-gradient(rgba(114, 246, 179, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 246, 179, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 82% 5%, #12382b 0, transparent 31%),
    var(--telegram-bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(100%, 1120px); margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); position: relative; z-index: 1; }
.ambient { position: fixed; width: 380px; height: 380px; border-radius: 50%; filter: blur(100px); opacity: .13; pointer-events: none; }
.ambient-one { background: var(--acid); right: -170px; top: -110px; }
.ambient-two { background: #1cd6ff; left: -240px; top: 55%; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 15px; letter-spacing: .14em; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: .27em; }
.brand-mark { width: 44px; height: 44px; position: relative; display: grid; place-items: center; border: 1px solid rgba(114,246,179,.42); background: rgba(114,246,179,.06); clip-path: polygon(13% 0, 87% 0, 100% 13%, 100% 87%, 87% 100%, 13% 100%, 0 87%, 0 13%); }
.brand-mark b { font-size: 12px; letter-spacing: -.04em; }
.brand-mark i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 11px var(--acid); }
.brand-mark i:nth-child(1) { left: 5px; top: 5px; }.brand-mark i:nth-child(2) { right: 5px; top: 5px; }.brand-mark i:nth-child(3) { right: 5px; bottom: 5px; }.brand-mark i:nth-child(4) { left: 5px; bottom: 5px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero { padding: clamp(55px, 11vw, 115px) 0 clamp(48px, 8vw, 80px); max-width: 860px; }
.eyebrow { color: var(--acid); font-size: 10px; letter-spacing: .24em; margin-bottom: 20px; }
h1 { margin: 0; font-size: clamp(47px, 9vw, 95px); line-height: .93; letter-spacing: -.065em; font-weight: 720; }
h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(198,255,82,.75); }
.hero p { max-width: 620px; margin: 28px 0 0; color: var(--tg-theme-hint-color, var(--muted)); font-size: clamp(15px, 2.5vw, 18px); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-actions button { border: 0; border-radius: 2px; padding: 15px 21px; cursor: pointer; transition: transform .18s, background .18s; }
.hero-actions button:active, .card:active { transform: scale(.98); }
.primary { background: var(--acid); color: #04110c; font-weight: 750; box-shadow: 0 12px 35px rgba(114,246,179,.14); }
.primary span { margin-left: 16px; }.ghost { background: rgba(255,255,255,.035); color: var(--text); border: 1px solid var(--line) !important; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(5,15,12,.45); backdrop-filter: blur(16px); }
.metrics article { min-height: 128px; display: grid; align-content: space-between; padding: 20px; border-right: 1px solid var(--line); }
.metrics article:last-child { border: 0; }.metrics span, .metrics small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.metrics strong { font-size: clamp(27px, 5vw, 43px); letter-spacing: -.05em; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin: 70px 0 22px; }
.section-head small, .section-head > span { color: var(--acid); font-size: 9px; letter-spacing: .2em; }.section-head h2 { margin: 7px 0 0; font-size: clamp(25px, 4vw, 37px); letter-spacing: -.04em; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { min-height: 118px; padding: 19px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; text-align: left; color: var(--text); background: var(--panel); border: 1px solid var(--line); cursor: pointer; backdrop-filter: blur(16px); transition: border-color .18s, transform .18s, background .18s; }
.card:hover { border-color: rgba(114,246,179,.42); background: rgba(22,45,38,.78); }.card.featured { border-color: rgba(114,246,179,.28); }
.card-icon { width: 48px; aspect-ratio: 1; display: grid; place-items: center; color: var(--acid); background: rgba(114,246,179,.08); border: 1px solid rgba(114,246,179,.17); font-size: 22px; }
.card > span:nth-child(2) { display: grid; gap: 7px; }.card b { font-size: 15px; }.card small { color: var(--muted); font-size: 11px; }.card i { font-style: normal; color: var(--acid); }
footer { margin-top: 60px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: .17em; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 25px); width: min(calc(100% - 40px), 450px); padding: 14px 16px; color: #06100e; background: var(--acid-2); font-size: 13px; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 650px) {
  .shell { padding-inline: 16px; }.status span { display: none; }.hero-actions { display: grid; grid-template-columns: 1fr; }.metrics article { min-height: 105px; padding: 14px; }.metrics small { display: none; }.grid { grid-template-columns: 1fr; }.card { min-height: 100px; } footer { margin-top: 42px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

