:root { 
  --bg-1: #8ef3c0;
  --bg-2: #22d3ee;
  --text-main: #041317;
  --text-muted: rgba(4, 19, 23, 0.78);
  --card: rgba(255, 255, 255, 0.97);
  --card-soft: rgba(255, 255, 255, 0.94);
  --glass-bg: rgba(255, 255, 255, 0.97);
  --border-soft: rgba(255, 255, 255, 0.8);
  --accent: #22c55e;
  --accent-blue: #0ea5e9;
  --accent-dark: #022c22;
  --radius-lg: 28px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.32);
  --shadow-small: 0 12px 28px rgba(15, 23, 42, 0.18);
  --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  background: transparent;
}

/* GLOBAL BACKGROUND */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 0% 0%, #bbf7d0 0, transparent 46%),
    radial-gradient(circle at 100% 100%, #38bdf8 0, transparent 40%),
    linear-gradient(135deg, var(--bg-1) 0%, #bef264 22%, #5eead4 55%, var(--bg-2) 100%);
  filter: saturate(1.05);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      transparent 35%,
      rgba(0, 0, 0, 0.2)
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.28) 1px,
      transparent 1px,
      transparent 2px
    );
  mix-blend-mode: soft-light;
  opacity: 0.6;
  pointer-events: none;
}

/* legacy bg element (not used now) */
.bg {
  display: none;
}

/* LAYOUT */

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-soft {
  padding: 82px 0;
}

.section-dark {
  padding: 90px 0 80px;
  background: radial-gradient(circle at 0 0, #16a34a 0, #0f172a 45%, #020617 100%);
  color: #f9fafb;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-subtitle {
  margin: 0 0 30px;
  max-width: 640px;
  color: var(--text-muted);
}

.section-title-light {
  color: #f9fafb;
}

.section-subtitle-light {
  color: rgba(226, 232, 240, 0.86);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.86)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.08em;
  color: var(--text-main);
  text-decoration: none;
}

.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
  text-decoration: none;
  color: var(--text-main);
}

.logo span {
  color: var(--accent);
  margin-left: 2px;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.7);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--text-main);
}

/* HERO (HOME) */

.hero {
  padding-top: 110px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(4, 19, 23, 0.7);
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 3.1vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 1.03rem;
  color: var(--text-muted);
}

.hero-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 500;
}

.pill-ghost {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: rgba(15, 23, 42, 0.9);
}

.pill-solid {
  background: rgba(4, 47, 46, 0.95);
  color: #e0f2fe;
  border: 1px solid rgba(22, 163, 74, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
}

.btn.primary {
  background: radial-gradient(circle at 0 0, #bbf7d0 0, var(--accent) 36%, #22d3ee 100%);
  color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.42);
}

.btn.soft {
  background: rgba(255, 255, 255, 0.97);
  color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn.soft:hover {
  background: #ffffff;
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

.hero-badges span {
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 4px 10px;
}

/* HERO PANEL */

.hero-panel {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0));
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot-green {
  background: #22c55e;
}
.dot-yellow {
  background: #facc15;
}
.dot-red {
  background: #ef4444;
}

.hero-panel-body {
  padding: 18px 20px 20px;
}

.panel-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(15, 23, 42, 0.5);
  margin: 0 0 6px;
}

.hero-panel-body h2 {
  margin: 0;
  font-size: 1.3rem;
}

.panel-title {
  margin: 2px 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.panel-chips span {
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.05);
  padding: 4px 10px;
  font-size: 0.76rem;
}

.panel-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* OVERVIEW / SNAPSHOT */

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: start;
}

.overview-tags {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.overview-tags li::before {
  content: "• ";
}

.snapshot-card {
  background: var(--card-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border-soft);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}

.snapshot-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.16), transparent 60%);
  opacity: 0.8;
}

.snapshot-card > * {
  position: relative;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.snapshot-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
}

.snapshot-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.06);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 6px 0 12px;
}

.snapshot-item {
  display: flex;
  flex-direction: column;
}

.snapshot-value {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.snapshot-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.snapshot-footer {
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  padding-top: 8px;
  margin-top: 4px;
}

.snapshot-note {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.7);
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border-radius: 24px;
  padding: 20px 22px 20px;
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  margin-bottom: 10px;
}

.service-icon-green {
  background: radial-gradient(circle at 0 0, #bbf7d0, #22c55e);
}
.service-icon-blue {
  background: radial-gradient(circle at 0 0, #bae6fd, #0ea5e9);
}
.service-icon-yellow {
  background: radial-gradient(circle at 0 0, #fef9c3, #facc15);
}

.service-card h3 {
  margin: 0 0 6px;
}

.service-card p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SIGNALS */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.signal-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.3);
}

.signal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 1rem;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 8px;
}

.signal-card h3 {
  margin: 0 0 4px;
}

.signal-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CASES */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.case-card {
  background: var(--card-soft);
  border-radius: 22px;
  padding: 18px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.case-card header {
  margin-bottom: 6px;
}

.case-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

.case-card h3 {
  margin: 0;
}

.case-card p {
  margin: 4px 0 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.case-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 24px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.65);
}

.pricing-card-featured {
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.35), rgba(15, 23, 42, 0.9));
  border-color: rgba(74, 222, 128, 0.9);
  transform: translateY(-4px);
}

.badge {
  display: inline-flex;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.8);
  margin-bottom: 8px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.pricing-tagline {
  margin: 4px 0 10px;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.86);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.amount {
  font-size: 1.8rem;
  font-weight: 800;
}

.unit {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.8);
}

.pricing-list {
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.9);
}

.pricing-note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: rgba(209, 213, 219, 0.9);
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-badges span {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
}

input,
textarea,
select {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 9px 11px;
  font-family: inherit;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.contact-footnote {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-footnote a {
  color: var(--text-main);
  font-weight: 600;
}

/* FOOTER */

.site-footer {
  padding: 22px 0 26px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.82);
}

/* 3D CARD */

.card-3d {
  box-shadow: var(--shadow-soft);
}

/* ANIMATIONS */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE: main layout + MOBILE NAV */

@media (max-width: 960px) {
  .hero-layout,
  .overview-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 96px;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 54px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 24px 14px;
    background: rgba(255, 255, 255, 0.97);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 220ms ease-out, opacity 200ms ease-out;
  }

  .nav.open {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section,
  .section-soft,
  .section-dark {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .pricing-card {
    transform: translateY(0);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .snapshot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==== ARTICLE / BLOG / CASE STUDY PAGES ==== */

.page-hero {
  padding-top: 110px;
}

.page-hero-inner {
  padding: 60px 0 40px;
}

.page-hero-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(5, 20, 22, 0.7);
  margin-bottom: 8px;
}

.page-hero-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  letter-spacing: -0.06em;
}

.page-hero-subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 1rem;
  color: var(--text-muted);
}

.article-layout {
  padding-bottom: 80px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 30px;
  align-items: flex-start;
}

.article-body {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-main);
}

.article-body h2 {
  margin-top: 4px;
  margin-bottom: 6px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.article-body h3 {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.article-body p {
  margin: 4px 0 8px;
}

.article-body ul {
  margin: 4px 0 10px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 4px;
}

/* author + meta */

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.meta-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #bbf7d0, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #022c22;
}

.meta-text-primary {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.meta-text-secondary {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* TOC */

.toc-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border-soft);
  position: sticky;
  top: 96px;
}

.toc-card h2 {
  margin: 0 0 10px;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.7);
}

.toc-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
}

.toc-card a {
  color: rgba(15, 23, 42, 0.85);
  text-decoration: none;
}

.toc-card a:hover {
  text-decoration: underline;
}

/* listing (blog & case-studies landing) */

.listing-section {
  padding-top: 110px;
}

.listing-header {
  padding: 40px 0 20px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding-bottom: 70px;
}

.list-card {
  background: var(--glass-bg);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.list-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.list-card a {
  color: inherit;
  text-decoration: none;
}

.list-card-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

.list-card h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.list-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.list-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.7);
}

/* responsive tweaks for article layout */

@media (max-width: 960px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc-card {
    position: static;
  }
}

/* ===== ABOUT PAGE ===== */

.about-hero {
  padding-top: 110px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.about-title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.about-lead {
  margin: 0 0 12px;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.about-body {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.about-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.about-meta-chips span {
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 4px 10px;
  font-size: 0.8rem;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* photo card */

.about-photo-card {
  background: var(--card);
  border-radius: 24px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, #bbf7d0, #22c55e);
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.about-photo-meta {
  font-size: 0.9rem;
}

.about-name {
  margin: 0;
  font-weight: 700;
}

.about-role {
  margin: 2px 0 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-caption {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* timeline */

.about-timeline {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.about-timeline-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  background: var(--card);
  border-radius: 20px;
  padding: 14px 18px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
}

.about-timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.7);
  padding-top: 2px;
}

.about-timeline-body h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.about-timeline-body p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-timeline-body ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
}

/* skills + values split */

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.about-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.about-skill-card {
  background: var(--card);
  border-radius: 18px;
  padding: 14px 16px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-skill-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.about-values-list {
  margin: 8px 0 16px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}

/* about responsive */

@media (max-width: 960px) {
  .about-hero-grid,
  .about-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .about-cta-row {
    flex-direction: column;
  }
}

/* ARTICLE TABLES */

.article-body .table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0 18px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.9rem;
}

.article-body th,
.article-body td {
  padding: 8px 10px;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.article-body thead th {
  background: rgba(226, 232, 240, 0.7);
  font-weight: 700;
}

.article-body tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.9);
}

/* ===== TOOLS LANDING PAGE ===== */

.tools-main {
  padding-bottom: 80px;
}

.tools-hero {
  padding-top: 110px;
}

.tools-hero-inner {
  padding: 60px 0 32px;
}

/* reuse existing page-hero classes for typography */
/* .page-hero-kicker, .page-hero-title, .page-hero-subtitle already defined */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* main tool card */

.tool-card {
  background: var(--glass-bg);
  border-radius: 24px;
  padding: 20px 22px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* subtle green glow */

.tool-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), transparent 60%);
  opacity: 0.9;
}

.tool-card > * {
  position: relative;
}

.tool-card-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.8);
  color: rgba(22, 101, 52, 0.98);
  margin-bottom: 8px;
}

.badge-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(34, 197, 94, 0.7);
  color: rgba(22, 101, 52, 0.96);
}

.tool-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.tool-card-text {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.tool-card-list {
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tool-card-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.tool-footnote {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.7);
}

/* alt variation – slightly darker */

.tool-card-alt {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-small);
}

/* active nav link on tools page */

.nav a.nav-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
}

/* responsive tweaks */

@media (max-width: 640px) {
  .tools-hero-inner {
    padding: 52px 0 26px;
  }
}

/* ===== LINKEDIN BRANDING LANDING PAGE ===== */

.li-main {
  padding-bottom: 80px;
}

/* HERO */

.li-hero {
  padding-top: 110px;
}

.li-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.li-eyebrow {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(4, 19, 23, 0.7);
  margin-bottom: 10px;
}

.li-hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 3vw, 3.1rem);
  letter-spacing: -0.06em;
}

.li-hero-subtitle {
  margin: 0 0 18px;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.li-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.li-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.li-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

.li-hero-metrics span {
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 4px 10px;
}

/* hero panel */

.li-hero-panel {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
}

.li-hero-panel-header {
  padding: 10px 16px;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.12),
    rgba(15, 23, 42, 0)
  );
}

.li-panel-badge {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.7);
}

.li-hero-panel-body {
  padding: 18px 20px 20px;
}

.li-profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.li-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #bbf7d0, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #022c22;
}

.li-profile-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.li-profile-role {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.li-panel-list {
  margin: 10px 0 12px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.li-panel-list li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.li-panel-list span {
  font-size: 1rem;
}

.li-panel-cta {
  width: 100%;
  justify-content: center;
}

/* SHARED SECTION HEADER */

.li-section-header {
  max-width: 720px;
}

/* WHO SECTION */

.li-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.li-who-card {
  background: var(--card);
  border-radius: 22px;
  padding: 18px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
}

.li-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.li-who-card h3 {
  margin: 0 0 6px;
}

.li-who-card p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.li-who-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SYSTEM SECTION */

.li-system {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(209, 250, 229, 0.9)
  );
}

.li-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.li-system-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 18px 20px 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-small);
}

.li-system-card-highlight {
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: var(--shadow-soft);
}

.li-system-label {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.8);
  margin-bottom: 6px;
}

.li-system-card p {
  margin: 4px 0 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.li-system-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* BEFORE / AFTER */

.li-before-after .section-title {
  margin-bottom: 6px;
}

.li-ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.li-ba-card {
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.7);
}

.li-ba-card-before {
  background: radial-gradient(circle at 0 0, #4b5563, #020617);
}

.li-ba-card-after {
  background: radial-gradient(circle at 0 0, #22c55e, #020617);
}

.li-ba-card h3 {
  margin: 0 0 6px;
}

.li-ba-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

.li-ba-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.li-inline-note {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.9);
}

/* FLOW SECTION */

.li-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.li-flow-step {
  background: var(--card);
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
}

.li-flow-badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

/* FORMATS */

.li-formats {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(191, 219, 254, 0.9)
  );
}

.li-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.li-format-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-small);
}

.li-format-card-highlight {
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: var(--shadow-soft);
}

.li-format-pill {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

.li-format-pill-highlight {
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.8);
}

.li-format-tagline {
  margin: 4px 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.li-format-card ul {
  margin: 0 0 8px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.li-format-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.li-formats-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

/* FAQ */

.li-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.li-faq-item {
  background: var(--card);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-small);
  font-size: 0.94rem;
}

.li-faq-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

/* FINAL CTA STRIP */

.li-final-cta-strip {
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.li-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.li-final-cta-inner h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.li-final-cta-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.li-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FOOTER override */

.li-footer {
  margin-top: 0;
}

.li-footer-inner {
  align-items: flex-start;
}

.li-footer-left p {
  margin: 0;
}

.li-footer-right {
  text-align: right;
}

.li-footer-contact {
  margin: 0 0 2px;
  font-size: 0.86rem;
}

.li-footer-contact a {
  font-weight: 600;
  color: var(--text-main);
}

.li-footer-links {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.8);
}

.li-footer-links a {
  color: inherit;
  text-decoration: none;
}

.li-footer-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE for LinkedIn page */

@media (max-width: 960px) {
  .li-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .li-final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-footer-right {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .li-hero {
    padding-top: 96px;
  }

  .li-hero-ctas,
  .li-formats-cta-row,
  .li-ba-cta-row {
    flex-direction: column;
  }

  .li-formats-cta-row .btn,
  .li-ba-cta-row .btn,
  .li-final-cta-buttons .btn {
    width: 100%;
  }
}

/* =========================================
   FIX: Make li-inline-note readable
   in the light "Engagement Formats" section
   ========================================= */

.li-formats-cta-row .li-inline-note {
  color: rgba(4, 19, 23, 0.9);
}

/* Tools page: uniform cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.tool-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,0.12);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}

.tool-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(148,163,184,0.18);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card h2,
.tool-card .tool-card-title {
  margin: 6px 0 8px;
  font-size: 1.05rem;
  line-height: 1.22;
  font-weight: 700;
}

.tool-card-text {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.tool-card-list {
  margin: 8px 0 0 18px;
  color: var(--text-muted);
}

.tool-card-footer {
  margin-top: auto; /* push footer to bottom so cards align */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-footnote {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.tool-card .btn {
  align-self: start;
}

/* Standardize buttons inside tool cards: use the premium gradient pill */
.tool-card .btn,
.tool-card .fs-btn,
.tool-card a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: radial-gradient(circle at 0 0, #bbf7d0 0, var(--accent) 36%, #22d3ee 100%);
  color: var(--accent-dark);
  box-shadow: 0 12px 36px rgba(15,23,42,0.18);
  border: none;
}

/* Keep same visual for soft/outline buttons — make them match the primary look */
.tool-card .btn.soft,
.tool-card .fs-btn.fs-btn-soft,
.tool-card a.btn.soft {
  background: radial-gradient(circle at 0 0, #bbf7d0 0, var(--accent) 36%, #22d3ee 100%);
  color: var(--accent-dark);
  border: none;
}

/* Hover/active states */
.tool-card .btn:hover,
.tool-card .fs-btn:hover,
.tool-card a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(15,23,42,0.22);
}

/* Make buttons full-width on small screens for easy tapping */
@media (max-width: 640px) {
  .tool-card .btn,
  .tool-card .fs-btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
  }
}

/* Alternate card visual treatment */
.tool-card.tool-card-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,255,250,0.9));
}

/* Small screens: stack and reduce padding */
@media (max-width: 640px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
    padding: 16px;
  }

  .tool-card h2,
  .tool-card .tool-card-title {
    font-size: 1rem;
  }

  .tool-card-badge {
    font-size: 0.7rem;
  }
}
