:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #64716b;
  --line: #d9e0db;
  --brand: #176947;
  --paper: #f8faf7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
a.button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button.primary,
a.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
input,
select {
  width: 100%;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #87978e;
  border-radius: 9px;
  padding: 10px 13px;
}
input:user-invalid {
  border-color: #a82b2b;
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #209f77;
  outline-offset: 3px;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.16;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
}
.shell {
  width: min(1040px, calc(100% - 40px));
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav {
  display: flex;
  gap: 25px;
  font-size: 14px;
}
.hero {
  padding-block: 110px 90px;
  max-width: 790px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 22px;
}
.lead {
  max-width: 600px;
  font-size: 19px;
  color: var(--muted);
  margin-block: 24px 30px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding-block: 28px 70px;
  border-top: 1px solid var(--line);
}
.features h2 {
  font-size: 18px;
}
.features p {
  font-size: 14px;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.narrow {
  width: min(460px, calc(100% - 40px));
  margin: 60px auto;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}
.auth-title {
  font-size: 29px;
}
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 14px;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 13px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}
.tabs button {
  flex: 1;
}
.tabs .active {
  background: #e9f4eb;
  border-color: #8db59a;
  color: var(--brand);
}
.message {
  white-space: pre-wrap;
  margin-top: 18px;
  font-size: 14px;
}
.message.error {
  color: #9e2929;
}
.message.success {
  color: var(--brand);
}
.status {
  display: inline-block;
  border-radius: 7px;
  background: #f0f3f0;
  padding: 5px 10px;
  font-size: 13px;
}
.status.active {
  background: #e6f4e9;
  color: #176947;
}
.account-email {
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 600;
}
.account-access {
  margin: 18px 0 25px;
}
.stack {
  display: grid;
  gap: 15px;
}
.password-wrap {
  display: flex;
  gap: 8px;
}
.password-wrap input {
  min-width: 0;
}
.password-wrap button {
  padding-inline: 12px;
  font-size: 13px;
}
.challenge {
  min-height: 65px;
  max-width: 100%;
  overflow: hidden;
}
.desktop-banner {
  padding: 14px 16px;
  background: #eef6ed;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 14px;
}
.wide {
  padding-block: 45px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar .field {
  flex: 1;
  min-width: 220px;
}
.toolbar .compact {
  flex: 0 0 130px;
  min-width: 120px;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  background: #f2f5f1;
  font-weight: 500;
  color: var(--muted);
}
td .actions {
  flex-wrap: nowrap;
}
td button {
  font-size: 13px;
  min-height: 38px;
  padding: 5px 12px;
}
tr:last-child td {
  border: 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-title h1 {
  font-size: 34px;
  margin: 0;
}
.guide {
  max-width: 730px;
  padding-top: 65px;
}
.guide h1 {
  font-size: 40px;
}
.guide h2 {
  margin-top: 34px;
}
.guide p,
.guide li {
  color: #53635b;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header {
    padding-block: 20px;
  }
  .nav {
    gap: 15px;
  }
  .hero {
    padding-block: 70px 55px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 35px;
  }
  .features p {
    margin-bottom: 0;
  }
  .card {
    padding: 23px;
  }
  .narrow {
    margin-top: 35px;
  }
  .footer {
    flex-direction: column;
  }
  .section-title {
    align-items: start;
  }
  .toolbar .compact {
    flex-basis: 100%;
  }
}
