/* ---------------------------------------------------------------------------
   AcquireDev — shared styles
   Dark, minimal, bold typography. No build step.
--------------------------------------------------------------------------- */

:root {
  --bg:        #05060a;
  --bg-soft:   #0b0d14;
  --panel:     #0e1018;
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);
  --text:      #f5f6fa;
  --muted:     #9aa0ad;
  --muted-2:   #6b7180;
  --accent:    #6366f1;
  --accent-2:  #818cf8;
  --radius:    14px;
  --maxw:      1180px;
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle radial glow like the reference */
  background-image:
    radial-gradient(900px 500px at 82% -10%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 0%,   rgba(99, 102, 241, 0.06), transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(5, 6, 10, 0.6);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand .logo {
  height: 26px;
  width: auto;
  display: block;
}
.brand b { color: var(--accent-2); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav a { transition: color 0.15s ease; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav .cta {
  padding: 8px 16px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--text);
}
.nav .cta:hover { border-color: var(--accent-2); }

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

/* ---------- Hero ---------- */
.hero { padding: 92px 0 84px; }
.hero h1 {
  margin: 30px 0 0;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero .rule {
  display: block;
  width: 78px;
  height: 8px;
  margin: 26px 0;
  border-radius: 4px;
  background: var(--text);
}
.hero p.lede {
  max-width: 640px;
  margin: 30px 0 0;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 10px 30px -12px rgba(99, 102, 241, 0.7); }
.btn-ghost {
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; border-top: 1px solid var(--border); }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 12px;
}
.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); max-width: 640px; margin: 0; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .ic {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  color: var(--accent-2);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; }
.card p  { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Blog list ---------- */
.post-list { margin-top: 40px; display: grid; gap: 2px; }
.post {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 8px;
  border-top: 1px solid var(--border);
  transition: background 0.15s ease;
}
.post:last-child { border-bottom: 1px solid var(--border); }
.post:hover { background: rgba(255, 255, 255, 0.02); }
.post .date { color: var(--muted-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.post .body h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.post .body p { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.post .tag {
  align-self: center;
  font-size: 12px;
  color: var(--accent-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.post .arrow { transition: transform 0.15s ease; color: var(--muted); }
.post:hover .arrow { transform: translateX(4px); color: var(--text); }

/* ---------- Page hero (blog) ---------- */
.page-hero { padding: 72px 0 20px; }
.page-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-hero p { color: var(--muted); max-width: 620px; margin: 0; font-size: 18px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  margin: 40px 0 0;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(600px 200px at 80% 0%, rgba(99,102,241,0.18), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-soft));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; }
.cta-strip p  { margin: 0; color: var(--muted); }

/* ---------- Article (single post) ---------- */
.article { padding: 56px 0 24px; }
.article .wrap { max-width: 760px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--text); }
.back-link svg { transition: transform 0.15s ease; }
.back-link:hover svg { transform: translateX(-3px); }

.article .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 13px;
  margin-bottom: 16px;
}
.article .meta .tag {
  color: var(--accent-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.article h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.article .standfirst {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 8px;
}
.article .divider {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
}

.prose { font-size: 17px; line-height: 1.75; color: #d7dae2; }
.prose h2 {
  margin: 44px 0 14px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.prose h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  font-weight: 650;
  color: var(--text);
}
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--accent-2); }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 20px;
  font-style: italic;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
}

.article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-footer .who { color: var(--muted); font-size: 15px; }
.article-footer .who b { color: var(--text); font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 40px 0;
  color: var(--muted-2);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .nav .links { display: none; }
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post .tag { display: none; }
  .post .arrow { display: none; }
  .hero { padding: 64px 0 56px; }
}
