html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Grow the main area so the footer stays pinned to the bottom,
   and vertically center the page content within it. */
.rae-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rae-main > main {
  width: 100%;
}

.rae-footer {
  flex-shrink: 0;
}

/* ============================================================
   RAE Retail brand header (logo + social), matching raeretail.com
   ============================================================ */
:root {
  --rae-green: #68b847;
}

.rae-site-header,
.rae-site-header * {
  box-sizing: border-box;
  font-family: "Montserrat", Arial, sans-serif;
}

.rae-site-header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  position: relative;
  z-index: 1000;
  margin-bottom: 1.5rem;
}

.rae-site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  padding: 12px clamp(34px, 3.4vw, 64px);
}

.rae-site-header__logo {
  position: absolute;
  left: clamp(34px, 3.4vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rae-site-header__logo img {
  display: block;
  width: clamp(165px, 9vw, 205px);
  height: auto;
  border: 0;
}

.rae-social-strip {
  position: absolute;
  right: clamp(34px, 3.4vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rae-social-strip__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--rae-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(104, 184, 71, .2);
}

.rae-social-strip__icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  display: block;
}

@media (max-width: 1380px) and (min-width: 1025px) {
  .rae-site-header__inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .rae-site-header__logo {
    left: 30px;
  }

  .rae-social-strip {
    right: 30px;
    gap: 8px;
  }

  .rae-site-header__logo img {
    width: clamp(145px, 13vw, 185px);
  }

  .rae-social-strip__icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1024px) {
  .rae-site-header__inner {
    flex-direction: column;
    min-height: 96px;
    margin: 0 auto;
    gap: 8px;
    padding: 18px 12px 14px;
  }

  .rae-social-strip {
    display: none;
  }

  .rae-site-header__logo {
    position: static;
    transform: none;
    justify-content: center;
    width: 100%;
  }

  .rae-site-header__logo img {
    width: clamp(170px, 26vw, 235px);
    max-height: 78px;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .rae-site-header__logo img {
    width: clamp(155px, 48vw, 205px);
    max-height: 70px;
  }
}

/* ============================================================
   RAE Retail brand footer (logo, blurb, social, privacy)
   ============================================================ */
.rae-footer,
.rae-footer * {
  box-sizing: border-box;
  font-family: "Montserrat", Arial, sans-serif;
}

.rae-footer {
  width: 100%;
  background: var(--rae-green);
  color: #ffffff;
  padding: 42px clamp(28px, 5vw, 96px) 22px;
}

.rae-footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 18px;
}

.footer-description {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-bottom {
  width: 100%;
  max-width: 720px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icons a svg {
  width: 15px;
  height: 15px;
  fill: var(--rae-green);
  display: block;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .rae-footer {
    padding: 36px 22px 22px;
  }

  .footer-logo {
    width: 155px;
  }

  .footer-description {
    max-width: 340px;
    font-size: 12.5px;
  }
}

/* ============================================================
   Support landing (placeholder) — contact cards
   ============================================================ */
.rae-support {
  font-family: "Montserrat", Arial, sans-serif;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px;
}

.rae-support-intro {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.rae-support-intro h1 {
  margin: 0 0 14px;
  color: #333333;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
}

.rae-support-intro p {
  max-width: 560px;
  margin: 0 auto;
  color: #6f6f6f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.rae-support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.rae-support-card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-top: 4px solid var(--rae-green);
  border-radius: 12px;
  padding: 26px 26px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.rae-support-card h2 {
  margin: 0 0 18px;
  color: var(--rae-green);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.rae-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rae-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

.rae-contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.rae-contact-label {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rae-contact-list a {
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  word-break: break-word;
}

.rae-contact-list a:hover {
  color: var(--rae-green);
}

@media (max-width: 640px) {
  .rae-support-cards {
    grid-template-columns: 1fr;
  }
}