/* WorkflowGate shared site styles for SEO content pages.
   Self-hosted font, same dark instrument-panel identity as the homepage.
   Absolute paths (/fonts, /) so pages can live at any depth. */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0c0b09;
  --ink: oklch(15% 0.006 70);
  --ink-raised: #141210;
  --ink-raised: oklch(19% 0.007 70);
  --ink-card: #18150f;
  --ink-card: oklch(22% 0.009 70);
  --paper: #f5f1e9;
  --paper: oklch(96% 0.006 80);
  --paper-dim: #b6afa0;
  --paper-dim: oklch(74% 0.014 75);
  --hairline: rgba(245, 241, 233, 0.09);
  --hairline-strong: rgba(245, 241, 233, 0.18);
  --signal: #6c63ff;
  --signal: oklch(64% 0.21 270);
  --signal-glow: rgba(108, 99, 255, 0.32);
  --calm: #7bb08f;
  --calm: oklch(70% 0.1 150);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max-width: 880px;
}

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

body {
  margin: 0;
  font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* ---------- nav ---------- */

.nav { border-bottom: 1px solid var(--hairline); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
}

.nav-cta {
  background: var(--signal);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  transition: filter 160ms var(--ease-out);
}
.nav-cta:hover { filter: brightness(1.08); }

/* ---------- article / page body ---------- */

main { padding: 64px 24px 80px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}

h1.page-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.lead {
  margin-top: 20px;
  font-size: 19px;
  color: var(--paper-dim);
  text-wrap: pretty;
}

.article { margin-top: 16px; }
.article h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 48px;
}
.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
}
.article p { margin-top: 16px; font-size: 17px; color: var(--paper); }
.article p.muted { color: var(--paper-dim); }
.article ul, .article ol { margin-top: 16px; padding-left: 22px; }
.article li { margin-top: 10px; font-size: 17px; }
.article li::marker { color: var(--signal); }
.article a.inline { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.article strong { font-weight: 700; }

/* ---------- comparison table ---------- */

.compare {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 16px;
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.compare thead th {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
  font-weight: 700;
}
.compare td:first-child { color: var(--paper-dim); font-weight: 600; width: 34%; }
.compare .yes { color: var(--calm); font-weight: 700; }

/* ---------- CTA block ---------- */

.cta-card {
  margin-top: 48px;
  padding: 32px 28px;
  background: var(--ink-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-card h2 { margin-top: 0; }
.cta-card p { margin-top: 12px; color: var(--paper-dim); }

.btn-primary {
  display: inline-block;
  margin-top: 22px;
  background: var(--signal);
  color: var(--paper);
  border: none;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  font-family: inherit;
  transition: filter 160ms var(--ease-out), transform 140ms var(--ease-out);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(0.97); }

/* ---------- footer (interlinking for SEO) ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 24px;
  margin-top: 40px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--paper-dim);
  margin-bottom: 10px;
  transition: color 160ms var(--ease-out);
}
.footer-col a:hover { color: var(--paper); }
.footer-copy {
  max-width: var(--max-width);
  margin: 36px auto 0;
  font-size: 13px;
  color: var(--paper-dim);
}

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { font-size: 14px; }
  .compare td:first-child { width: 40%; }
}
