/*
 * greenlive - the landing page
 *
 * The landing page is the map of the pool of names.  It has to be readable
 * in one glance, and it has to look like the rest of the site - the same
 * near-black ground, the same hairline panels, the same jade accent.
 *
 * Every colour comes from the tokens of style.css; nothing is hard coded
 * here, so the page follows the skin of the site.
 */

.land-body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

.land-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 16px 60px;
}

/* ---------------------------------------------------------------- header */

.land-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.land-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
}

.land-htxt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}
.land-htxt b { font-size: 16px; letter-spacing: .3px; }
.land-htxt span { font-size: 12px; color: var(--ink-3); }

.land-go {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(52, 211, 153, .28);
  font-size: 13px;
  text-decoration: none;
  transition: background .18s var(--ease);
}
.land-go:hover { background: rgba(52, 211, 153, .2); }

/* ------------------------------------------------------------------ lead */

.land-lead {
  padding: 26px 0 22px;
}

.land-lead h1 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

.land-lead p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

/* the three live lines - the one thing that never changes */
.land-3lines {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ll-title {
  font-size: 12px;
  color: var(--ink-3);
  margin-right: 2px;
}

.ll-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(52, 211, 153, .22);
}

.ll-hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 2px;
}

/* ------------------------------------------------------------------- box */

.land-box {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.land-box-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--hairline);
}

.land-box-hd h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.land-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-2);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.land-btn:hover { color: var(--ink); border-color: var(--accent); }
.land-btn:disabled { opacity: .5; cursor: default; }

/* ------------------------------------------------------------- the names */

.land-list {
  padding: 6px;
}

.domain {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background .16s var(--ease);
}
.domain:hover { background: var(--surface-2); }
.domain + .domain { border-top: 1px solid var(--hairline); }

.domain .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--ink-3);
}
.domain.ok .dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.domain.bad .dot { background: #6b5b5b; }

.domain .dn {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.domain.bad .dn { color: var(--ink-2); }

.domain .st {
  flex: none;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.domain.ok .st { color: var(--accent); }

.domain .tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
}
.domain .tag.alt {
  background: var(--hot-dim);
  color: var(--hot);
}

.domain.here {
  background: rgba(52, 211, 153, .06);
  box-shadow: inset 2px 0 0 var(--accent);
}

.land-sum {
  padding: 10px 10px 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.land-empty {
  padding: 26px 14px;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}
.land-empty.bad { color: #d98b86; }

/* ------------------------------------------------------------------ foot */

.land-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
}
.land-foot-tip { color: var(--ink-3); opacity: .8; }

/* --------------------------------------------------------------- narrow */

@media (max-width: 420px) {
  .land-wrap { padding: 16px 12px 48px; }
  .land-lead h1 { font-size: 18px; }
  .land-go { padding: 7px 11px; font-size: 12px; }
}
