:root {
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #57606a;
  --primary: #0f4c81; /* deep blue */
  --accent: #c0784a;  /* warm accent */
  --border: #e6e6e6;
  --surface: #f7f7f7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.2rem; letter-spacing: 0.2px; }
.nav a { margin-left: 16px; text-decoration: none; color: var(--text); }
.nav .btn { margin-left: 16px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }

/* Hero */
.hero { padding: 44px 0; background: linear-gradient(180deg,#fff 0%,#fafafa 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.hero-copy h1 { font-size: 2.3rem; margin: 0 0 12px; letter-spacing: 0.3px; }
.hero-copy p { color: var(--muted); margin: 0 0 18px; }

/* Feature tiles */
.features { padding: 28px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #fff; }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }

/* Cards */
.section { padding: 28px 0; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); background: #fff; }
.card img { aspect-ratio: 4/3; object-fit: cover; background: #ddd; }
.card-body { padding: 14px; }
.card-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card-body p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { padding: 28px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }

/* Footer */
.site-footer { padding: 28px 0; background: #101114; color: #d0d7de; margin-top: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: #d0d7de; text-decoration: none; }
.small { font-size: 0.9rem; color: #8b949e; border-top: 1px solid #1f2328; padding-top: 12px; margin-top: 12px; }

/* Page */
.page-header { padding: 20px 0; border-bottom: 1px solid var(--border); background: #fff; }
.page-header h1 { margin: 0; font-size: 1.6rem; }

/* Forms */
.form { max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: block; font-weight: 600; margin: 10px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; color: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features-grid, .card-grid, .footer-grid { grid-template-columns: 1fr; }
}
