/* Good Trades email capture. Shared across all pages. */

.gt-cap,
.gt-cap * { box-sizing: border-box; }

/* ---------- sticky bar ---------- */
.gt-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: #17181d;
  border-top: 3px solid #c2571b;
  color: #fff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.28);
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.2,.8,.3,1);
  font-family: inherit;
}
.gt-bar.gt-show { transform: translateY(0); }

.gt-bar-txt { flex: 1 1 auto; min-width: 0; }
.gt-bar-tag {
  display: inline-block;
  background: #c2571b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  margin-bottom: 5px;
}
.gt-bar-h {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #fff;
}
.gt-bar-p {
  font-size: 12.5px;
  line-height: 1.35;
  margin: 3px 0 0;
  color: #c9c1bc;
}

.gt-form {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
}
.gt-form input[type=email] {
  width: 230px;
  padding: 11px 13px;
  border: 2px solid #3a322d;
  border-radius: 7px;
  background: #fff;
  color: #17181d;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.gt-form input[type=email]:focus { border-color: #c2571b; }
.gt-form button {
  padding: 11px 18px;
  border: 0;
  border-radius: 7px;
  background: #c2571b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s;
}
.gt-form button:hover { background: #9a4412; }
.gt-form button[disabled] { opacity: .65; cursor: default; }

.gt-x {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: 0;
  color: #8d827b;
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}
.gt-x:hover { color: #fff; }

/* success state */
.gt-ok { display: none; flex: 1 1 auto; align-items: center; gap: 14px; }
.gt-ok.gt-visible { display: flex; }
.gt-ok-txt strong { display: block; font-size: 15px; color: #fff; }
.gt-ok-txt span { font-size: 12.5px; color: #c9c1bc; }
.gt-dl {
  display: inline-block;
  background: #c2571b;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 7px;
  white-space: nowrap;
}
.gt-dl:hover { background: #9a4412; }

/* ---------- inline card ---------- */
.gt-inline {
  background: linear-gradient(120deg,#17181d,#33354a);
  border-radius: 18px;
  margin: 34px 0;
  padding: 28px 26px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(23,24,29,.2);
}
.gt-inline .gt-in-tag {
  display: inline-block;
  background: rgba(0,0,0,.28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 9px;
}
.gt-inline h3 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}
.gt-inline p.gt-in-p {
  margin: 0 0 15px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.94);
  max-width: 640px;
}
.gt-inline .gt-form input[type=email] {
  width: 280px;
  border-color: rgba(255,255,255,.55);
}
.gt-inline .gt-form button {
  background: #17181d;
}
.gt-inline .gt-form button:hover { background: #000; }
.gt-inline .gt-dl { background: #17181d; }
.gt-inline .gt-ok-txt strong,
.gt-inline .gt-ok-txt span { color: #fff; }
.gt-inline .gt-in-note {
  margin: 11px 0 0;
  font-size: 11.5px;
  color: rgba(255,255,255,.82);
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .gt-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px 13px 13px;
  }
  .gt-bar-p { display: none; }
  .gt-bar-h { font-size: 13.5px; padding-right: 22px; }
  .gt-bar-tag { margin-bottom: 4px; }
  .gt-form { width: 100%; }
  .gt-bar .gt-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .gt-bar .gt-form input[type=email] { width: auto; min-width: 0; padding: 12px 10px; font-size: 15px; }
  .gt-bar .gt-form button { padding: 12px 14px; font-size: 14px; }
  .gt-ok { flex-wrap: wrap; gap: 9px; }
  .gt-ok .gt-dl { width: 100%; text-align: center; }
  .gt-inline { padding: 22px 18px; border-radius: 14px; }
  .gt-inline h3 { font-size: 20px; }
  .gt-inline .gt-form { flex-wrap: wrap; }
  .gt-inline .gt-form input[type=email] { width: auto; flex: 1 1 100%; }
  .gt-inline .gt-form button { width: 100%; }
}
@media print {
  .gt-bar { display: none !important; }
}
