/* Graphite tokens (docs/design/tokens.json). The site is dark only, like the client. */
:root {
  --bg: #0e0f10;
  --surface: #17191b;
  --line: #2e3236;
  --text: #e7e8e4;
  --text-muted: #9a9e9b;
  --accent: #2bc4ef;
  --font-display: "Oxanium", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

@font-face {
  font-family: "Oxanium";
  src: url("/fonts/oxanium-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

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

.intro {
  align-self: center;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding-block: 72px 48px;
  display: grid;
  gap: 18px;
}

/* Half the cap height of clear space around the wordmark (brand.md section 2, rule 4). */
.wordmark {
  margin: 0 0 14px;
  width: min(100%, 360px);
  line-height: 0;
}

.wordmark svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 16px;
}

.tagline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.lead {
  margin: 0;
  color: var(--text);
  max-width: 34rem;
}

.status {
  margin: 6px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

/* The dot sits on the middle of the first line when the text wraps. */
.status-dot {
  flex: none;
  margin-top: calc(0.8em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact {
  margin: 0;
  color: var(--text-muted);
}

.notices {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding-block: 20px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: grid;
  gap: 6px;
}

.notices p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
