/*
 * Holding page only. It mirrors the site's tokens and type scale in
 * src/styles/global.css but is deployed on its own, so it imports nothing from
 * the unfinished site.
 */
@font-face {
  font-family: "Geist Sans";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #000000;
  --text-primary: #eaeaea;
  --text-secondary: #a1a1a1;
  --text-subdued: #737373;
  --border: #262626;
  --page-gutter: clamp(24px, 3.4vw, 48px);
  font-family: "Geist Sans", sans-serif;
  font-synthesis: none;
}

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

html {
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(100%, 52rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) var(--page-gutter);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  margin: 0;
  line-height: 0;
}

/* 166 by 60 is the logo's own 8306:3009 ratio, so it aligns with the text column. */
.brand img {
  width: clamp(138px, 16vw, 166px);
  height: auto;
}

.language-link {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
}

.language-link:hover {
  color: var(--text-primary);
}

main {
  flex: 1;
}

.notice {
  padding-block: clamp(48px, 8vw, 96px);
}

.notice + .notice {
  border-top: 1px solid var(--border);
}

.display {
  margin: 0 0 24px;
  color: var(--text-primary);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.display span {
  display: block;
}

p {
  max-width: 40rem;
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.lead {
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.text-link {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--text-subdued);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: var(--text-primary);
}

.note {
  margin-top: 28px;
}

:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

::selection {
  background: var(--text-primary);
  color: var(--canvas);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
}

/* Each tagline wraps as a whole, never mid-phrase. */
.taglines {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25em;
}

.taglines span {
  white-space: nowrap;
}
