/* Source Code Pro (SIL OFL) - self-hosted, no external requests */
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-code-pro-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-code-pro-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #EEEC58;
  --fg: #35507A;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Source Code Pro", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  line-height: 1.5;
}

/* Header */
.site-header {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 2px solid var(--fg);
}

.brand {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Centered content */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-top: 2px solid var(--fg);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer a {
  color: var(--fg);
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-thickness: 2px;
}
