:root {
  font-family: Inter, Arial, sans-serif;
  color: #17313c;
  background: #f4f7f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 86px;
  border-bottom: 1px solid #e0e8eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #17313c;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
}
.mark {
  display: grid;
  place-items: center;
  background: #007e83;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  font-size: 23px;
  letter-spacing: 0;
}
.muted {
  color: #8298a1;
  font-weight: 400;
}
main {
  max-width: 1168px;
  margin: auto;
  padding: 48px 24px 30px;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 12px 0;
}
h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: #59717c;
  margin: 0 0 24px;
}
.intro {
  font-size: 16px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #007d83;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.badge {
  font-size: 12px;
  white-space: nowrap;
  padding: 9px 12px;
  background: #e2f3eb;
  color: #24684d;
  border-radius: 30px;
}
.card {
  background: #fff;
  border: 1px solid #e0e8eb;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 24px #17313c04;
}
.workspace {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
}
.login {
  max-width: 460px;
  margin: 20px auto 70px;
  padding: 38px;
}
.login h1 {
  font-size: 34px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 8px;
}
input,
select {
  width: 100%;
  border: 1px solid #cfdbdf;
  border-radius: 8px;
  background: #fff;
  color: #17313c;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  min-height: 48px;
}
input:focus,
select:focus {
  outline: 3px solid #007e8325;
  border-color: #007e83;
}
button {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  min-height: 44px;
  transition: background 0.15s;
}
button:focus-visible {
  outline: 3px solid #007e8380;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.primary {
  background: #007e83;
  color: white;
}
.primary:hover {
  background: #00676b;
}
form > .primary {
  width: 100%;
  margin-top: 20px;
}
.secondary {
  background: #eaf1f3;
  color: #17313c;
}
.quiet {
  background: transparent;
  color: #59717c;
  border: 1px solid #cfdbdf;
}
.address {
  position: relative;
}
.address input {
  padding-right: 40px;
}
.address span {
  position: absolute;
  right: 15px;
  top: 14px;
  color: #81939c;
}
.preview {
  margin: 16px 0 4px;
  font-size: 14px;
  color: #007e83;
  background: #eef8f8;
  border-radius: 7px;
  padding: 12px;
  overflow-wrap: anywhere;
}
.hint {
  font-size: 12px;
  margin: 15px 0 0;
  line-height: 1.6;
  color: #788e98;
}
.error {
  color: #a33636;
  font-size: 13px;
  margin: 14px 0 0;
}
.domains {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e0e8eb;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: #788e98;
}
.list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.list-title h2 {
  margin: 0;
}
.count {
  font-size: 12px;
  color: #007e83;
  background: #e8f5f4;
  padding: 6px 9px;
  border-radius: 20px;
}
.mailboxes {
  margin-top: 8px;
  max-height: 430px;
  overflow: auto;
}
.mailbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #edf1f3;
  gap: 14px;
}
.mailbox strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.mailbox small {
  display: block;
  font-size: 11px;
  color: #81949c;
  margin-top: 5px;
}
.reset {
  background: transparent;
  color: #007e83;
  white-space: nowrap;
  font-size: 11px;
  padding: 8px;
  min-height: 32px;
}
.result {
  border-color: #9bcfca;
  margin-top: 24px;
  scroll-margin: 20px;
}
.result h2 {
  font-size: 25px;
  margin: 9px 0;
}
.result dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 13px 20px;
  background: #f4f8f9;
  padding: 22px;
  border-radius: 10px;
  margin: 20px 0;
}
.result dt {
  font-size: 12px;
  color: #6a818d;
}
.result dd {
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}
.secret {
  font-family: Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.actions {
  display: flex;
  gap: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
footer {
  max-width: 1120px;
  margin: 16px auto 30px;
  border-top: 1px solid #dfe8ec;
  padding-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  color: #7b929d;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .heading {
    display: block;
  }
  .heading .badge {
    display: inline-block;
    margin-bottom: 14px;
  }
  h1 {
    font-size: 32px;
  }
  .card {
    padding: 24px;
  }
  main {
    padding-top: 30px;
  }
  footer {
    margin: 24px;
  }
  .result dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .result dd {
    margin-bottom: 10px;
  }
  .actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 850px) {
  .mailboxes {
    max-height: none;
  }
}
