
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f4f6f8, #f4f6f8 64px, #d3e8e0);
  color: #212b36;
  font: 16px/1.5 "Public Sans", system-ui, sans-serif;
  padding: 0 16px 32px;
}
.brand {
  display: flex;
  align-items: center;
  height: 64px;
  margin: 0 -16px;
  padding: 0 16px;
  background: #f4f6f8;
}
.brand svg { display: block; width: 110px; height: auto; }
main {
  max-width: 432px;
  margin: 32px auto 0;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 2px #919eab33, 0 12px 24px -4px #919eab1f;
}
@media (min-width: 600px) {
  main { padding-inline: 40px; }
}
@media (min-width: 900px) {
  .brand { height: 80px; padding-inline: 24px; }
  main { margin-top: 16px; }
}
h1 { margin: 0 0 16px; font-size: 20px; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  h1 { font-size: 24px; }
}
h2 { font-size: 18px; }
p, footer, code { overflow-wrap: anywhere; }
label { display: block; margin: 20px 0 8px; font-weight: 600; }
input, select, button {
  width: 100%;
  padding: 13px;
  border: 1px solid #919eab52;
  border-radius: 8px;
  font: inherit;
}
button {
  margin-top: 16px;
  min-height: 48px;
  background: #212b36;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
button:hover:not(:disabled) { background: #454f5b; }
button:disabled { opacity: .5; cursor: wait; }
button.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 1;
}
button.is-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  button.is-loading::before { animation: spin .8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.secondary { background: #fff; color: #212b36; }
.secondary:hover:not(:disabled) { background: #f4f6f8; }
.muted, footer { color: #637381; font-size: 14px; }
footer { border-top: 1px solid #eee; margin-top: 24px; padding-top: 16px; }
a { color: #007867; }
section { border-top: 1px solid #eee; padding-bottom: 16px; }
code { font-size: 13px; }
#feedback { color: #b71d18; }
#feedback:empty { margin: 0; }
#feedback.is-loading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
input:focus, select:focus, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid #007867;
  outline-offset: 3px;
}
.email-form { margin-top: 24px; }
.email-field { position: relative; }
.email-field label {
  position: absolute;
  top: 0;
  left: 10px;
  margin: 0;
  padding: 0 4px;
  transform: translateY(-50%);
  background: #fff;
  color: #637381;
  font-size: 12px;
}
.email-field:focus-within label { color: #212b36; }
.email-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #637381;
  pointer-events: none;
}
.email-field input {
  height: 56px;
  padding: 0 14px 0 42px;
  font-size: 14px;
  color: inherit;
}
.email-field input:hover { border-color: #212b36; }
.email-field input:focus {
  border-color: #212b36;
  box-shadow: inset 0 0 0 1px #212b36;
  outline: none;
}
.email-field input::placeholder { color: #637381; }
.email-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.email-form button svg { width: 20px; height: 20px; }
.connection-details { margin: 16px 0 0; color: #637381; font-size: 14px; }
.connection-details summary { cursor: pointer; }
.connection-details p { margin: 8px 0 4px; }
.code-input { text-align: center; font-size: 24px; font-weight: 600; letter-spacing: .15em; }
.access-summary {
  margin-top: 20px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #f4f6f8;
  font-size: 14px;
}
.access-summary h2 { margin: 0; font-size: 16px; }
.access-summary p { margin: 8px 0 0; }
.connection-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.connection-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  color: #454f5b;
}
.connection-mark svg, .connection-mark img { width: 30px; height: 30px; }
.connection-arrows { width: 24px; height: 24px; color: #637381; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .connection-arrows { transition: transform 180ms ease, color 180ms ease; }
  .connection-marks:hover .connection-arrows { transform: scale(1.15); color: #007867; }
}
