/* Wallfinch site. Minimal placeholder styles (step 3); the full design comes later. */

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #ede8dd;
  --muted: #a39c8d;
  --line: rgba(237, 232, 221, 0.14);
  --gold: #e6b94f;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 3rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

/* Home */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--pad);
}

.mark {
  display: block;
  width: clamp(5rem, 14vw, 7rem);
  height: auto;
  margin: 0 0 1.5rem -0.6rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 11vw, 5.25rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  line-height: 1.25;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.lead {
  max-width: 32rem;
  margin: 2rem 0 0;
  font-size: 1.1875rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 0;
  color: var(--muted);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Header (inner pages) */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

/* Documents: privacy, terms, credits */

.doc {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
}

.doc h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.doc .updated {
  margin: 0.75rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul {
  margin: 0 0 1rem;
}

.doc ul {
  padding-left: 1.25rem;
}

.doc a {
  text-decoration-color: var(--muted);
}

.doc a:hover {
  text-decoration-color: currentColor;
}

.doc li + li {
  margin-top: 0.4rem;
}

.doc .summary {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.doc code {
  font-size: 0.9em;
}

/* Footer */

.site-footer {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--pad) 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 1.5rem;
  background: var(--line);
}

.home .site-footer {
  max-width: 40rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer p {
  margin: 0.75rem 0 0;
}

.site-footer a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nowrap {
  white-space: nowrap;
}
