:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #141B2D;
  --ink-muted: #475569;
  --accent: #0F766E;
  --accent-dark: #115E59;
  --highlight: #D97706;
  --border: #E2E8F0;
  --soft: #F1F5F9;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(20, 27, 45, 0.06);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 84px 0 72px;
  background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 45%),
              radial-gradient(circle at bottom left, rgba(217, 119, 6, 0.06), transparent 40%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(15, 118, 110, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 30px;
  max-width: 620px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--soft);
  font-size: 0.92rem;
}

.spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--ink-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--ink);
}

/* Page Header (Subpages) */
.page-header {
  padding: 64px 0 48px;
  background: var(--ink);
  color: #FAF9F6;
}

.page-header h1 {
  color: #FAF9F6;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 14px;
}

.page-header p {
  color: #CBD5E1;
  max-width: 680px;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #94A3B8;
}

.breadcrumb a {
  color: #5EEAD4;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--ink-muted);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* Metrics Strip */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

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

/* Prose / Editorial Lists */
.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--soft);
  font-weight: 600;
  color: var(--ink);
}

tr:last-child td {
  border-bottom: none;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #CCFBF1;
  color: #115E59;
  border: 1px solid #99F6E4;
}

/* CTA Banner */
.cta-banner {
  background: var(--ink);
  color: #FAF9F6;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-banner h2 {
  color: #FAF9F6;
  margin-bottom: 10px;
}

.cta-banner p {
  color: #CBD5E1;
  max-width: 580px;
}

/* Footer */
.site-footer {
  background: #0F1524;
  color: #CBD5E1;
  padding: 60px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 42px;
}

.footer-title {
  color: #FAF9F6;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #5EEAD4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: #94A3B8;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 32px 24px;
  }
}
