/* ============================================================
   AKKO — /customers/* case-study layout
   Stripe / Datadog-style 1-pager. Sober. Layer-first.
   Inherits design tokens from /style.css.
   ============================================================ */

@font-face {
  font-family: 'Inter Local';
  src: local('Inter'), local('Inter Regular');
  font-weight: 400 800;
  font-display: swap;
}

.customer-page {
  font-family: 'Inter Local', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Eyebrow + breadcrumb */
.customer-hero {
  padding: 7rem 0 2.5rem;
}
.customer-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.customer-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.customer-breadcrumb a:hover { color: var(--text-secondary); }
.customer-breadcrumb .sep { color: var(--border-hover); }

.customer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.customer-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.customer-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.customer-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.customer-hero p.lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 760px;
}

/* Top fact strip */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fact-strip .fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fact-strip .fact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.fact-strip .fact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Sections */
.cs-section {
  padding: 3rem 0 1rem;
}
.cs-section .section-label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.cs-section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.cs-section p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 1rem;
}
.cs-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}
.cs-section ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.cs-section ul li::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 1.1rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.metric-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.metric-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.metric-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Disclaimer */
.cs-disclaimer {
  margin: 3rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.18);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}
.cs-disclaimer strong { color: var(--text); }

/* Inline quote */
.cs-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Layer pills */
.cs-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.cs-layers span {
  padding: 0.32rem 0.72rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Final CTA */
.cs-cta {
  margin: 3rem 0 5rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.02));
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cs-cta h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.cs-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 480px;
}
.cs-cta .btn {
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.cs-cta .btn:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Responsive */
@media (max-width: 720px) {
  .customer-hero { padding-top: 5.5rem; }
  .cs-cta { flex-direction: column; align-items: flex-start; }
}

/* Index page (/customers/) */
.customers-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 5rem;
}
.customers-index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.customers-index-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.customers-index-card .pill {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
}
.customers-index-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.customers-index-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.customers-index-card .arrow {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
}
