:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef2f5;
  color: #1b2430;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(39, 122, 122, 0.12), rgba(186, 80, 58, 0.09)),
    #eef2f5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 36, 48, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(31, 42, 55, 0.14);
  max-width: 520px;
  padding: 32px;
  width: 100%;
}

.auth-stack {
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: #277a7a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.lead {
  color: #576270;
  line-height: 1.7;
  margin-bottom: 0;
}

.primary-button,
.ghost-button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 120ms ease, background 120ms ease, opacity 120ms ease;
}

.primary-button {
  background: #1f6f68;
  color: #ffffff;
  width: 100%;
}

.ghost-button {
  background: #eef2f5;
  color: #1b2430;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.text-link {
  color: #1f6f68;
  display: inline-flex;
  font-weight: 700;
  justify-self: start;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.message {
  background: #edf7f5;
  border: 1px solid #c7e6df;
  border-radius: 8px;
  color: #174f4a;
  line-height: 1.6;
  padding: 12px 14px;
}

.message[data-kind="error"] {
  background: #fff0ed;
  border-color: #f3c3ba;
  color: #8a2d1e;
}

.message[data-kind="success"] {
  background: #eef8ef;
  border-color: #bfdfc2;
  color: #235b2b;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  color: #3d4855;
  display: grid;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
}

.form input {
  background: #ffffff;
  border: 1px solid #cad3dd;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

.form input:focus {
  border-color: #1f6f68;
  box-shadow: 0 0 0 3px rgba(31, 111, 104, 0.14);
  outline: none;
}

.topbar {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.section-heading {
  border-top: 1px solid #e1e6eb;
  margin-top: 22px;
  padding-top: 22px;
}

.service-card {
  align-items: center;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  text-decoration: none;
}

.service-card:hover {
  border-color: #1f6f68;
}

.service-mark {
  align-items: center;
  background: #ba503a;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 42px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
}

.service-card strong,
.service-card small {
  display: block;
}

.service-card small {
  color: #687585;
  margin-top: 4px;
}

@media (max-width: 520px) {
  .shell {
    align-items: stretch;
    padding: 14px;
  }

  .panel {
    margin: auto 0;
    padding: 24px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }
}
