:root {
  --bg: #0b0d10;
  --panel: #12151a;
  --panel-2: #171b21;
  --line: #232830;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --accent: #7cf2b0;
  --accent-dim: #2f6b4c;
  --warn: #ffb347;
  --bad: #ff7a7a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 20% -10%, #17231d 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 0%, #1a1d2b 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 28px 20px 72px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

.hero { padding: 20px 0 44px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 650; }
h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.025em; margin: 0 0 16px; }
h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; color: var(--muted); }
p.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 26px; }
p.lede.small { font-size: 16px; max-width: 600px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px;
  font-size: 15px; font-weight: 550; text-decoration: none; cursor: pointer; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font-family: inherit;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); border-color: #333a44; }
.btn.primary { background: var(--accent); color: #07120c; border-color: var(--accent); font-weight: 650; }
.btn.primary:hover { background: #93f8c2; }
.btn.ghost { background: transparent; color: var(--text); }
.trust { margin-top: 18px; font-size: 13px; color: #7c858f; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 64px; }
.stats > div { background: var(--panel); padding: 20px 22px; }
.stats strong { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

section { margin-bottom: 64px; scroll-margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  display: block; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none;
}
.card p { font-size: 14.5px; margin-bottom: 14px; }
.card:hover { border-color: #323a45; }
.link-card .more { color: var(--accent); font-size: 14px; font-weight: 550; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #93a1ad; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { border-top: 1px solid var(--line); padding-top: 16px; }
.step .num { font-size: 12px; color: var(--accent); font-weight: 650; letter-spacing: 0.1em; }
.step p { font-size: 14px; margin: 6px 0 0; }

.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.fit { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--panel); }
.fit ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.fit li { margin-bottom: 6px; }
.fit.good h3 { color: var(--accent); }
.fit.bad h3 { color: var(--bad); }

.contact { border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: linear-gradient(180deg, #141a1f, #10141a); }
.foot { text-align: center; font-size: 12px; color: #666f79; margin-top: 48px; }

/* chat */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px; border: 1px solid #2c3a33;
  background: #101a15; color: var(--text); font: inherit; font-size: 14px; font-weight: 550;
  cursor: pointer; box-shadow: 0 10px 34px rgba(0,0,0,.45);
}
.chat-fab:hover { border-color: var(--accent-dim); }
.chat-fab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 41;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: #0f1317; border: 1px solid #2a323b; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.6); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-fab[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #1d232a; background: #11161b; }
.chat-title { font-size: 14px; font-weight: 600; }
.chat-sub { font-size: 11.5px; color: #7d8792; margin-top: 2px; }
.chat-close { background: none; border: none; color: #8b949e; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.chat-close:hover { color: #fff; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 13px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; background: #171d23; border: 1px solid #232b34; color: #dfe5ea; border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: #1d3d2c; border: 1px solid #2b5b40; color: #e9f7ee; border-bottom-right-radius: 4px; }
.msg.typing { color: #7d8792; letter-spacing: 2px; }

.chat-quick { display: flex; gap: 6px; padding: 0 12px 10px; flex-wrap: wrap; }
.chat-quick button {
  font: inherit; font-size: 11.5px; color: #a8b3bd; background: #141a20; border: 1px solid #232b34;
  border-radius: 999px; padding: 5px 10px; cursor: pointer;
}
.chat-quick button:hover { border-color: #33404b; color: #dfe5ea; }

.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #1d232a; background: #0d1116; }
.chat-form input {
  flex: 1; font: inherit; font-size: 14px; color: var(--text); background: #151b21;
  border: 1px solid #242c35; border-radius: 9px; padding: 10px 12px; outline: none;
}
.chat-form input:focus { border-color: #35513f; }
.chat-form button {
  font: inherit; font-size: 13.5px; font-weight: 600; color: #07120c; background: var(--accent);
  border: none; border-radius: 9px; padding: 0 16px; cursor: pointer;
}
.chat-form button:disabled { opacity: .45; cursor: default; }

@media (max-width: 560px) {
  .nav { display: none; }
  .contact { padding: 24px 20px; }
}
