:root {
  --ink: #16181d;
  --bg: #ffffff;
  --muted: #3a3d45;
  --muted2: #6a6d75;
  --accent: #1a4fd6;
  --orange: #ff5a1f;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
}
/* Home page only: locked to exactly one screen (see body.home below).
   Other pages (catalogs, articles) scroll normally — their content
   grows over time and must never be clipped. */
body.home { min-height: 100vh; display: flex; flex-direction: column; }
.page-fill { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: space-evenly; }

/* Desktop/tablet: home page locked to exactly one screen, no scroll.
   Mobile keeps normal scrolling — forcing a phone page to never scroll
   fights how people actually use a phone. */
@media (min-width: 641px) {
  body.home { height: 100dvh; min-height: 0; overflow: hidden; }
}

a { text-decoration: none; }
button { font: inherit; cursor: pointer; appearance: none; border: none; background: none; }
::selection { background: var(--orange); color: #ffffff; }

.nav-link { color: var(--ink); border-bottom: 2px solid transparent; transition: border-color .15s ease; }
.nav-link:hover, .nav-link.is-active { border-bottom-color: var(--orange); }
.contact-link { color: var(--ink); border-bottom: 2px solid var(--ink); transition: color .15s ease, border-color .15s ease; }
.contact-link:hover { color: var(--orange); border-bottom-color: var(--orange); }

.header-bar { border-bottom: 3px solid var(--ink); flex: none; }
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(10px, 1.8vh, 16px) 32px;
  flex-wrap: wrap; gap: 16px; max-width: 1120px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 22px; height: 22px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 900; font-size: 16px; letter-spacing: .01em; }
.brand-tag { font-weight: 700; font-size: 10px; letter-spacing: .14em; color: var(--muted2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; flex-wrap: wrap; }
.nav-btn {
  display: inline-block; padding: 9px 18px; border: 2px solid var(--ink);
  font-weight: 700; font-size: 13px;
  transition: filter .15s ease;
}
.nav-btn-solutions { background: var(--accent); color: #ffffff; }
.nav-btn-blog { background: var(--orange); color: #ffffff; }
.nav-btn:hover { filter: brightness(0.88); }

.hero { padding: clamp(16px, 4vh, 36px) 32px clamp(12px, 2.5vh, 24px); }
.hero-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow-pill {
  display: inline-block; background: var(--orange); color: #ffffff; font-weight: 700;
  font-size: 12px; letter-spacing: .12em; padding: 7px 14px; margin-bottom: clamp(8px, 1.4vh, 14px);
}
h1.hero-title { font-weight: 900; font-size: clamp(26px, 3.2vw + 1.2vh, 40px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 clamp(8px, 1.4vh, 14px); max-width: 780px; }
.hero-rule { width: 56px; height: 4px; background: var(--ink); margin: 0 0 clamp(8px, 1.4vh, 14px); }
.hero-sub { font-size: clamp(14px, 0.9vw + 0.6vh, 16px); line-height: 1.45; color: var(--muted); max-width: 620px; margin: 0; font-weight: 500; }

.section { padding: clamp(12px, 2.8vh, 26px) 32px clamp(16px, 3vh, 28px); border-top: 3px solid var(--ink); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); margin-bottom: clamp(4px, 0.9vh, 8px); }
h2.section-title { font-weight: 900; font-size: clamp(19px, 1.1vw + 1vh, 23px); margin: 0 0 clamp(8px, 1.8vh, 16px); }
p.section-lede { font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 640px; margin: 0 0 12px; font-weight: 500; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--ink); border: 3px solid var(--ink);
}
.card { background: #ffffff; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-tag {
  display: inline-block; font-weight: 700; font-size: 11px; letter-spacing: .1em;
  color: var(--accent); border: 2px solid var(--accent); padding: 4px 10px; width: fit-content;
}
.card-date { font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--muted2); }
.card h3 { font-weight: 900; font-size: 20px; line-height: 1.3; margin: 0; }
.card p { font-size: 14.5px; line-height: 1.55; margin: 0; color: var(--muted); }
.card-link { color: var(--ink); }
.card-link:hover h3 { color: var(--orange); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 3px solid var(--ink); }
.pillar { padding: clamp(12px, 2.2vh, 22px) clamp(16px, 2.2vw, 28px); }
.pillar-a { background: var(--accent); color: #ffffff; border-right: 3px solid var(--ink); }
.pillar-b { background: var(--orange); color: #ffffff; }
.pillar-head { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(5px, 1vh, 10px); }
.pillar-icon { width: 20px; height: 20px; flex: none; border: 2px solid #ffffff; }
.pillar-label { font-weight: 700; font-size: 12px; letter-spacing: .08em; opacity: .9; }
.pillar h3 { font-weight: 900; font-size: 17px; margin: 0 0 clamp(4px, 0.8vh, 7px); }
.pillar p { font-size: 13.5px; line-height: 1.4; margin: 0; font-weight: 500; opacity: .94; }

.post-header { padding: 52px 32px 32px; border-bottom: 3px solid var(--ink); }
.post-header-inner { max-width: 760px; margin: 0 auto; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
h1.post-title { font-weight: 900; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.1; margin: 0; }
.post-body { padding: 44px 32px 60px; }
.post-body-inner { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.65; color: var(--muted); font-weight: 500; }
.post-stub { font-style: italic; color: var(--muted2); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; margin-top: 36px; }

.contact-cta {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px;
  border-bottom: 2px solid var(--ink); padding-bottom: 9px;
}

@media (max-width: 640px) {
  .header, .hero, .section, .post-header, .post-body { padding-left: 20px; padding-right: 20px; }
  .pillars, .card-grid { grid-template-columns: 1fr; }
  .pillar-a { border-right: none; border-bottom: 3px solid var(--ink); }
  .nav { gap: 8px; }
  .nav-btn { padding: 8px 14px; font-size: 12px; }
  .header { gap: 10px; }
  .brand-name { font-size: 14px; }
  .brand-tag { font-size: 9px; }
}
