@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Inter+Tight:wght@600;700;800;900&family=Roboto+Mono:wght@500;600;700&display=swap');

:root {
  --bg: #0a0d12;
  --panel: #131720;
  --panel-2: #1a1f2a;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --text: #f5f7fb;
  --dim: #9aa2b4;
  --faint: #5d6577;
  --accent: #e10600;
  --accent-soft: rgba(225,6,0,0.16);
  --ok: #1fd65f;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --hero: 'Inter Tight', 'Inter', sans-serif;
  --mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 5vw; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #7a0408); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; color: #fff; box-shadow: 0 6px 18px rgba(225,6,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22); }
.brand .name { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1; }
.brand .sub { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; color: var(--dim); }
.links a:hover { color: var(--text); }
.btn-pill { background: var(--panel); border: 1px solid var(--line-strong); padding: 9px 18px; border-radius: 999px; font-weight: 600; color: var(--text) !important; transition: all .15s; }
.btn-pill:hover { background: var(--accent); border-color: var(--accent); }

/* hero */
.hero { padding: 80px 5vw 100px; max-width: 1240px; margin: 0 auto; }
.hero-inner { max-width: 880px; }
.hero-kicker { display: inline-block; background: var(--accent-soft); border: 1px solid rgba(225,6,0,0.32); color: var(--accent); padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 { font-family: var(--hero); font-weight: 900; font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 28px; }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--dim); max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 8px; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; cursor: pointer; border: none; transition: filter .15s, transform .1s; box-shadow: 0 6px 22px rgba(225,6,0,0.32); }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: var(--panel); border-color: var(--accent); }
.btn.full { width: 100%; margin-top: 16px; padding: 14px 18px; }

/* features */
.features { background: linear-gradient(180deg, transparent 0%, var(--panel) 50%, transparent 100%); padding: 90px 5vw; }
.feat-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat-num { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.feat h3 { font-family: var(--hero); font-weight: 800; font-size: 24px; letter-spacing: -0.015em; margin: 12px 0 10px; }
.feat p { color: var(--dim); font-size: 14px; line-height: 1.55; }

/* about */
.about { padding: 100px 5vw; }
.about-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about h2 { font-family: var(--hero); font-weight: 900; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1; margin-bottom: 24px; }
.about p { color: var(--dim); font-size: 17px; line-height: 1.65; }
.about em { color: var(--text); font-style: normal; font-weight: 600; }

/* foot */
.foot { border-top: 1px solid var(--line); padding: 50px 5vw 30px; }
.foot-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-cols { display: flex; gap: 60px; }
.foot-cols h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--dim); font-size: 14px; padding: 5px 0; transition: color .15s; }
.foot-cols a:hover { color: var(--text); }
.foot-bar { max-width: 1240px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }

/* auth (login) */
.auth { min-height: calc(100vh - 100px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 44px 40px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.auth-kicker { display: inline-block; background: var(--accent-soft); border: 1px solid rgba(225,6,0,0.32); color: var(--accent); padding: 4px 12px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
.auth-card h1 { font-family: var(--hero); font-weight: 800; font-size: 28px; letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 12px; }
.auth-sub { color: var(--dim); font-size: 14px; line-height: 1.55; margin-bottom: 26px; }
.auth-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.auth-input { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; color: var(--text); font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; transition: border-color .15s; }
.auth-input:focus { outline: none; border-color: var(--accent); }
.auth-msg { min-height: 20px; margin-top: 12px; font-size: 12px; font-weight: 500; }
.auth-msg.err { color: #ff8a8a; }
.auth-msg.ok { color: var(--ok); }
.auth-foot { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); text-align: center; }
.auth-foot a { color: var(--accent); }
.auth-launch-note { font-size: 13px; color: var(--dim); line-height: 1.55; }
.auth-launch-fallback { margin-top: 14px; font-size: 12px; color: var(--faint); line-height: 1.55; }
.auth-launch-note code, .auth-launch-fallback code { background: var(--panel-2); padding: 2px 6px; border-radius: 3px; font-family: var(--mono); font-size: 11px; color: var(--text); }
