:root {
  /* Junctionary brand. --bg is the logo images' own background, so they sit flush on the page. */
  --bg: #011426;
  --fg: #e3e9f2;
  --muted: #8a99b0;
  --line: #22324a;
  --accent: #5dbb2f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex; flex-direction: column; min-height: 100%;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand img { display: block; width: 30px; height: 30px; border-radius: 7px; }
.actions { display: flex; align-items: center; gap: 18px; }
.navlink { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.navlink:hover { color: var(--fg); }
.user { color: var(--muted); font-size: 13px; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang { display: flex; gap: 2px; }
.lang button { border: 0; background: none; padding: 4px 6px; border-radius: 4px; color: var(--muted);
  font: 600 12px/1 inherit; font-family: inherit; letter-spacing: .08em; cursor: pointer; }
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { color: var(--fg); }
.signin { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s; }
.signin:hover, .signin:focus-visible { border-color: var(--accent); color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px 48px; }
.logo { width: min(460px, 84vw); height: auto; margin-bottom: 20px; }
.tagline { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.headline { max-width: 22em; margin: 36px 0 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.3;
  font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }

.foot { display: flex; justify-content: flex-end; padding: 20px 32px;
  border-top: 1px solid rgba(34, 50, 74, .6); color: var(--muted); font-size: 13px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

@media (max-width: 820px) {
  .top { flex-wrap: wrap; }
  .actions { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 600px) {
  .top, .foot { padding-left: 16px; padding-right: 16px; }
  .brand span { display: none; }
  .tagline { letter-spacing: .22em; }
  .user { display: none; }
}
