/* petiht.com logged-out home (_petiht_home.tpl) and log in / register (_petiht_auth.tpl).
   White page, black and dark blue structure, Haiti blue and red brand, a little yellow, green on hover.
   Every rule is scoped under .amh so the base theme is not affected. */

.amh {
  --amh-bg: #ffffff;
  --amh-card: #ffffff;
  --amh-ink: #0a0f1f;
  --amh-navy: #0b1b4d;
  --amh-blue: #00209f;
  --amh-red: #d21034;
  --amh-yellow: #f5c518;
  --amh-green: #0e8a4f;
  --amh-muted: #4b5568;
  --amh-line: #e4e7ee;
  --amh-accent: var(--amh-blue);
  --amh-shadow: 0 1px 2px rgba(10, 15, 31, 0.05), 0 12px 32px rgba(10, 15, 31, 0.07);
  --amh-radius: 18px;
  background: var(--amh-bg);
  color: var(--amh-ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.night-mode .amh {
  --amh-bg: #121212;
  --amh-card: #1c1c1e;
  --amh-ink: #ffffff;
  --amh-navy: #1c1c1e;
  --amh-muted: #b5b8c0;
  --amh-line: #2c2c2e;
  --amh-accent: var(--amh-yellow);
  --amh-shadow: none;
}

body.index-body:has(#amh-home),
body:has(#amh-auth) {
  background: #ffffff;
}

body.night-mode.index-body:has(#amh-home),
body.night-mode:has(#amh-auth) {
  background: #121212;
}

.amh *,
.amh *::before,
.amh *::after {
  box-sizing: border-box;
}

.amh img {
  max-width: 100%;
  height: auto;
  display: block;
}

.amh a {
  color: var(--amh-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.amh a:hover {
  color: var(--amh-green);
}

.amh h1,
.amh h2,
.amh h3,
.amh h4 {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  color: var(--amh-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.amh p {
  margin: 0;
}

.amh ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amh-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ buttons */
.amh .amh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.amh .amh-btn:hover {
  transform: translateY(-1px);
}

.amh .amh-btn:focus-visible,
.amh a:focus-visible,
.amh summary:focus-visible {
  outline: 3px solid var(--amh-yellow);
  outline-offset: 2px;
}

.amh .amh-btn--lg {
  padding: 14px 26px;
  font-size: 16px;
}

.amh .amh-btn--block {
  display: flex;
  width: 100%;
}

.amh .amh-btn--red {
  background: var(--amh-red);
  border-color: var(--amh-red);
  color: #ffffff;
}

.amh .amh-btn--outline {
  background: transparent;
  border-color: var(--amh-accent);
  color: var(--amh-accent);
}

.amh .amh-btn--ghost {
  background: transparent;
  color: var(--amh-ink);
}

.amh .amh-btn--light {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0f1f;
}

.amh .amh-btn--red:hover,
.amh .amh-btn--outline:hover,
.amh .amh-btn--light:hover {
  background: var(--amh-green);
  border-color: var(--amh-green);
  color: #ffffff;
}

.amh .amh-btn--ghost:hover {
  color: var(--amh-green);
}

/* ---------------------------------------------------------------------- nav */
.amh-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--amh-bg);
  border-bottom: 1px solid var(--amh-line);
}

.amh-nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.amh .amh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amh-ink);
}

.amh-brand img {
  height: 30px;
  width: auto;
}

.amh-brand__name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 24px;
}

.amh-brand__by {
  font-size: 12px;
  font-weight: 500;
  color: var(--amh-muted);
  padding-left: 10px;
  border-left: 1px solid var(--amh-line);
}

.amh-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.amh .amh-nav__links > a {
  color: var(--amh-ink);
  font-weight: 500;
  font-size: 15px;
}

.amh .amh-nav__links > a:hover {
  color: var(--amh-green);
}

.amh-nav__auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.amh-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--amh-line);
  border-radius: 12px;
  background: var(--amh-card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.amh-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--amh-ink);
}

/* --------------------------------------------------------------------- hero */
.amh-hero {
  padding: 64px 0 40px;
}

.amh-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.amh-eyebrow,
.amh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amh-accent);
}

.amh-flag {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #00209f 50%, #d21034 50%);
  flex: none;
}

.amh .amh-h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.amh .amh-h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.amh-lead {
  margin-top: 20px !important;
  max-width: 560px;
  font-size: 18px;
  color: var(--amh-muted);
}

.amh-text {
  margin-top: 14px !important;
  color: var(--amh-muted);
  font-size: 17px;
}

.amh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.amh-hero__cta--center {
  justify-content: center;
}

.amh-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.amh-stores--center {
  justify-content: center;
}

.amh .amh-store {
  display: inline-flex;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.amh .amh-store:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.amh-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--amh-line);
}

.amh-hero__facts li {
  display: flex;
  flex-direction: column;
  max-width: 170px;
}

.amh-hero__facts strong {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--amh-ink);
}

.amh-hero__facts span {
  font-size: 13.5px;
  color: var(--amh-muted);
}

.amh-hero__art {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amh-hero__disc {
  position: absolute;
  width: min(430px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(to bottom, #00209f 50%, #d21034 50%);
}

.amh-phone {
  position: relative;
  margin: 0;
  width: 232px;
  border-radius: 34px;
  border: 8px solid #0a0f1f;
  background: #0a0f1f;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 15, 31, 0.28);
}

/* the frame takes its height from the screenshot (640 x 1250), so nothing is cropped or stretched */
.amh .amh-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1250;
  border-radius: 26px;
}

.amh-phone--back {
  transform: translate(34px, -22px) rotate(5deg);
}

.amh-phone--front {
  transform: translate(-34px, 26px) rotate(-4deg);
  z-index: 2;
}

.amh-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0f1f;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(10, 15, 31, 0.18);
}

.amh-tag i {
  color: #d21034;
}

.amh-tag--1 {
  top: 12%;
  left: 0;
}

.amh-tag--2 {
  bottom: 12%;
  right: 0;
}

.amh-tag--2 i {
  color: #00209f;
}

.amh-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin-top: 56px !important;
  padding: 20px 24px !important;
  border: 1px solid var(--amh-line);
  border-radius: var(--amh-radius);
  color: var(--amh-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.amh-strip i {
  margin-right: 8px;
  color: var(--amh-ink);
}

/* ----------------------------------------------------------------- sections */
.amh-section {
  padding: 88px 0;
}

.amh-section--tint {
  border-top: 1px solid var(--amh-line);
  border-bottom: 1px solid var(--amh-line);
}

.amh-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.amh-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.amh-split__media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--amh-line);
  box-shadow: var(--amh-shadow);
}

.amh-checks {
  margin-top: 24px !important;
  display: grid;
  gap: 14px;
}

.amh-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--amh-muted);
}

.amh-checks i {
  margin-top: 4px;
  color: var(--amh-red);
}

.amh-checks strong {
  color: var(--amh-ink);
}

.amh-grid {
  display: grid;
  gap: 20px;
}

.amh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amh-card,
.amh .amh-link-card,
.amh-mini,
.amh-plan {
  background: var(--amh-card);
  border: 1px solid var(--amh-line);
  border-radius: var(--amh-radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.amh-card:hover,
.amh .amh-link-card:hover,
.amh-mini:hover,
.amh-plan:hover {
  border-color: var(--amh-green);
  transform: translateY(-3px);
  box-shadow: var(--amh-shadow);
}

.amh-card h3,
.amh .amh-link-card h3,
.amh-mini h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
}

.amh-card p,
.amh .amh-link-card p,
.amh-mini p {
  margin-top: 8px;
  color: var(--amh-muted);
  font-size: 15px;
}

.amh-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--amh-blue);
  color: #ffffff;
  font-size: 19px;
}

.amh-ico--red {
  background: var(--amh-red);
}

body.night-mode .amh .amh-ico {
  background: var(--amh-yellow);
  color: #121212;
}

.amh .amh-link-card {
  display: flex;
  flex-direction: column;
  color: var(--amh-ink);
}

.amh-link-card__go {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  color: var(--amh-accent);
}

.amh .amh-link-card:hover .amh-link-card__go {
  color: var(--amh-green);
}

.amh-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.amh-mini > i {
  font-size: 22px;
  color: var(--amh-red);
}

.amh-mini h3 {
  margin-top: 12px;
}

/* ------------------------------------------------------------------ pricing */
.amh-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.amh-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
}

.amh-plan--pro {
  border-top: 4px solid var(--amh-accent);
}

.amh-plan__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amh-yellow);
  color: #0a0f1f;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.amh .amh-plan__name {
  font-size: 19px;
  font-weight: 600;
  padding-right: 52px;
}

.amh-plan__price {
  margin-top: 14px !important;
}

.amh-plan__price strong {
  font-family: "Outfit", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.amh-plan__period {
  margin-top: 4px !important;
  color: var(--amh-muted);
  font-size: 14.5px;
}

.amh-plan__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--amh-line);
  font-size: 15px;
  color: var(--amh-muted);
}

.amh-plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.amh-plan__list i {
  margin-top: 5px;
  font-size: 13px;
  color: var(--amh-green);
}

.amh-plan .amh-btn {
  margin-top: auto;
}

.amh-note {
  margin-top: 26px !important;
  text-align: center;
  color: var(--amh-muted);
  font-size: 14.5px;
}

/* ------------------------------------------------------------------ company */
.amh-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.amh-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.amh-founder__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--amh-navy);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  border: 2px solid var(--amh-yellow);
  flex: none;
}

.amh-founder div {
  display: flex;
  flex-direction: column;
  font-size: 14.5px;
  color: var(--amh-muted);
}

.amh-founder strong {
  font-size: 16px;
  color: var(--amh-ink);
}

.amh-facts {
  margin: 0;
  border: 1px solid var(--amh-line);
  border-radius: var(--amh-radius);
  background: var(--amh-card);
  overflow: hidden;
}

.amh-facts > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--amh-line);
}

.amh-facts > div:last-child {
  border-bottom: 0;
}

.amh-facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amh-muted);
}

.amh-facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--amh-ink);
}

/* ---------------------------------------------------------------------- faq */
.amh-faq__list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--amh-line);
}

.amh-faq details {
  border-bottom: 1px solid var(--amh-line);
}

.amh-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.amh-faq summary::-webkit-details-marker {
  display: none;
}

.amh-faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--amh-red);
  transition: transform 0.2s ease;
}

.amh-faq details[open] summary::after {
  transform: rotate(45deg);
}

.amh-faq summary:hover {
  color: var(--amh-green);
}

.amh-faq details p {
  padding: 0 4px 22px;
  color: var(--amh-muted);
}

/* ---------------------------------------------------------------------- cta */
.amh-cta {
  background: #0b1b4d;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-top: 4px solid var(--amh-red);
}

body.night-mode .amh-cta {
  background: #1c1c1e;
}

.amh .amh-cta h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
}

.amh-cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

/* ------------------------------------------------------------------- footer */
.amh-foot {
  background: var(--amh-bg);
  border-top: 1px solid var(--amh-line);
  padding: 56px 0 24px;
  font-size: 14.5px;
}

.amh-foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.amh-foot__brand strong {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.amh-foot__brand p {
  margin-top: 8px;
  color: var(--amh-muted);
  max-width: 320px;
}

.amh-foot nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.amh .amh-foot h4 {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.amh .amh-foot h4.amh-foot__sub {
  margin-top: 14px;
}

.amh .amh-foot nav a {
  color: var(--amh-muted);
}

.amh .amh-foot nav a:hover {
  color: var(--amh-green);
}

.amh-foot__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--amh-line);
  color: var(--amh-muted);
  font-size: 13.5px;
}

.amh-foot__langs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.amh .amh-foot__langs a {
  color: var(--amh-muted);
}

.amh .amh-foot__langs a.is-on {
  color: var(--amh-ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------- reveal */
.amh-js .amh-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.amh-js .amh-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .amh-js .amh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .amh .amh-btn:hover,
  .amh-card:hover,
  .amh .amh-link-card:hover,
  .amh-mini:hover,
  .amh-plan:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------- auth */
.amh-auth {
  min-height: calc(100vh - 64px);
}

.amh-auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: inherit;
}

.amh-auth__side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 48px 48px 56px;
  background: #0b1b4d;
  color: #ffffff;
  overflow: hidden;
}

body.night-mode .amh-auth__side {
  background: #1c1c1e;
}

.amh-auth__stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(to bottom, #00209f 50%, #d21034 50%);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.amh .amh-auth__home {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 500;
}

.amh .amh-auth__home:hover {
  color: #7ee2a8;
}

.amh .amh-eyebrow--light {
  color: var(--amh-yellow);
}

.amh .amh-auth__pitch h2 {
  margin-top: 16px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
}

.amh-auth__pitch ul {
  display: grid;
  gap: 14px;
  margin-top: 28px !important;
  color: rgba(255, 255, 255, 0.88);
}

.amh-auth__pitch li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amh-auth__pitch li i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--amh-yellow);
  flex: none;
}

.amh-auth__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 24px;
  background: var(--amh-bg);
}

.amh-auth__card {
  width: 100%;
  max-width: 440px;
}

.amh .amh-auth__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.amh-auth__sub {
  margin-top: 8px !important;
  color: var(--amh-muted);
}

.amh-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.amh-field {
  display: grid;
  gap: 6px;
  margin: 0;
}

.amh-field > span,
.amh-field > label > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--amh-ink);
}

.amh-field > label {
  margin: 0;
}

.amh .amh-field input[type="text"],
.amh .amh-field input[type="email"],
.amh .amh-field input[type="tel"],
.amh .amh-field input[type="password"],
.amh .amh-field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--amh-line);
  border-radius: 12px;
  background: var(--amh-card);
  color: var(--amh-ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.amh .amh-field input:hover,
.amh .amh-field select:hover {
  border-color: var(--amh-green);
}

.amh .amh-field input:focus,
.amh .amh-field select:focus {
  outline: none;
  border-color: var(--amh-accent);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.45);
}

.amh-field__pw {
  position: relative;
}

.amh .amh-field__pw input {
  padding-right: 50px;
}

.amh-field__pw button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--amh-muted);
  cursor: pointer;
}

.amh-field__pw button:hover {
  color: var(--amh-green);
}

.amh-field__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.amh-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
}

.amh-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14.5px;
  color: var(--amh-muted);
  cursor: pointer;
}

.amh-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--amh-red);
  flex: none;
}

.amh .amh-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
}

.amh .amh-alert--info {
  margin-top: 20px;
  border: 1px solid var(--amh-yellow);
  background: rgba(245, 197, 24, 0.14);
  color: var(--amh-ink);
}

.amh-auth__social {
  margin-top: 20px;
}

.amh-auth__switch {
  margin-top: 22px !important;
  text-align: center;
  color: var(--amh-muted);
}

.amh .amh-auth__switch a {
  font-weight: 600;
}

.amh-auth__legal {
  font-size: 13px;
  color: var(--amh-muted);
  text-align: center;
}

.amh .amh-auth__legal a {
  color: var(--amh-muted);
}

.amh .amh-auth__legal a:hover {
  color: var(--amh-green);
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .amh-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amh-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .amh-foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amh-nav__toggle {
    display: inline-flex;
  }

  .amh-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--amh-bg);
    border-bottom: 1px solid var(--amh-line);
  }

  .amh-nav__links.is-open {
    display: flex;
  }

  .amh .amh-nav__links > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--amh-line);
  }

  .amh-nav__auth {
    margin: 16px 0 0;
    gap: 10px;
  }

  .amh-nav__auth .amh-btn {
    flex: 1;
    border-color: var(--amh-line);
  }
}

@media (max-width: 900px) {
  .amh-hero {
    padding-top: 40px;
  }

  .amh-hero__grid,
  .amh-split,
  .amh-company,
  .amh-auth__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .amh-split--flip .amh-split__media {
    order: -1;
  }

  .amh-hero__art {
    min-height: 460px;
  }

  .amh-section {
    padding: 64px 0;
  }

  .amh-auth__side {
    display: none;
  }

  .amh-auth {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .amh-wrap {
    padding: 0 16px;
  }

  .amh-brand__by {
    display: none;
  }

  .amh-grid--4,
  .amh-duo,
  .amh-foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .amh-hero__cta .amh-btn {
    width: 100%;
  }

  .amh-phone {
    width: 190px;
  }

  .amh-hero__art {
    min-height: 400px;
  }

  .amh-tag--1 {
    top: 4%;
  }

  .amh-tag--2 {
    bottom: 4%;
  }

  .amh-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .amh-strip {
    justify-content: flex-start;
  }
}

/* anchors land below the sticky nav */
.amh-section[id] {
  scroll-margin-top: 76px;
}
