/* Tectiv shared blog stylesheet.
   Colour, type and border tokens are copied directly from the live
   site's own :root variables (checked against index.html,
   it-support-cost-recruitment-agency.html and
   choosing-it-support-recruitment-london.html, all three match). */

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

:root {
  --bg: #05070d;
  --bg-alt: #0d1424;
  --card: #0d1424;
  --border: rgba(124, 130, 168, 0.14);
  --border-strong: rgba(124, 130, 168, 0.28);
  --text: #e8eaf5;
  --text-dim: #9aa0c4;
  --text-faint: #5d6285;
  --accent: #818cf8;
  --accent-dim: #6366f1;
  --cyan: #22d3ee;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(12px);
  z-index: 10;
}

header.site .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

header.site nav a {
  color: var(--text-dim);
  margin-left: 20px;
  font-size: 14px;
}

header.site nav a:hover { color: var(--text); text-decoration: none; }

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-dim), #4f46e5);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
  box-shadow: 0 8px 32px -6px rgba(99, 102, 241, 0.7);
  transform: translateY(-1px);
  text-decoration: none;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.eyebrow {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
}

h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}

p { color: var(--text-dim); margin: 0 0 18px; }

p.lead {
  font-size: 19px;
  color: var(--text);
}

ul, ol { color: var(--text-dim); padding-left: 22px; }
li { margin-bottom: 8px; }

.meta {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0;
}

.card h3 { margin-top: 0; }

.callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 28px 0;
}

.callout p { color: var(--text); margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

th { color: var(--text); font-weight: 600; }

.related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related .eyebrow { margin-bottom: 16px; }

.related-links a {
  display: block;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.related-links a:hover { color: var(--accent); text-decoration: none; }

.final-cta {
  margin-top: 56px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  text-align: center;
}

.final-cta h3 { margin-top: 0; }
.final-cta p { margin-bottom: 20px; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
}

footer.site a { color: var(--text-faint); margin: 0 8px; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  header.site nav { display: none; }
  main { padding: 32px 18px 60px; }
}
