@import url("site-theme.css");

body {
  min-height: 100vh;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
}

@media (min-width: 968px) {
  body {
    padding: 40px;
  }

  .container {
    width: clamp(900px, 80%, 85vw);
  }
}

section,
.site-footer {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

section {
  margin-bottom: 48px;
}

h1 {
  font-size: 2.2em;
}

.tagline {
  color: var(--color-text-muted);
  font-size: 1.1em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light));
  color: var(--color-bg-start);
  font-weight: 700;
  text-decoration: none;
}

.secondary-link {
  color: var(--color-text-muted);
  font-size: 0.9em;
  text-decoration: underline;
}

#language-toggle {
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 700;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.2em;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about p,
.process > p,
.stack > p,
.code-link p,
.contact p {
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.case-study,
.decision {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-top: 16px;
}

.case-study h3,
.decision h3 {
  margin-top: 0;
  color: var(--color-gold-light);
}

.case-study p,
.decision p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

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

.stat-tile {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8em;
  color: var(--color-gold-light);
  display: block;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9em;
}

.contact-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--color-gold-light);
}

.site-footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-gold-light);
}
