/*
 * @generated — do not edit by hand
 * @command npm run sync:tokens
 * @sources src/styles/site-footer.css
 * @generated-at 2026-09-29T13:50:53.387Z
 */

/*
 * Shared site footer — email signup, social row, site nav and meta line.
 *
 * Loaded by the SPA barrel (src/styles.css) after site.css, and, as a synced
 * copy, by the static pages in public/ (npm run sync:tokens writes
 * public/styles/site-footer.css). Layout: docs/features/interface/components/site-footer-full.md.
 */

.site-footer {
  margin-top: 1.25rem;
  flex-shrink: 0;
}

.site-footer .social-links {
  margin-top: 0;
}

.site-footer-nav {
  margin-top: 0.75rem;
}

.site-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
}

.site-footer-nav li {
  white-space: nowrap;
}

.site-footer-nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
}

@media (hover: hover) {
  .site-footer-nav a:hover {
    text-decoration: underline;
  }
}

.site-footer-nav a:focus-visible {
  text-decoration: underline;
}

.site-footer .site-footer-meta {
  margin-top: 0.65rem;
}

.site-footer .site-footer-meta-sep {
  margin: 0 0.15em;
}

.site-footer a {
  margin-top: 0;
}

.social-links {
  margin-top: 2rem;
}

.social-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-primary);
  text-decoration: none;
}

@media (hover: hover) {
  .social-links a:hover {
    color: var(--color-primary-hover);
  }
}

.social-links a:focus-visible {
  color: var(--color-primary-hover);
}

.social-links__icon {
  display: block;
}

.site-footer-meta {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

/* Dev-only: version button that copies build string on click */
.site-version--copyable {
  all: unset;
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0 0.15em;
}
.site-version--copyable:hover {
  text-decoration: underline;
}
.site-version--copyable:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

/*
 * The full footer, as the designer drew it: the brand rule across the top, the
 * email signup on the left, the social icons top right and the page links with
 * the meta line bottom right. Same in both schemes; the rule and accent follow.
 */
.site-footer--full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "signup socials"
    "signup links";
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: var(--rule-width) solid var(--color-rule);
}

.site-footer--full .landing-email {
  grid-area: signup;
}

.site-footer--full .social-links {
  grid-area: socials;
  justify-self: end;
}

.site-footer--full .social-links ul {
  justify-content: flex-end;
}

.site-footer--full .site-footer-links {
  grid-area: links;
  align-self: end;
  text-align: end;
}

.site-footer--full .site-footer-nav ul {
  justify-content: flex-end;
}

.site-footer--full .site-footer-meta {
  text-align: end;
}

/* The static pages (About, FAQ, Terms, Privacy, 404) end on this footer. */
body > .site-footer {
  max-width: 60rem;
  margin: 2rem auto 0;
  padding: 1.75rem 1.25rem 2rem;
}

/* One column on a narrow screen: signup, then icons, then links. The icons,
   links and meta line center under the signup. */
@media (max-width: 720px) {
  .site-footer--full {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "signup"
      "socials"
      "links";
  }

  .site-footer--full .social-links,
  .site-footer--full .site-footer-links {
    justify-self: center;
    text-align: center;
  }

  .site-footer--full .social-links ul,
  .site-footer--full .site-footer-nav ul {
    justify-content: center;
  }

  .site-footer--full .site-footer-meta {
    text-align: center;
  }
}

/* ── Email signup ── */
/* One field with the button inside it, styled as the secondary button: accent
   border, the field tinted with the accent at 20%, a solid accent button.
   See docs/features/landing-email-capture.md. */
.landing-email {
  width: 100%;
  max-width: 32rem;
  text-align: start;
}

.landing-email-heading {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.landing-email-blurb {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.6;
}

.landing-email-form {
  display: flex;
  align-items: stretch;
  border: var(--rule-width) solid var(--color-primary);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--color-primary) 20%, var(--color-bg));
  /* The children square off against this edge, so their corners are trimmed here. */
  overflow: hidden;
}

/* `display: flex` outranks the `hidden` attribute's `display: none`. */
.landing-email-form[hidden] {
  display: none;
}

/* Typing anywhere in the box lights the whole box, the way a single field does. */
.landing-email-form:focus-within {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

.landing-email-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
}

.landing-email-input::placeholder {
  color: var(--color-text);
  opacity: 0.75;
}

/* The focus ring belongs to the form; a second ring inside would be clipped. */
.landing-email-input:focus-visible {
  outline: none;
}

/* Honeypot: in the DOM for a bot to fill, invisible and inert for a person.
   The field's label hides the same way; base.css has .visually-hidden, but the
   static pages don't load base.css, so the footer carries its own copy. */
.landing-email .visually-hidden,
.landing-email-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  pointer-events: none;
}

/* Solid accent, labelled in text.on-accent: white on indigo, ink on yellow. */
.landing-email-submit {
  appearance: none;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  border: 0;
  border-radius: 0;
  background: var(--color-primary);
  color: var(--color-primary-text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

@media (hover: hover) {
  .landing-email-submit:hover {
    background: var(--color-primary-hover);
  }
}

/* Drawn inside the button: an outset ring would fall outside the trimmed edge. */
.landing-email-submit:focus-visible {
  outline: 2px solid var(--color-primary-text);
  outline-offset: -4px;
}

.landing-email-notice,
.landing-email-thanks {
  margin: 0.625rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.landing-email-link {
  color: var(--color-text-muted);
  text-decoration: underline;
}

@media (hover: hover) {
  .landing-email-link:hover {
    color: var(--color-text);
  }
}

.landing-email-link:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
  border-radius: 0.125rem;
}

/* The link pair wraps as one unit, so a line never starts with the separator. */
.landing-email-links {
  white-space: nowrap;
}

.landing-email-link + .landing-email-link::before {
  content: "·";
  display: inline-block;
  margin-inline: 0.35rem;
  color: var(--color-text-muted);
}

.landing-email-done {
  margin-top: 0.625rem;
}

/* A quiet way back for a shared browser, or a second address. */
.landing-email-change {
  appearance: none;
  min-height: 44px;
  margin-top: 0.25rem;
  padding: 0 0.125rem;
  border: 0;
  background: none;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

@media (hover: hover) {
  .landing-email-change:hover {
    color: var(--color-text);
  }
}

.landing-email-change:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
  border-radius: 0.125rem;
}

/* The pair stays on one line at every width; the button gives up padding. */
@media (max-width: 420px) {
  .landing-email-input {
    padding-inline: 0.625rem;
  }

  .landing-email-submit {
    padding-inline: 0.875rem;
  }
}
