:root {
  --bg: #0c0c10; --bg2: #14141a; --line: #24242d; --text: #ececf1; --muted: #8d8d9b;
  --accent: #c8ff3e; --accent-ink: #0c0c10; --accent2: #7a5cff; --accent-text: #c8ff3e;
  --nav-bg: rgba(12, 12, 16, .78); --chip-bg: #1d1d25; --glow: rgba(122, 92, 255, .28);
  --app-from: #1a1430;
  --r: 18px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f5f0; --bg2: #ffffff; --line: #e2e0d8; --text: #16161c; --muted: #5f5f6b;
    --accent-text: #4d7a00; --nav-bg: rgba(246, 245, 240, .82); --chip-bg: #f0efe8;
    --glow: rgba(122, 92, 255, .18); --app-from: #efebff;
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { background: var(--bg); color: var(--text); font-family: Manrope, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: inherit; text-decoration: none }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px }

/* nav */
nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px }
.logo { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .02em; white-space: nowrap }
.logo span { color: var(--accent-text) }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted) }
.nav-links a:hover { color: var(--text) }
@media (max-width: 760px) { .nav-links { display: none } }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px }
.lang button { background: none; border: 0; color: var(--muted); font: 700 12px Manrope, sans-serif; padding: 6px 10px; border-radius: 999px; cursor: pointer }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink) }

/* hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -120px; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200, 255, 62, .6); animation: pulse 2s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 255, 62, 0) } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 62, 0) } }
h1 { font-family: Unbounded, sans-serif; font-weight: 800; font-size: clamp(38px, 9vw, 84px); line-height: 1; letter-spacing: -.02em }
h1 .out { color: transparent; -webkit-text-stroke: 1.5px var(--text) }
.role { margin-top: 22px; font-weight: 700; font-size: 19px }
.lead { margin-top: 8px; max-width: 580px; color: var(--muted); font-size: 17px }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .15s; border: 0; cursor: pointer; font-family: inherit }
.btn:active { transform: scale(.97) }
.btn-main { background: var(--accent); color: var(--accent-ink) }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: none }
.btn-ghost:hover { border-color: var(--muted) }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none }

.marquee { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 14px 0; margin-top: 20px }
.marquee div { display: inline-block; animation: slide 30s linear infinite; font-family: Unbounded, sans-serif; font-weight: 500; font-size: 15px; color: var(--muted) }
.marquee i { font-style: normal; color: var(--accent-text); margin: 0 18px }
@keyframes slide { to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .marquee div, .dot { animation: none } }

/* sections */
section { padding: 72px 0 0; scroll-margin-top: 60px }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px }
.sec-num { font-family: Unbounded, sans-serif; font-size: 13px; color: var(--accent-text) }
h2 { font-family: Unbounded, sans-serif; font-weight: 700; font-size: clamp(24px, 5vw, 36px); letter-spacing: -.01em }
.sec-sub { color: var(--muted); margin-bottom: 26px }

/* apps */
.apps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) }
.app { background: linear-gradient(160deg, var(--app-from), var(--bg2) 55%); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px }
.app-top { display: flex; gap: 14px; align-items: flex-start }
.app-icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-family: Unbounded, sans-serif; font-weight: 800; font-size: 22px; background: var(--accent); color: var(--accent-ink) }
.app-icon.alt { background: var(--accent2); color: #fff }
.app h3 { font-family: Unbounded, sans-serif; font-size: 20px; line-height: 1.2 }
.app .tagline { font-size: 14px; color: var(--muted); margin-top: 4px }
.app p { color: var(--muted); font-size: 15px }
.app ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px }
.app li { display: flex; gap: 10px }
.app li::before { content: "✦"; color: var(--accent-text); flex: none }
.app .note { font-size: 14px; border-left: 2px solid var(--accent); padding-left: 12px }
.app .btns { margin-top: auto; padding-top: 6px }

/* cards */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; position: relative }
a.card:hover { border-color: var(--accent); transform: translateY(-2px) }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--chip-bg); color: var(--accent-text) }
.card .ico svg { width: 22px; height: 22px }
.card h3 { font-size: 17px; font-weight: 700; padding-right: 22px }
.card p { font-size: 14px; color: var(--muted) }
.card .handle { font-size: 13px; color: var(--accent-text); margin-top: auto }
.arrow { position: absolute; top: 20px; right: 20px; color: var(--muted); font-size: 18px }
.badges { display: flex; flex-wrap: wrap; gap: 6px }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--chip-bg); color: var(--muted) }
.badge.open { color: var(--accent-text) }
.badge.wip { color: #e0a100 }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px }
.stack span { font-size: 12px; border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px }
.links { display: flex; gap: 14px; font-size: 13px; font-weight: 700; color: var(--accent-text) }

/* contact */
.contact { display: grid; gap: 18px; grid-template-columns: 1fr 1.3fr }
@media (max-width: 720px) { .contact { grid-template-columns: 1fr } }
form { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px }
label { font-size: 13px; color: var(--muted) }
input, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px }
input:focus, textarea:focus { outline: none; border-color: var(--accent) }
textarea { min-height: 120px; resize: vertical }
.status { font-size: 14px; min-height: 20px }
.status.ok { color: var(--accent-text) }
.status.err { color: #ff5c70 }
.hp { position: absolute; left: -9999px }

footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 13px }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px }
