* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(37, 47, 44, 0.92), rgba(37, 47, 44, 0.78) 38%, rgba(240, 243, 238, 1) 38%),
    #f0f3ee;
  color: #1d2524;
}

a {
  color: #2f695d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border: 1px solid #dfe5dd;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(29, 37, 36, 0.22);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #2f695d;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 24px;
}

h1 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.brand p {
  margin: 4px 0 0;
  color: #60716d;
  font-size: 14px;
}

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
  color: #34413e;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  font-size: 16px;
  color: #17201e;
  background: #ffffff;
}

input:focus {
  border-color: #2f695d;
  outline: 3px solid rgba(47, 105, 93, 0.14);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: #465550;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

button,
.link-button {
  width: 100%;
  display: inline-block;
  margin-top: 22px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #2f695d;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.link-button:hover {
  background: #235249;
  text-decoration: none;
}

button:disabled {
  cursor: default;
  opacity: 0.72;
}

.form-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
}

.service-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #edf0ec;
  font-size: 12px;
}

.content h2 {
  margin: 18px 0 6px;
  font-size: 15px;
}

.content p {
  margin: 0;
  color: #60716d;
  font-size: 13px;
  line-height: 1.55;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cfe1d8;
  border-radius: 8px;
  background: #f3faf6;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f8f62;
}

.service-list {
  margin: 18px 0 0;
}

.service-list div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #edf0ec;
  font-size: 13px;
}

.service-list dd {
  margin: 0;
  color: #2f695d;
}

.link-button.secondary {
  background: #eef3f0;
  color: #2f695d;
}

.notice {
  margin: 20px 0 0;
  color: #60716d;
  font-size: 12px;
  line-height: 1.5;
}

.notice.large {
  font-size: 14px;
  color: #465550;
}

.version {
  margin: 12px 0 0;
  color: #8a9994;
  font-size: 11px;
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .page {
    padding: 16px;
  }

  .card {
    padding: 22px;
  }

  .form-links {
    display: grid;
    gap: 10px;
  }

  .service-links {
    display: grid;
    gap: 8px;
  }
}