/* LinkSec website. Colours and fonts follow the LINKSEC Brand Kit. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-expanded.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/work-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #060F1A; }
a { color: #2EE8D0; }
a:hover { color: #7FF3E3; }
:focus-visible { outline: 2px solid #2EE8D0; outline-offset: 3px; }
section[id], main[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: #2EE8D0; color: #060F1A; font-weight: 600;
  padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.nav-link:hover { color: #2EE8D0 !important; }
.btn-primary:hover { background: #7FF3E3 !important; color: #060F1A !important; }
.btn-secondary:hover { border-color: #2EE8D0 !important; color: #2EE8D0 !important; }

.field input:focus, .field textarea:focus { border-color: #2EE8D0 !important; outline: none; box-shadow: 0 0 0 2px rgba(46, 232, 208, 0.35); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #F2625A !important; }

/* Spam trap: hidden from people, visible to simple bots. */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: #F2625A; }
.form-status.is-success { color: #2EE8D0; }
button[disabled] { opacity: 0.6; cursor: progress !important; }

.cf-turnstile { min-height: 65px; }

/* Simple pages (privacy, 404, thank you) */
.prose { max-width: 720px; }
.prose h2 { font-family: "Archivo", "Arial Black", sans-serif; font-stretch: 125%; font-weight: 800; font-size: 22px; line-height: 1.3; color: #EAF0F6; margin: 36px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: #C9D5E2; }
.prose ul { padding-left: 20px; }
