:root {
  font-family: Inter, system-ui, sans-serif;
  color: #25302d;
  background: #f4f5f3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 680px;
  margin: 6vh auto;
  padding: 32px;
  background: white;
  border: 1px solid #e3e7e2;
  border-radius: 18px;
  box-shadow: 0 10px 40px #163b1410;
}
.brand {
  font-size: 26px;
  font-weight: 800;
  color: #e76c10;
  text-decoration: none;
}
h1 {
  font-size: 30px;
  margin-top: 32px;
}
h2 {
  font-size: 21px;
  margin-top: 36px;
}
p {
  line-height: 1.6;
  color: #58635e;
}
form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}
input {
  width: 100%;
  padding: 13px;
  border: 1px solid #ccd4cd;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
button {
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: #ec7417;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: #edf1ec;
  color: #25302d;
}
a {
  color: #b74f00;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
ul {
  padding: 0;
  list-style: none;
}
li {
  padding: 14px 0;
  border-bottom: 1px solid #e3e7e2;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
#message {
  white-space: pre-wrap;
  font-weight: 600;
}
#invite-result {
  padding: 18px;
  background: #fff7ed;
  border-radius: 12px;
}
#invite-result button {
  margin-top: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  main {
    margin: 16px;
    padding: 24px;
  }
  h1 {
    font-size: 26px;
  }
  li {
    align-items: flex-start;
    flex-direction: column;
  }
}
