/* Fonts served from this site (no Google requests). Latin subset only.
   Licenses: /fonts/geistmono-OFL.txt, /fonts/schibstedgrotesk-OFL.txt (SIL OFL 1.1). */
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-800-latin.woff2") format("woff2");
}

/* Colors and type match machv.io (Framer tokens, read 2026-11-25). */
:root {
  --bg: #030305;
  --surface: #0d0d16;
  --surface-2: #181820;
  --ink: #ffffff;
  --dim: #b1b1b3;
  --muted: #808080;
  --line: #181820;
  --accent: #fb5609;
  --accent-deep: #de4f0d;
  --cream: #f0e9e6;
  --display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 44rem;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 60rem 28rem at 50% -8rem, rgba(222, 79, 13, 0.16), transparent 70%),
    var(--bg);
  color: var(--dim);
  font: 400 16px/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-deep); }

strong { color: var(--ink); font-weight: 600; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}
nav.site a {
  color: var(--dim);
  text-decoration: none;
  margin-left: 1.25rem;
  font-weight: 500;
  font-size: 0.9rem;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }

/* Content */
main { flex: 1; padding: 2.5rem 0 3.5rem; }

h1, h2, h3 { color: var(--ink); }
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 2.75rem 0 0.85rem;
}
h3 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.6rem; }
li::marker { color: var(--accent-deep); }

.meta { margin-bottom: 0.25rem; }

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 0.75rem;
  margin: 1.75rem 0;
}
.card h2 { margin-top: 0; }

.lead { font-size: 1.05rem; }

/* Pill button, like machv.io's "Book A Call" */
.button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.button:hover { background: var(--cream); color: var(--bg); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}
footer.site a { color: var(--dim); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site nav a + a { margin-left: 1rem; }

@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  main { padding-top: 1.5rem; }
  .card { padding: 1.25rem 1.1rem 0.5rem; }
}
