/* Workflow Systems — shared site styles */

:root {
  --ink: #1C2B3A;
  --ink-2: #24374A;
  --rust: #A4432C;
  --rust-dark: #8C3A26;
  --steel: #6B7785;
  --steel-light: #C9CFD6;
  --paper: #EDEFF2;
  --white: #FFFFFF;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 6vw;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 207, 214, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
}

.brand .ws {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand .ws .s { color: var(--rust); }

.brand .name {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--steel-light);
  text-transform: uppercase;
}

nav.primary-nav {
  display: flex;
  gap: 2.1rem;
}

nav.primary-nav a {
  color: var(--steel-light);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
nav.primary-nav a:hover { color: var(--white); }
nav.primary-nav a.active {
  color: var(--white);
  border-bottom-color: var(--rust);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

@media (max-width: 720px) {
  nav.primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(201, 207, 214, 0.15);
  }
  nav.primary-nav.open { max-height: 320px; }
  nav.primary-nav a {
    padding: 1rem 6vw;
    border-bottom: 1px solid rgba(201, 207, 214, 0.08);
    width: 100%;
  }
  .nav-toggle { display: block; }
}

/* ---------- Hero (dark) ---------- */

.hero {
  background: var(--ink);
  color: var(--white);
  padding: 5.5rem 6vw 5.5rem;
  text-align: center;
}

.hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--steel-light);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1.2rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--steel-light);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--rust);
  border: none;
  margin: 0 auto 1.6rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.85em 1.9em;
  border-radius: 3px;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
}
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); }
.btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------- Sections (light) ---------- */

section {
  padding: 6.5rem 0;
}
section.tight { padding: 4.5rem 0; }
section.on-paper { background: var(--paper); }
section.on-white { background: var(--white); }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 1rem;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--rust);
  display: inline-block;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 700px;
}

p {
  line-height: 1.7;
  color: #333333;
}

.lede {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 640px;
  margin: 0 0 3rem;
}

/* ---------- Tier / card grid ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--steel-light);
  border-radius: 6px;
  padding: 2.1rem;
}
.card.dark {
  background: var(--ink);
  color: var(--white);
  border: none;
}
.card .num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin: 0 0 0.9rem;
}
.card.dark .num { color: var(--rust); }
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: var(--ink);
}
.card.dark h3 { color: var(--white); }
.card p { margin: 0 0 1.1rem; font-size: 0.95rem; }
.card.dark p { color: var(--steel-light); }
.card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.92rem;
  color: #333333;
}
.card.dark ul { color: var(--steel-light); }
.card li { margin-bottom: 0.45rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--steel-light);
  padding: 3rem 0 2.2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201, 207, 214, 0.15);
  margin-bottom: 1.4rem;
}
.footer-brand .ws {
  font-weight: 800;
  color: var(--white);
  font-size: 1.05rem;
}
.footer-brand .ws .s { color: var(--rust); }
.footer-brand .tagline {
  font-size: 0.85rem;
  color: var(--steel-light);
  margin-top: 0.4rem;
}
.footer-links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.85rem;
}
.footer-links a { text-decoration: none; color: var(--steel-light); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  font-size: 0.78rem;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Contact form ---------- */

.form-field {
  margin-bottom: 1.3rem;
  text-align: left;
}
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75em 0.9em;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--steel-light);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--rust);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.82rem;
  color: var(--steel);
  margin-top: 1rem;
}

/* ---------- Utility ---------- */

.placeholder {
  color: var(--steel);
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
