/* bringal.at — the public site. Static, no scripts, no cookies, no external
   requests (the font is self-hosted). Brand: vault 01-Project/Branding. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --teal-ink: #0f766e; /* the mark */
  --teal-ink-hover: #115e59;
  --text: #10201f;
  --muted: #4a5e5c;
  --line: #e3ecea;
  --paper: #ffffff; /* the running B is baked onto white */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-ink-hover);
}

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* the home page: one screen, the running B as the title */

.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 40px;
  text-align: center;
}

.runner {
  width: min(80vw, 46svh, 460px);
  margin-bottom: 12px;
}

.wordmark {
  margin: 0;
  color: var(--teal-ink);
  font-size: clamp(3.4rem, 15vw, 7.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.soon {
  margin: 16px 0 0;
  font-size: clamp(1.3rem, 4.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pitch {
  max-width: 30em;
  margin: 8px 0 0;
  text-wrap: balance;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
}

/* the legal link — required on every page of a company website (§ 5 ECG) */
.foot-min {
  display: flex;
  justify-content: center;
  padding: 0 20px 12px;
  font-size: 0.85rem;
}

.foot-min a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.foot-min a:hover {
  color: var(--teal-ink);
  text-decoration: underline;
}

/* the legal page and the 404 */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 600;
  text-decoration: none;
}

.legal {
  max-width: 44em;
  padding-top: 16px;
  padding-bottom: 64px;
}

.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 40px 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 0;
}

.legal dt {
  font-weight: 600;
}

.legal dd {
  margin: 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--teal-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--teal-ink-hover);
  color: #fff;
}

.foot {
  padding: 8px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .legal dl {
    grid-template-columns: 1fr;
  }

  .legal dd {
    margin-bottom: 8px;
  }
}
