/* Modern Minimal Style with Better Typography */

/* Base Styles */
body {
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
  background: white;
  color: black;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-weight: 400;
}

/* Main Container - Fixed width for consistency */
.container {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Wrapper - Full width background for header + hero */
.hero-wrapper {
  width: 100%;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 40px;
}

/* Hero Content Container */
.hero-content {
  padding: 40px 0;
}

/* Full Width Section Wrappers */
.section-wrapper {
  width: 100%;
  padding: 60px 0;
}

.section-wrapper.elevated {
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.section-wrapper.accent {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.section-wrapper.accent a {
  color: white;
}

.section-wrapper.dark {
  background: #1a1a1a;
  color: white;
}

.section-wrapper.dark a {
  color: #667eea;
}

.section-wrapper.dark .case-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  margin: 20px 0 10px 0;
  line-height: 1.2;
}

h1 { 
  font-size: 36px;
  font-weight: 900;
}
h2 { 
  font-size: 28px;
  font-weight: 700;
}
h3 { 
  font-size: 22px;
  font-weight: 700;
}

p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Links */
a {
  color: blue;
  text-decoration: underline;
}

a:visited {
  color: purple;
}

/* Lists */
ul, ol {
  margin: 10px 0;
  padding-left: 40px;
}

li {
  margin: 5px 0;
}

/* Header & Footer */
header {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrapper {
  width: 100%;
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  padding: 40px 0;
  margin-top: 0;
}

.footer-wrapper .container {
  text-align: center;
}

/* Navigation */
nav {
  margin: 0;
  order: 2;
  flex-grow: 1;
  text-align: center;
}

nav a {
  margin: 0 15px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  border: 1px solid black;
  background: #f0f0f0;
  color: black;
  text-decoration: none;
}

.btn.primary {
  background: #333;
  color: white;
}

/* Sections */
.section {
  margin: 0;
}

/* Main content area */
main {
  min-height: 400px;
  margin: 0;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* Grid Layouts - Consistent Structure */
.services-grid,
.startup-features,
.cases-grid {
  margin: 20px 0;
}

/* Card/Box Layout - Single Column for Old School Look */
.service-card,
.feature-card,
.case-card {
  border: 1px solid #ccc;
  padding: 15px;
  margin: 10px 0;
  background: #f9f9f9;
}

/* Case Metrics */
.case-metric {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.metric-value {
  font-size: 24px;
  font-weight: bold;
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.actions {
  margin: 20px 0;
}

/* Mobile Responsive - Keep it simple */
@media (max-width: 850px) {
  .container {
    width: auto;
    margin: 0 10px;
    padding: 10px;
  }
  
  .section-wrapper {
    padding: 40px 0;
  }
  
  .hero-content {
    padding: 20px 0;
  }
}

/* Remove all fancy styling from remaining elements */
* {
  box-sizing: border-box;
}


/* Language switcher */
.lang {
  order: 3;
  flex-shrink: 0;
}

.lang .pill {
  padding: 2px 8px;
  border: 1px solid #ccc;
  background: white;
  color: black;
  text-decoration: none;
  font-size: 14px;
}

/* Brand/Logo */
.brand {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  order: 1;
  flex-shrink: 0;
}

/* SVG Icons - Make them small */
svg {
  width: 16px !important;
  height: 16px !important;
  display: inline-block;
  vertical-align: middle;
}

/* Code and Technical Content */
code, pre, .tech-item, .deliverable {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.metric-value, .metric-number {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}