/* includes/static/static-mobile.css
   Mobile (<900px) styling for the static / support screens described in the
   v6 spec (p.194+): About us, Privacy & Terms, Contact Us + success.
   Dark theme: bg #181a1a, text #FFFFFF, accent #CDE7BE. Gotham throughout.
   Loaded only via media="(max-width: 899px)". */

:root {
  --m-font: "Gotham", "Gotham Fallback", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* ---- Top bar with (downward) chevron + optional title (shared) ---- */
.m-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 56px;
  padding: 6px 10px;
  background: #181a1a;
}
.m-topbar__back {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #FFFFFF;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.m-topbar__back svg { width: 24px; height: 24px; display: block; }
.m-topbar__back:active { transform: scale(0.94); }
.m-topbar__title {
  font-family: var(--m-font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= Static content pages (About / Privacy&Terms) ================= */
.m-static {
  max-width: 390px;      /* 358 content + 16 side padding each */
  margin: 0 auto;
  padding: 8px 16px 40px;
  font-family: var(--m-font);
}
.m-static__title {
  font-weight: 700;                 /* Gotham Bold */
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
  color: #FFFFFF;
  margin: 0 0 17px;                 /* 17px gap to first paragraph (spec) */
}
.m-static__body p {
  font-weight: 500;                 /* Gotham Medium */
  font-size: 16px;
  line-height: 22px;
  color: #FFFFFF;
  margin: 0 0 17px;                 /* 17px paragraph gap (spec) */
}
.m-static__body p:last-child { margin-bottom: 0; }
.m-static__body a { color: #CDE7BE; text-decoration: none; }
.m-static__body a:active { opacity: .8; }

/* ================= Contact Us (mobile) ================= */
.m-contact {
  max-width: 390px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  font-family: var(--m-font);
}
.m-contact__title {
  font-weight: 500;                 /* Gotham Medium */
  font-size: 24px;
  line-height: 1.105;
  color: #CDE7BE;                   /* spec: title accent green */
  margin: 0 0 16px;
}
.m-contact__subtitle {
  font-weight: 400;                 /* Gotham Book */
  font-size: 16px;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0 0 24px;
}
.m-contact__field { display: block; margin-bottom: 24px; }
.m-contact__label {
  display: block;
  font-weight: 400;                 /* Gotham Book */
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.m-contact__control {
  width: 100%;
  height: 48px;
  background: #272828;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  color: #FFFFFF;
  font-family: var(--m-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 48px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.m-contact__control::placeholder { color: #7C7C7C; }
.m-contact__control:focus { border-color: #CDE7BE; }
select.m-contact__control {
  /* chevron on the right */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}
select.m-contact__control:invalid { color: #7C7C7C; }   /* placeholder-looking when '-' */
textarea.m-contact__control {
  height: 107px;
  line-height: 22px;
  padding: 14px 16px;
  resize: none;
}
/* honeypot: invisible to humans */
.m-contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.m-contact__captcha { margin: 4px 0 20px; }

.m-contact__error {
  color: #ff8f8f;
  font-size: 13px;
  margin: 0 0 14px;
}

.m-contact__submit {
  width: 100%;
  height: 48px;
  background: #CDE7BE;
  color: #242424;
  border: 0;
  border-radius: 4px;
  font-family: var(--m-font);
  font-weight: 700;                 /* Gotham Bold */
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.m-contact__submit:active { transform: scale(0.99); }
.m-contact__submit:disabled { opacity: .5; cursor: default; }

/* ---- Contact success (mobile) ---- */
.m-success[hidden] { display: none; }   /* keep hidden until JS reveals it (display:flex would otherwise override the attribute) */
.m-success {
  min-height: 70vh;
  max-width: 390px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--m-font);
}
.m-success__icon { width: 128px; height: 128px; color: #FFFFFF; margin-bottom: 40px; }
.m-success__icon svg { width: 100%; height: 100%; display: block; }
.m-success__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.105;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.m-success__body {
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0 0 40px;
}
.m-success__home {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #CDE7BE;
  color: #242424;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
