:root {
  color-scheme: light;
  --ink: #0e2142;
  --paper: #f3f6fa;
  --muted: #5d6c84;
  --line: #e2e8f1;
  --accent: #cfe5ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
}
header {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 27px;
  letter-spacing: -1.6px;
  font-weight: 750;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  font-weight: 400;
}
.brand i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #0a84ff;
  border-radius: 50%;
  margin-left: 4px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}
main {
  max-width: 1150px;
  margin: 40px auto 90px;
  padding: 0 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.intro h1 {
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -3.8px;
  font-weight: 800;
  margin: 20px 0 28px;
}
.intro em {
  font-style: normal;
  font-weight: 800;
  color: #0a84ff;
}
.intro > p {
  max-width: 380px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  align-self: start;
  box-shadow: 0 18px 70px #0e214212;
}
h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 5px 0 28px;
}
h3 {
  font-size: 19px;
  margin: 16px 0 7px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0;
}
input {
  display: block;
  margin-top: 7px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  color: inherit;
  background: #fafcff;
}
button {
  width: 100%;
  background: #0a84ff;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font:
    600 14px -apple-system,
    sans-serif;
  cursor: pointer;
  margin: 12px 0;
}
button span {
  float: right;
}
button:hover {
  filter: brightness(1.15);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #eaf3ff;
  color: var(--ink);
}
.small {
  font-size: 12px;
  color: var(--muted);
}
a {
  color: var(--ink);
  font-size: 12px;
}
#status:not(:empty) {
  padding: 12px;
  background: #e6effc;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}
#pair-code {
  display: block;
  font-size: 25px;
  letter-spacing: 3px;
  margin: 20px 0;
}
pre {
  overflow: auto;
  font-size: 12px;
  padding: 14px;
  background: var(--paper);
  border-radius: 8px;
}
.device {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.device p {
  margin: 4px 0;
}
.device a {
  word-break: break-all;
}
.device button {
  width: auto;
  padding: 9px 12px;
  font-size: 11px;
}
.connection-art {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 38px 0;
}
.connection-art b {
  background: #e9f1fb;
  border: 1px solid #d5e6fb;
  border-radius: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.connection-art span {
  letter-spacing: 3px;
  color: #8d9cb6;
}
footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 25px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #8fc2ff;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  header {
    padding: 25px;
  }
  .eyebrow {
    letter-spacing: 1px;
  }
  header > .eyebrow {
    display: none;
  }
  main {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 10px;
    padding: 0 24px;
  }
  .intro h1 {
    font-size: 48px;
  }
  .intro .connection-art,
  .intro .small {
    display: none;
  }
  .card {
    padding: 26px;
  }
}
