:root {
  --ink: #10262b;
  --muted: #5a6f6c;
  --brand: #0e4a47;
  --brand-dark: #0a3532;
  --bg: #f4f7f6;
  --line: #d5dfdd;
  --danger: #b3261e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, .brand { font-family: "Bricolage Grotesque", Arial, sans-serif; }

a { color: var(--brand); }

.recover {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  min-height: 100vh;
}

/* Side panel */
.recover__side {
  background: var(--brand);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.recover__headline {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 28px;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.steps__item { display: flex; gap: 14px; align-items: flex-start; opacity: .6; }
.steps__item.is-active,
.steps__item.is-done { opacity: 1; }

.steps__marker {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: .9rem;
}
.is-active .steps__marker { background: #fff; color: var(--brand); border-color: #fff; }
.is-done .steps__marker { background: rgba(255, 255, 255, .2); border-color: transparent; }

.steps__text strong { display: block; font-weight: 600; }
.steps__text small { display: block; margin-top: 2px; opacity: .85; line-height: 1.4; }

.recover__fine { font-size: .85rem; opacity: .8; margin: 0; }

/* Form column */
.recover__main {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.panel {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(16, 38, 43, .06);
}

.panel h2 { margin: 0 0 8px; font-size: 1.5rem; }
.panel p { color: var(--muted); line-height: 1.55; }

.panel form { display: grid; gap: 8px; margin: 20px 0; }

.panel label { font-weight: 600; font-size: .92rem; margin-top: 8px; }

.panel input[type="email"],
.panel input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.panel input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }

.panel button[type="submit"] {
  margin-top: 16px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.panel button[type="submit"]:hover { background: var(--brand-dark); }

.panel [role="alert"] {
  color: var(--danger);
  background: #fdecea;
  border: 1px solid #f3c1bd;
  border-radius: 8px;
  padding: 10px 14px;
}

@media (max-width: 800px) {
  .recover { grid-template-columns: 1fr; }
  .recover__side { padding: 24px 20px; gap: 20px; }
  .recover__headline { font-size: 1.4rem; margin-bottom: 16px; }
  .steps__text small { display: none; }
  .panel { padding: 28px 22px; }
}