/* Leadgen — base styles
   Editorial Swedish B2B. Serif headlines, bold accent, deliberate
   asymmetry. Credible without being timid. */

:root {
  --bg: #fafaf7;            /* warm off-white — newsprint */
  --bg-pure: #ffffff;
  --bg-muted: #f0eee8;
  --bg-dark: #14110d;       /* near-black with warmth */

  --text: #14110d;
  --text-muted: #57534e;
  --text-faint: #a8a29e;

  --border: #e7e4dc;
  --border-strong: #d4cfc3;

  --accent: #b45309;        /* deep amber — editorial, confident */
  --accent-dark: #78350f;
  --accent-bg: #fef3c7;

  --serif: "Source Serif 4", "Source Serif Pro", Charter, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --max: 1200px;
  --max-narrow: 720px;
}

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; }

a { color: var(--accent); text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 120ms; }
a:hover { border-bottom-color: currentColor; }
a.plain { color: var(--text); }

button {
  font: inherit;
  cursor: pointer;
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
  padding: 11px 22px;
  border-radius: 0;
  letter-spacing: 0.005em;
  transition: background 120ms;
}
button:hover { background: #2c2620; }
button:disabled { opacity: 0.4; cursor: not-allowed; }

button.secondary { background: transparent; color: var(--text);
                   border-color: var(--border-strong); }
button.secondary:hover { background: var(--bg-muted); }

input, select, textarea {
  font: inherit;
  width: 100%;
  background: var(--bg-pure);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 0;
}
input:focus { outline: none; border-color: var(--text); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
th { font-weight: 500; color: var(--text-muted); font-size: 11px;
     text-transform: uppercase; letter-spacing: 0.08em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 32px; }

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--mono); }
.tabnum { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); }

nav.top {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg);
}
nav.top .container { display: flex; justify-content: space-between; align-items: center; }
nav.top .brand { font-family: var(--serif); font-weight: 500;
                 font-size: 22px; letter-spacing: -0.01em;
                 border-bottom: 0; }
nav.top .brand .dot { color: var(--accent); }
nav.top .links a { color: var(--text); margin-left: 32px; font-size: 14px;
                   border-bottom: 0; }
nav.top .links a:hover { color: var(--accent); }
nav.top .links a.cta { background: var(--text); color: var(--bg-pure);
                       padding: 8px 16px; }
nav.top .links a.cta:hover { background: var(--accent); }

.source-stamp {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rule { border: 0; border-top: 1px solid var(--border); margin: 80px 0; }
.rule.bold { border-top-width: 2px; border-color: var(--text); }

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container, .narrow { padding: 0 20px; }
  nav.top .links a { margin-left: 16px; }
}
