#site-footer {
  --footer-bg: #0d1117;
  --footer-fg: #c9d1d9;
  --footer-muted: #8b949e;
  --footer-link: #b8d9f5;
  --footer-border: #21262d;
}

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

:root {
  --bg: #ffffff;
  --fg: #1b1f23;
  --muted: #57606a;
  --brand: #c00; /* print cyan accent adjusted to brand tone */
  --brand-ink: #0b6bcb;
  --border: #d0d7de;
  --radius: 12px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

a {
  color: var(--brand-ink);
  transition: color 0.15s ease;
}
a:hover {
  color: #0857a3;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.brand strong {
  color: var(--brand);
}
.site-header nav {
  display: flex;
  gap: 1.25rem;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0.1rem;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--fg);
}

/* Hero */
.hero {
  padding: 4.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 auto 1rem;
}
.hero p.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: var(--brand-ink);
  color: #fff;
}
.btn:hover {
  background: #0857a3;
  color: #fff;
}

/* Sections */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: #fafbfc;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg, #0d1117);
  color: var(--footer-fg, #c9d1d9);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.site-footer p {
  color: var(--footer-muted, #8b949e);
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--footer-link, #b8d9f5);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero {
    padding: 3rem 1.25rem;
  }
}

/* ===== Top bar ===== */
.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.45rem 1.5rem;
  background: #0d1117;
  color: #c9d1d9;
  font-size: 0.85rem;
}
.topbar a {
  color: #b8d9f5;
  text-decoration: none;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar .sep {
  margin: 0 0.35rem;
  color: #57606a;
}

/* Brand tweak */
.site-header .brand img {
  border-radius: 4px;
}

/* Hero (home) */
.hero-anim {
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: 10px;
}
.hero h1 em {
  color: var(--brand-ink);
  font-style: normal;
}
.hero-products {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-banner {
  padding-top: 0;
  text-align: center;
}
.banner-img {
  width: 100%;
  max-width: 1080px;
  border-radius: var(--radius);
}
.intro {
  max-width: 76ch;
  margin: 0 auto;
  text-align: center;
}
.intro p + p {
  margin-top: 1rem;
}
a.card {
  text-decoration: none;
  color: var(--fg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Post list / cards */
.post-list {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
.post-card h3 {
  margin: 0.5rem 0;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.chip {
  background: #eef3f8;
  color: #0b6bcb;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
}
.post-readmore {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Generic inner page */
.page h1 {
  margin-bottom: 1.25rem;
}
.page .lead {
  font-size: 1.1rem;
  color: var(--fg);
  font-weight: 500;
  max-width: 70ch;
}
.page p + p,
.page p + ul,
.page ul + p {
  margin-top: 1rem;
}
.page-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.page-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.page-media.center {
  text-align: center;
}
.page-media.center img {
  max-width: 560px;
}
.page-media.full img {
  max-width: 720px;
}
.signoff {
  margin-top: 1.5rem;
  font-style: italic;
}
.signoff p + p {
  margin-top: 0.25rem;
}
.building img {
  width: 100%;
  max-width: 544px;
  margin-top: 2rem;
  border-radius: var(--radius);
}
.offer-list {
  padding-left: 1.4rem;
  max-width: 70ch;
}
.offer-list li + li {
  margin-top: 0.4rem;
}
.disclaimer {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 70ch;
}
.feature {
  margin-top: 1.5rem;
  text-align: center;
}
.feature h2 {
  color: var(--brand-ink);
}
.custom-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.custom-gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Article page */
.article {
  max-width: 760px;
  margin: 1.5rem auto 0;
}
.article h1 {
  margin-bottom: 0.5rem;
}
.article-cover {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1rem 0;
}
.article p {
  max-width: 70ch;
}

/* Buttons */
.btn-ghost {
  background: transparent;
  color: var(--brand-ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: #f0f5fa;
}

/* Footer about */
.footer-about {
  max-width: 640px;
  text-align: center;
}
.footer-about h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.footer-about p {
  margin: 0.3rem 0;
}
.footer-about a {
  color: var(--footer-link, #b8d9f5);
  text-decoration: none;
}
.footer-about a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
