/* Techster Consulting — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: #fff;
  color: #0f0f0f;
  font-size: 16px;
  line-height: 1.7;
}

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

/* ── Navigation ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 2rem; font-size: 13px; color: #666; }
.nav-links a:hover { color: #0f0f0f; }
.nav-links a.active { color: #0f0f0f; font-weight: 600; }
.nav-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
}
.nav-btn:hover { background: #1d4ed8; }

/* ── Shared layout ── */
.inner { max-width: 720px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.6rem;
}
.section-num {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ── Hero ── */
.hero {
  padding: 5rem 2.5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 18px;
  color: #555;
  line-height: 1.75;
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid #bfdbfe;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary {
  background: #fff;
  color: #0f0f0f;
  border: 1.5px solid #e0e0e0;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover { border-color: #bbb; }

/* ── Trust bar ── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-val { font-size: 26px; font-weight: 800; color: #2563eb; letter-spacing: -0.5px; }
.trust-label { font-size: 12px; color: #888; margin-top: 2px; }

/* ── Services ── */
.services { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 0.75rem; }
.section-sub { font-size: 16px; color: #666; line-height: 1.7; max-width: 480px; margin-bottom: 3rem; }
/* ── Illustration accents ── */
.hero-flex {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 300px; }
.hero-image { flex-shrink: 0; }
.hero-image img { display: block; width: auto; max-width: 220px; height: auto; }
@media (max-width: 700px) {
  .hero-flex { flex-direction: column-reverse; }
  .hero-image img { max-width: 200px; margin: 0 auto; }
}
.illus-banner {
  display: block;
  max-width: 720px;
  width: 100%;
  height: auto;
  margin: 0 auto 2.5rem;
}
.illus-banner-wide {
  display: block;
  width: 100vw;
  max-width: 920px;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 2rem 0 2.5rem;
}
.illus-banner-sm {
  display: block;
  max-width: 480px;
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
}
.illus-side {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1.75rem auto;
}
.illus-side-right {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1.5rem 0 1.5rem 2rem;
  float: right;
}
.trait-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 2.25rem;
  align-items: end;
}
.trait-strip img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .trait-strip { grid-template-columns: 1fr; max-width: 220px; margin-left: auto; margin-right: auto; }
  .illus-side-right { float: none; margin: 1.5rem auto; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
}
.svc { padding: 1.75rem 1.5rem; background: #fff; transition: background 0.12s; }
.svc:hover { background: #f5f8ff; }
.svc-num { font-size: 11px; font-weight: 700; color: #93b4f0; letter-spacing: 0.5px; margin-bottom: 1rem; }
.svc-icon { height: 56px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 0.85rem; display: block; }
.svc h3 { font-size: 14px; font-weight: 700; margin-bottom: 0.5rem; }
.svc p { font-size: 13px; color: #666; line-height: 1.6; }

/* ── Process ── */
.process-section { background: #f8f9fb; }
.process-inner { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.steps { margin-top: 2.5rem; }
.step { display: flex; gap: 1.5rem; padding: 1.75rem 0; }
.step + .step { border-top: 1px solid #eee; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: #2563eb; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 0.35rem; }
.step-desc { font-size: 14px; color: #666; line-height: 1.65; }

/* ── About ── */
.about-section { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.about-box {
  border: 1.5px solid #e0eaff;
  border-radius: 14px;
  padding: 3rem;
  background: #f5f8ff;
  margin-top: 1.5rem;
}
.about-box p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 1rem; }
.about-box p:last-of-type { margin-bottom: 0; }
.about-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.5rem; }
.tag {
  font-size: 12px; font-weight: 600; padding: 5px 13px;
  background: #fff; color: #2563eb;
  border-radius: 100px; border: 1px solid #bfdbfe;
}

/* ── Contact ── */
.contact-section { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: start; }
.contact-left p { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-size: 14px; color: #444; }
.contact-detail i { font-size: 17px; color: #2563eb; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 11px; font-weight: 700; color: #888; letter-spacing: 0.5px; margin-bottom: 6px; text-transform: uppercase; }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid #e0e0e0; border-radius: 8px;
  font-size: 14px; font-family: inherit; color: #0f0f0f;
  background: #fff; outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: #2563eb; }
.form-field textarea { height: 110px; resize: vertical; }

/* ── Why page ── */
.why-section { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.why-section + .why-section { border-top: none; padding-top: 0; }
.why-section h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 1.25rem; line-height: 1.2; }
.why-section p { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 1.25rem; }
.why-section p:last-child { margin-bottom: 0; }
.callout {
  border-left: 3px solid #2563eb;
  padding: 1rem 1.5rem;
  background: #f5f8ff;
  border-radius: 0 8px 8px 0;
  margin: 1.75rem 0;
}
.callout p { font-size: 15px; color: #333; line-height: 1.75; margin: 0; font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact { background: #f8f9fb; border-radius: 12px; padding: 1.25rem; }
.fact-val { font-size: 26px; font-weight: 800; color: #2563eb; letter-spacing: -0.5px; margin-bottom: 0.3rem; }
.fact-label { font-size: 13px; color: #666; line-height: 1.5; }

/* ── About page ── */
.about-page-section { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.about-page-section h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 1.25rem; }
.about-page-section p { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 1.25rem; }
.logo-showcase {
  display: flex; align-items: center; gap: 3rem;
  padding: 3rem; background: #f8f9fb;
  border: 1.5px solid #e0eaff; border-radius: 16px;
  margin: 2.5rem 0; flex-wrap: wrap;
}
.logo-caption { flex: 1; min-width: 200px; }
.logo-caption h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 0.5rem; }
.logo-caption .subtitle { font-size: 12px; font-weight: 700; color: #2563eb; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.logo-caption p { font-size: 15px; color: #555; line-height: 1.75; }
.meaning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.meaning-card { padding: 1.5rem; border: 1px solid #e8e8e8; border-radius: 12px; background: #fff; }
.meaning-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 0.4rem; }
.meaning-card p { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }
.logo-variants { display: flex; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.variant { display: flex; align-items: center; justify-content: center; padding: 1.5rem; border-radius: 12px; flex: 1; min-width: 120px; }
.variant img { width: 64px; height: 64px; }
.variant.on-white { background: #fff; border: 1px solid #e8e8e8; }
.variant.on-dark { background: #0f0f0f; }
.variant.on-blue { background: #2563eb; }
blockquote {
  border-left: 3px solid #2563eb; padding: 1rem 1.5rem;
  background: #f5f8ff; border-radius: 0 8px 8px 0;
  margin: 2rem 0; font-size: 17px; color: #333;
  font-style: italic; line-height: 1.75;
}

/* ── CTA bar ── */
.cta-bar { background: #f8f9fb; padding: 4rem 2.5rem; text-align: center; }
.cta-bar h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.cta-bar p { font-size: 16px; color: #666; margin-bottom: 2rem; }

/* ── Footer ── */
footer {
  background: #f8f9fb;
  padding: 2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-disclaimer {
  flex-basis: 100%;
  text-align: center;
  font-size: 11px;
  color: #aaa;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.footer-logo { font-size: 14px; font-weight: 700; letter-spacing: -0.3px; }
.footer-logo span { color: #2563eb; }
footer p { font-size: 13px; color: #999; }

/* ── Hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f0f0f;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav-btn { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    z-index: 150;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 2rem;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links a:last-child { border-bottom: none; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero h1 { font-size: 28px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 16px; }
  .trust-bar { gap: 1.5rem; }
  .services, .process-inner, .about-section,
  .contact-section, .why-section, .about-page-section { padding: 3rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .meaning-grid { grid-template-columns: 1fr; }
  .logo-showcase { flex-direction: column; text-align: center; }
  .about-box { padding: 2rem 1.5rem; }
}

/* ── Blog listing ── */
.blog-section { padding: 4rem 2.5rem; max-width: 720px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.post-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  transition: border-color 0.15s;
}
.post-card:hover { border-color: #2563eb; }
.post-card a { text-decoration: none; color: inherit; }
.post-meta { font-size: 12px; color: #aaa; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 0.6rem; }
.post-title { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 0.6rem; line-height: 1.3; }
.post-title:hover { color: #2563eb; }
.post-excerpt { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 1.25rem; }
.post-readmore { font-size: 13px; font-weight: 600; color: #2563eb; }

/* ── Individual post ── */
.post-hero { padding: 5rem 2.5rem 3rem; max-width: 720px; margin: 0 auto; }
.post-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 1rem; }
.post-hero .post-meta { font-size: 13px; }
.post-body { padding: 0 2.5rem 4rem; max-width: 720px; margin: 0 auto; }
.post-body h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 18px; font-weight: 700; margin: 2rem 0 0.75rem; }
.post-body p { font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 1.5rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-body li { font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 0.5rem; }
.post-body .callout {
  border-left: 3px solid #2563eb; padding: 1rem 1.5rem;
  background: #f5f8ff; border-radius: 0 8px 8px 0; margin: 2rem 0;
}
.post-body .callout p { font-size: 15px; color: #333; font-style: italic; margin: 0; }
.post-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #2563eb; margin-bottom: 2rem; }

/* ── Training guide ── */
.guide-hero { padding: 5rem 2.5rem 3rem; max-width: 720px; margin: 0 auto; }
.guide-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 1rem; }
.guide-body { padding: 0 2.5rem 4rem; max-width: 720px; margin: 0 auto; }
.guide-body h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin: 2.5rem 0 1rem; }
.guide-body h3 { font-size: 18px; font-weight: 700; margin: 2rem 0 0.75rem; }
.guide-body p { font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 1.5rem; }
.guide-body ul, .guide-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.guide-body li { font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 0.5rem; }
.guide-body code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #0f0f0f;
}
.guide-body pre {
  background: #f8f9fb;
  color: #0f0f0f;
  border: 1px solid #e8e8e8;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.7;
}
.guide-body pre code { color: #0f0f0f; background: transparent; padding: 0; }
.guide-body .callout {
  border-left: 3px solid #2563eb;
  padding: 1rem 1.5rem;
  background: #f5f8ff;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.guide-body .callout p { font-size: 15px; color: #333; font-style: italic; margin: 0; }
.guide-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #2563eb; margin-bottom: 2rem; }

/* =============================================================
   OPEN SOURCE PAGE
   ============================================================= */

.oss-section {
  max-width: 1080px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.oss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .oss-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 520px) {
  .oss-grid { grid-template-columns: 1fr; }
}

.oss-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 720px) {
  .oss-grid-2 { grid-template-columns: 1fr; }
}

.freebie-icon {
  font-size: 34px;
  color: #2563eb;
  margin-bottom: 1rem;
  display: block;
}

.freebie-entry {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin-top: 1.25rem;
  background: #fafbfc;
}

.freebie-entry h3 { font-size: 15px; font-weight: 700; margin-bottom: 0.4rem; }
.freebie-entry p { font-size: 13px; color: #666; line-height: 1.65; margin-bottom: 0.75rem; }

.freebie-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.75rem; }
.freebie-links a { font-size: 13px; font-weight: 600; color: #2563eb; text-decoration: underline; text-decoration-color: #bfdbfe; text-underline-offset: 3px; }
.freebie-links a:hover { text-decoration-color: #2563eb; }

.freebie-creds {
  font-size: 12px;
  color: #888;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: monospace;
  margin-bottom: 0.5rem;
}

.oss-card {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.oss-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.oss-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.oss-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oss-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #93b4f0;
  margin-bottom: 0.35rem;
}

.oss-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #0f0f0f;
  overflow-wrap: break-word;
  hyphens: auto;
}

.oss-card p:last-child {
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  margin: 0;
}

.oss-more {
  max-width: 1080px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.oss-more p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 720px;
  margin-bottom: 1rem;
}

.oss-more p:last-child {
  border-left: 3px solid #2563eb;
  padding-left: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: #444;
}

.oss-more a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #bfdbfe;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.oss-more a:hover {
  text-decoration-color: #2563eb;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.footer-linkedin:hover {
  opacity: 1;
}

.footer-linkedin-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.oss-icon-multi {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.oss-icon-multi .oss-icon {
  width: 36px;
  height: 36px;
}

.oss-card h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #bfdbfe;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.oss-card h2 a:hover {
  text-decoration-color: #2563eb;
}

/* =============================================================
   TRAINING GUIDE TIMELINE
   ============================================================= */

.timeline {
  position: relative;
  margin: 2.5rem 0;
  padding-left: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: 47px;
  top: 100px;
  bottom: -3.5rem;
  width: 2px;
  background: linear-gradient(to bottom, #cbd5e1, #e8e8e8);
  z-index: 0;
}

.tl-item:last-child::before {
  display: none;
}

.tl-marker {
  width: 96px;
  height: 96px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 0;
}

.tl-marker span {
  font-family: 'Raleway', monospace;
  font-weight: 800;
  display: block;
  line-height: 1.1;
  text-align: center;
}

.tl-marker span.tl-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.tl-marker span.tl-value {
  font-size: 18px;
  letter-spacing: 1px;
}

.tl-pre {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2040 100%);
  color: #93b4e8;
}

.tl-pre span.tl-label { color: #4a6fa5; }
.tl-pre span.tl-value { color: #93b4e8; }

.tl-zero {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(37,99,235,0.7));
}

.tl-zero span.tl-label { color: #bfdbfe; }
.tl-zero span.tl-value { color: #fff; }

.tl-post {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #7ba7f0;
  filter: drop-shadow(0 0 6px rgba(30,58,138,0.4));
}

.tl-post span.tl-label { color: #334e7a; }
.tl-post span.tl-value { color: #7ba7f0; }

.tl-content {
  padding-top: 0.9rem;
}

.tl-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f0f0f;
}

.tl-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tl-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 0.75rem;
}

.tl-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.tl-content ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 0.4rem;
}

.tl-content pre {
  background: #0f172a;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

.tl-content pre code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #7dd3fc;
  white-space: pre;
}

.post-body pre {
  background: #f8f9fb;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

.post-body pre code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #0f0f0f;
  background: transparent;
  white-space: pre;
}

/* ── Command block: flat, gray-on-gray style with header and copy button ──
   Use for anything more prominent than a one-liner, in blog posts and
   training guides alike. Markup:

   <div class="code-block">
     <div class="code-block-header">
       <span class="code-block-label">bash</span>
       <button class="code-block-copy" type="button" aria-label="Copy to clipboard">
         <i class="ti ti-copy" aria-hidden="true"></i><span class="code-block-copy-text">Copy</span>
       </button>
     </div>
     <pre><code>your command here</code></pre>
   </div>

   Requires the copy-to-clipboard script included near the bottom of the page. */
.code-block {
  background: #f6f7f9;
  border: 1px solid #e2e4e8;
  border-radius: 10px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: #eceef1;
  border-bottom: 1px solid #e2e4e8;
}

.code-block-label {
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  color: #8a8f98;
  letter-spacing: 0.2px;
}

.code-block-copy {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: #8a8f98;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.code-block-copy:hover { color: #2563eb; background: #e3e7ee; }
.code-block-copy.copied { color: #16a34a; }

.code-block pre {
  margin: 0;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 0;
  background: #f6f7f9;
  overflow-x: auto;
}

.code-block pre code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #24292f;
  background: transparent;
  white-space: pre;
}

.code-block .cmd-prompt { color: #2563eb; font-weight: 700; }

@media (max-width: 600px) {
  .tl-item {
    grid-template-columns: 68px 1fr;
    gap: 0 1rem;
  }
  .tl-marker {
    width: 68px;
    height: 68px;
  }
  .tl-marker span.tl-value { font-size: 14px; }
  .tl-marker span.tl-label { font-size: 7px; }
  .tl-item::before {
    left: 33px;
  }
}

/* =============================================================
   BLOG ARCHIVE: MONTH GROUPING
   ============================================================= */

.month-bar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.85rem 2.5rem;
}

.blog-timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 26px;
}

.blog-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e8e8e8;
}

.blog-month {
  position: relative;
  scroll-margin-top: 140px;
}

.blog-month + .blog-month {
  margin-top: 4.5rem;
}

.month-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.month-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #eff6ff;
}

.month-label {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f0f0f;
  white-space: nowrap;
}

.month-line {
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.month-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .blog-timeline { padding-left: 20px; }
  .month-dot { left: -20px; }
}

/* Blog post: inline tool icons next to headings */
.post-tool-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2.5rem 0 1rem;
}

.post-tool-heading h2 {
  margin: 0;
}

.post-tool-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.post-tool-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.post-tool-icons img {
  width: 28px;
  height: 28px;
}

html {
  scroll-behavior: smooth;
}

/* Small disclaimer pointer, greyed out, for use on individual pages */
.disclaimer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.85rem 1.25rem;
  background: #f8f9fb;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin: 2rem 0;
}

.disclaimer-note i {
  font-size: 15px;
  color: #aaa;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-note p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.disclaimer-note a {
  color: #888;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #ccc;
  text-underline-offset: 2px;
}

.disclaimer-note a:hover {
  color: #2563eb;
  text-decoration-color: #2563eb;
}

/* Software directory table */
.software-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 3rem;
}

.software-table tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.15s ease;
}

.software-table tr:last-child {
  border-bottom: none;
}

.software-table tr:hover {
  background: #f8f9fb;
}

.software-table td {
  padding: 1.25rem 0;
  vertical-align: middle;
}

.software-table .sw-icon-cell {
  width: 64px;
  padding-right: 1.5rem;
}

.software-table .sw-icon-cell img {
  display: block;
  object-fit: contain;
}

.tm {
  font-size: 0.6em;
  vertical-align: super;
  color: #999;
  margin-left: 1px;
  font-weight: 400;
}

.software-table .sw-desc-cell p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

.software-table .sw-desc-cell strong a {
  color: #0f0f0f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #bfdbfe;
  text-underline-offset: 3px;
}

.software-table .sw-desc-cell strong a:hover {
  text-decoration-color: #2563eb;
  color: #2563eb;
}

@media (max-width: 600px) {
  .software-table .sw-icon-cell {
    width: 48px;
    padding-right: 1rem;
  }
  .software-table .sw-icon-cell img {
    width: 32px;
    height: 32px;
  }
}

/* Software directory: category jump bar */
.category-bar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.85rem 2.5rem;
}

/* Software directory: grouped timeline */
.category-timeline {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  padding-left: 26px;
}

.category-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e8e8e8;
}

.category-group {
  position: relative;
  scroll-margin-top: 140px;
}

.category-group + .category-group {
  margin-top: 3rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.5rem;
}

.category-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #eff6ff;
}

.category-label {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f0f0f;
  white-space: nowrap;
}

.category-line {
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.category-group .software-table {
  margin: 0;
}

@media (max-width: 600px) {
  .category-timeline { padding-left: 20px; }
  .category-dot { left: -20px; }
}

/* Shared "Jump to" dropdown, used on blog.html and software.html */
.jump-dropdown {
  position: relative;
  display: inline-block;
}

.jump-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #0f0f0f;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.jump-dropdown-btn:hover,
.jump-dropdown-btn.open {
  border-color: #2563eb;
  background: #f5f8ff;
}

.jump-dropdown-btn .jump-static {
  color: #999;
  font-weight: 600;
}

.jump-dropdown-btn .jump-current {
  color: #2563eb;
  font-weight: 800;
}

.jump-dropdown-btn i {
  font-size: 13px;
  color: #999;
  transition: transform 0.15s ease;
}

.jump-dropdown-btn.open i {
  transform: rotate(180deg);
}

.jump-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  max-width: 380px;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  display: none;
  z-index: 95;
}

.jump-dropdown-panel.open {
  display: block;
}

.jump-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.jump-dropdown-item:hover {
  background: #f5f8ff;
  color: #2563eb;
}

.jump-dropdown-item.active {
  background: #eff6ff;
  color: #2563eb;
}

.jump-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.jump-dropdown-item.active .jump-count {
  background: #2563eb;
  color: #fff;
}

@media (max-width: 600px) {
  .jump-dropdown-panel {
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
  }
}

/* Glossary page */
.glossary-bar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.85rem 2.5rem;
}

.glossary-timeline {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  padding-left: 26px;
}

.glossary-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e8e8e8;
}

.glossary-group {
  position: relative;
  scroll-margin-top: 140px;
}

.glossary-group + .glossary-group {
  margin-top: 2.5rem;
}

.glossary-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.glossary-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #eff6ff;
}

.glossary-label {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f0f0f;
}

.glossary-line {
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.glossary-entry {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.glossary-entry:last-child {
  border-bottom: none;
}

.glossary-term {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.glossary-def {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 600px) {
  .glossary-timeline { padding-left: 20px; }
  .glossary-dot { left: -20px; }
}
/* ---------------------------------------------------
   Site search (v1.9.0)
   Append this block to the end of style.css
--------------------------------------------------- */

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  color: #0f0f0f;
  font-size: 17px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  margin-left: 12px;
}

.search-toggle:hover,
.search-toggle:focus-visible {
  border-color: #2563eb;
  color: #2563eb;
  outline: none;
}

body.search-open {
  overflow: hidden;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 20px 60px rgba(15, 15, 15, 0.25);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.15s ease;
}

.search-overlay.open .search-modal {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8e8;
}

.search-modal-icon {
  color: #666;
  font-size: 18px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #0f0f0f;
  background: transparent;
}

.search-input::placeholder {
  color: #aaaaaa;
}

.search-close {
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.search-close:hover {
  background: #f2f2f2;
  color: #0f0f0f;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px;
}

.search-hint,
.search-empty p {
  color: #666;
  font-size: 14px;
  padding: 16px 12px;
  margin: 0;
}

.search-empty-sub a {
  color: #2563eb;
  text-decoration: none;
}

.search-empty-sub a:hover {
  text-decoration: underline;
}

.search-result-item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.search-result-item:hover,
.search-result-item.active {
  background: #f5f7ff;
}

.search-result-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 6px;
  padding: 2px 7px;
  margin-bottom: 4px;
}

.search-result-title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 15px;
  color: #0f0f0f;
}

.search-result-desc {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.search-result-title mark,
.search-result-desc mark {
  background: rgba(37, 99, 235, 0.18);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

@media (max-width: 640px) {
  .search-overlay {
    padding: 6vh 12px 12px;
  }
}

/* ---------------------------------------------------
   Contact form honeypot (v1.10.0)
   Hidden off-screen rather than display:none, since
   display:none is the first thing spam bots check for
   and skip. Real users and screen readers never see it.
--------------------------------------------------- */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------
   RSS link (v1.10.0)
--------------------------------------------------- */

.rss-link {
  margin: 0.75rem 0 1.5rem;
}

.rss-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 6px 12px;
}

.rss-link a:hover {
  color: #2563eb;
  border-color: #2563eb;
}
