/* The front door.
   Its only job is to get the MCP URL into someone's connector list with as few
   decisions as possible, so the address sits where a prompt box would: dead
   centre, one field, one button. Everything under it is reassurance. */

.connect {
  max-width: 660px;
  margin: 0 auto;
  padding: 9vh 20px 80px;
  text-align: center;
}

.mark {
  display: block;
  margin: 0 auto 26px;
  width: 132px;
  height: 132px;
}

/* Tracked out to match the wordmark under the mark, so the page and the logo
   read as the same object rather than two designs stacked. */
.connect h1 {
  font-size: clamp(22px, 5.6vw, 31px);
  letter-spacing: .32em;
  text-indent: .32em;
  color: var(--fg);
  margin: 0 0 14px;
  font-weight: 500;
}

.tagline {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 38px;
  max-width: 420px;
}

/* ---------- the address ---------- */

.urlbox {
  margin: 30px auto 0;
  max-width: 520px;
  text-align: left;
}
.urlbox label {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 10px 20px;
  font-weight: 600;
}
.urlrow {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #101013;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 8px 8px 20px;
  transition: border-color .15s;
}
.urlrow:focus-within { border-color: #3a3a42; }
.urlrow input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--fg);
  padding: 10px 0;
  font: 13px/1.4 ui-monospace, Consolas, monospace;
}
.urlrow input:focus { outline: none; }
.copy {
  flex: none;
  background: #1a1a1f;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  transition: background .15s, border-color .15s;
}
.copy:hover { background: #24242b; border-color: #34343c; }

/* ---------- the one button ---------- */
/* PLAY is the largest thing on the page after the mark, because it is the only
   thing anyone came here to do. Everything else is instructions for it. */

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.cta {
  padding: 20px 68px;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .16em;
  text-indent: .16em;
  transition: transform .12s, box-shadow .12s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 255, 255, .17); }
.cta:active { transform: translateY(0); }

.cta-ghost {
  padding: 19px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.cta-ghost:hover { border-color: #34343c; color: var(--fg); }

.cta-sub {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 400px;
  min-height: 42px;
}
.cta-sub b { color: var(--fg); font-weight: 600; }

@media (max-width: 420px) {
  .cta { padding: 18px 0; width: 100%; font-size: 21px; }
  .cta-ghost { width: 100%; text-align: center; }
}

/* ---------- the steps, for anyone who wants them spelled out ---------- */

.steps {
  display: inline-block;
  text-align: left;
  max-width: 480px;
  margin: 40px auto 0;
  padding-left: 20px;
  color: var(--dim);
  font-size: 13px;
  line-height: 2.05;
}
.steps b { color: var(--fg); font-weight: 600; }
.steps li::marker { color: #55555c; }
.say {
  font: 12px/1.4 ui-monospace, Consolas, monospace;
  background: #101013;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 8px;
  color: var(--fg);
}

/* ---------- the games, as chips rather than cards ---------- */

.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.game {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--dim);
  transition: border-color .15s, color .15s;
}
.game:hover { border-color: #3a3a42; color: var(--fg); }
.game b { color: var(--fg); font-weight: 500; }

.connect footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 56px;
  color: var(--dim);
  font-size: 12px;
}
.connect footer a { color: var(--dim); text-decoration: none; }
.connect footer a:hover { color: var(--fg); }

/* ---------- the contract address ---------- */
/* Below the fold of the page's real job. The whole pill is the button: the
   address is 44 characters, and asking someone to select that by hand on a
   phone is how a wrong paste happens. */

.ca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin: 52px auto 0;
  padding: 9px 9px 9px 16px;
  background: #0b0b0d;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  text-align: left;
  transition: border-color .15s, color .15s;
}
.ca:hover { border-color: #34343c; color: var(--fg); }
.ca:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

.ca-label {
  flex: none;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--dim);
}
.ca-addr {
  flex: 1;
  min-width: 0;
  font: 12px/1.4 ui-monospace, Consolas, monospace;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-act {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
  background: #17171b;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.ca.done .ca-act { color: #000; background: var(--accent); border-color: var(--accent); }

@media (max-width: 460px) {
  .ca { gap: 9px; padding-left: 13px; }
  .ca-addr { font-size: 11px; }
}
