:root {
  --bg-dark: #3f3f42;
  --bg-darker: #343437;
  --sage: #a9b99f;
  --sage-deep: #8ea184;
  --panel: #f4f2ee;
  --panel-soft: #ebe8e2;
  --text-dark: #2f2f31;
  --text-light: #f5f4f1;
  --border: #d7d2ca;
  --shadow: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  background: var(--panel);
  color: var(--text-dark);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  text-align: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  background: var(--sage);
  color: var(--text-dark);
  font-weight: 700;
}

.brand-mark-wrap {
  display: flex;
  justify-content: flex-end;
}

.brand-mark {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

/* Hero */
.hero-dark {
  background: var(--sage);
  color: var(--text-dark);
  border-bottom: none;
}

.hero-inner {
  padding: 56px 0 52px;
  text-align: center;
}

.hero-inner h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: var(--text-dark);
}

.hero-inner p {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dark);
}

/* Main */
.page-content {
  padding: 40px 0 56px;
}

.page-content.narrow {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading h2 {
  margin: 0 0 28px;
  font-size: 2rem;
}

/* Releases */
.release-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: stretch;
  gap: 18px;
}

.carousel-arrow {
  border: none;
  background: #a0a0a5;
  color: var(--text-light);
  border-radius: 12px;
  font-size: 1.8rem;
  cursor: pointer;
  min-height: 100%;
  transition: background 0.2s ease;
}

.carousel-arrow:hover {
  background: #b0b0b5;
}

.release-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 24px var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.release-cover-wrap {
  display: flex;
  justify-content: center;
}

.release-cover {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.release-details h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.release-blurb {
  margin: 0 0 22px;
  font-size: 1.08rem;
  color: #4a4a4d;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-primary:hover {
  background: #57575b;
}

.btn-secondary {
  background: var(--panel-soft);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #ddd8d0;
}

.snippet-block,
.related-block {
  margin-top: 20px;
}

.snippet-block h4,
.related-block h4 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.snippet {
  margin: 0 0 12px;
  padding: 16px 18px;
  background: var(--panel);
  border-left: 4px solid var(--sage);
  border-radius: 10px;
  color: #444447;
}

.related-block ul {
  margin: 0;
  padding-left: 18px;
}

.related-block li {
  margin-bottom: 6px;
}

.related-block a {
  text-decoration: none;
  color: var(--bg-dark);
  font-weight: 700;
}

.related-block a:hover {
  text-decoration: underline;
}

/* Content cards */
.content-card,
.cta-card,
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 20px var(--shadow);
  margin-bottom: 24px;
}

.content-card h2,
.cta-card h2,
.service-grid-section h2,
.value-grid-section h2 {
  margin-top: 0;
}

.service-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 32px;
}

.service-card,
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 20px var(--shadow);
}

.service-card h3,
.value-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.text-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--bg-dark);
}

.text-link:hover {
  text-decoration: underline;
}

.blog-meta {
  margin: 0 0 8px;
  color: #6a6a6d;
  font-size: 0.95rem;
}

.blog-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  margin-top: 20px;
}

.footer-inner {
  padding: 22px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-mark-wrap {
    justify-content: start;
  }

  .release-panel {
    grid-template-columns: 1fr;
  }

  .release-cover-wrap {
    justify-content: flex-start;
  }

  .button-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .release-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    min-height: 52px;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
  }
}