:root {
  --bg: #08090b;
  --bg-elev: #101216;
  --border: #1e2128;
  --text: #f4f5f7;
  --muted: #8b8f99;
  --accent: #2aabee;
  --accent-dim: rgba(42, 171, 238, 0.12);
  --wrap: 1120px;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--accent); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-right: auto; white-space: nowrap; flex-shrink: 0;
}
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  padding: 10px 18px; transition: all .15s; border: 1px solid transparent;
  white-space: nowrap; font-family: var(--font-body);
}
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-large { padding: 14px 28px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #04141d; }
.btn-primary:hover { background: #4dc0f5; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #383d47; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 84px 0 96px; border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; max-width: 560px;
}
.hero-sub { color: var(--muted); font-size: 17px; max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Phone mock */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 100%; max-width: 380px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.phone-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.phone-title { display: flex; flex-direction: column; line-height: 1.3; }
.phone-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.phone-status { font-size: 11.5px; color: var(--accent); }
.phone-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  position: relative;
  background: #171a20; border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 12px 16px;
  font-size: 13.5px; color: #e4e6ea;
  max-width: 92%;
}
.bubble-tag {
  display: block; font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  margin-bottom: 5px;
}
.bubble-time {
  position: absolute; right: 10px; bottom: 6px;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}

/* ── Work / services ────────────────────────────────── */
.work { padding: 88px 0; border-bottom: 1px solid var(--border); }
.section-tag {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  margin-bottom: 32px;
}
.rows { border-top: 1px solid var(--border); }
.row {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 28px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.row-num {
  font-family: var(--font-mono); color: var(--muted); font-size: 14px; padding-top: 4px;
}
.row-body h3 { font-size: 21px; margin-bottom: 10px; }
.row-body p { color: var(--muted); font-size: 15px; max-width: 620px; }
.row-link {
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  white-space: nowrap; padding-top: 4px; align-self: start;
}
.row-link span { color: var(--accent); }
.row-link:hover span { text-decoration: underline; }

/* ── Process ────────────────────────────────────────── */
.process { padding: 72px 0; border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.process-num {
  font-family: var(--font-mono); color: var(--accent); font-size: 13px; display: block; margin-bottom: 14px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 14px; }

/* ── CTA ────────────────────────────────────────────── */
.cta { padding: 100px 0; text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 18px; }
.prompt-line {
  font-family: var(--font-mono); font-size: 14px; color: var(--muted);
  margin-bottom: 30px;
}
.prompt-line span { color: var(--accent); margin-right: 6px; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13.5px;
}
.footer-brand { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 40px 1fr; }
  .row-link { grid-column: 2; padding-top: 0; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner .btn { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .site-header.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-header.nav-open .nav a:last-child { border-bottom: none; }
  .site-header.nav-open .header-inner .btn { display: inline-flex; }

  .hero { padding: 56px 0 64px; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
}
