/* The one-pager — one stylesheet for both the foundation's door
   (onefrontier.org) and the product's front (onefrontier.ai). The venture's
   ClickHouse register held to two lines of type: the dark field, the one loud
   lime, nothing else. A name changes; the page does not. */

@font-face {
  font-family: "Inter Tight";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/of-inter-tight-800.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/of-inter-400.woff2") format("woff2");
}

:root {
  --bg: #151513;
  --lime: #faff69;
}

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

html, body { height: 100% }

body {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  color: var(--lime);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

footer {
  text-align: center;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
}

footer a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

footer a:hover { text-decoration-thickness: 2px }

h1 {
  margin: 0;
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 9.5vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  margin: 0.7em 0 0;
  font-size: clamp(1rem, 2.6vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* The outbound door: .org's product link and .ai's own name, both the one
   accent mark on the page. `:link`/`:visited` are named because the browser's
   own `a:-webkit-any-link` rule outranks a bare descendant selector, which
   would leave the link default blue. */
main a:link,
main a:visited {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

main a:hover { text-decoration-thickness: 2px }

::selection { background: var(--lime); color: var(--bg) }
