/* Neko Security: "Join the clan" email sign-up
   Two pieces:
   1. A consent tick box inside the red contact form.
   2. A sign-up strip at the top of the black footer.
   Uses the brand tokens from base.css (--red, --black, --white, --ash, --line).
   Behaviour lives in js/clan.js. */

/* ---------- 1. Contact form tick box (red section) ---------- */
.field--check label {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400; font-size: .95rem; line-height: 1.45; cursor: pointer;
}
/* Native checkbox, made bigger and black so it reads on red. */
.field--check input[type="checkbox"] {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--black);
}
.field--check input[type="checkbox"]:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

/* ---------- 2. Footer sign-up strip (black) ---------- */
/* ".footer .clan" (not just ".clan") so it beats base.css's ".footer .wrap"
   flex layout, which would otherwise squash the strip into one row. */
.footer .clan {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 48px; align-items: center;
  padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.clan__title {
  margin: 0 0 6px; font-family: var(--voice); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); line-height: 1.1;
}
.clan__title span { color: var(--red); }   /* the paw / accent word */
.clan__copy p { margin: 0; color: var(--ash); font-size: 1rem; }

.clan__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.clan__form input {
  font: inherit; font-size: 1rem; color: var(--black); background: var(--white);
  border: 2px solid var(--white); padding: 12px 14px; border-radius: 0; min-width: 0;
}
.clan__form input:focus { outline: 3px solid var(--red); outline-offset: 0; }
.clan__form .btn { white-space: nowrap; }

/* Small print and the result message span the full form width. */
.clan__note, .clan__status { grid-column: 1 / -1; margin: 0; }
.clan__note { color: var(--mask); font-size: .85rem; }
.clan__note a { color: var(--ash); }
.clan__status { font-family: var(--voice); font-size: 1.1rem; color: var(--white); min-height: 1.5em; }

/* Spam-trap field. sections.css hides ".hp" too, but the privacy page
   doesn't load sections.css, so we hide it here as well. */
.clan .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Phones: stack everything into one column. */
@media (max-width: 860px) {
  .footer .clan { grid-template-columns: 1fr; }
  .clan__form { grid-template-columns: 1fr; }
  .clan__form .btn { justify-self: start; }
}
