/* Fair E Cards V3.3.7 — centred identity and cinematic, accessible introduction.
 * Versioned stylesheet; no modifications to signup, CAPTCHA or contact behaviour. */

/* Centre the official logo, independent of the status label's width. */
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
}
.site-header .logo-link {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  min-width: 0;
}
.site-header .launch-label {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  white-space: nowrap;
}
/* Repeat the centred wordmark in the footer while retaining an ordinary navigation row. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 14px;
}
.site-footer .footer-logo { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
.site-footer .copyright { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
.site-footer nav { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
/* The three-step contact form remains unchanged; only its brand placement is refined. */
.fec-contact-topline { position: relative; }
.fec-contact-topline > div:first-child { flex: 1; min-width: 0; }
.fec-contact-brand {
  object-position: center;
  width: clamp(170px, 37%, 224px);
  max-height: 72px;
  margin: 0 auto 17px;
}
.fec-contact-topline .fec-contact-close {
  position: absolute;
  top: 0;
  right: 0;
}

/* Intro is opt-in through the early nonce-bearing script. It never covers the page if JS
   is disabled, reduced motion is requested, or this is a confirmation/privacy page. */
.fec-intro { display: none; }
html.fec-intro-start .fec-intro,
html.fec-intro-out .fec-intro {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 47% 54%, rgba(0,119,224,.19), transparent 42%),
    radial-gradient(ellipse at 13% 74%, rgba(223,84,238,.19), transparent 37%),
    radial-gradient(ellipse at 88% 22%, rgba(9,179,255,.16), transparent 34%),
    #020b1d;
  color: #ecf8ff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.fec-intro::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 65deg at 50% 50%, transparent 0 14%, rgba(72,209,255,.07) 18%, transparent 28% 49%, rgba(241,104,246,.085) 55%, transparent 66% 83%, rgba(21,99,255,.075) 87%, transparent);
  animation: fec-v337-field-spin 7s linear infinite;
}
.fec-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(166,222,255,.022) 7px, transparent 8px);
  pointer-events: none;
}
.fec-intro-streams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 13px #00bbffc7);
  pointer-events: none;
}
.fec-intro-streams path {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 260 1240;
  stroke-dashoffset: 1500;
  animation: fec-v337-surge 1.55s cubic-bezier(.22,.45,.41,1) infinite;
}
.fec-intro-streams .fec-pink { stroke-width: 1.7; animation-delay: -.48s; }
.fec-intro-streams .fec-ice { stroke-width: 1.3; animation-delay: -.9s; }
.fec-intro-ring {
  position: absolute;
  width: min(55vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(65,185,255,.35);
  box-shadow: 0 0 40px rgba(23,172,255,.16), inset 0 0 34px rgba(58,171,255,.07);
  pointer-events: none;
}
.fec-intro-ring.outer { animation: fec-v337-ring-outer 1.55s ease-out both; }
.fec-intro-ring.inner {
  width: min(42vw, 520px);
  border-color: rgba(227,138,255,.35);
  border-style: dashed;
  animation: fec-v337-ring-inner 1.55s ease-out both;
}
.fec-intro-centre {
  position: relative;
  z-index: 2;
  width: min(76vw, 590px);
  max-width: 92%;
  text-align: center;
  animation: fec-v337-logo-zoom 1.58s cubic-bezier(.2,.68,.29,1) both;
  will-change: transform, opacity;
}
.fec-intro-centre img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(4,180,255,.56)) drop-shadow(0 0 30px rgba(130,81,255,.22));
}
.fec-intro-caption {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
  font-size: clamp(10px,1vw,13px);
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #d4ecff;
  text-shadow: 0 0 18px rgba(15,184,255,.44);
}
.fec-intro-caption::before,.fec-intro-caption::after {
  content: '';
  height: 1px;
  width: clamp(16px,5vw,56px);
  background: linear-gradient(90deg,transparent,#64e4ff,#dd84ff);
}
.fec-intro-tracer {
  position: absolute;
  z-index: 2;
  bottom: 13%;
  left: 50%;
  transform: translateX(-50%);
  width: min(250px,55vw);
  height: 2px;
  overflow: hidden;
  background: rgba(75,166,240,.18);
  border-radius: 100px;
}
.fec-intro-tracer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #52dfff, #f096ff,transparent);
  transform: translateX(-105%);
  animation: fec-v337-tracer 1.25s ease-in-out infinite;
}
.fec-intro-skip {
  position: absolute;
  z-index: 5;
  right: clamp(18px,3vw,50px);
  bottom: clamp(18px,3vw,35px);
  color: #b2cee8;
  border: 1px solid rgba(134,188,235,.45);
  border-radius: 999px;
  background: rgba(5,21,45,.77);
  padding: 10px 17px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}
.fec-intro-skip:hover,.fec-intro-skip:focus-visible { color: #fff; border-color: #66ddff; outline-offset: 3px; }
html.fec-intro-out .fec-intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility .42s;
}
html.fec-intro-out .fec-intro-centre {
  transform: scale(1.24);
  opacity: 0;
  filter: blur(8px);
  transition: transform .42s cubic-bezier(.3,.7,.2,1), opacity .32s, filter .42s;
}
@keyframes fec-v337-field-spin { to {transform: rotate(360deg)} }
@keyframes fec-v337-surge { 0% {stroke-dashoffset:1500; opacity:0} 16% {opacity:.95} 83%{opacity:.95} 100%{stroke-dashoffset:0;opacity:0} }
@keyframes fec-v337-ring-outer { 0%{transform:scale(.38) rotate(-60deg);opacity:0} 58%{opacity:1}100%{transform:scale(1.1) rotate(40deg);opacity:.65} }
@keyframes fec-v337-ring-inner { 0%{transform:scale(.32) rotate(95deg);opacity:0} 58%{opacity:.75}100%{transform:scale(1.09) rotate(-20deg);opacity:.5} }
@keyframes fec-v337-logo-zoom {
  0% {opacity:0;transform:scale(.40);filter:blur(12px)}
  29%{opacity:1;transform:scale(1.12);filter:blur(0)}
  50%{transform:scale(.96)}
  70%{transform:scale(1.06)}
  100%{opacity:1;transform:scale(1)}
}
@keyframes fec-v337-tracer { to{transform:translateX(110%)} }
@media(max-width:680px) {
  .site-header .launch-label{font-size:9px;letter-spacing:.04em}
  .site-footer{grid-template-columns:1fr auto;gap:11px}
  .site-footer .footer-logo{grid-column:1/3;grid-row:1}
  .site-footer .copyright{grid-column:1;grid-row:2;order:initial}
  .site-footer nav{grid-column:2;grid-row:2}
  .fec-intro-ring.outer{width:94vw}
  .fec-intro-ring.inner{width:72vw}
  .fec-intro-centre{width:84vw}
  .fec-intro-caption{letter-spacing:.15em}
}
@media(max-width:500px){
  .site-header .launch-label{display:none}
}
@media(max-width:390px){
  .fec-contact-brand{width:150px}
}
@media(prefers-reduced-motion:reduce){
  .fec-intro{display:none!important}
  .fec-intro *,.fec-intro::before,.fec-intro::after{animation:none!important;transition:none!important}
}
