/* Typeset Resume design system: the single source for tokens and shared
   primitives. Consumed by the React app (via @import in js/app/index.css)
   and the server-rendered pages (via <link> in templates/seo/base.html).
   Change tokens HERE only. Emails are the one exception (inline styles for
   mail clients). */

:root {
  --ink: #0c0a09;
  --surface: #fafafa;
  --accent: #0c0a09;
  --accent-deep: #000000;
  --accent-sky: #9ca3af;
  --accent-tint: #f0efee;
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: Georgia, serif;
  --resume: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Type-metric parity across surfaces: the app's Tailwind preflight uses
   1.5; server pages must match or navs/headers shift on navigation. */
body { line-height: 1.5; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

button, a {
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}
button:not(:disabled) { cursor: pointer; }
button:not(:disabled):active { transform: translateY(1px); }

/* Metadata voice: quiet single-word section kickers. */
.kicker, .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

/* Hairline card recipe (interfacecraft): 1px ring + whisper of shadow. */
.hairline-card {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.08);
}
.hairline-pop {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Buttons: the single definition for every marketing surface. All variants
   share one box (1px border always present) so heights match exactly:
   default 44px, .btn-sm 36px. App-internal editor chrome may use Tailwind,
   but landing + server pages must use these classes. */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 23px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-align: center;
}
.btn-sm { padding: 7px 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: rgba(12, 10, 9, 0.85); }
.btn-outline { border-color: rgba(0, 0, 0, 0.15); background: #fff; color: var(--ink); }
.btn-outline:hover { background: rgba(0, 0, 0, 0.05); }
