:root {
  --ink: #183128;
  --muted: #66746e;
  --line: #dce6e0;
  --paper: #ffffff;
  --canvas: #f3f7f4;
  --brand: #176b46;
  --brand-dark: #0e4c31;
  --accent: #d7f2df;
  --danger-bg: #fff1ee;
  --danger-text: #8f2f20;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.site-footer,
.page-shell {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem 0.7rem 0.25rem;
  color: white;
  background: var(--brand);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.language-switcher button {
  padding: 0.25rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.language-switcher button[aria-current="true"] {
  color: var(--brand-dark);
  font-weight: 750;
}

.page-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
}

.auth-card {
  width: min(100%, 30rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem rgb(24 49 40 / 8%);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.auth-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.alert {
  margin: 1.25rem 0;
  padding: 0.8rem 1rem;
  border-radius: 0.65rem;
  color: var(--danger-text);
  background: var(--danger-bg);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9c9c0;
  border-radius: 0.6rem;
  color: var(--ink);
  background: white;
}

.field input:focus {
  outline: 3px solid rgb(23 107 70 / 15%);
  border-color: var(--brand);
}

.field-error {
  color: var(--danger-text);
  font-size: 0.85rem;
}

.primary-button,
.secondary-button {
  min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.6rem;
  font-weight: 750;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--brand);
  color: white;
  background: var(--brand);
}

.primary-button:hover {
  background: var(--brand-dark);
}

.secondary-button {
  border: 1px solid #b9c9c0;
  color: var(--ink);
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.5fr);
  gap: clamp(2rem, 8vw, 6rem);
  align-items: end;
}

.status-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #b7dec5;
  border-radius: 1rem;
  background: var(--accent);
}

.status-card div {
  display: grid;
  gap: 0.25rem;
}

.status-card span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.3rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0.3rem rgb(23 107 70 / 12%);
}

.next-step {
  margin-block: 3rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.next-step p {
  color: var(--muted);
}

.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 42rem) {
  .hero {
    grid-template-columns: 1fr;
  }
}
