/* ─────────────────────────────────────────────────────────────
   Goratify site-wide polish
   1. Mobile menu: the panel scrolls, so every link and the
      "Get started" button are reachable on small screens.
   2. Footer: redesigned to match the homepage. Accent colour is
      the admin theme colour (--primary).
   ───────────────────────────────────────────────────────────── */

/* ── 1. Mobile navigation ───────────────────────────────────── */
@media (max-width: 860px){
  .t-mobile-nav.open{
    max-height: calc(100dvh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .t-mobile-nav-inner{
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .t-mob-auth{
    display: grid !important;
    gap: 10px;
    padding: 6px 0 4px;
  }
  .t-mob-auth .btn{
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }
}

/* ── 2. Footer ──────────────────────────────────────────────── */
footer.fx{
  --fx-bg: #0B1020;
  --fx-line: rgba(255,255,255,.09);
  --fx-text: rgba(255,255,255,.68);
  --fx-soft: rgba(255,255,255,.42);
  --fx-accent: var(--primary, #F97316);
  background: var(--fx-bg);
  color: var(--fx-text);
  padding: clamp(48px, 6vw, 72px) 0 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  font-size: 14px;
}
footer.fx::before{
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--fx-accent), transparent 70%);
}
footer.fx a{ color: var(--fx-text); text-decoration: none; transition: color .2s ease; }
footer.fx a:hover{ color: #fff; }
footer.fx a:focus-visible{ outline: 2px solid var(--fx-accent); outline-offset: 3px; border-radius: 4px; }

.fx-top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--fx-line);
}
.fx-brand{ display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fx-logo{ display: inline-flex; align-items: center; }
.fx-logo-img{ height: 36px; max-width: 170px; object-fit: contain; display: block; }
.fx-logo-invert{ filter: brightness(0) invert(1); }
.fx-logo-txt{ font-size: 22px; font-weight: 900; letter-spacing: -.5px; color: #fff; }
.fx-accent{ color: var(--fx-accent); }
.fx-tag{ margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--fx-text); max-width: 340px; }

.fx-socials{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fx-social{
  width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--fx-line); color: var(--fx-text);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.fx-social:hover{ background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; transform: translateY(-2px); }

.fx-col{ display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.fx-col h4{
  margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #fff;
}
.fx-col a{ font-size: 14px; line-height: 1.4; }
.fx-h4-gap{ margin-top: 18px !important; }
.fx-text{ font-size: 14px; line-height: 1.55; color: var(--fx-text); }
.fx-col a[href^="mailto:"]{ word-break: break-all; }

.fx-bottom{
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 26px;
}
.fx-copy{ font-size: 13px; color: var(--fx-soft); }
.fx-copy a{ color: var(--fx-soft); }
.fx-copy a:hover{ color: #fff; }
.fx-sep{ margin: 0 4px; opacity: .6; }
.fx-right{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-pay{ display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-badge{
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--fx-line);
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px; color: var(--fx-soft);
}
.fx-secure{ display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fx-soft); }
.fx-secure strong{ color: var(--fx-text); font-weight: 700; }
.fx-theme{
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--fx-line); color: var(--fx-text); font-size: 12px; font-weight: 600; font-family: inherit;
  transition: border-color .2s ease, color .2s ease;
}
.fx-theme:hover{ border-color: var(--fx-accent); color: #fff; }

@media (max-width: 1000px){
  .fx-top{ grid-template-columns: 1fr 1fr; }
  .fx-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  footer.fx{ padding-top: 44px; }
  .fx-top{ grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .fx-brand{ grid-column: 1 / -1; }
  .fx-bottom{ flex-direction: column; align-items: flex-start; }
  .fx-right{ width: 100%; justify-content: flex-start; }
}
@media (max-width: 380px){
  .fx-top{ grid-template-columns: 1fr; }
}

/* ── Cookie consent banner ─────────────────────────────────── */
.gr-cookie{
  position: fixed; left: 18px; right: 18px; bottom: 18px; max-width: 560px; z-index: 9500;
  background: #0B1020; color: rgba(255,255,255,.78); border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  font-size: 14px; line-height: 1.6; border: 1px solid rgba(255,255,255,.08);
}
.gr-cookie[hidden]{ display: none; }
.gr-cookie strong{ color: #fff; font-size: 15px; }
.gr-cookie p{ margin: 4px 0 0; color: rgba(255,255,255,.7); }
.gr-cookie a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gr-cookie-copy{ flex: 1 1 260px; min-width: 0; }
.gr-cookie-btns{ display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.gr-cookie-btns button{
  flex: 1 1 auto; min-height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
}
.gr-cookie-ghost{ background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.gr-cookie-ghost:hover{ border-color: #fff; }
.gr-cookie-main{ background: var(--primary, #F97316); color: #fff; border: 0; box-shadow: 0 10px 22px -12px var(--primary, #F97316); }
.gr-cookie-main:hover{ filter: brightness(1.06); }
.gr-cookie button:focus-visible, .gr-cookie a:focus-visible{ outline: 3px solid var(--primary, #F97316); outline-offset: 2px; }
@media (min-width: 720px){ .gr-cookie-btns{ width: auto; } }
@media (max-width: 720px){ .gr-cookie{ left: 10px; right: 10px; bottom: 10px; padding: 18px; } }
