:root {
  --bg: #ffffff;
  --text: #0b0b0b;
  --muted: #6b6b6b;
  --btn: #1a1a1a;
  --btnText: #ffffff;
  --btnGhostBg: #f3f3f3;
  --btnGhostText: #141414;
  --border: rgba(0,0,0,0.10);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

.site-info {
  position: fixed;
  top: 18px;
  right: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  min-width: 180px;
}

.site-info__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 12px;
}

.site-info .label {
  color: var(--muted);
}

.site-info .value {
  color: var(--text);
}

.center {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 80px 20px;
}

.center > * {
  width: min(820px, 92vw);
  text-align: center;
}

.title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.desc {
  margin: 0 auto 22px;
  max-width: 640px;
  color: #2b2b2b;
  line-height: 1.5;
  font-size: 15px;
}

.actions {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--btn);
  color: var(--btnText);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.2);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.btn:active {
  transform: translateY(0px);
}

.btn--ghost {
  background: var(--btnGhostBg);
  color: var(--btnGhostText);
}

.profiles {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.profiles__label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: lowercase;
}

.profiles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

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

.profile-btn {
  background: #111;
  color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.profile-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.profile-btn .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}

/* ---- fun title interactions ---- */
.title {
  cursor: pointer;
  user-select: none;
  display: inline-block; /* so transform bounce doesn't look weird */
}

.title.is-bouncing {
  animation: title-bounce 420ms cubic-bezier(.2, .9, .2, 1);
}

@keyframes title-bounce {
  0%   { transform: translateY(0) scale(1); }
  20%  { transform: translateY(-6px) scale(1.02); }
  45%  { transform: translateY(0) scale(0.98); }
  70%  { transform: translateY(-3px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

/* ---- draggable site info ---- */
.site-info {
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
  transition: none !important;
}

.site-info.is-dragging {
  cursor: grabbing;
}
