:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18352f;
  background: #f4f8f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #18352f;
  --muted: #647771;
  --green: #16735c;
  --green-dark: #105843;
  --border: #d8e4de;
  --error: #a32f34;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgb(212 237 225 / 65%), transparent 45%),
    #f4f8f5;
}

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

.reset-card {
  width: min(100%, 456px);
  padding: 36px;
  border: 1px solid rgb(216 228 222 / 85%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(22 58 46 / 9%);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { display: block; width: 160px; max-width: 100%; height: auto; }

.heading-group { margin: 20px 0 30px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 7vw, 2.25rem);
  letter-spacing: -.055em;
  line-height: 1.12;
}

.intro { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }
.field-group { margin-top: 20px; }
label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 650; }

input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #bdcec5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:hover { border-color: #8aa99a; }
input:focus-visible { outline: 3px solid rgb(22 115 92 / 20%); border-color: var(--green); }
input[aria-invalid="true"] { border-color: var(--error); }
.field-hint, .field-error { margin: 7px 0 0; font-size: .82rem; line-height: 1.4; }
.field-hint { color: var(--muted); }
.field-error { color: var(--error); }

.form-message {
  min-height: 22px;
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.form-message[data-state="error"] { color: var(--error); }
.form-message[data-state="success"] { color: var(--green-dark); }

button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color 140ms ease, transform 140ms ease;
}

button:hover:not(:disabled) { background: var(--green-dark); }
button:active:not(:disabled) { transform: translateY(1px); }
button:focus-visible { outline: 3px solid rgb(22 115 92 / 28%); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .72; }
.support-note { margin: 26px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.success-state { padding-top: 42px; }
.success-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ee;
  color: var(--green);
}
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.success-description { margin: 16px 0 0; color: var(--muted); line-height: 1.65; }
footer { margin-top: 26px; color: #74867f; font-size: .78rem; text-align: center; }

@media (max-width: 480px) {
  .page-shell { justify-content: flex-start; padding: max(34px, env(safe-area-inset-top)) 16px 22px; }
  .reset-card { margin: auto 0; padding: 28px 22px; border-radius: 18px; }
  .heading-group { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
