/* LivingHTX: minimal dark theme. Colors and type live here so the whole look can be adjusted in one place. */
:root {
  --bg: #0E1216;
  --ink: #E9ECEF;
  --muted: #8C96A3;
  --line: #3A434E;
  --sun: #F59E5B;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(120% 55% at 50% 118%, rgba(245, 158, 91, 0.12), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  padding: env(safe-area-inset-top, 0px) 20px env(safe-area-inset-bottom, 0px);
}

/* Header: Log in sits top right */
.top {
  display: flex;
  justify-content: flex-end;
  padding-block: 20px;
}

.login {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.login:hover { border-color: var(--sun); color: var(--sun); }

.login:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}

/* Hero: the logo, centered */
.hero {
  display: grid;
  place-items: center;
  padding-bottom: 6vh;
}

.lockup {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  font-size: clamp(44px, 10vw, 92px);
  font-weight: 500;
  line-height: 1;
}

.lockup--small { font-size: clamp(28px, 6vw, 48px); }

.mark { width: 1.7em; height: 1.7em; }

.wordmark {
  font-family: var(--f-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.htx {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.5em;
  letter-spacing: 0.24em;
  color: var(--sun);
  vertical-align: 0.3em;
  /* letter-spacing adds space after the last letter; pull it back so the lockup stays centered */
  margin-right: -0.24em;
}

.foot {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-block: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .login { transition: none; }
}
