/* Trade and town pages. Loaded after /blog/blog.css, so it reuses its tokens
   and only adds the parts a landing page needs: a sticky action bar, the
   signup form near the top, the example call box and the link lists. */

header.site.sticky {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(8, 11, 10, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 21;
}

.actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-solid { background: var(--mint); color: #04110c; }
.btn-solid:hover { background: var(--mint-soft); color: #04110c; }
.btn-line { border: 1px solid rgba(16, 185, 129, 0.45); color: var(--mint-soft); }
.btn-line:hover { background: rgba(16, 185, 129, 0.12); color: #fff; }

@media (max-width: 520px) {
  .brand { font-size: 15px; }
  .btn { padding: 8px 12px; font-size: 13px; }
  .btn .long { display: none; }
}

/* Key facts box. Plain text so search and AI systems can quote it, and the
   same facts as the Offer in the page's structured data. */
.glance { margin: 28px 0 0; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.glance h2 { margin: 0 0 12px; font-size: 19px; }
.glance dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.glance dl > div { min-width: 0; }
.glance dt { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-soft); }
.glance dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.5; }
@media (max-width: 560px) { .glance dl { grid-template-columns: 1fr; } }

/* Signup form near the top of every page. */
.lead {
  margin: 28px 0 40px;
  padding: 24px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
}
.lead h2 { margin: 0 0 6px; font-size: 22px; }
.lead > p { margin: 0 0 16px; color: #cfd6d4; font-size: 16.5px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); min-width: 0; }
.lead-form input {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.lead-form input:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.lead-form button {
  grid-column: 1 / -1;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--mint);
  color: #04110c;
  cursor: pointer;
}
.lead-form button:hover { background: var(--mint-soft); }
.lead-form button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lead .small { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }

/* Example call, clearly marked as an illustration. */
.example {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--mint);
  background: var(--panel);
  border-radius: 0 12px 12px 0;
}
.example .label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-soft);
  margin-bottom: 10px;
}
.example p { margin: 0 0 10px; font-size: 16.5px; }
.example p:last-child { margin-bottom: 0; }
.example .sms {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14.5px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  white-space: pre-wrap;
  line-height: 1.55;
}

/* Link lists at the foot of each page. */
.linkset { margin: 36px 0 0; }
.linkset h2 { font-size: 19px; margin: 0 0 12px; }
.linkset ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.linkset li { margin: 0; }
.linkset a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  text-decoration: none;
}
.linkset a:hover { border-color: rgba(16, 185, 129, 0.5); }
.linkset a[aria-current="page"] { color: var(--muted); pointer-events: none; }

footer.site .rows { display: flex; flex-direction: column; gap: 10px; align-items: center; }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
