/* =========================
   Fonts
========================= */

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

/* IBM Plex Sans */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* =========================
   Base
========================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Helvetica, Arial, sans-serif;
  color: #0b1220;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================
   Layout
========================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: 760px;
}

section {
  padding: 96px 0;
}

/* =========================
   Header
========================= */

.site-header {
  border-bottom: 1px solid #e6e8ec;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-weight: 600;
  text-decoration: none;
  color: #0b1220;
  letter-spacing: -0.01em;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: #0b1220;
}

/* =========================
   Home Hero
========================= */

.home-hero {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #ffffff;
  padding: 160px 0 140px;
}

.home-hero h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 720px;
  color: #c7cdd8;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* =========================
   Sections
========================= */

.home-section h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.home-section p {
  font-size: 18px;
  color: #374151;
  max-width: 760px;
}

.home-section-dark {
  background: #f7f8fa;
}

/* =========================
   Cases Grid
========================= */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.case-tile {
  display: block;
  padding: 32px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e6e8ec;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.case-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0b1220;
}

.case-tile p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #4b5563;
  font-family: 'IBM Plex Sans', sans-serif;
}

.case-tile span {
  font-size: 13px;
  color: #6b7280;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* =========================
   Footer
========================= */

.site-footer {
  border-top: 1px solid #e6e8ec;
  padding: 48px 0;
}

.site-footer p {
  font-size: 14px;
  color: #6b7280;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* =========================
   Case pages
========================= */

.case-hero {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #ffffff;
  padding: 140px 0 120px;
}

.case-hero h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.case-subtitle {
  font-size: 20px;
  color: #c7cdd8;
  max-width: 720px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.case-meta {
  margin-top: 24px;
  font-size: 14px;
  color: #9ca3af;
  font-family: 'IBM Plex Sans', sans-serif;
}

.case-section-dark {
  background: #f7f8fa;
}

.case-list {
  margin-top: 24px;
  padding-left: 20px;
}

.case-list li {
  margin-bottom: 12px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.case-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e6e8ec;
  background: #ffffff;
}

.case-card h3 {
  margin-top: 0;
  letter-spacing: -0.01em;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.case-quote {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0b1220;
  max-width: 720px;
}
