:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --surface-muted: #e8ecef;
  --text: #172126;
  --text-muted: #55636b;
  --line: #cfd8dd;
  --brand: #1f3a45;
  --brand-strong: #10272f;
  --accent: #8b6a3e;
  --shadow: 0 18px 40px rgba(16, 39, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef2f4 0%, #f7f8f9 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 245, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 216, 221, 0.8);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-strong);
  color: white;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero {
  padding: 86px 0 60px;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-copy,
.section-heading p,
.about-copy p,
.contact-grid > div > p,
.card p,
.contact-card p {
  color: var(--text-muted);
}

.hero-copy {
  font-size: 1.1rem;
  max-width: 62ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand-strong);
  color: white;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
}

.hero-panel,
.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.hero-stat + .hero-stat {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stat-label,
.contact-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid rgba(207, 216, 221, 0.7);
  border-bottom: 1px solid rgba(207, 216, 221, 0.7);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.contact-card {
  padding: 24px;
}

.feature-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.contact-card a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.contact-card > div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 10px 0 24px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

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

  .container {
    width: min(1120px, calc(100% - 28px));
  }

  h1 {
    max-width: none;
  }
}
