:root {
  font-family: system-ui, sans-serif;
  color: #202024;
  background: #faf9f6;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1180px;
  margin: auto;
  padding: 28px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header img {
  height: 52px;
  object-fit: contain;
}
.pill,
.tags span {
  border-radius: 100px;
  background: #e7dfff;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
}
.landing {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 75vh;
}
h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 20px 0;
}
h2 {
  font-size: 1.85rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 12px 0 28px;
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #5942be;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.55;
}
.muted {
  color: #62616a;
  line-height: 1.55;
}
.small {
  font-size: 0.85rem;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.panel {
  background: #fff;
  border: 1px solid #e9e6ed;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 12px 40px #20202406;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select,
textarea {
  font: inherit;
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9d6df;
  border-radius: 12px;
  padding: 12px;
  margin-top: 7px;
  background: #fff;
  color: #202024;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #7762ef;
  outline-offset: 3px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  gap: 12px;
  line-height: 1.5;
  font-weight: 400;
}
.check input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  flex-shrink: 0;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: #ff754f;
  color: #202024;
  font: inherit;
  font-weight: 750;
  padding: 14px 20px;
  min-height: 48px;
}
form > button {
  width: 100%;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: #5942be;
}
footer {
  color: #62616a;
  font-size: 0.85rem;
}
#status,
#admin-status {
  line-height: 1.5;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metric {
  background: #e7dfff;
  padding: 22px;
  border-radius: 20px;
}
.metric strong {
  display: block;
  font-size: 2rem;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
td,
th {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #e9e6ed;
  vertical-align: top;
}
nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.secondary {
  background: #e7dfff;
}
progress {
  width: 100%;
  height: 16px;
  accent-color: #7762ef;
}
dialog {
  width: min(95vw, 560px);
  border: 0;
  border-radius: 24px;
  padding: 28px;
}
dialog::backdrop {
  background: #20202470;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  .landing {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 22px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 3rem;
  }
}

.text-button {
  background: transparent;
  color: #5942be;
  padding: 8px 0;
  min-height: 44px;
  font-size: 0.9rem;
  text-align: left;
}
.account-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.waiting-card {
  background: #f2edff;
  border-radius: 20px;
  padding: 22px;
  margin: 24px 0;
}
.waiting-card h3 {
  margin: 20px 0 8px;
}
.account-email {
  overflow-wrap: anywhere;
  color: #62616a;
}
#account-content details {
  margin: 20px 0;
}
#account-content summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
}
#leave-confirm {
  border-top: 1px solid #e9e6ed;
  margin-top: 20px;
  padding-top: 12px;
}
