:root {
  --hh-ink: #10231f;
  --hh-muted: #4f6460;
  --hh-line: #c9d8d4;
  --hh-teal: #0d9488;
  --hh-teal-deep: #0f766e;
  --hh-coral: #e85d3a;
  --hh-violet: #6d4dff;
  --hh-sun: #e59a12;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
}
body {
  font-family: Nunito, system-ui, sans-serif;
  color: var(--hh-ink);
  background: #eef6f4;
}

.hh-page {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(168deg, #f7fbfa 0%, #e7f3f0 52%, #f4eee6 100%);
}

.hh-stage {
  width: min(560px, 100%);
}

.hh-mark {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.hh-kicker {
  margin: 28px 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hh-teal);
}

.hh-page h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: var(--hh-ink);
}
.hh-page h1 span { color: var(--hh-teal); }

.hh-lead {
  margin: 22px auto 0;
  max-width: 26rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hh-muted);
}

.hh-meta {
  margin: 36px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.8;
  color: #3d524e;
}

.hh-page--home .hh-stage {
  width: min(720px, 100%);
}

.hh-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
}
.hh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hh-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.hh-badge--teal {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.14);
}
.hh-badge--coral {
  color: #c2410c;
  background: rgba(232, 93, 58, 0.16);
}
.hh-badge--violet {
  color: #5b3cc4;
  background: rgba(109, 77, 255, 0.14);
}
.hh-badge--sun {
  color: #b45309;
  background: rgba(229, 154, 18, 0.2);
}

.hh-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  text-align: left;
}
.hh-features li {
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 31, 0.08);
  background: transparent;
  box-shadow: 0 8px 22px rgba(16, 35, 31, 0.045);
}
.hh-features__label {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hh-features__label--teal { color: var(--hh-teal-deep); }
.hh-features__label--coral { color: var(--hh-coral); }
.hh-features__label--violet { color: var(--hh-violet); }
.hh-features__label--sun { color: var(--hh-sun); }
.hh-features strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--hh-ink);
}
.hh-features span {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--hh-muted);
}

@media (max-width: 640px) {
  .hh-features { grid-template-columns: 1fr; }
}

.hh-page--auth .hh-stage {
  width: min(420px, 100%);
  padding: 40px 36px 36px;
  border-radius: 24px;
  background: transparent;
  box-shadow:
    0 1px 1px rgba(16, 35, 31, 0.04),
    0 10px 28px rgba(16, 35, 31, 0.07);
}

.hh-page--auth h1 {
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.hh-page--auth .hh-form,
.hh-page--auth .hh-error {
  max-width: none;
}

.hh-form {
  width: 100%;
  max-width: 360px;
  margin: 36px auto 0;
  text-align: left;
  display: grid;
  gap: 22px;
}
.hh-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d524e;
}
.hh-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hh-form__row label { margin-bottom: 0; }
.hh-form__toggle {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--hh-teal);
  cursor: pointer;
}
.hh-page .hh-form .form-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--hh-line);
  border-radius: 0;
  color: var(--hh-ink);
  padding: 8px 0 12px;
  font-size: 1rem;
  box-shadow: none;
}
.hh-page .hh-form .form-input::placeholder { color: #8aa09b; }
.hh-page .hh-form .form-input:focus {
  outline: none;
  border-color: transparent;
  border-bottom-color: var(--hh-teal);
  box-shadow: none;
}
.hh-page .hh-form .form-input.error {
  border-bottom-color: #dc2626;
  box-shadow: none;
}
.hh-page .hh-form .form-input.success {
  border-bottom-color: #059669;
  box-shadow: none;
}

.hh-error {
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
}

.hh-page .hh-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: var(--hh-teal);
}
.hh-page .hh-submit:hover { background: var(--hh-teal-deep); }
.hh-page .hh-submit:disabled { opacity: 0.7; cursor: not-allowed; }
